promate_pop.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
<wxs module="p_fil" src="p_filter.wxs"></wxs>
<!-- --弹起领券-- -->
<view wx:if='{{pro_pop==1}}'>
<view class="cover-layer flex-center" bindtap="close_pro_pop"></view>
<view class="cx-popup {{pro_pop== true ? 'up_pro' : 'down_pro'}} ">
<view class="top-frame">
<view class="top t-c">促销列表</view>
</view>
<view class="xc-frame">
<view class="top-frame">
<view class="xc-coupon-frame ">
<!-- for循环显示内容 -->
<view wx:for="{{cx_prom_group}}" class="item_pro flex ai-center">
<view class="tab_bx fs24">{{p_fil.set_tab_title(item)}}</view>
<view class="item_pro_left flex jc-center ai-center">
<view class="fs34 left_f_box" >{{p_fil.set_title(item)}}</view>
</view>
<view class="item_pro_right">
<view wx:if="{{item.prom_type!=3}}" class="fs26">{{item.title}}</view>
<view wx:else class="fs26">{{item.title}}
消费满<text class="c-red">{{item.condition}}</text>享优惠({{item.limit}})
</view>
<view wx:if="{{item.prom_type!=5}}" class="fs26">搭配价:<text class="c-red">{{item.show_price}}</text></view>
<view wx:if="{{item.prom_type!=3}}" class="fs22" style="color: #b9b6b6">
{{item.show_time}}
</view>
<view wx:else class="fs22" style="max-width: 430rpx; color: #b9b6b6">
<text wx:for="{{item.more}}" wx:for-item="bm" class="tick pdr20" >{{bm}}</text>
</view>
</view>
<view bindtap="go_the_url" data-id="{{item.id}}" data-prom_type="{{item.prom_type}}" class="xq_btn fs30">详情</view>
</view>
</view>
</view>
</view>
<view class="cx-confirm pd20" bindtap="close_pro_pop">
<view wx:if="{{type==0}}" class="confirm t-c">我知道了</view>
<view wx:if="{{type==1}}" class="confirm t-c">确定</view>
</view>
</view>
</view>