attentionone.wxml
3.3 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<view class="myattention">
<image src="/img/atten.png"></image>
</view>
<view class="noke">[{{title}}]</view>
<view class='noketext'>{{description}}</view>
<!-- <view class="noketext up">每个方向都有同样的上升空间!</view> -->
<!-- <view class='roleone'>
<image src="/img/roleone.png"></image>
<view class="redname">对不起,我可能不配拥有它!</view>
<view class="redkuang">视觉追踪25%</view>
<view class="pink">我听的见但听不懂!</view>
<view class="pinkkuang">视觉追踪25%</view>
<view class="yellowname">说来惭愧我啥也记不住!</view>
<view class="yellowkuang">听觉记忆25%</view>
<view class="purplename">听见,是我最大的努力!</view>
<view class="purplekuang">听觉转移25%</view>
<view class="grayname">好险,我不色弱,也没色盲!</view>
<view class="graykuang">视觉分辨25%</view>
<view class="greenname">请你慢点说再慢点说...</view>
<view class="greenkuang">听觉追踪25%</view>
<view class="bluename">跟我说话,请不要超过5个字</view>
<view class="bluekuang">听觉广度25%</view>
</view> -->
<view class="tupic">
<image src="/img/roleone.png"></image>
<view class="redname">{{rings[6].description}}</view>
<view class="redkuang">{{rings[6].sort_name}}{{rings[6].percent}}</view>
<view class="pink">{{rings[5].description}}</view>
<view class="pinkkuang">{{rings[5].sort_name}}{{rings[5].percent}}</view>
<view class="yellowname">{{rings[0].description}}</view>
<view class="yellowkuang">{{rings[0].sort_name}}{{rings[0].percent}}</view>
<view class="purplename">{{rings[4].description}}</view>
<view class="purplekuang">{{rings[4].sort_name}}{{rings[4].percent}}</view>
<view class="grayname">{{rings[1].description}}</view>
<view class="graykuang">{{rings[1].sort_name}}{{rings[1].percent}}</view>
<view class="greenname">{{rings[2].description}}</view>
<view class="greenkuang">{{rings[2].sort_name}}{{rings[2].percent}}</view>
<view class="bluename">{{rings[3].description}}</view>
<view class="bluekuang">{{rings[3].sort_name}}{{rings[3].percent}}</view>
</view>
<view class="code">
<view class="codeleft">
<image src="{{qrcode}}"></image>
</view>
<view class="coderight">
<view class="coderighttop">长按识别二维码</view>
<view class="coderighttopk">获取你的注意力测验单</view>
</view>
</view>
<view class="sharehai">
<!-- <view class="shareleft">分享给好友</view> -->
<view class="shareright" bindtap="savephoto">生成海报</view>
</view>
<!-- 海报 -->
<view class='pp' bindtap="hideceng">
<view class='imagePathBox' hidden="{{maskHidden == false}}">
<image src="{{imagePath}}" class='shengcheng'></image>
<view class="share">
<button class="shareleft" catchtap="share" open-type='share'>分享给好友</button>
<!-- <button class="lj_share" bindtap="childshare" open-type='share'>分享</button> -->
<view class="shareright" catchtap="baocun">保存到相册</view>
</view>
<!-- <button class='baocun' bindtap='baocun'>保存图片至相册</button> -->
</view>
<view hidden="{{maskHidden == false}}" class="mask"></view>
<view class="canvas-box">
<canvas style="width:375px;height:603px;position:fixed;top:9999px;border-radius:56rpx" canvas-id="mycanvas" />
</view>
</view>