plus.wxml
5.93 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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
<block wx:if="{{is_show && (fir_leader?is_fengxiang:1)}}">
<!-- 我的会员背景图片 -->
<import src="../../../utils/wxParse/wxParse.wxml"></import>
<view>
<image class="Member_bk" src="{{url}}/miniapp/images/plus/page_bk.png"></image>
</view>
<view class="plus">
<!-- 开通会员模块 -->
<view class="Opening_plus">
<view class="Opening_bk">
<image src="{{url}}/miniapp/images/plus/card_bk.png"></image>
</view>
<view class="swiper">
<!-- 未开通会员swiper-item -->
<swiper current="{{currentId}}" current-item-id="{{currentId}}" next-margin="55rpx" previous-margin="55rpx" bindchange="swiperChange">
<swiper-item class="flex" item-id="{{index}}" data-item-id="{{index}}" wx:for="{{is_plusCard}}">
<view class="Membership {{currentId==index?'enlarge':''}}" style=" background-image: url({{item.CardImg}});color:{{item.CardColor}}">
<view class="flex-space-between Membership_go">
<view>
<view class="fs32">{{item.CardName}}</view>
<view class="fs24 Membership_remarks">开通会员年卡仅{{item.CardFee}}元</view>
</view>
<view class="Opening fs24 xc-black" data-ind="{{index}}" style="background:{{item.CardColor}}" bindtap="Opening">立即开通
</view>
</view>
<view class="flex-vertical-between consumption">
<view class="flex-vertical fs22" style="overflow:hidden">
<!-- <image class="Member" src="{{url}}/miniapp/images/plus/privilege_o.png" style="filter:drop-shadow( 20rpx 0 0px {{item.CardColor}});"></image> -->
<view class="Member"style="background-image:url('{{url}}/miniapp/images/plus/privilege_o.png');filter: drop-shadow( 40rpx 0rpx 0rpx {{item.CardColor}});"></view>
<view>根据大家购买数据,您成为超级会员预计可省¥{{item.free}}元
</view>
</view>
</view>
</view>
</swiper-item>
</swiper>
</view>
</view>
<!-- 会员礼遇 -->
<view class="Courtesy">
<!-- 标题 -->
<view class="flex-center" style="width:100%;height:200rpx;">
<view>
<view wx:if="{{false}}" class="Courtesy_title flex-center fs36">开通PLUSI会员尊享礼遇
</view>
<view wx:else class="Courtesy_title flex-center fs36">PLUSI会员尊享礼遇 </view>
<view class="flex-center">
<image class="Courtesy_image" src="{{url}}/miniapp/images/plus/Courtesy.png"></image>
<view wx:if="{{false}}" class="Courtesy_can fs24">PLUSI会员可享以下特权
</view>
<view wx:else class="Courtesy_can fs24">解锁新权益 精彩享不停
</view>
<image class="Courtesy_image" src="{{url}}/miniapp/images/plus/Courtesy.png"></image>
</view>
</view>
</view>
<!-- 会员权益内容 -->
<view class="Courtesy_comment " wx:if="{{is_card_rule!=null&&is_card_rule!=''}}">
<view class="wxParse">
<template is="wxParse" data="{{wxParseData:content.nodes}}"></template>
</view>
</view>
</view>
<!-- 好物推荐 -->
<!-- 好物推荐 -->
<view class="title">
<!-- 标题 -->
<view>
<!-- 中文名标题 -->
<view class="China flex-level">
<view class="line flex-vertical">
<view class="one"></view><view class="two"></view><view class="three"></view>
</view>
<view class="Recommend flex-level" bindtap="requestList">好物推荐</view>
<view class="line flex-vertical">
<view class="three"></view>
<view class="two"></view>
<view class="one"></view>
</view>
</view>
<!-- 英文标题 -->
<view class="english flex-center">
<view class="silk"></view>
<view class="esh five-level-word">GOOD HOT THING</view>
<view class="silk"></view>
</view>
</view>
<!-- 商品列表组件 -->
<goods_recommend id="goods_list"></goods_recommend>
<!-- 商品列表 -->
</view>
</view>
</block>
<!-- 开通会员弹窗 -->
<view wx:if="{{open_yq}}" class="Disgraceful flex-center">
<!-- 蒙尘 -->
<view bindtap="OpeningClose"></view>
<!-- 弹框 -->
<view class="Member_purchase">
<view class="rel purchase_Bk" style="background-image: url({{url}}/miniapp/images/plus/purchase_Bk.png);">
<image class="abs write" src="{{url}}/miniapp/images/plus/write.png"></image>
</view>
<view class="fs26 inf_com">
<view class="fs36 flex-level perfect">请完善下面信息</view>
<view class="fillin">
<!-- 输入推荐人手机号 -->
<view class="flex ai_and Enter_phone" wx:if="{{isyaoqingma}}" >
<image class="phone_image" src="{{url}}/miniapp/images/plus/Invitation_code.png"></image>
<view class="phone">
<input bindinput="b_input" data-name="inp_recommon" class="fs30" placeholder="请输入邀请码(推荐人手机号)" type="number" maxlength="20" />
</view>
</view>
<!-- 输入营业员 -->
<view class="flex ai_and enter_SalesClerk" wx:if="{{is_salesman}}">
<image class="SalesClerk_image" src="{{url}}/miniapp/images/plus/Sales_Clerk.png"></image>
<view class="SalesClerk">
<input bindinput="b_input" class="fs30" data-name="inp_serviceman" placeholder="请输入营业员" maxlength="30" />
</view>
</view>
<!-- 确认购买 -->
<view class="flex-center" bindtap="buy_card">
<view class="flex-center purchase"
style="background-image:url({{url}}/miniapp/images/plus/purchase_Bk.png);">
确认购买
</view>
</view>
</view>
</view>
<view class="flex-level">
<image class="purchaseClose" bindtap="OpeningClose" src="{{url}}/miniapp/images/plus/Close.png"></image>
</view>
</view>
</view>
<warn id="warn"></warn>