snapshootShare.wxml
2.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<!--pages/snapshootShare/snapshootShare.wxml-->
<view class="snapshoot-page" >
<view class="snapshoot-container">
<view class="snapshoot-content">
<view class="snapshoot">
<image class="yoho-logo" src="./images/share-logo@2x.png"></image>
<view class="content">
<image class="product-defaultImage" src="{{default_image}}"> </image>
<view class="center">
<image class="product-0price-logo" src="./images/Group@2x.png"></image>
</view>
<view class="product-name">{{product_name}}</view>
<view class="product-price">
<image class="price0" src="./images/y@2x.png"></image>
<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>