snapshootShare.wxml
2.28 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
<!--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">
<view class="snapshoot-productinfo">
<image class="product-defaultImage" src="{{default_image}}"> </image>
</view>
<image class="product-banner" src="./images/group@2x.png"></image>
<view class="product-info-content">
<text class="product-name">{{product_name}}</text>
<view class="product-info">
<view>
<image class="product-date-icon" src="./images/shape@2x.png"></image>
<view class="product-date-info">{{product_date}}</view>
</view>
<text class="product-price">{{product_price}}</text>
</view>
</view>
</view>
<view class="product-miniqr">
<image class="product-qrcode" src="{{product_qrCode}}"></image>
<view class='product-tips'>
<view class="snapshoot-tips">长按扫码查看详情</view>
<view class="product-tips-text">还有更多夯货等你来抢</view>
</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:{{rawScreenHeight}}px; background-color: white; margin-top: {{rawScreenHeight}}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>