takeGroupBuy.wxml
3.7 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
98
99
100
101
102
<!--pages/groupBuy/groupBuy.wxml-->
<view class='banner_img'>
<image src='../../../images/banner.jpg'></image>
</view>
<view class='content_box'>
<view>
<view class='item_list'>
<view class='list_title_box' data-id='{{group_info.id}}' bindtap='listDetail'>
<view>查看详情</view>
<view class='iconfont icon-fanhui'></view>
</view>
<view class='list_info_box'>
<block wx:for='{{group_info.group_detail}}' wx:for-item='sub_item' wx:key=''>
<view class='info_item'>
<view class='info_box'>
<block>
<image src='{{sub_item.avatar}}'></image>
<view class='info_label' wx:if='{{sub_item.is_start==1}}'>发起人</view>
</block>
</view>
<view class='info_time'>
<view>{{sub_item.date}}</view>
<view>{{sub_item.time}}</view>
</view>
</view>
</block>
<!-- <view class='info_item' >
<view class='info_box'>
<image src='{{sub_item.avatar}}'></image>
<view class='info_label'>发起人</view>
</view>
<view class='info_time'>
<view>{{sub_item.date}}</view>
<view> {{sub_item.time}}</view>
</view>
</view>
<view class='info_item'>
<view class='info_box'>
</view>
</view>
<view class='info_item'>
<view class='info_box'>
</view>
</view>
<view class='info_item'>
<view class='info_box'>
</view>
</view> -->
</view>
<view class='list_info'>成团人数:最低
<text>{{group_info.num}}</text>人,已参与:
<text>{{group_info.count}}</text> 人,快呼唤伙伴参与吧!</view>
<view class='list_info'>
<view class='list_info_item'>剩余
<text>{{group_info.surplus_time}}</text> 结束</view>
</view>
<view>
<view class='user_info_box'>
<view class='user_info'>
<view class='info_box'>
<image src='{{group_info.avatar}}'></image>
<view class='info_label'>发起人</view>
</view>
<view>{{group_info.user_nickname}}</view>
</view>
<view class='state_box'>
<view>{{group_info.start_time}}开团</view>
<view class='info_state' wx:if='{{group_info.group_status==1}}'>团购中</view>
<view class='info_state' wx:if='{{group_info.group_status==2}}'>团购失败</view>
<view class='info_state' wx:if='{{group_info.group_status==3}}'>团购成功</view>
</view>
</view>
</view>
</view>
</view>
<view class='list_title_info'>
<view class='iconfont icon-zhongdian'> </view>
<view>
<view>{{rule.title}}</view>
<view class='content_info'>{{rule.description}}</view>
</view>
</view>
<view class='service_box'>
<view class='service_info_box' bindtap="agree">
<text class='iconfont icon-xuanze1' wx:if="{{!is_agree}}"></text>
<text class='iconfont icon-xuanzhong' wx:if="{{is_agree}}"></text>
<text>服务协议</text>
<text class='service_info' catchtap='serviceProtocol'>服务协议</text>
</view>
<view class='service_btn_box'>
<view>单价:¥{{take_info.price}}</view>
<view class='pay_btn' bindtap='goPay'>参与并支付</view>
</view>
</view>
<!-- <view class='null_box'></view> -->
<!-- <view class='bottom_box'>
<text class='iconfont icon-fenxiang'></text> 分享的文案,50汉字以内提示分享的文案,50汉字以内提示分 享的文案,50汉字以内
</view> -->
</view>