wish.wxml
2.26 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
<view class="page">
<view class="app__bgc bgc"></view>
<view class="app__bg bg">
<image class="b1" mode="widthFix" src="../../image/oss/my-wish/my-wish-c1.png" />
</view>
<view class="decoration">
<image class="d1" src="../../image/oss/my-wish/my-wish-d1.png" mode="widthFix" />
</view>
<view class="app__content main">
<view class="top-space"></view>
<view class="content">
<!-- 我的信息框 -->
<view class="my">
<image class="ebg" src="../../image/oss/my-wish/my-wish-c2.png" mode="widthFix" />
<image class="portrait" src="{{wishInfo.member.avatar}}" />
<!-- 内容 -->
<view class="cont">
<view class="space1"></view>
<view class="nickname">{{wishInfo.member.nickname}}</view>
<view class="number">{{wishInfo.member.mobile}}</view>
<view bindtap="onMyCardHandler" class="mycard">我的卡券</view>
</view>
<view bindtap="onCreatePosterHandler" class="poster-btn">生成海报</view>
</view>
<!-- 协作 -->
<view class="coop">
<view class="tit">· 我的弹力帮帮团 ·</view>
<view class="tips">
积累
<span class="t1">{{helperInfo.total}}</span>
人助力,获得
<span class="t1">{{helperInfo.totalElasticValue}}</span>
弹力值!
</view>
<scroll-view scroll-y="{{true}}" class="list">
<view wx:for="{{helperInfo.helpers}}" wx:key="{{index}}" class="list-item">
<span class="t1">·{{item.helperNickname}}</span>
{{item.tip}}
<span class="t1">{{item.elasticValue}}</span>
弹力值!
</view>
<view class="empty" wx:if="{{helperInfo.helpers.length <= 0}}">这里空空如也~</view>
</scroll-view>
</view>
<view class="btn-wrap">
<view bindtap="onRankHandler" class="btn btn2">弹力girl榜单</view>
<view bindtap="onShareHandler" class="btn">弹弹好友</view>
</view>
</view>
<!-- 规则按钮 -->
<view class="rule-btn" bindtap="onShowRuleHandler">
<span class="c1">活动详情</span>
</view>
</view>
</view>
<van-popup show="{{ tipsRuleVisible }}">
<tips-rule-comp bind:evtcomp="evtcomp"></tips-rule-comp>
</van-popup>