snapshootShare.wxml 2.05 KB
<!--pages/snapshootShare/snapshootShare.wxml-->
<view class="snapshoot-page" >
   <view class="snapshoot-container">
    <view class="snapshoot-content">
        <view class="snapshoot">
          <view class="snapshoot-title">
            <view>你的好友邀你为ta助力,购买限定商品</view>
          </view>
          <view class="snapshoot-productinfo">
              <image class="product-defaultImage" src="{{default_image}}"> </image>
          </view>
          <view class="product-info-content">
            <text class="product-name">{{product_name}}</text>
          </view>
          <view class="product-miniqr">
            <image class="yoho-logo" src="./images/share-logo@2x.png"></image>
            <image class="product-qrcode" src="{{product_qrCode}}"></image>
            <text class="snapshoot-tips">长按扫码查看详情</text>
            <view class='product-tips'>
              <image class="product-tips-img" src="./images/snapshoot_tip_ic@2x.png"></image>
              <text class="product-tips-text">或者在各大应用市场搜索 Yoho!Buy有货 下载App</text>
            </view>
          </view>
        </view>
    </view>
    <view class="snapshoot-bottom">
      <view class="snapshoot-save" bindtap="saveToAlbum">
        <text class="text">保存到相册</text>
      </view>
      <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: {{-100}}px " >
        <canvas canvas-id="productDetailCanvas" style="width: {{windowWidth}}px;height:{{screenHeight}}px;background-color: white"></canvas> 
    </view> -->
</view>