groupBuyDetail.wxml
2.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
<!--pages/groupBuyDetail/groupBuyDetail.wxml-->
<view class='banner_img'>
<image src='{{banner}}'></image>
</view>
<view class='content_box'>
<view class="item_list">
<view class='list_title_box' bindtap='listMore'>
<view>查看全部</view>
<view class="iconfont {{isFolded?'icon-fanhui':'icon-xiala'}}"></view>
</view>
<view class="list_info_box {{isFolded?'img_list':'list_info_box'}}">
<view class="info_item" wx:for='{{list_info.group_detail}}' wx:key=''>
<view class='info_box'>
<image src='{{item.avatar}}'></image>
<view class='info_label' wx:if='{{item.is_start==1}}'>发起人</view>
</view>
<view class='info_time'>
<view>{{item.date}}</view>
<view> {{item.time}}</view>
</view>
</view>
</view>
<view class='list_info'>成团人数:最低
<text>{{list_info.num}}</text>人,已参与:
<text>{{list_info.count}}</text> 人,快呼唤伙伴参与吧!</view>
<view class='list_info'>
<view class='list_info_item'>剩余
<text>{{countdown}} </text> 结束</view>
</view>
<view>
<view class='user_info_box'>
<view class='user_info'>
<view class='info_box'>
<image src='{{list_info.avatar}}'></image>
<view class='info_label'>发起人</view>
</view>
<view>{{list_info.user_nickname}}</view>
</view>
<view class='state_box'>
<view>{{list_info.start_time}}开团</view>
<view class='info_state' wx:if='{{list_info.group_status==1}}'>团购中</view>
<view class='info_state' wx:if='{{list_info.group_status==2}}'>团购失败</view>
<view class='info_state' wx:if='{{list_info.group_status==3}}'>团购成功</view>
</view>
</view>
</view>
</view>
</view>
<view class='list_title_info'>
<view class='iconfont icon-zhongdian'> </view>
<view>
<!-- <view>团购规则说明</view>
<view class='content_info'>如果因为环境网络问题或者其他原因导致无法打卡,请上传照 片及文字申诉内容,证明您已到场并已经参与活动。</view> -->
<view>{{rule.title}}</view>
<view class='content_info'>{{rule.description}}</view>
</view>
</view>
<view class='null_box'></view>
<button open-type='share' class='service_btn_box'>分享好友</button>