index.wxml
10.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
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
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
<!--scanGroup/jyScan/index/index.wxml-->
<view class="container">
<image class="index_img" src="/images/junyao/backgroundImg.png" mode="scaleToFill"/>
<image class="index_img logo" src="/images/junyao/logo.png" mode="widthFix"/>
<image class="index_img product" src="/images/junyao/product.png" mode="widthFix"/>
<image class="drink_power" src="/images/junyao/drinkPower.png" mode="widthFix"/>
<image class="index_img myPrize" bindtap="goRecord" src="/images/junyao/myPrize.png" mode="widthFix"/>
<image class="index_img welfareOfficer" bindtap="goWelfare" src="/images/junyao/welfareOfficer.png" mode="widthFix"/>
<view bindtap="doActivity">
<image class="draw_now" src="/images/junyao/drawNow.png" mode="widthFix"/>
</view>
<view bindtap="ruleShow" class="activity_box">
<!-- <image class="activity_rules" src="/images/junyao/activityRules.png" mode="widthFix"/> -->
<view class="activity_rules"></view>
<text class="activity_rules_text">活动规则</text>
</view>
<view class="wl-msg">
<view class="marquee-content">
<view class="marquee" style="{{marqueeStyle1}}">
<view class="marquee-item">
<view wx:for="{{marqueeList}}" wx:key="item" class="marquee-item_text">{{item.areaName}}ID{{item.userId}}获得{{item.amount}}元红包</view>
</view>
<view class="marquee-item">
<view wx:for="{{marqueeList}}" wx:key="item" class="marquee-item_text">{{item.areaName}}ID{{item.userId}}获得{{item.amount}}元红包</view>
</view>
</view>
</view>
<view class="marquee-content">
<view class="marquee" style="{{marqueeStyle}}">
<view class="marquee-item">
<view wx:for="{{marqueeList}}" wx:key="item" class="marquee-item_text">{{item.areaName}}ID{{item.userId}}获得{{item.amount}}元红包</view>
</view>
<view class="marquee-item">
<view wx:for="{{marqueeList}}" wx:key="item" class="marquee-item_text">{{item.areaName}}ID{{item.userId}}获得{{item.amount}}元红包</view>
</view>
</view>
</view>
</view>
<!-- 规则按钮 -->
<!-- <view class="fixed_btn btn_1" bindtap="ruleShow">
<view class="mt_down">活动</view>
<view>规则</view>
</view> -->
<!-- <view class="fixed_btn btn_2" bindtap="goRecord">
<view class="mt_down">中奖</view>
<view>记录</view>
</view> -->
<view class="fixed_btn btn_3" bindtap="handleScan">
<image class="scan_icon" src="https://hbrand.oss-cn-hangzhou.aliyuncs.com/cpp/jyScan/scanIcon.png" mode=""/>
</view>
<view class="fixed_btn btn_4" bindtap="goIndex">
<view class="mt_down">返回</view>
<view>首页</view>
</view>
<!-- <view wx:if="{{!received}}" class="reward_btn" bindtap="doActivity"></view>
<view wx:else class="reward_btn_none"></view> -->
<view class="id_code">股票代码:{{'605388'}}</view>
<view class="id_mes">ID:{{userId}}</view>
<!-- -->
<alert visible="{{ alertShow }}">
<view slot="up">{{ alertInfo }}</view>
<view slot="down">{{alertText}}</view>
<view>{{alertTime}}</view>
</alert>
<!-- 活动规则 -->
<!-- <popup visible="{{ ruleShow }}">
<view class="rule">
<view class="rule-title">—— 活动规则 ——</view>
<view class="rule-content">
<mp-html content="{{ pageData.summary }}"></mp-html>
</view>
</view>
</popup> -->
<!-- 活动规则 ruleShow heightFix widthFix-->
<popup visible="{{ ruleShow }}" transparent="{{true}}">
<view class="rule">
<!-- <view class="rule-title">—— 活动规则 ——</view> -->
<view class="rule-content">
<mp-html content="{{ groupRule }}"></mp-html>
</view>
</view>
<image class="index_img pup_activity " src="/images/junyao/pup_activity.png" mode="widthFix"/>
</popup>
<!-- 查询二维码活动后的情况 -->
<v-popup showPopup="{{showCodeSituation}}" transparent="{{true}}">
<image class="index_img packet" src="/images/junyao/packet.png" mode="widthFix"/>
<view class="receive_poup">
<!-- <image class="success_icon" src="{{ isNoAward ? 'https://hbrand.oss-cn-hangzhou.aliyuncs.com/cpp/jyScan/no_award.png' : 'https://hbrand.oss-cn-hangzhou.aliyuncs.com/cpp/jyScan/success_icon.png' }}" mode=""/> -->
<view class="receive_poup_content">
<view class="receive_text packTips">提示</view>
<view class="receive_text textTip" style="margin-top: 150rpx;">{{txt}}</view>
<view class="receive_text"></view>
</view>
<view class="coninue_scan secondRed_btn" bindtap="goIndex">进入首页</view>
<view class="close_poup" bindtap="closeCodeSituation"></view>
</view>
</v-popup>
<!-- showRedPack -->
<v-popup showPopup="{{showRedPack}}">
<image class="index_img packet" src="/images/junyao/packet.png" mode="widthFix"/>
<view class="redpack_poup">
<view class="red_amount">{{scanRewardVO.amount}}<text style="font-size: 90rpx;vertical-align: middle;">元</text></view>
<view class="red_text">{{excitationRedPack ? '激励红包' : '现金红包'}}</view>
<view class="red_btn secondRed_btn" bindtap="goReceive">收下</view>
<view class="red_close_poup" bindtap="closeRedPack"></view>
</view>
</v-popup>
<v-popup showPopup="{{showjuan}}" >
<image class="index_img packet" src="/images/junyao/packet.png" mode="widthFix"/>
<view class="index_img packet juanBox">
<image class="index_img juan" src="{{juanSrc}}" mode="widthFix"/>
</view>
<view class="redpack_poup">
<!-- <view class="red_amount">{{scanRewardVO.amount}}<text style="font-size: 90rpx;vertical-align: middle;">元</text></view> -->
<!-- <view class="red_text">{{excitationRedPack ? '激励红包' : '现金红包'}}</view> -->
<view class="red_btn secondRed_btn myprice" bindtap="goRecord">我的奖品</view>
<view class="red_btn secondRed_btn openShop" bindtap="goReceive">前往商城使用</view>
<view class="red_close_poup" bindtap="closeJuan"></view>
</view>
</v-popup>
<!-- 完善信息 showCouponComMess -->
<v-popup showPopup="{{showCouponComMess}}">
<image class="index_img packet" src="/images/junyao/frame.png" mode="widthFix"/>
<view class="{{isOneReward ? 'comMessBox' : 'comMessBox height_little'}}">
<view class="messTitle">完善个人信息</view>
<!-- <view class="messBoxClose" bindtap="messBoxClose"></view> -->
<view class="formBox">
<form bindsubmit="formSubmit">
<view class="inputModel" wx:if="{{isOneReward}}"><text class="red">*</text><text class="inputDesc" decode> 收货人:</text>
<input
class="inputSelf"
placeholder="请输入姓名"
placeholder-style="color: #AEAEAE;font-size:34rpx"
type="text"
data-key="name"
bindinput="onBindInput"
value="{{ submitForm.name }}"
/>
</view>
<view class="inputModel"><text class="red">*</text><text class="inputDesc">联系电话:</text>
<input
class="inputSelf phoneInput"
placeholder=""
disabled
placeholder-style="color: #AEAEAE;font-size:34rpx"
type="text"
value="{{ submitForm.phone }}"
/>
<button class="phone" wx:if="{{!submitForm.phone}}" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber">微信授权</button>
<button class="phoneTwo" wx:if="{{submitForm.phone}}" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber">重新授权</button>
</view>
<view class="inputModel" wx:if="{{isOneReward}}"><text class="red">*</text><text class="inputDesc" decode>身份证号:</text>
<input
class="inputSelf"
placeholder="请输入身份证号"
placeholder-style="color: #AEAEAE;font-size:34rpx"
type="text"
data-key="idCard"
maxlength="18"
bindinput="onBindInput"
value="{{ submitForm.idCard }}"
/>
</view>
<view class="btn_box">
<button class="cancelBtn" bindtap="messBoxClose">取消</button>
<button class="submitButtonS" wx:if="{{isFormFilled}}" form-type="submit">确认提交</button>
<button class="submitButton" wx:else>确认提交</button>
</view>
</form>
</view>
</view>
</v-popup>
<!-- receiveVis -->
<v-popup showPopup="{{receiveVis}}" transparent="{{true}}">
<image class="index_img packet" src="/images/junyao/packet.png" mode="widthFix"/>
<view class="receive_poup">
<!-- <image class="success_icon" src="{{ isNoAward ? 'https://hbrand.oss-cn-hangzhou.aliyuncs.com/cpp/jyScan/no_award.png' : 'https://hbrand.oss-cn-hangzhou.aliyuncs.com/cpp/jyScan/success_icon.png' }}" mode=""/> -->
<view class="receive_poup_content">
<view class="receive_text packTips">提示</view>
<view class="receive_text" style="margin-top: 150rpx;">{{isNoAward ? '很遗憾此次未中奖' : '恭喜您领取成功'}}</view>
<view class="receive_text">{{isNoAward ? '谢谢参与' : '奖励已发放至您的微信账户'}}</view>
</view>
<view class="coninue_scan secondRed_btn" bindtap="handleScan">继续扫码</view>
<view class="close_poup" bindtap="closeReceiveModal"></view>
</view>
</v-popup>
<!-- showSecondRedPack -->
<v-popup showPopup="{{showSecondRedPack}}">
<view class="secondRedpack_poup">
<image class="index_img packet" src="/images/junyao/packet.png" mode="widthFix"/>
<!-- <image class="secondRed_amount" src="https://hbrand.oss-cn-hangzhou.aliyuncs.com/cpp/jyScan/sencond_red.png"></image> -->
<view class="secondRedPackContent">
<view class="packPrice">1.8元</view>
<view>再喝一瓶开盖扫码</view>
<view>即可解锁复购红包</view>
<view class="time2">72小时内有效</view>
</view>
<view class="secondRed_btn_box">
<view>喜上加喜!</view>
<view>恭喜您获得双重好礼</view>
<view class="secondRed_btn" bindtap="handleScan">继续开奖</view>
</view>
<view class="secondRed_close_poup" bindtap="closeSecondRedPack"></view>
</view>
</v-popup>
<!-- <v-popup showPopup="{{showWelfare}}">
<image class="index_img packet" src="/images/junyao/fulicontent.png" mode="widthFix"/>
<view class="{{isOneReward ? 'comMessBox' : 'comMessBox height_little'}}">
<view class="messTitle"></view>
<view class="messBoxClose" bindtap="welfareBoxClose"></view>
</view>
</v-popup> -->
</view>