snapshootShare.wxml 2.24 KB
<!--pages/snapshootShare/snapshootShare.wxml-->
<view class="snapshoot-page" >
  <image class="yoho-logo" src="./images/Group@2x.png"></image>
  <view class="snapshoot-container">
    <view class="snapshoot-content">
        <view class="snapshoot">
          <view class="content">
            <image class="product-defaultImage" src="{{default_image}}"> </image>

            <view class="product-name">{{product_name}}</view>

            <view class="product-price">
              <view class="price0">
                <text class="dollarSign">¥</text>
                <text class="textZero">0</text>
              </view>

              <view class="price">{{product_price}}</view>
            </view>
          </view>

          <view class="desc">
            <view class="product-miniqr">
              <image class="product-qrcode" src="{{product_qrCode}}"></image>
              <view class="product-tips">
                <view class="product-tips-user">{{user_name}}邀请你参与0元抽奖</view>
                <view class="product-tips-text">长按图片识别小程序码抢限定</view>
              </view>
            </view>
          </view>
        </view>
    </view>
    <view class="snapshoot-bottom">
      <view class="snapshoot-save" bindtap="saveSnapShoot" wx:if="{{isAuth}}">
        <text class="text">保存到相册</text>
      </view>
      <button wx:else open-type="openSetting" bindopensetting='handleOpenSetting' class="snapshoot-save-btn">
        保存到相册
      </button>
      <view class="snapshoot-cancel" bindtap="hidden">
          <text class="cancel-text">取消</text>
      </view>
    </view>
   </view>

    <view class="snapshoot-canvas" style="width: {{windowWidth}}px;height:{{screenHeight}}px; background-color: white; margin-top: {{screenHeight}}px" >
        <canvas canvas-id="productDetailCanvas" style="width: {{windowWidth}}px;height:{{screenHeight}}px;background-color: white"></canvas> 
    </view>
    <!-- <view class="snapshoot-canvas" style="width: {{windowWidth}}px;height:{{screenHeight}}px; background-color: white; margin-top: {{0}}px " >
        <canvas canvas-id="productDetailCanvas" style="width: {{windowWidth}}px;height:{{screenHeight}}px;background-color: white"></canvas> 
    </view> -->
</view>