Commit 5f499d99d562d91adfc51262e9a8d5d4b74f7c03
1 parent
a1e10594
20191225修改新人,评价,生日,礼包
Showing
48 changed files
with
291 additions
and
70 deletions
vip/index.html
... | ... | @@ -2,4 +2,4 @@ |
2 | 2 | document.documentElement.style.fontSize = document.documentElement.clientWidth / 20 + 'px' |
3 | 3 | }) |
4 | 4 | var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || CSS.supports('top: constant(a)')) |
5 | - document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=/vip/static/index.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/vip/static/js/chunk-vendors.d17daed5.js></script><script src=/vip/static/js/index.5397c75b.js></script></body></html> | |
6 | 5 | \ No newline at end of file |
6 | + document.write('<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + (coverSupport ? ', viewport-fit=cover' : '') + '" />')</script><link rel=stylesheet href=/vip/static/index.css></head><body><noscript><strong>Please enable JavaScript to continue.</strong></noscript><div id=app></div><script src=/vip/static/js/chunk-vendors.d17daed5.js></script><script src=/vip/static/js/index.68cce7a4.js></script></body></html> | |
7 | 7 | \ No newline at end of file | ... | ... |
vip/static/css/BirthdayGift.css
... | ... | @@ -3,10 +3,6 @@ |
3 | 3 | /* Author XGQ |
4 | 4 | * 2019-10-27 |
5 | 5 | */ |
6 | -page { | |
7 | - background-color: #9be0e5; | |
8 | -} | |
9 | - | |
10 | 6 | .image_box { |
11 | 7 | justify-content: center; |
12 | 8 | } |
... | ... | @@ -35,7 +31,7 @@ page { |
35 | 31 | } |
36 | 32 | |
37 | 33 | .top_box_text text { |
38 | - color: #54cad4; | |
34 | + color: #FB6451; | |
39 | 35 | font-size: 40upx; |
40 | 36 | } |
41 | 37 | |
... | ... | @@ -65,9 +61,20 @@ page { |
65 | 61 | |
66 | 62 | .top_item_center_title { |
67 | 63 | font-size: 35upx; |
68 | - color: #54cad4; | |
64 | + color: #FB6451; | |
69 | 65 | justify-content: flex-start; |
70 | 66 | padding: 0 10upx 15upx 0upx; |
67 | + word-break: break-all; | |
68 | + /*属性规定自动换行的处理方法。normal(使用浏览器默认的换行规则。),break-all(允许在单词内换行。),keep-all(只能在半角空格或连字符处换行。)*/ | |
69 | + text-overflow: ellipsis; | |
70 | + display: -webkit-box; | |
71 | + /** 对象作为伸缩盒子模型显示 **/ | |
72 | + -webkit-box-orient: vertical; | |
73 | + /** 设置或检索伸缩盒对象的子元素的排列方式 **/ | |
74 | + -webkit-line-clamp: 2; | |
75 | + /** 显示的行数 **/ | |
76 | + overflow: hidden; | |
77 | + /** 隐藏超出的内容 **/ | |
71 | 78 | } |
72 | 79 | |
73 | 80 | .top_item_center_ramke { |
... | ... | @@ -75,6 +82,17 @@ page { |
75 | 82 | justify-content: flex-start; |
76 | 83 | line-height: 35upx; |
77 | 84 | letter-spacing: 0.5upx; |
85 | + word-break: break-all; | |
86 | + /*属性规定自动换行的处理方法。normal(使用浏览器默认的换行规则。),break-all(允许在单词内换行。),keep-all(只能在半角空格或连字符处换行。)*/ | |
87 | + text-overflow: ellipsis; | |
88 | + display: -webkit-box; | |
89 | + /** 对象作为伸缩盒子模型显示 **/ | |
90 | + -webkit-box-orient: vertical; | |
91 | + /** 设置或检索伸缩盒对象的子元素的排列方式 **/ | |
92 | + -webkit-line-clamp: 2; | |
93 | + /** 显示的行数 **/ | |
94 | + overflow: hidden; | |
95 | + /** 隐藏超出的内容 **/ | |
78 | 96 | } |
79 | 97 | |
80 | 98 | .top_item_button { |
... | ... | @@ -85,7 +103,7 @@ page { |
85 | 103 | |
86 | 104 | .top_item_button button { |
87 | 105 | font-size: 25upx; |
88 | - background: #54cad4; | |
106 | + background: #fd6969; | |
89 | 107 | color: #FFFFFF; |
90 | 108 | border-radius: 50upx; |
91 | 109 | height: 45upx; |
... | ... | @@ -97,7 +115,7 @@ page { |
97 | 115 | width: calc(50% - 30upx); |
98 | 116 | display: inline-block; |
99 | 117 | margin: 15upx; |
100 | - | |
118 | + | |
101 | 119 | } |
102 | 120 | |
103 | 121 | .top_card_box { |
... | ... | @@ -105,20 +123,20 @@ page { |
105 | 123 | background-position: center; |
106 | 124 | background-repeat: no-repeat; |
107 | 125 | border-radius: 20upx; |
108 | - height: 290upx; | |
126 | + height: 250upx; | |
109 | 127 | margin: 5upx; |
110 | 128 | } |
111 | -.img1{ | |
112 | - background-image: url(https://mshopimg.yolipai.net/miniapp/images/giftbag/card01.jpg); | |
113 | -} | |
114 | -.img2{ | |
115 | - background-image: url(https://mshopimg.yolipai.net/miniapp/images/giftbag/card02.jpg); | |
129 | + | |
130 | +.img1 { | |
131 | + background-image: url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip01.png); | |
116 | 132 | } |
117 | -.img3{ | |
118 | - background-image: url(https://mshopimg.yolipai.net/miniapp/images/giftbag/card03.jpg); | |
133 | + | |
134 | +.img2 { | |
135 | + background-image: url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip02.png); | |
119 | 136 | } |
120 | -.img4{ | |
121 | - background-image: url(https://mshopimg.yolipai.net/miniapp/images/giftbag/kong.png); | |
137 | + | |
138 | +.img3 { | |
139 | + background-image: url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip03.png); | |
122 | 140 | } |
123 | 141 | |
124 | 142 | .top_card_tite_box { |
... | ... | @@ -163,7 +181,7 @@ page { |
163 | 181 | } |
164 | 182 | |
165 | 183 | .top_card_counte { |
166 | - padding: 20upx 20upx 0 0; | |
184 | + padding: 40upx 20upx 0 0; | |
167 | 185 | text-align: center; |
168 | 186 | display: flex; |
169 | 187 | justify-content: center; |
... | ... | @@ -232,7 +250,7 @@ page { |
232 | 250 | |
233 | 251 | .top_box_image button { |
234 | 252 | margin: 15upx 95upx 0upx 95upx; |
235 | - background: #61d3dd; | |
253 | + background: #fe6a6a; | |
236 | 254 | border-radius: 50upx; |
237 | 255 | line-height: 60upx; |
238 | 256 | height: 60upx; |
... | ... | @@ -257,13 +275,13 @@ page { |
257 | 275 | } |
258 | 276 | |
259 | 277 | .button_box { |
260 | - margin: 50upx 50upx 130upx 50upx; | |
278 | + margin: 50upx 50upx 50upx 50upx; | |
261 | 279 | text-align: center; |
262 | 280 | } |
263 | 281 | |
264 | 282 | .button { |
265 | 283 | margin: 0 30upx; |
266 | - background: #54cad4; | |
284 | + background: #61d3dd; | |
267 | 285 | border-radius: 50upx; |
268 | 286 | line-height: 80upx; |
269 | 287 | height: 80upx; |
... | ... | @@ -277,4 +295,39 @@ page { |
277 | 295 | color: white; |
278 | 296 | height: 100upx; |
279 | 297 | } |
298 | +.foot_empty { | |
299 | + height: 90upx; | |
300 | +} | |
280 | 301 | |
302 | +.foot_button { | |
303 | + display: flex; | |
304 | + margin: 20upx 0upx 0upx 0upx; | |
305 | + padding: 25upx 0upx; | |
306 | + background: #FFFFFF; | |
307 | + text-align: center; | |
308 | + justify-content: center; | |
309 | + position: fixed; | |
310 | + bottom: 0; | |
311 | + left: 0; | |
312 | + width: 100%; | |
313 | +} | |
314 | + | |
315 | +.foot_button_buy { | |
316 | + background: #e4010c; | |
317 | + color: #FFFFFF; | |
318 | + width: 400upx; | |
319 | + height: 70upx; | |
320 | + font-size: 28upx; | |
321 | + line-height: 70upx; | |
322 | + border-radius: 30upx 30upx 30upx 30upx; | |
323 | +} | |
324 | + | |
325 | +.foot_button_notbuy{ | |
326 | + background: #999999; | |
327 | + color: #FFFFFF; | |
328 | + width: 400upx; | |
329 | + height: 70upx; | |
330 | + font-size: 28upx; | |
331 | + line-height: 70upx; | |
332 | + border-radius: 30upx 30upx 30upx 30upx; | |
333 | +} | ... | ... |
vip/static/css/EvaluateGift.css
... | ... | @@ -3,10 +3,6 @@ |
3 | 3 | /* Author XGQ |
4 | 4 | * 2019-10-27 |
5 | 5 | */ |
6 | -page { | |
7 | - background-color: #4784ef; | |
8 | -} | |
9 | - | |
10 | 6 | .image_box { |
11 | 7 | justify-content: center; |
12 | 8 | } |
... | ... | @@ -35,7 +31,7 @@ page { |
35 | 31 | } |
36 | 32 | |
37 | 33 | .top_box_text text { |
38 | - color: #5d93f5; | |
34 | + color: #FB6451; | |
39 | 35 | font-size: 40upx; |
40 | 36 | } |
41 | 37 | |
... | ... | @@ -65,9 +61,20 @@ page { |
65 | 61 | |
66 | 62 | .top_item_center_title { |
67 | 63 | font-size: 35upx; |
68 | - color: #5d93f5; | |
64 | + color: #FB6451; | |
69 | 65 | justify-content: flex-start; |
70 | 66 | padding: 0 10upx 15upx 0upx; |
67 | + word-break: break-all; | |
68 | + /*属性规定自动换行的处理方法。normal(使用浏览器默认的换行规则。),break-all(允许在单词内换行。),keep-all(只能在半角空格或连字符处换行。)*/ | |
69 | + text-overflow: ellipsis; | |
70 | + display: -webkit-box; | |
71 | + /** 对象作为伸缩盒子模型显示 **/ | |
72 | + -webkit-box-orient: vertical; | |
73 | + /** 设置或检索伸缩盒对象的子元素的排列方式 **/ | |
74 | + -webkit-line-clamp: 2; | |
75 | + /** 显示的行数 **/ | |
76 | + overflow: hidden; | |
77 | + /** 隐藏超出的内容 **/ | |
71 | 78 | } |
72 | 79 | |
73 | 80 | .top_item_center_ramke { |
... | ... | @@ -75,6 +82,17 @@ page { |
75 | 82 | justify-content: flex-start; |
76 | 83 | line-height: 35upx; |
77 | 84 | letter-spacing: 0.5upx; |
85 | + word-break: break-all; | |
86 | + /*属性规定自动换行的处理方法。normal(使用浏览器默认的换行规则。),break-all(允许在单词内换行。),keep-all(只能在半角空格或连字符处换行。)*/ | |
87 | + text-overflow: ellipsis; | |
88 | + display: -webkit-box; | |
89 | + /** 对象作为伸缩盒子模型显示 **/ | |
90 | + -webkit-box-orient: vertical; | |
91 | + /** 设置或检索伸缩盒对象的子元素的排列方式 **/ | |
92 | + -webkit-line-clamp: 2; | |
93 | + /** 显示的行数 **/ | |
94 | + overflow: hidden; | |
95 | + /** 隐藏超出的内容 **/ | |
78 | 96 | } |
79 | 97 | |
80 | 98 | .top_item_button { |
... | ... | @@ -85,7 +103,7 @@ page { |
85 | 103 | |
86 | 104 | .top_item_button button { |
87 | 105 | font-size: 25upx; |
88 | - background: #5d93f5; | |
106 | + background: #fd6969; | |
89 | 107 | color: #FFFFFF; |
90 | 108 | border-radius: 50upx; |
91 | 109 | height: 45upx; |
... | ... | @@ -105,24 +123,20 @@ page { |
105 | 123 | background-position: center; |
106 | 124 | background-repeat: no-repeat; |
107 | 125 | border-radius: 20upx; |
108 | - height: 290upx; | |
126 | + height: 250upx; | |
109 | 127 | margin: 5upx; |
110 | 128 | } |
111 | 129 | |
112 | 130 | .img1 { |
113 | - background-image: url(https://mshopimg.yolipai.net/miniapp/images/giftbag/card01.jpg); | |
131 | + background-image: url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip01.png); | |
114 | 132 | } |
115 | 133 | |
116 | 134 | .img2 { |
117 | - background-image: url(https://mshopimg.yolipai.net/miniapp/images/giftbag/card02.jpg); | |
135 | + background-image: url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip02.png); | |
118 | 136 | } |
119 | 137 | |
120 | 138 | .img3 { |
121 | - background-image: url(https://mshopimg.yolipai.net/miniapp/images/giftbag/card03.jpg); | |
122 | -} | |
123 | - | |
124 | -.img4 { | |
125 | - background-image: url(https://mshopimg.yolipai.net/miniapp/images/giftbag/kong.png); | |
139 | + background-image: url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip03.png); | |
126 | 140 | } |
127 | 141 | |
128 | 142 | .top_card_tite_box { |
... | ... | @@ -167,7 +181,7 @@ page { |
167 | 181 | } |
168 | 182 | |
169 | 183 | .top_card_counte { |
170 | - padding: 20upx 20upx 0 0; | |
184 | + padding: 40upx 20upx 0 0; | |
171 | 185 | text-align: center; |
172 | 186 | display: flex; |
173 | 187 | justify-content: center; |
... | ... | @@ -236,7 +250,7 @@ page { |
236 | 250 | |
237 | 251 | .top_box_image button { |
238 | 252 | margin: 15upx 95upx 0upx 95upx; |
239 | - background: #5d93f5; | |
253 | + background: #fe6a6a; | |
240 | 254 | border-radius: 50upx; |
241 | 255 | line-height: 60upx; |
242 | 256 | height: 60upx; |
... | ... | @@ -261,7 +275,7 @@ page { |
261 | 275 | } |
262 | 276 | |
263 | 277 | .button_box { |
264 | - margin: 50upx 50upx 130upx 50upx; | |
278 | + margin: 50upx 50upx 50upx 50upx; | |
265 | 279 | text-align: center; |
266 | 280 | } |
267 | 281 | |
... | ... | @@ -281,3 +295,39 @@ page { |
281 | 295 | color: white; |
282 | 296 | height: 100upx; |
283 | 297 | } |
298 | +.foot_empty { | |
299 | + height: 90upx; | |
300 | +} | |
301 | + | |
302 | +.foot_button { | |
303 | + display: flex; | |
304 | + margin: 20upx 0upx 0upx 0upx; | |
305 | + padding: 25upx 0upx; | |
306 | + background: #FFFFFF; | |
307 | + text-align: center; | |
308 | + justify-content: center; | |
309 | + position: fixed; | |
310 | + bottom: 0; | |
311 | + left: 0; | |
312 | + width: 100%; | |
313 | +} | |
314 | + | |
315 | +.foot_button_buy { | |
316 | + background: #e4010c; | |
317 | + color: #FFFFFF; | |
318 | + width: 400upx; | |
319 | + height: 70upx; | |
320 | + font-size: 28upx; | |
321 | + line-height: 70upx; | |
322 | + border-radius: 30upx 30upx 30upx 30upx; | |
323 | +} | |
324 | + | |
325 | +.foot_button_notbuy{ | |
326 | + background: #999999; | |
327 | + color: #FFFFFF; | |
328 | + width: 400upx; | |
329 | + height: 70upx; | |
330 | + font-size: 28upx; | |
331 | + line-height: 70upx; | |
332 | + border-radius: 30upx 30upx 30upx 30upx; | |
333 | +} | ... | ... |
vip/static/css/GiftPackBuy.css
... | ... | @@ -186,3 +186,37 @@ page { |
186 | 186 | font-size: 25upx; |
187 | 187 | color: #FFFFFF; |
188 | 188 | } |
189 | + | |
190 | + | |
191 | +.foot_empty{ | |
192 | + background-color: #FFFFFF; | |
193 | + height: 375upx; | |
194 | + margin: 10upx 20upx 0upx 20upx; | |
195 | + border-radius: 10upx; | |
196 | + text-align: center; | |
197 | + padding: 150upx 0upx 300upx 0upx; | |
198 | + justify-content: center; | |
199 | +} | |
200 | + | |
201 | +.foot_empty image{ | |
202 | + width: 400upx; | |
203 | + height: 273upx; | |
204 | +} | |
205 | + | |
206 | +.foot_empty text{ | |
207 | + font-size: 30upx; | |
208 | + color: #999999; | |
209 | +} | |
210 | + | |
211 | +.foot_empty_button{ | |
212 | + background: #ff6363; | |
213 | + margin: 60upx 230upx 0upx 230upx; | |
214 | + padding: 10upx; | |
215 | + border-radius: 70upx; | |
216 | + line-height: 40upx; | |
217 | +} | |
218 | + | |
219 | +.foot_empty_button text{ | |
220 | + font-size: 28upx; | |
221 | + color: #FFFFFF; | |
222 | +} | |
189 | 223 | \ No newline at end of file | ... | ... |
vip/static/css/GiftPackList.css
... | ... | @@ -79,12 +79,13 @@ |
79 | 79 | |
80 | 80 | .box_ware_img { |
81 | 81 | width: 30%; |
82 | + height: 180upx; | |
82 | 83 | border: #999999 solid 1upx; |
83 | 84 | } |
84 | 85 | |
85 | 86 | .box_ware_img image { |
86 | 87 | width: 100%; |
87 | - height: 170upx; | |
88 | + height: 100%; | |
88 | 89 | } |
89 | 90 | |
90 | 91 | .box_ware_item { |
... | ... | @@ -118,7 +119,7 @@ |
118 | 119 | .box_ware_item_qty { |
119 | 120 | font-size: 25upx; |
120 | 121 | position: absolute; |
121 | - bottom: 20upx; | |
122 | + bottom: 15upx; | |
122 | 123 | left: 0; |
123 | 124 | } |
124 | 125 | |
... | ... | @@ -133,6 +134,10 @@ |
133 | 134 | height: 60upx; |
134 | 135 | } |
135 | 136 | |
137 | +.box_ware_code text { | |
138 | + font-size: 20upx; | |
139 | +} | |
140 | + | |
136 | 141 | .foot_box { |
137 | 142 | margin: 10upx 20upx 50upx 20upx; |
138 | 143 | padding: 35upx; | ... | ... |
vip/static/css/MyGiftPack.css
... | ... | @@ -4,10 +4,6 @@ |
4 | 4 | * 2019-11-12 |
5 | 5 | */ |
6 | 6 | |
7 | -page { | |
8 | - background-color: #fb7454; | |
9 | -} | |
10 | - | |
11 | 7 | .top_img { |
12 | 8 | align-content: center; |
13 | 9 | } |
... | ... | @@ -187,3 +183,36 @@ page { |
187 | 183 | font-size: 25upx; |
188 | 184 | color: #FFFFFF; |
189 | 185 | } |
186 | + | |
187 | +.foot_empty{ | |
188 | + background-color: #FFFFFF; | |
189 | + height: 375upx; | |
190 | + margin: 10upx 20upx 0upx 20upx; | |
191 | + border-radius: 10upx; | |
192 | + text-align: center; | |
193 | + padding: 150upx 0upx 300upx 0upx; | |
194 | + justify-content: center; | |
195 | +} | |
196 | + | |
197 | +.foot_empty image{ | |
198 | + width: 400upx; | |
199 | + height: 273upx; | |
200 | +} | |
201 | + | |
202 | +.foot_empty text{ | |
203 | + font-size: 30upx; | |
204 | + color: #999999; | |
205 | +} | |
206 | + | |
207 | +.foot_empty_button{ | |
208 | + background: #ff6363; | |
209 | + margin: 60upx 230upx 0upx 230upx; | |
210 | + padding: 10upx; | |
211 | + border-radius: 70upx; | |
212 | + line-height: 40upx; | |
213 | +} | |
214 | + | |
215 | +.foot_empty_button text{ | |
216 | + font-size: 28upx; | |
217 | + color: #FFFFFF; | |
218 | +} | |
190 | 219 | \ No newline at end of file | ... | ... |
vip/static/css/NewVipGift.css
... | ... | @@ -3,10 +3,6 @@ |
3 | 3 | /* Author XGQ |
4 | 4 | * 2019-10-27 |
5 | 5 | */ |
6 | -page { | |
7 | - background-color: #fb6451; | |
8 | -} | |
9 | - | |
10 | 6 | .image_box { |
11 | 7 | justify-content: center; |
12 | 8 | } |
... | ... | @@ -68,6 +64,17 @@ page { |
68 | 64 | color: #FB6451; |
69 | 65 | justify-content: flex-start; |
70 | 66 | padding: 0 10upx 15upx 0upx; |
67 | + word-break: break-all; | |
68 | + /*属性规定自动换行的处理方法。normal(使用浏览器默认的换行规则。),break-all(允许在单词内换行。),keep-all(只能在半角空格或连字符处换行。)*/ | |
69 | + text-overflow: ellipsis; | |
70 | + display: -webkit-box; | |
71 | + /** 对象作为伸缩盒子模型显示 **/ | |
72 | + -webkit-box-orient: vertical; | |
73 | + /** 设置或检索伸缩盒对象的子元素的排列方式 **/ | |
74 | + -webkit-line-clamp: 2; | |
75 | + /** 显示的行数 **/ | |
76 | + overflow: hidden; | |
77 | + /** 隐藏超出的内容 **/ | |
71 | 78 | } |
72 | 79 | |
73 | 80 | .top_item_center_ramke { |
... | ... | @@ -75,6 +82,17 @@ page { |
75 | 82 | justify-content: flex-start; |
76 | 83 | line-height: 35upx; |
77 | 84 | letter-spacing: 0.5upx; |
85 | + word-break: break-all; | |
86 | + /*属性规定自动换行的处理方法。normal(使用浏览器默认的换行规则。),break-all(允许在单词内换行。),keep-all(只能在半角空格或连字符处换行。)*/ | |
87 | + text-overflow: ellipsis; | |
88 | + display: -webkit-box; | |
89 | + /** 对象作为伸缩盒子模型显示 **/ | |
90 | + -webkit-box-orient: vertical; | |
91 | + /** 设置或检索伸缩盒对象的子元素的排列方式 **/ | |
92 | + -webkit-line-clamp: 2; | |
93 | + /** 显示的行数 **/ | |
94 | + overflow: hidden; | |
95 | + /** 隐藏超出的内容 **/ | |
78 | 96 | } |
79 | 97 | |
80 | 98 | .top_item_button { |
... | ... | @@ -105,24 +123,20 @@ page { |
105 | 123 | background-position: center; |
106 | 124 | background-repeat: no-repeat; |
107 | 125 | border-radius: 20upx; |
108 | - height: 290upx; | |
126 | + height: 250upx; | |
109 | 127 | margin: 5upx; |
110 | 128 | } |
111 | 129 | |
112 | 130 | .img1 { |
113 | - background-image: url(https://mshopimg.yolipai.net/miniapp/images/giftbag/card01.jpg); | |
131 | + background-image: url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip01.png); | |
114 | 132 | } |
115 | 133 | |
116 | 134 | .img2 { |
117 | - background-image: url(https://mshopimg.yolipai.net/miniapp/images/giftbag/card02.jpg); | |
135 | + background-image: url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip02.png); | |
118 | 136 | } |
119 | 137 | |
120 | 138 | .img3 { |
121 | - background-image: url(https://mshopimg.yolipai.net/miniapp/images/giftbag/card03.jpg); | |
122 | -} | |
123 | - | |
124 | -.img4 { | |
125 | - background-image: url(https://mshopimg.yolipai.net/miniapp/images/giftbag/kong.png); | |
139 | + background-image: url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip03.png); | |
126 | 140 | } |
127 | 141 | |
128 | 142 | .top_card_tite_box { |
... | ... | @@ -167,7 +181,7 @@ page { |
167 | 181 | } |
168 | 182 | |
169 | 183 | .top_card_counte { |
170 | - padding: 20upx 20upx 0 0; | |
184 | + padding: 40upx 20upx 0 0; | |
171 | 185 | text-align: center; |
172 | 186 | display: flex; |
173 | 187 | justify-content: center; |
... | ... | @@ -261,7 +275,7 @@ page { |
261 | 275 | } |
262 | 276 | |
263 | 277 | .button_box { |
264 | - margin: 50upx 50upx 130upx 50upx; | |
278 | + margin: 50upx 50upx 50upx 50upx; | |
265 | 279 | text-align: center; |
266 | 280 | } |
267 | 281 | |
... | ... | @@ -281,3 +295,39 @@ page { |
281 | 295 | color: white; |
282 | 296 | height: 100upx; |
283 | 297 | } |
298 | +.foot_empty { | |
299 | + height: 90upx; | |
300 | +} | |
301 | + | |
302 | +.foot_button { | |
303 | + display: flex; | |
304 | + margin: 20upx 0upx 0upx 0upx; | |
305 | + padding: 25upx 0upx; | |
306 | + background: #FFFFFF; | |
307 | + text-align: center; | |
308 | + justify-content: center; | |
309 | + position: fixed; | |
310 | + bottom: 0; | |
311 | + left: 0; | |
312 | + width: 100%; | |
313 | +} | |
314 | + | |
315 | +.foot_button_buy { | |
316 | + background: #e4010c; | |
317 | + color: #FFFFFF; | |
318 | + width: 400upx; | |
319 | + height: 70upx; | |
320 | + font-size: 28upx; | |
321 | + line-height: 70upx; | |
322 | + border-radius: 30upx 30upx 30upx 30upx; | |
323 | +} | |
324 | + | |
325 | +.foot_button_notbuy{ | |
326 | + background: #999999; | |
327 | + color: #FFFFFF; | |
328 | + width: 400upx; | |
329 | + height: 70upx; | |
330 | + font-size: 28upx; | |
331 | + line-height: 70upx; | |
332 | + border-radius: 30upx 30upx 30upx 30upx; | |
333 | +} | ... | ... |
vip/static/img/11.png deleted
3.19 KB
vip/static/img/11_01.jpg deleted
213 KB
vip/static/img/720540.jpg deleted
157 KB
vip/static/img/Abox.png deleted
157 KB
vip/static/img/Atop1.png deleted
31.1 KB
vip/static/img/C01.png deleted
119 KB
vip/static/img/butt01.png deleted
3.3 KB
vip/static/img/card01.jpg deleted
4.88 KB
vip/static/img/card02.jpg deleted
5.48 KB
vip/static/img/card03.jpg deleted
5.09 KB
vip/static/img/code.png deleted
2.18 KB
vip/static/img/code1.png deleted
2.2 KB
vip/static/img/gift01.png deleted
2.52 KB
vip/static/img/itme.jpg deleted
348 KB
vip/static/img/kong.png deleted
6.01 KB
vip/static/img/lbTupe2.png deleted
17.1 KB
vip/static/img/left1.png deleted
1.81 KB
vip/static/img/left2.png deleted
1.82 KB
vip/static/img/new01.jpg deleted
32 KB
vip/static/img/new02.jpg deleted
50.7 KB
vip/static/img/top1.png deleted
360 KB
vip/static/img/top2.png deleted
380 KB
vip/static/img/top3.png deleted
358 KB
vip/static/js/index.5397c75b.js deleted
1 | -(function(e){function n(n){for(var a,r,c=n[0],u=n[1],f=n[2],g=0,l=[];g<c.length;g++)r=c[g],i[r]&&l.push(i[r][0]),i[r]=0;for(a in u)Object.prototype.hasOwnProperty.call(u,a)&&(e[a]=u[a]);s&&s(n);while(l.length)l.shift()();return o.push.apply(o,f||[]),t()}function t(){for(var e,n=0;n<o.length;n++){for(var t=o[n],a=!0,r=1;r<t.length;r++){var u=t[r];0!==i[u]&&(a=!1)}a&&(o.splice(n--,1),e=c(c.s=t[0]))}return e}var a={},i={index:0},o=[];function r(e){return c.p+"static/js/"+({"pages-GiftPackage-AssistanceGift":"pages-GiftPackage-AssistanceGift","pages-GiftPackage-BirthdayGift":"pages-GiftPackage-BirthdayGift","pages-GiftPackage-DismantleGift":"pages-GiftPackage-DismantleGift","pages-GiftPackage-EvaluateGift":"pages-GiftPackage-EvaluateGift","pages-GiftPackage-NewVipGift":"pages-GiftPackage-NewVipGift","pages-GiftPackage-ReceiveGift":"pages-GiftPackage-ReceiveGift","pages-Login-index":"pages-Login-index","pages-MyGiftPack-GiftPackBuy":"pages-MyGiftPack-GiftPackBuy","pages-MyGiftPack-GiftPackList":"pages-MyGiftPack-GiftPackList","pages-MyGiftPack-MyGiftPack":"pages-MyGiftPack-MyGiftPack","pages-MyGiftPack-OutWeb":"pages-MyGiftPack-OutWeb","pages-MyGiftPack-QrCode":"pages-MyGiftPack-QrCode"}[e]||e)+"."+{"pages-GiftPackage-AssistanceGift":"d17f8533","pages-GiftPackage-BirthdayGift":"7853e5a3","pages-GiftPackage-DismantleGift":"4767660d","pages-GiftPackage-EvaluateGift":"8cc8f848","pages-GiftPackage-NewVipGift":"e9a7e172","pages-GiftPackage-ReceiveGift":"e78a9b00","pages-Login-index":"8dbc768a","pages-MyGiftPack-GiftPackBuy":"06769b94","pages-MyGiftPack-GiftPackList":"6ff2b99f","pages-MyGiftPack-MyGiftPack":"556ea885","pages-MyGiftPack-OutWeb":"eafc4c28","pages-MyGiftPack-QrCode":"eeb01fc6"}[e]+".js"}function c(n){if(a[n])return a[n].exports;var t=a[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,c),t.l=!0,t.exports}c.e=function(e){var n=[],t=i[e];if(0!==t)if(t)n.push(t[2]);else{var a=new Promise(function(n,a){t=i[e]=[n,a]});n.push(t[2]=a);var o,u=document.createElement("script");u.charset="utf-8",u.timeout=120,c.nc&&u.setAttribute("nonce",c.nc),u.src=r(e),o=function(n){u.onerror=u.onload=null,clearTimeout(f);var t=i[e];if(0!==t){if(t){var a=n&&("load"===n.type?"missing":n.type),o=n&&n.target&&n.target.src,r=new Error("Loading chunk "+e+" failed.\n("+a+": "+o+")");r.type=a,r.request=o,t[1](r)}i[e]=void 0}};var f=setTimeout(function(){o({type:"timeout",target:u})},12e4);u.onerror=u.onload=o,document.head.appendChild(u)}return Promise.all(n)},c.m=e,c.c=a,c.d=function(e,n,t){c.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:t})},c.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.t=function(e,n){if(1&n&&(e=c(e)),8&n)return e;if(4&n&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(c.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var a in e)c.d(t,a,function(n){return e[n]}.bind(null,a));return t},c.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return c.d(n,"a",n),n},c.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},c.p="/vip/",c.oe=function(e){throw console.error(e),e};var u=window["webpackJsonp"]=window["webpackJsonp"]||[],f=u.push.bind(u);u.push=n,u=u.slice();for(var g=0;g<u.length;g++)n(u[g]);var s=f;o.push([0,"chunk-vendors"]),t()})({0:function(e,n,t){e.exports=t("f2e3")},1488:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a={imgHttp:"https://mshopimg.yolipai.net",ApiHttp:"https://test-weshop.yolipai.net",HtmlHttp:"http://jmh.xinda100.cn"};n.default=a},"14cf":function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a={appid:"__UNI__59B0F7D"};n.default=a},"1d88":function(e,n,t){"use strict";(function(e){var n=t("288e"),a=n(t("5176")),i=n(t("e143"));e["____59B0F7D____"]=!0,delete e["____59B0F7D____"],e.__uniConfig={globalStyle:{navigationBarTextStyle:"black",navigationBarTitleText:"",navigationBarBackgroundColor:"#F8F8F8",backgroundColor:"#F8F8F8"}},e.__uniConfig.router={mode:"hash",base:"/vip/"},e.__uniConfig["async"]={loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:3e3},e.__uniConfig.debug=!1,e.__uniConfig.networkTimeout={request:6e3,connectSocket:6e3,uploadFile:6e3,downloadFile:6e3},e.__uniConfig.sdkConfigs={},e.__uniConfig.qqMapKey="XVXBZ-NDMC4-JOGUS-XGIEE-QVHDZ-AMFV2",e.__uniConfig.nvue={"flex-direction":"column"},i.default.component("pages-Login-index",function(e){var n={component:t.e("pages-Login-index").then(function(){return e(t("d58b"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),i.default.component("pages-GiftPackage-NewVipGift",function(e){var n={component:t.e("pages-GiftPackage-NewVipGift").then(function(){return e(t("be2b"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),i.default.component("pages-GiftPackage-EvaluateGift",function(e){var n={component:t.e("pages-GiftPackage-EvaluateGift").then(function(){return e(t("15d0"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),i.default.component("pages-GiftPackage-BirthdayGift",function(e){var n={component:t.e("pages-GiftPackage-BirthdayGift").then(function(){return e(t("a685"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),i.default.component("pages-GiftPackage-AssistanceGift",function(e){var n={component:t.e("pages-GiftPackage-AssistanceGift").then(function(){return e(t("7312"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),i.default.component("pages-GiftPackage-ReceiveGift",function(e){var n={component:t.e("pages-GiftPackage-ReceiveGift").then(function(){return e(t("1ce4"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),i.default.component("pages-GiftPackage-DismantleGift",function(e){var n={component:t.e("pages-GiftPackage-DismantleGift").then(function(){return e(t("96f4"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),i.default.component("pages-MyGiftPack-MyGiftPack",function(e){var n={component:t.e("pages-MyGiftPack-MyGiftPack").then(function(){return e(t("57c6"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),i.default.component("pages-MyGiftPack-GiftPackBuy",function(e){var n={component:t.e("pages-MyGiftPack-GiftPackBuy").then(function(){return e(t("0203"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),i.default.component("pages-MyGiftPack-GiftPackList",function(e){var n={component:t.e("pages-MyGiftPack-GiftPackList").then(function(){return e(t("91fb"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),i.default.component("pages-MyGiftPack-QrCode",function(e){var n={component:t.e("pages-MyGiftPack-QrCode").then(function(){return e(t("94f2"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),i.default.component("pages-MyGiftPack-OutWeb",function(e){var n={component:t.e("pages-MyGiftPack-OutWeb").then(function(){return e(t("04eb"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),e.__uniRoutes=[{path:"/",alias:"/pages/Login/index",component:{render:function(e){return e("Page",{props:(0,a.default)({isQuit:!0,isEntry:!0},__uniConfig.globalStyle,{navigationBarTitleText:"主界面",navigationStyle:"custom"})},[e("pages-Login-index",{slot:"page"})])}},meta:{id:1,name:"pages-Login-index",isNVue:!1,pagePath:"pages/Login/index",isQuit:!0,isEntry:!0,windowTop:0}},{path:"/pages/GiftPackage/NewVipGift",component:{render:function(e){return e("Page",{props:(0,a.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"新人礼",navigationStyle:"custom"})},[e("pages-GiftPackage-NewVipGift",{slot:"page"})])}},meta:{name:"pages-GiftPackage-NewVipGift",isNVue:!1,pagePath:"pages/GiftPackage/NewVipGift",windowTop:0}},{path:"/pages/GiftPackage/EvaluateGift",component:{render:function(e){return e("Page",{props:(0,a.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"评价有礼",navigationStyle:"custom"})},[e("pages-GiftPackage-EvaluateGift",{slot:"page"})])}},meta:{name:"pages-GiftPackage-EvaluateGift",isNVue:!1,pagePath:"pages/GiftPackage/EvaluateGift",windowTop:0}},{path:"/pages/GiftPackage/BirthdayGift",component:{render:function(e){return e("Page",{props:(0,a.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"生日礼包",navigationStyle:"custom"})},[e("pages-GiftPackage-BirthdayGift",{slot:"page"})])}},meta:{name:"pages-GiftPackage-BirthdayGift",isNVue:!1,pagePath:"pages/GiftPackage/BirthdayGift",windowTop:0}},{path:"/pages/GiftPackage/AssistanceGift",component:{render:function(e){return e("Page",{props:(0,a.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"好友助力",navigationStyle:"custom"})},[e("pages-GiftPackage-AssistanceGift",{slot:"page"})])}},meta:{name:"pages-GiftPackage-AssistanceGift",isNVue:!1,pagePath:"pages/GiftPackage/AssistanceGift",windowTop:0}},{path:"/pages/GiftPackage/ReceiveGift",component:{render:function(e){return e("Page",{props:(0,a.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"好友助力",navigationStyle:"custom"})},[e("pages-GiftPackage-ReceiveGift",{slot:"page"})])}},meta:{name:"pages-GiftPackage-ReceiveGift",isNVue:!1,pagePath:"pages/GiftPackage/ReceiveGift",windowTop:0}},{path:"/pages/GiftPackage/DismantleGift",component:{render:function(e){return e("Page",{props:(0,a.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"好友助力",navigationStyle:"custom"})},[e("pages-GiftPackage-DismantleGift",{slot:"page"})])}},meta:{name:"pages-GiftPackage-DismantleGift",isNVue:!1,pagePath:"pages/GiftPackage/DismantleGift",windowTop:0}},{path:"/pages/MyGiftPack/MyGiftPack",component:{render:function(e){return e("Page",{props:(0,a.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"我的礼包",navigationStyle:"custom"})},[e("pages-MyGiftPack-MyGiftPack",{slot:"page"})])}},meta:{name:"pages-MyGiftPack-MyGiftPack",isNVue:!1,pagePath:"pages/MyGiftPack/MyGiftPack",windowTop:0}},{path:"/pages/MyGiftPack/GiftPackBuy",component:{render:function(e){return e("Page",{props:(0,a.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"礼包列表",navigationStyle:"custom"})},[e("pages-MyGiftPack-GiftPackBuy",{slot:"page"})])}},meta:{name:"pages-MyGiftPack-GiftPackBuy",isNVue:!1,pagePath:"pages/MyGiftPack/GiftPackBuy",windowTop:0}},{path:"/pages/MyGiftPack/GiftPackList",component:{render:function(e){return e("Page",{props:(0,a.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"礼包详情",navigationStyle:"custom"})},[e("pages-MyGiftPack-GiftPackList",{slot:"page"})])}},meta:{name:"pages-MyGiftPack-GiftPackList",isNVue:!1,pagePath:"pages/MyGiftPack/GiftPackList",windowTop:0}},{path:"/pages/MyGiftPack/QrCode",component:{render:function(e){return e("Page",{props:(0,a.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"核销码",navigationStyle:"custom"})},[e("pages-MyGiftPack-QrCode",{slot:"page"})])}},meta:{name:"pages-MyGiftPack-QrCode",isNVue:!1,pagePath:"pages/MyGiftPack/QrCode",windowTop:0}},{path:"/pages/MyGiftPack/OutWeb",component:{render:function(e){return e("Page",{props:(0,a.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"页面跳转",navigationStyle:"custom"})},[e("pages-MyGiftPack-OutWeb",{slot:"page"})])}},meta:{name:"pages-MyGiftPack-OutWeb",isNVue:!1,pagePath:"pages/MyGiftPack/OutWeb",windowTop:0}},{path:"/preview-image",component:{render:function(e){return e("Page",{props:{navigationStyle:"custom"}},[e("system-preview-image",{slot:"page"})])}},meta:{name:"preview-image",pagePath:"/preview-image"}},{path:"/choose-location",component:{render:function(e){return e("Page",{props:{navigationStyle:"custom"}},[e("system-choose-location",{slot:"page"})])}},meta:{name:"choose-location",pagePath:"/choose-location"}},{path:"/open-location",component:{render:function(e){return e("Page",{props:{navigationStyle:"custom"}},[e("system-open-location",{slot:"page"})])}},meta:{name:"open-location",pagePath:"/open-location"}}]}).call(this,t("c8ba"))},6982:function(e,n,t){"use strict";t.r(n);var a=t("79d4"),i=t.n(a);for(var o in a)"default"!==o&&function(e){t.d(n,e,function(){return a[e]})}(o);n["default"]=i.a},7499:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a={pages:{"pages/Login/index":{navigationBarTitleText:"主界面",navigationStyle:"custom"},"pages/GiftPackage/NewVipGift":{navigationBarTitleText:"新人礼",navigationStyle:"custom"},"pages/GiftPackage/EvaluateGift":{navigationBarTitleText:"评价有礼",navigationStyle:"custom"},"pages/GiftPackage/BirthdayGift":{navigationBarTitleText:"生日礼包",navigationStyle:"custom"},"pages/GiftPackage/AssistanceGift":{navigationBarTitleText:"好友助力",navigationStyle:"custom"},"pages/GiftPackage/ReceiveGift":{navigationBarTitleText:"好友助力",navigationStyle:"custom"},"pages/GiftPackage/DismantleGift":{navigationBarTitleText:"好友助力",navigationStyle:"custom"},"pages/MyGiftPack/MyGiftPack":{navigationBarTitleText:"我的礼包",navigationStyle:"custom"},"pages/MyGiftPack/GiftPackBuy":{navigationBarTitleText:"礼包列表",navigationStyle:"custom"},"pages/MyGiftPack/GiftPackList":{navigationBarTitleText:"礼包详情",navigationStyle:"custom"},"pages/MyGiftPack/QrCode":{navigationBarTitleText:"核销码",navigationStyle:"custom"},"pages/MyGiftPack/OutWeb":{navigationBarTitleText:"页面跳转",navigationStyle:"custom"}},globalStyle:{navigationBarTextStyle:"black",navigationBarTitleText:"",navigationBarBackgroundColor:"#F8F8F8",backgroundColor:"#F8F8F8"}};n.default=a},"79d4":function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a={onLaunch:function(){console.log("App Launch")},onShow:function(){console.log("App Show")},onHide:function(){console.log("App Hide")}};n.default=a},c4f6:function(e,n,t){"use strict";t.r(n);var a=t("f008"),i=t("6982");for(var o in i)"default"!==o&&function(e){t.d(n,e,function(){return i[e]})}(o);var r=t("2877"),c=Object(r["a"])(i["default"],a["a"],a["b"],!1,null,null,null);n["default"]=c.exports},f008:function(e,n,t){"use strict";var a=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("App",{attrs:{keepAliveInclude:e.keepAliveInclude}})},i=[];t.d(n,"a",function(){return a}),t.d(n,"b",function(){return i})},f2e3:function(e,n,t){"use strict";var a=t("288e"),i=a(t("cebc"));t("cadf"),t("551c"),t("097d"),t("1d88"),t("1c31"),t("921b");var o=a(t("e143")),r=a(t("c4f6")),c=a(t("1488"));o.default.config.productionTip=!1,o.default.prototype.$GetInfo=c.default,r.default.mpType="app";var u=new o.default((0,i.default)({},r.default));u.$mount()}}); | |
2 | 0 | \ No newline at end of file |
vip/static/js/index.68cce7a4.js
0 → 100644
1 | +(function(e){function n(n){for(var a,r,c=n[0],u=n[1],f=n[2],g=0,l=[];g<c.length;g++)r=c[g],i[r]&&l.push(i[r][0]),i[r]=0;for(a in u)Object.prototype.hasOwnProperty.call(u,a)&&(e[a]=u[a]);s&&s(n);while(l.length)l.shift()();return o.push.apply(o,f||[]),t()}function t(){for(var e,n=0;n<o.length;n++){for(var t=o[n],a=!0,r=1;r<t.length;r++){var u=t[r];0!==i[u]&&(a=!1)}a&&(o.splice(n--,1),e=c(c.s=t[0]))}return e}var a={},i={index:0},o=[];function r(e){return c.p+"static/js/"+({"pages-GiftPackage-AssistanceGift":"pages-GiftPackage-AssistanceGift","pages-GiftPackage-BirthdayGift":"pages-GiftPackage-BirthdayGift","pages-GiftPackage-DismantleGift":"pages-GiftPackage-DismantleGift","pages-GiftPackage-EvaluateGift":"pages-GiftPackage-EvaluateGift","pages-GiftPackage-NewVipGift":"pages-GiftPackage-NewVipGift","pages-GiftPackage-ReceiveGift":"pages-GiftPackage-ReceiveGift","pages-Login-index":"pages-Login-index","pages-MyGiftPack-GiftPackBuy":"pages-MyGiftPack-GiftPackBuy","pages-MyGiftPack-GiftPackList":"pages-MyGiftPack-GiftPackList","pages-MyGiftPack-MyGiftPack":"pages-MyGiftPack-MyGiftPack","pages-MyGiftPack-OutWeb":"pages-MyGiftPack-OutWeb","pages-MyGiftPack-QrCode":"pages-MyGiftPack-QrCode"}[e]||e)+"."+{"pages-GiftPackage-AssistanceGift":"d17f8533","pages-GiftPackage-BirthdayGift":"e19628a6","pages-GiftPackage-DismantleGift":"4767660d","pages-GiftPackage-EvaluateGift":"cc979a18","pages-GiftPackage-NewVipGift":"562017fd","pages-GiftPackage-ReceiveGift":"e78a9b00","pages-Login-index":"30f2ac1e","pages-MyGiftPack-GiftPackBuy":"b3323308","pages-MyGiftPack-GiftPackList":"55fa109e","pages-MyGiftPack-MyGiftPack":"14c99dbb","pages-MyGiftPack-OutWeb":"6890b431","pages-MyGiftPack-QrCode":"eeb01fc6"}[e]+".js"}function c(n){if(a[n])return a[n].exports;var t=a[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,c),t.l=!0,t.exports}c.e=function(e){var n=[],t=i[e];if(0!==t)if(t)n.push(t[2]);else{var a=new Promise(function(n,a){t=i[e]=[n,a]});n.push(t[2]=a);var o,u=document.createElement("script");u.charset="utf-8",u.timeout=120,c.nc&&u.setAttribute("nonce",c.nc),u.src=r(e),o=function(n){u.onerror=u.onload=null,clearTimeout(f);var t=i[e];if(0!==t){if(t){var a=n&&("load"===n.type?"missing":n.type),o=n&&n.target&&n.target.src,r=new Error("Loading chunk "+e+" failed.\n("+a+": "+o+")");r.type=a,r.request=o,t[1](r)}i[e]=void 0}};var f=setTimeout(function(){o({type:"timeout",target:u})},12e4);u.onerror=u.onload=o,document.head.appendChild(u)}return Promise.all(n)},c.m=e,c.c=a,c.d=function(e,n,t){c.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:t})},c.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},c.t=function(e,n){if(1&n&&(e=c(e)),8&n)return e;if(4&n&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(c.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var a in e)c.d(t,a,function(n){return e[n]}.bind(null,a));return t},c.n=function(e){var n=e&&e.__esModule?function(){return e["default"]}:function(){return e};return c.d(n,"a",n),n},c.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},c.p="/vip/",c.oe=function(e){throw console.error(e),e};var u=window["webpackJsonp"]=window["webpackJsonp"]||[],f=u.push.bind(u);u.push=n,u=u.slice();for(var g=0;g<u.length;g++)n(u[g]);var s=f;o.push([0,"chunk-vendors"]),t()})({0:function(e,n,t){e.exports=t("f2e3")},1488:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a={imgHttp:"https://mshopimg.yolipai.net",ApiHttp:"http://172.20.3.132:8085",HtmlHttp:"http://jmh.xinda100.cn"};n.default=a},"14cf":function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a={appid:"__UNI__59B0F7D"};n.default=a},"1d88":function(e,n,t){"use strict";(function(e){var n=t("288e"),a=n(t("5176")),i=n(t("e143"));e["____59B0F7D____"]=!0,delete e["____59B0F7D____"],e.__uniConfig={globalStyle:{navigationBarTextStyle:"black",navigationBarTitleText:"",navigationBarBackgroundColor:"#F8F8F8",backgroundColor:"#F8F8F8"}},e.__uniConfig.router={mode:"hash",base:"/vip/"},e.__uniConfig["async"]={loading:"AsyncLoading",error:"AsyncError",delay:200,timeout:3e3},e.__uniConfig.debug=!1,e.__uniConfig.networkTimeout={request:6e3,connectSocket:6e3,uploadFile:6e3,downloadFile:6e3},e.__uniConfig.sdkConfigs={},e.__uniConfig.qqMapKey="XVXBZ-NDMC4-JOGUS-XGIEE-QVHDZ-AMFV2",e.__uniConfig.nvue={"flex-direction":"column"},i.default.component("pages-Login-index",function(e){var n={component:t.e("pages-Login-index").then(function(){return e(t("d58b"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),i.default.component("pages-GiftPackage-NewVipGift",function(e){var n={component:t.e("pages-GiftPackage-NewVipGift").then(function(){return e(t("be2b"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),i.default.component("pages-GiftPackage-EvaluateGift",function(e){var n={component:t.e("pages-GiftPackage-EvaluateGift").then(function(){return e(t("15d0"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),i.default.component("pages-GiftPackage-BirthdayGift",function(e){var n={component:t.e("pages-GiftPackage-BirthdayGift").then(function(){return e(t("a685"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),i.default.component("pages-GiftPackage-AssistanceGift",function(e){var n={component:t.e("pages-GiftPackage-AssistanceGift").then(function(){return e(t("7312"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),i.default.component("pages-GiftPackage-ReceiveGift",function(e){var n={component:t.e("pages-GiftPackage-ReceiveGift").then(function(){return e(t("1ce4"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),i.default.component("pages-GiftPackage-DismantleGift",function(e){var n={component:t.e("pages-GiftPackage-DismantleGift").then(function(){return e(t("96f4"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),i.default.component("pages-MyGiftPack-MyGiftPack",function(e){var n={component:t.e("pages-MyGiftPack-MyGiftPack").then(function(){return e(t("57c6"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),i.default.component("pages-MyGiftPack-GiftPackBuy",function(e){var n={component:t.e("pages-MyGiftPack-GiftPackBuy").then(function(){return e(t("0203"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),i.default.component("pages-MyGiftPack-GiftPackList",function(e){var n={component:t.e("pages-MyGiftPack-GiftPackList").then(function(){return e(t("91fb"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),i.default.component("pages-MyGiftPack-QrCode",function(e){var n={component:t.e("pages-MyGiftPack-QrCode").then(function(){return e(t("94f2"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),i.default.component("pages-MyGiftPack-OutWeb",function(e){var n={component:t.e("pages-MyGiftPack-OutWeb").then(function(){return e(t("04eb"))}.bind(null,t)).catch(t.oe),delay:__uniConfig["async"].delay,timeout:__uniConfig["async"].timeout};return __uniConfig["async"]["loading"]&&(n.loading={name:"SystemAsyncLoading",render:function(e){return e(__uniConfig["async"]["loading"])}}),__uniConfig["async"]["error"]&&(n.error={name:"SystemAsyncError",render:function(e){return e(__uniConfig["async"]["error"])}}),n}),e.__uniRoutes=[{path:"/",alias:"/pages/Login/index",component:{render:function(e){return e("Page",{props:(0,a.default)({isQuit:!0,isEntry:!0},__uniConfig.globalStyle,{navigationBarTitleText:"主界面",navigationStyle:"custom"})},[e("pages-Login-index",{slot:"page"})])}},meta:{id:1,name:"pages-Login-index",isNVue:!1,pagePath:"pages/Login/index",isQuit:!0,isEntry:!0,windowTop:0}},{path:"/pages/GiftPackage/NewVipGift",component:{render:function(e){return e("Page",{props:(0,a.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"新人礼",navigationStyle:"custom"})},[e("pages-GiftPackage-NewVipGift",{slot:"page"})])}},meta:{name:"pages-GiftPackage-NewVipGift",isNVue:!1,pagePath:"pages/GiftPackage/NewVipGift",windowTop:0}},{path:"/pages/GiftPackage/EvaluateGift",component:{render:function(e){return e("Page",{props:(0,a.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"评价有礼",navigationStyle:"custom"})},[e("pages-GiftPackage-EvaluateGift",{slot:"page"})])}},meta:{name:"pages-GiftPackage-EvaluateGift",isNVue:!1,pagePath:"pages/GiftPackage/EvaluateGift",windowTop:0}},{path:"/pages/GiftPackage/BirthdayGift",component:{render:function(e){return e("Page",{props:(0,a.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"生日礼包",navigationStyle:"custom"})},[e("pages-GiftPackage-BirthdayGift",{slot:"page"})])}},meta:{name:"pages-GiftPackage-BirthdayGift",isNVue:!1,pagePath:"pages/GiftPackage/BirthdayGift",windowTop:0}},{path:"/pages/GiftPackage/AssistanceGift",component:{render:function(e){return e("Page",{props:(0,a.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"好友助力",navigationStyle:"custom"})},[e("pages-GiftPackage-AssistanceGift",{slot:"page"})])}},meta:{name:"pages-GiftPackage-AssistanceGift",isNVue:!1,pagePath:"pages/GiftPackage/AssistanceGift",windowTop:0}},{path:"/pages/GiftPackage/ReceiveGift",component:{render:function(e){return e("Page",{props:(0,a.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"好友助力",navigationStyle:"custom"})},[e("pages-GiftPackage-ReceiveGift",{slot:"page"})])}},meta:{name:"pages-GiftPackage-ReceiveGift",isNVue:!1,pagePath:"pages/GiftPackage/ReceiveGift",windowTop:0}},{path:"/pages/GiftPackage/DismantleGift",component:{render:function(e){return e("Page",{props:(0,a.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"好友助力",navigationStyle:"custom"})},[e("pages-GiftPackage-DismantleGift",{slot:"page"})])}},meta:{name:"pages-GiftPackage-DismantleGift",isNVue:!1,pagePath:"pages/GiftPackage/DismantleGift",windowTop:0}},{path:"/pages/MyGiftPack/MyGiftPack",component:{render:function(e){return e("Page",{props:(0,a.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"我的礼包",navigationStyle:"custom"})},[e("pages-MyGiftPack-MyGiftPack",{slot:"page"})])}},meta:{name:"pages-MyGiftPack-MyGiftPack",isNVue:!1,pagePath:"pages/MyGiftPack/MyGiftPack",windowTop:0}},{path:"/pages/MyGiftPack/GiftPackBuy",component:{render:function(e){return e("Page",{props:(0,a.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"礼包列表",navigationStyle:"custom"})},[e("pages-MyGiftPack-GiftPackBuy",{slot:"page"})])}},meta:{name:"pages-MyGiftPack-GiftPackBuy",isNVue:!1,pagePath:"pages/MyGiftPack/GiftPackBuy",windowTop:0}},{path:"/pages/MyGiftPack/GiftPackList",component:{render:function(e){return e("Page",{props:(0,a.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"礼包详情",navigationStyle:"custom"})},[e("pages-MyGiftPack-GiftPackList",{slot:"page"})])}},meta:{name:"pages-MyGiftPack-GiftPackList",isNVue:!1,pagePath:"pages/MyGiftPack/GiftPackList",windowTop:0}},{path:"/pages/MyGiftPack/QrCode",component:{render:function(e){return e("Page",{props:(0,a.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"核销码",navigationStyle:"custom"})},[e("pages-MyGiftPack-QrCode",{slot:"page"})])}},meta:{name:"pages-MyGiftPack-QrCode",isNVue:!1,pagePath:"pages/MyGiftPack/QrCode",windowTop:0}},{path:"/pages/MyGiftPack/OutWeb",component:{render:function(e){return e("Page",{props:(0,a.default)({},__uniConfig.globalStyle,{navigationBarTitleText:"页面跳转",navigationStyle:"custom"})},[e("pages-MyGiftPack-OutWeb",{slot:"page"})])}},meta:{name:"pages-MyGiftPack-OutWeb",isNVue:!1,pagePath:"pages/MyGiftPack/OutWeb",windowTop:0}},{path:"/preview-image",component:{render:function(e){return e("Page",{props:{navigationStyle:"custom"}},[e("system-preview-image",{slot:"page"})])}},meta:{name:"preview-image",pagePath:"/preview-image"}},{path:"/choose-location",component:{render:function(e){return e("Page",{props:{navigationStyle:"custom"}},[e("system-choose-location",{slot:"page"})])}},meta:{name:"choose-location",pagePath:"/choose-location"}},{path:"/open-location",component:{render:function(e){return e("Page",{props:{navigationStyle:"custom"}},[e("system-open-location",{slot:"page"})])}},meta:{name:"open-location",pagePath:"/open-location"}}]}).call(this,t("c8ba"))},6982:function(e,n,t){"use strict";t.r(n);var a=t("79d4"),i=t.n(a);for(var o in a)"default"!==o&&function(e){t.d(n,e,function(){return a[e]})}(o);n["default"]=i.a},7499:function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a={pages:{"pages/Login/index":{navigationBarTitleText:"主界面",navigationStyle:"custom"},"pages/GiftPackage/NewVipGift":{navigationBarTitleText:"新人礼",navigationStyle:"custom"},"pages/GiftPackage/EvaluateGift":{navigationBarTitleText:"评价有礼",navigationStyle:"custom"},"pages/GiftPackage/BirthdayGift":{navigationBarTitleText:"生日礼包",navigationStyle:"custom"},"pages/GiftPackage/AssistanceGift":{navigationBarTitleText:"好友助力",navigationStyle:"custom"},"pages/GiftPackage/ReceiveGift":{navigationBarTitleText:"好友助力",navigationStyle:"custom"},"pages/GiftPackage/DismantleGift":{navigationBarTitleText:"好友助力",navigationStyle:"custom"},"pages/MyGiftPack/MyGiftPack":{navigationBarTitleText:"我的礼包",navigationStyle:"custom"},"pages/MyGiftPack/GiftPackBuy":{navigationBarTitleText:"礼包列表",navigationStyle:"custom"},"pages/MyGiftPack/GiftPackList":{navigationBarTitleText:"礼包详情",navigationStyle:"custom"},"pages/MyGiftPack/QrCode":{navigationBarTitleText:"核销码",navigationStyle:"custom"},"pages/MyGiftPack/OutWeb":{navigationBarTitleText:"页面跳转",navigationStyle:"custom"}},globalStyle:{navigationBarTextStyle:"black",navigationBarTitleText:"",navigationBarBackgroundColor:"#F8F8F8",backgroundColor:"#F8F8F8"}};n.default=a},"79d4":function(e,n,t){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a={onLaunch:function(){console.log("App Launch")},onShow:function(){console.log("App Show")},onHide:function(){console.log("App Hide")}};n.default=a},c4f6:function(e,n,t){"use strict";t.r(n);var a=t("f008"),i=t("6982");for(var o in i)"default"!==o&&function(e){t.d(n,e,function(){return i[e]})}(o);var r=t("2877"),c=Object(r["a"])(i["default"],a["a"],a["b"],!1,null,null,null);n["default"]=c.exports},f008:function(e,n,t){"use strict";var a=function(){var e=this,n=e.$createElement,t=e._self._c||n;return t("App",{attrs:{keepAliveInclude:e.keepAliveInclude}})},i=[];t.d(n,"a",function(){return a}),t.d(n,"b",function(){return i})},f2e3:function(e,n,t){"use strict";var a=t("288e"),i=a(t("cebc"));t("cadf"),t("551c"),t("097d"),t("1d88"),t("1c31"),t("921b");var o=a(t("e143")),r=a(t("c4f6")),c=a(t("1488"));o.default.config.productionTip=!1,o.default.prototype.$GetInfo=c.default,r.default.mpType="app";var u=new o.default((0,i.default)({},r.default));u.$mount()}}); | |
0 | 2 | \ No newline at end of file | ... | ... |
vip/static/js/pages-GiftPackage-BirthdayGift.7853e5a3.js deleted
1 | -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-GiftPackage-BirthdayGift"],{1824:function(t,e,i){"use strict";i.r(e);var a=i("cc58"),n=i.n(a);for(var o in a)"default"!==o&&function(t){i.d(e,t,function(){return a[t]})}(o);e["default"]=n.a},"1ae6":function(t,e,i){var a=i("abf7");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("d3adb746",a,!0,{sourceMap:!1,shadowMode:!1})},2350:function(t,e){function i(t,e){var i=t[1]||"",n=t[3];if(!n)return i;if(e&&"function"===typeof btoa){var o=a(n),s=n.sources.map(function(t){return"/*# sourceURL="+n.sourceRoot+t+" */"});return[i].concat(s).concat([o]).join("\n")}return[i].join("\n")}function a(t){var e=btoa(unescape(encodeURIComponent(JSON.stringify(t)))),i="sourceMappingURL=data:application/json;charset=utf-8;base64,"+e;return"/*# "+i+" */"}t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var a=i(e,t);return e[2]?"@media "+e[2]+"{"+a+"}":a}).join("")},e.i=function(t,i){"string"===typeof t&&(t=[[null,t,""]]);for(var a={},n=0;n<this.length;n++){var o=this[n][0];"number"===typeof o&&(a[o]=!0)}for(n=0;n<t.length;n++){var s=t[n];"number"===typeof s[0]&&a[s[0]]||(i&&!s[2]?s[2]=i:i&&(s[2]="("+s[2]+") and ("+i+")"),e.push(s))}},e}},"4f06":function(t,e,i){"use strict";function a(t,e){for(var i=[],a={},n=0;n<e.length;n++){var o=e[n],s=o[0],r=o[1],c=o[2],u=o[3],d={id:t+":"+n,css:r,media:c,sourceMap:u};a[s]?a[s].parts.push(d):i.push(a[s]={id:s,parts:[d]})}return i}i.r(e),i.d(e,"default",function(){return f});var n="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!n)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var o={},s=n&&(document.head||document.getElementsByTagName("head")[0]),r=null,c=0,u=!1,d=function(){},l=null,p="data-vue-ssr-id",g="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function f(t,e,i,n){u=i,l=n||{};var s=a(t,e);return b(s),function(e){for(var i=[],n=0;n<s.length;n++){var r=s[n],c=o[r.id];c.refs--,i.push(c)}e?(s=a(t,e),b(s)):s=[];for(n=0;n<i.length;n++){c=i[n];if(0===c.refs){for(var u=0;u<c.parts.length;u++)c.parts[u]();delete o[c.id]}}}}function b(t){for(var e=0;e<t.length;e++){var i=t[e],a=o[i.id];if(a){a.refs++;for(var n=0;n<a.parts.length;n++)a.parts[n](i.parts[n]);for(;n<i.parts.length;n++)a.parts.push(h(i.parts[n]));a.parts.length>i.parts.length&&(a.parts.length=i.parts.length)}else{var s=[];for(n=0;n<i.parts.length;n++)s.push(h(i.parts[n]));o[i.id]={id:i.id,refs:1,parts:s}}}}function v(){var t=document.createElement("style");return t.type="text/css",s.appendChild(t),t}function h(t){var e,i,a=document.querySelector("style["+p+'~="'+t.id+'"]');if(a){if(u)return d;a.parentNode.removeChild(a)}if(g){var n=c++;a=r||(r=v()),e=m.bind(null,a,n,!1),i=m.bind(null,a,n,!0)}else a=v(),e=w.bind(null,a),i=function(){a.parentNode.removeChild(a)};return e(t),function(a){if(a){if(a.css===t.css&&a.media===t.media&&a.sourceMap===t.sourceMap)return;e(t=a)}else i()}}var _=function(){var t=[];return function(e,i){return t[e]=i,t.filter(Boolean).join("\n")}}();function m(t,e,i,a){var n=i?"":j(a.css);if(t.styleSheet)t.styleSheet.cssText=_(e,n);else{var o=document.createTextNode(n),s=t.childNodes;s[e]&&t.removeChild(s[e]),s.length?t.insertBefore(o,s[e]):t.appendChild(o)}}function w(t,e){var i=j(e.css),a=e.media,n=e.sourceMap;if(a&&t.setAttribute("media",a),l.ssrId&&t.setAttribute(p,e.id),n&&(i+="\n/*# sourceURL="+n.sources[0]+" */",i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),t.styleSheet)t.styleSheet.cssText=i;else{while(t.firstChild)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(i))}}var x=/%\?([+-]?\d+(\.\d+)?)\?%/g,y=/\.\?%PAGE\?%/g,k=/\?%PAGE\?%\[data-v-[a-z0-9]{8}\]/g,I=/uni-page-body\[data-v-[a-z0-9]{8}\]/g,S=/var\(--status-bar-height\)/gi,T=/var\(--window-top\)/gi,C=/var\(--window-bottom\)/gi;function j(t){var e=U();if(!uni.canIUse("css.var")){var i=G();t=t.replace(S,"0px").replace(T,i.top+"px").replace(C,i.bottom+"px")}return t.replace(k,e).replace(y,"").replace(I,"body."+e+" uni-page-body").replace(x,function(t,e){return uni.upx2px(e)+"px"})}function U(){var t=getApp();return t&&t.$route&&t.$route.meta&&t.$route.meta.name||""}function G(){var t=getApp();return t&&t.$route&&t.$route.meta&&t.$route.meta.name?{top:t.$route.meta.windowTop,bottom:t.$route.meta.isTabBar?50:0}:{top:0,bottom:0}}},"628d":function(t,e,i){"use strict";var a=i("1ae6"),n=i.n(a);n.a},a685:function(t,e,i){"use strict";i.r(e);var a=i("b42c"),n=i("1824");for(var o in n)"default"!==o&&function(t){i.d(e,t,function(){return n[t]})}(o);i("628d");var s=i("2877"),r=Object(s["a"])(n["default"],a["a"],a["b"],!1,null,"c02b3c36",null);e["default"]=r.exports},abf7:function(t,e,i){e=t.exports=i("2350")(!1),e.push([t.i,'@charset "UTF-8";\n/*引用样式路径*/\n/* Author XGQ\r\n * 2019-10-27\r\n */uni-page-body[data-v-c02b3c36]{background-color:#9be0e5}.image_box[data-v-c02b3c36]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.image_box uni-image[data-v-c02b3c36]{width:100%;height:%?690?%}.top[data-v-c02b3c36]{margin:%?-20?% %?28?% %?45?% %?28?%;padding:%?10?% %?10?% %?70?% %?10?%;background-color:#fff;border-radius:%?0?% %?0?% %?15?% %?15?%}.top_box[data-v-c02b3c36]{display:-webkit-box;display:-webkit-flex;display:flex;text-align:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.top_box_text[data-v-c02b3c36]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;margin:%?50?% %?15?% %?20?% %?15?%}.top_box_text uni-text[data-v-c02b3c36]{color:#54cad4;font-size:%?40?%}.top_item[data-v-c02b3c36]{display:-webkit-box;display:-webkit-flex;display:flex;width:100%;margin:%?60?% 0 0 0}.top_item_img[data-v-c02b3c36]{float:left;width:28%;margin:%?0?% %?10?% %?0?% %?20?%}.top_item_img uni-image[data-v-c02b3c36]{width:%?150?%;height:%?150?%;border-radius:50%;border:#f96865 solid %?3?%}.top_item_center[data-v-c02b3c36]{float:left;width:50%}.top_item_center_title[data-v-c02b3c36]{font-size:%?35?%;color:#54cad4;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;padding:0 %?10?% %?15?% %?0?%}.top_item_center_ramke[data-v-c02b3c36]{font-size:%?25?%;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;line-height:%?35?%;letter-spacing:%?0.5?%}.top_item_button[data-v-c02b3c36]{float:right;width:22%;padding:%?65?% %?20?% 0 %?1?%}.top_item_button uni-button[data-v-c02b3c36]{font-size:%?25?%;background:#54cad4;color:#fff;border-radius:%?50?%;height:%?45?%;line-height:%?45?%}.top_card[data-v-c02b3c36]{width:calc(50% - %?30?%);display:inline-block;margin:%?15?%}.top_card_box[data-v-c02b3c36]{background-size:cover;background-position:50%;background-repeat:no-repeat;border-radius:%?20?%;height:%?290?%;margin:%?5?%}.img1[data-v-c02b3c36]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/card01.jpg)}.img2[data-v-c02b3c36]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/card02.jpg)}.img3[data-v-c02b3c36]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/card03.jpg)}.img4[data-v-c02b3c36]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/kong.png)}.top_card_tite_box[data-v-c02b3c36]{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end}.top_card_tite_a[data-v-c02b3c36]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;background:#ffa7c0;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_tite_b[data-v-c02b3c36]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;background:#50dfdb;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_tite_c[data-v-c02b3c36]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;background:#92cbff;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_tite_d[data-v-c02b3c36]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_counte[data-v-c02b3c36]{padding:%?20?% %?20?% 0 0;text-align:center;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;color:#fff;font-size:%?40?%}.top_card_remak[data-v-c02b3c36]{padding:%?20?% 0 %?40?% 0;text-align:center;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;font-size:%?20?%;color:#fff}.top_card_button_a uni-button[data-v-c02b3c36]{margin:0 %?85?%;background:#ffa6bc;border-radius:%?50?%;line-height:%?40?%;height:%?40?%;color:#fff;font-size:%?25?%}.top_card_button_b uni-button[data-v-c02b3c36]{margin:0 %?85?%;background:#50dfdb;border-radius:%?50?%;line-height:%?40?%;height:%?40?%;color:#fff;font-size:%?25?%}.top_card_button_c uni-button[data-v-c02b3c36]{margin:0 %?85?%;background:#75bcfc;border-radius:%?50?%;line-height:%?40?%;height:%?40?%;color:#fff;font-size:%?25?%}.top_card_button_d uni-button[data-v-c02b3c36]{margin:0 %?85?%;border-radius:%?50?%;line-height:%?40?%;height:%?40?%;color:#fff;font-size:%?25?%}.top_box_image[data-v-c02b3c36]{padding:%?20?% %?20?% %?20?% %?20?%}.top_box_image uni-image[data-v-c02b3c36]{height:%?216?%;width:100%}.top_box_image uni-button[data-v-c02b3c36]{margin:%?15?% %?95?% %?0?% %?95?%;background:#61d3dd;border-radius:%?50?%;line-height:%?60?%;height:%?60?%;color:#fff;font-size:%?30?%}.foot_box[data-v-c02b3c36]{margin:0 %?50?% %?40?% %?50?%}.foot_box_title[data-v-c02b3c36]{font-size:%?43?%;color:#fff;margin-bottom:%?20?%}.foot_box_text[data-v-c02b3c36]{font-size:%?30?%;color:#fff;line-height:%?48?%}.button_box[data-v-c02b3c36]{margin:%?50?% %?50?% %?130?% %?50?%;text-align:center}.button[data-v-c02b3c36]{margin:0 %?30?%;background:#54cad4;border-radius:%?50?%;line-height:%?80?%;height:%?80?%;color:#fff;font-size:%?35?%}.button_text[data-v-c02b3c36]{padding-top:%?20?%;font-size:%?20?%;color:#fff;height:%?100?%}uni-button[data-v-c02b3c36]:after{border:none}body.?%PAGE?%[data-v-c02b3c36]{background-color:#9be0e5}',""])},b42c:function(t,e,i){"use strict";var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",[i("v-uni-view",{staticClass:"image_box"},[i("v-uni-image",{attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/top3.png"}})],1),this.itemShow?i("v-uni-view",{staticClass:"top"},[i("v-uni-view",{staticClass:"top_box"},[i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("______")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("新人专享\\n你的美丽我来缔造")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("______")])],1)],1),t._l(t.itemWare,function(e,a){return i("v-uni-view",{key:a,staticClass:"top_item"},[1==e.lbType?i("v-uni-view",{staticClass:"top_item_img"},[i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/itme.jpg"}})],1):t._e(),2==e.lbType?i("v-uni-view",{staticClass:"top_item_img"},[""!=e.fromImage?i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+e.fromImage}}):t._e()],1):t._e(),i("v-uni-view",{staticClass:"top_item_center"},[i("v-uni-view",{staticClass:"top_item_center_title"},[2==e.lbType?i("v-uni-text",[t._v("免费领取")]):t._e(),1==e.lbType?i("v-uni-text",[t._v(t._s(e.fromName))]):t._e()],1),i("v-uni-view",{staticClass:"top_item_center_ramke"},[2==e.lbType?i("v-uni-text",[t._v(t._s(e.fromName))]):t._e(),1==e.lbType?i("v-uni-text",[t._v("新人可免费享受专业"+t._s(e.fromName)+",可以享受"+t._s(e.num)+"次。")]):t._e()],1)],1),i("v-uni-view",{staticClass:"top_item_button"},[i("v-uni-button",{on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.itemWareSubmit(e.lbType,e.fromId,e)}}},[t._v(t._s(e.state))])],1)],1)})],2):t._e(),this.itemShows()?i("v-uni-view",[i("v-uni-image",{staticStyle:{width:"10px",height:"47px",float:"left",top:"-38px",left:"55px"},attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/left1.png"}}),i("v-uni-image",{staticStyle:{width:"10px",height:"47px",float:"right",top:"-38px",right:"55px"},attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/left1.png"}})],1):t._e(),this.cardShow?i("v-uni-view",[i("v-uni-view",{staticClass:"top"},[i("v-uni-view",{staticClass:"top_box"},[i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("———")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("新人专享优惠券")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("———")])],1)],1),t._l(t.cards,function(e,a){return i("v-uni-view",{key:a,staticClass:"top_card"},[i("v-uni-view",{class:1==e.useObjectType?"top_card_box img1":2==e.useObjectType?"top_card_box img2":"top_card_box img3"},[i("v-uni-view",{staticClass:"top_card_tite_box"},[0==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_a"},[t._v("全场通用")]):t._e(),1==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_b"},[t._v("品牌限定")]):t._e(),2==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_c"},[t._v("品类限定")]):t._e(),11==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_a"},[t._v("用途限定")]):t._e(),12==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_a"},[t._v("分类1限定")]):t._e()],1),i("v-uni-view",{staticClass:"top_card_counte"},[t._v(t._s(e.sum)+"元券")]),i("v-uni-view",{staticClass:"top_card_remak"},[t._v("满"+t._s(e.buySum)+"元可以用")]),i("v-uni-view",{class:1==e.useObjectType?"top_card_button_b":2==e.useObjectType?"top_card_button_c":"top_card_button_a"},[i("v-uni-button",{on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.cardSubmit(e.lbType,e.fromId,e)}}},[t._v(t._s(e.state))])],1)],1)],1)})],2)],1):t._e(),this.cardShows()?i("v-uni-view",[i("v-uni-view",[i("v-uni-image",{staticStyle:{width:"10px",height:"47px",float:"left",top:"-38px",left:"55px"},attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/left1.png"}}),i("v-uni-image",{staticStyle:{width:"10px",height:"47px",float:"right",top:"-38px",right:"55px"},attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/left1.png"}})],1)],1):t._e(),this.packShow?i("v-uni-view",[i("v-uni-view",{staticClass:"top"},[i("v-uni-view",{staticClass:"top_box"},[i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("———")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("新人专享福利")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("———")])],1)],1),this.integralShow?i("v-uni-view",[i("v-uni-view",{staticClass:"top_box_image"},[i("v-uni-image",{attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/new01.jpg"}}),i("v-uni-button",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.integralSubmit.apply(void 0,arguments)}}},[t._v(t._s(this.integralTitle))])],1)],1):t._e(),this.growUpShow?i("v-uni-view",[i("v-uni-view",{staticClass:"top_box_image"},[i("v-uni-image",{attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/new02.jpg"}}),i("v-uni-button",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.growUpSubmit.apply(void 0,arguments)}}},[t._v(t._s(this.growUpTitle))])],1)],1):t._e()],1)],1):t._e(),this.textShow?i("v-uni-view",[i("v-uni-view",{staticClass:"foot_box"},[i("v-uni-view",{staticClass:"foot_box_title"},[i("v-uni-text",[t._v("活动规则:")])],1),i("v-uni-view",{staticClass:"foot_box_text"},[i("v-uni-text",[t._v(t._s(this.textTitle))])],1)],1)],1):t._e(),i("v-uni-view",{staticClass:"button_box"},[i("v-uni-view",[i("v-uni-button",{staticClass:"button"},[t._v("进入商城购物")])],1),i("v-uni-view",{staticClass:"button_text"},[i("v-uni-text",[t._v("本活动最终解释权归公司所有,如果有问题请联系客服")])],1)],1)],1)},n=[];i.d(e,"a",function(){return a}),i.d(e,"b",function(){return n})},cc58:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("386d"),i("4917"),i("3b2b");var a={data:function(){return{itemShow:!1,cardShow:!1,packShow:!1,textShow:!1,integralShow:!0,growUpShow:!0,itemButton:"",cardButton:"",getActId:"",getActType:"",giftID:"",getUserID:"",getStorageID:"",integralTitle:"已领取",growUpTitle:"已领取",textTitle:"",noShow:!1,itemShows:function(){return this.itemShow?!!this.cardShow:(this.cardShow,!1)},cardShows:function(){return this.cardShow?!!this.packShow:(this.packShow,!1)},cards:[],itemWare:[]}},onLoad:function(t){var e=this;this.getActId=t.actId,this.getActType=t.actType,this.giftID=t.giftID,this.getStorageID=t.storageID,this.getUserID=t.userID,uni.request({url:this.$GetInfo.ApiHttp+"/api/weshop/marketing/giftbag/get",data:{actId:this.getActId,actType:this.getActType,giftBagId:this.giftID,storeId:this.getStorageID,userId:this.getUserID},method:"GET",header:{"custom-header":"application/json"},success:function(t){console.log(t.data),0==t.data.code?(null!=t.data.data.lbCoupons&&(e.cardShow=!0,e.cards=t.data.data.lbCoupons),null!=t.data.data.lbSM&&(e.itemShow=!0,e.itemWare=t.data.data.lbSM),t.data.data.lbIntegral<=0?t.data.data.lbGrowthValue<=0?e.packShow=!1:(e.packShow=!0,e.integralShow=!1,e.growUpShow=!0):t.data.data.lbGrowthValue>0?e.packShow=!0:(e.packShow=!0,e.integralShow=!0,e.growUpShow=!1),0==t.data.data.lbIntegralState?e.integralTitle="领取"+t.data.data.lbIntegral+"积分":e.integralTitle="已领取",0==t.data.data.lbGrowthValueState?e.growUpTitle="领取"+t.data.data.lbGrowthValue+"积分":e.growUpTitle="已领取",""!=t.data.data.actIntro&&(e.textShow=!0,e.textTitle=t.data.data.actIntro)):console.log(t.data.msg)}})},onShow:function(){},methods:{GetQueryString:function(t){var e=new RegExp("(^|&)"+t+"=([^&]*)(&|$)"),i=window.location.search.substr(1).match(e);return null!=i?unescape(i[2]):null},integralSubmit:function(){var t=this;if("已领取"==this.integralTitle)return uni.showToast({icon:"none",title:"已领取不能重复领取!"}),!1;uni.request({url:this.$GetInfo.ApiHttp+"/api/weshop/marketing/receive/record/insert",data:{actId:this.NewState,lbId:this.giftID,lbType:"4",storeId:this.getStorageID,userId:this.getUserID,actType:this.getActType},method:"POST",header:{"custom-header":"application/json"},success:function(e){console.log(e.data),0==e.data.code?(console.log(e.data.msg),t.integralTitle="已领取",uni.showToast({icon:"none",title:"领取成功!"})):(console.log(e.data.msg),uni.showToast({icon:"none",title:e.data.msg}))}})},growUpSubmit:function(){var t=this;if("已领取"==this.growUpTitle)return uni.showToast({icon:"none",title:"已领取不能重复领取!"}),!1;uni.request({url:this.$GetInfo.ApiHttp+"/api/weshop/marketing/receive/record/insert",data:{actId:this.NewState,lbId:this.giftID,lbType:"5",storeId:this.getStorageID,userId:this.getUserID,actType:this.getActType},method:"POST",header:{"custom-header":"application/json"},success:function(e){console.log(e.data),0==e.data.code?(console.log(e.data.msg),t.growUpTitle="已领取",uni.showToast({icon:"none",title:"领取成功!"})):(console.log(e.data.msg),uni.showToast({icon:"none",title:e.data.msg}))}})},itemWareSubmit:function(t,e,i){if("已领取"==i.state)return uni.showToast({icon:"none",title:"已领取不能重复领取!"}),!1;console.log(t,e),uni.request({url:this.$GetInfo.ApiHttp+"/api/weshop/marketing/receive/record/insert",data:{actId:this.NewState,lbId:this.giftID,lbType:t,storeId:this.getStorageID,userId:this.getUserID,actType:this.getActType,fromId:e},method:"POST",header:{"custom-header":"application/json"},success:function(t){console.log(t.data),0==t.data.code?(console.log(t.data.msg),i.state="已领取",uni.showToast({icon:"none",title:"领取成功!"})):(console.log(t.data.msg),uni.showToast({icon:"none",title:t.data.msg}))}})},cardSubmit:function(t,e,i){if("已领取"==i.state)return uni.showToast({icon:"none",title:"已领取不能重复领取!"}),!1;console.log(t,e),uni.request({url:this.$GetInfo.ApiHttp+"/api/weshop/marketing/receive/record/insert",data:{actId:this.NewState,lbId:this.giftID,lbType:t,storeId:this.getStorageID,userId:this.getUserID,actType:this.getActType,fromId:e},method:"POST",header:{"custom-header":"application/json"},success:function(t){console.log(t.data),0==t.data.code?(console.log(t.data.msg),i.state="已领取",uni.showToast({icon:"none",title:"领取成功!"})):(console.log(t.data.msg),uni.showToast({icon:"none",title:t.data.msg}))}})}}};e.default=a}}]); | |
2 | 0 | \ No newline at end of file |
vip/static/js/pages-GiftPackage-BirthdayGift.e19628a6.js
0 → 100644
1 | +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-GiftPackage-BirthdayGift"],{1824:function(t,e,i){"use strict";i.r(e);var a=i("cc58"),n=i.n(a);for(var o in a)"default"!==o&&function(t){i.d(e,t,function(){return a[t]})}(o);e["default"]=n.a},"224b":function(t,e,i){"use strict";var a=i("bb62"),n=i.n(a);n.a},2350:function(t,e){function i(t,e){var i=t[1]||"",n=t[3];if(!n)return i;if(e&&"function"===typeof btoa){var o=a(n),r=n.sources.map(function(t){return"/*# sourceURL="+n.sourceRoot+t+" */"});return[i].concat(r).concat([o]).join("\n")}return[i].join("\n")}function a(t){var e=btoa(unescape(encodeURIComponent(JSON.stringify(t)))),i="sourceMappingURL=data:application/json;charset=utf-8;base64,"+e;return"/*# "+i+" */"}t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var a=i(e,t);return e[2]?"@media "+e[2]+"{"+a+"}":a}).join("")},e.i=function(t,i){"string"===typeof t&&(t=[[null,t,""]]);for(var a={},n=0;n<this.length;n++){var o=this[n][0];"number"===typeof o&&(a[o]=!0)}for(n=0;n<t.length;n++){var r=t[n];"number"===typeof r[0]&&a[r[0]]||(i&&!r[2]?r[2]=i:i&&(r[2]="("+r[2]+") and ("+i+")"),e.push(r))}},e}},"268b":function(t,e,i){e=t.exports=i("2350")(!1),e.push([t.i,'@charset "UTF-8";\n/*引用样式路径*/\n/* Author XGQ\r\n * 2019-10-27\r\n */.image_box[data-v-b7aad9d4]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.image_box uni-image[data-v-b7aad9d4]{width:100%;height:%?690?%}.top[data-v-b7aad9d4]{margin:%?-20?% %?28?% %?45?% %?28?%;padding:%?10?% %?10?% %?70?% %?10?%;background-color:#fff;border-radius:%?0?% %?0?% %?15?% %?15?%}.top_box[data-v-b7aad9d4]{display:-webkit-box;display:-webkit-flex;display:flex;text-align:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.top_box_text[data-v-b7aad9d4]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;margin:%?50?% %?15?% %?20?% %?15?%}.top_box_text uni-text[data-v-b7aad9d4]{color:#fb6451;font-size:%?40?%}.top_item[data-v-b7aad9d4]{display:-webkit-box;display:-webkit-flex;display:flex;width:100%;margin:%?60?% 0 0 0}.top_item_img[data-v-b7aad9d4]{float:left;width:28%;margin:%?0?% %?10?% %?0?% %?20?%}.top_item_img uni-image[data-v-b7aad9d4]{width:%?150?%;height:%?150?%;border-radius:50%;border:#f96865 solid %?3?%}.top_item_center[data-v-b7aad9d4]{float:left;width:50%}.top_item_center_title[data-v-b7aad9d4]{font-size:%?35?%;color:#fb6451;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;padding:0 %?10?% %?15?% %?0?%;word-break:break-all;\r\n\t/*属性规定自动换行的处理方法。normal(使用浏览器默认的换行规则。),break-all(允许在单词内换行。),keep-all(只能在半角空格或连字符处换行。)*/text-overflow:ellipsis;display:-webkit-box;\r\n\t/** 对象作为伸缩盒子模型显示 **/-webkit-box-orient:vertical;\r\n\t/** 设置或检索伸缩盒对象的子元素的排列方式 **/-webkit-line-clamp:2;\r\n\t/** 显示的行数 **/overflow:hidden\r\n\t/** 隐藏超出的内容 **/}.top_item_center_ramke[data-v-b7aad9d4]{font-size:%?25?%;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;line-height:%?35?%;letter-spacing:%?0.5?%;word-break:break-all;\r\n\t/*属性规定自动换行的处理方法。normal(使用浏览器默认的换行规则。),break-all(允许在单词内换行。),keep-all(只能在半角空格或连字符处换行。)*/text-overflow:ellipsis;display:-webkit-box;\r\n\t/** 对象作为伸缩盒子模型显示 **/-webkit-box-orient:vertical;\r\n\t/** 设置或检索伸缩盒对象的子元素的排列方式 **/-webkit-line-clamp:2;\r\n\t/** 显示的行数 **/overflow:hidden\r\n\t/** 隐藏超出的内容 **/}.top_item_button[data-v-b7aad9d4]{float:right;width:22%;padding:%?65?% %?20?% 0 %?1?%}.top_item_button uni-button[data-v-b7aad9d4]{font-size:%?25?%;background:#fd6969;color:#fff;border-radius:%?50?%;height:%?45?%;line-height:%?45?%}.top_card[data-v-b7aad9d4]{width:calc(50% - %?30?%);display:inline-block;margin:%?15?%}.top_card_box[data-v-b7aad9d4]{background-size:cover;background-position:50%;background-repeat:no-repeat;border-radius:%?20?%;height:%?250?%;margin:%?5?%}.img1[data-v-b7aad9d4]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip01.png)}.img2[data-v-b7aad9d4]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip02.png)}.img3[data-v-b7aad9d4]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip03.png)}.top_card_tite_box[data-v-b7aad9d4]{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end}.top_card_tite_a[data-v-b7aad9d4]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;background:#ffa7c0;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_tite_b[data-v-b7aad9d4]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;background:#50dfdb;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_tite_c[data-v-b7aad9d4]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;background:#92cbff;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_tite_d[data-v-b7aad9d4]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_counte[data-v-b7aad9d4]{padding:%?40?% %?20?% 0 0;text-align:center;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;color:#fff;font-size:%?40?%}.top_card_remak[data-v-b7aad9d4]{padding:%?20?% 0 %?40?% 0;text-align:center;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;font-size:%?20?%;color:#fff}.top_card_button_a uni-button[data-v-b7aad9d4]{margin:0 %?85?%;background:#ffa6bc;border-radius:%?50?%;line-height:%?40?%;height:%?40?%;color:#fff;font-size:%?25?%}.top_card_button_b uni-button[data-v-b7aad9d4]{margin:0 %?85?%;background:#50dfdb;border-radius:%?50?%;line-height:%?40?%;height:%?40?%;color:#fff;font-size:%?25?%}.top_card_button_c uni-button[data-v-b7aad9d4]{margin:0 %?85?%;background:#75bcfc;border-radius:%?50?%;line-height:%?40?%;height:%?40?%;color:#fff;font-size:%?25?%}.top_card_button_d uni-button[data-v-b7aad9d4]{margin:0 %?85?%;border-radius:%?50?%;line-height:%?40?%;height:%?40?%;color:#fff;font-size:%?25?%}.top_box_image[data-v-b7aad9d4]{padding:%?20?% %?20?% %?20?% %?20?%}.top_box_image uni-image[data-v-b7aad9d4]{height:%?216?%;width:100%}.top_box_image uni-button[data-v-b7aad9d4]{margin:%?15?% %?95?% %?0?% %?95?%;background:#fe6a6a;border-radius:%?50?%;line-height:%?60?%;height:%?60?%;color:#fff;font-size:%?30?%}.foot_box[data-v-b7aad9d4]{margin:0 %?50?% %?40?% %?50?%}.foot_box_title[data-v-b7aad9d4]{font-size:%?43?%;color:#fff;margin-bottom:%?20?%}.foot_box_text[data-v-b7aad9d4]{font-size:%?30?%;color:#fff;line-height:%?48?%}.button_box[data-v-b7aad9d4]{margin:%?50?% %?50?% %?50?% %?50?%;text-align:center}.button[data-v-b7aad9d4]{margin:0 %?30?%;background:#61d3dd;border-radius:%?50?%;line-height:%?80?%;height:%?80?%;color:#fff;font-size:%?35?%}.button_text[data-v-b7aad9d4]{padding-top:%?20?%;font-size:%?20?%;color:#fff;height:%?100?%}.foot_empty[data-v-b7aad9d4]{height:%?90?%}.foot_button[data-v-b7aad9d4]{display:-webkit-box;display:-webkit-flex;display:flex;margin:%?20?% %?0?% %?0?% %?0?%;padding:%?25?% %?0?%;background:#fff;text-align:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;position:fixed;bottom:0;left:0;width:100%}.foot_button_buy[data-v-b7aad9d4]{background:#e4010c;color:#fff;width:%?400?%;height:%?70?%;font-size:%?28?%;line-height:%?70?%;border-radius:%?30?% %?30?% %?30?% %?30?%}.foot_button_notbuy[data-v-b7aad9d4]{background:#999;color:#fff;width:%?400?%;height:%?70?%;font-size:%?28?%;line-height:%?70?%;border-radius:%?30?% %?30?% %?30?% %?30?%}uni-page-body[data-v-b7aad9d4]{background-color:#9be0e5}uni-button[data-v-b7aad9d4]:after{border:none}.foot_box_text[data-v-b7aad9d4] img{width:100%}.foot_box_text[data-v-b7aad9d4] .img{line-height:0}body.?%PAGE?%[data-v-b7aad9d4]{background-color:#9be0e5}',""])},"4f06":function(t,e,i){"use strict";function a(t,e){for(var i=[],a={},n=0;n<e.length;n++){var o=e[n],r=o[0],s=o[1],d=o[2],c=o[3],u={id:t+":"+n,css:s,media:d,sourceMap:c};a[r]?a[r].parts.push(u):i.push(a[r]={id:r,parts:[u]})}return i}i.r(e),i.d(e,"default",function(){return f});var n="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!n)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var o={},r=n&&(document.head||document.getElementsByTagName("head")[0]),s=null,d=0,c=!1,u=function(){},l=null,p="data-vue-ssr-id",b="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function f(t,e,i,n){c=i,l=n||{};var r=a(t,e);return g(r),function(e){for(var i=[],n=0;n<r.length;n++){var s=r[n],d=o[s.id];d.refs--,i.push(d)}e?(r=a(t,e),g(r)):r=[];for(n=0;n<i.length;n++){d=i[n];if(0===d.refs){for(var c=0;c<d.parts.length;c++)d.parts[c]();delete o[d.id]}}}}function g(t){for(var e=0;e<t.length;e++){var i=t[e],a=o[i.id];if(a){a.refs++;for(var n=0;n<a.parts.length;n++)a.parts[n](i.parts[n]);for(;n<i.parts.length;n++)a.parts.push(h(i.parts[n]));a.parts.length>i.parts.length&&(a.parts.length=i.parts.length)}else{var r=[];for(n=0;n<i.parts.length;n++)r.push(h(i.parts[n]));o[i.id]={id:i.id,refs:1,parts:r}}}}function v(){var t=document.createElement("style");return t.type="text/css",r.appendChild(t),t}function h(t){var e,i,a=document.querySelector("style["+p+'~="'+t.id+'"]');if(a){if(c)return u;a.parentNode.removeChild(a)}if(b){var n=d++;a=s||(s=v()),e=m.bind(null,a,n,!1),i=m.bind(null,a,n,!0)}else a=v(),e=w.bind(null,a),i=function(){a.parentNode.removeChild(a)};return e(t),function(a){if(a){if(a.css===t.css&&a.media===t.media&&a.sourceMap===t.sourceMap)return;e(t=a)}else i()}}var _=function(){var t=[];return function(e,i){return t[e]=i,t.filter(Boolean).join("\n")}}();function m(t,e,i,a){var n=i?"":j(a.css);if(t.styleSheet)t.styleSheet.cssText=_(e,n);else{var o=document.createTextNode(n),r=t.childNodes;r[e]&&t.removeChild(r[e]),r.length?t.insertBefore(o,r[e]):t.appendChild(o)}}function w(t,e){var i=j(e.css),a=e.media,n=e.sourceMap;if(a&&t.setAttribute("media",a),l.ssrId&&t.setAttribute(p,e.id),n&&(i+="\n/*# sourceURL="+n.sources[0]+" */",i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),t.styleSheet)t.styleSheet.cssText=i;else{while(t.firstChild)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(i))}}var x=/%\?([+-]?\d+(\.\d+)?)\?%/g,y=/\.\?%PAGE\?%/g,k=/\?%PAGE\?%\[data-v-[a-z0-9]{8}\]/g,S=/uni-page-body\[data-v-[a-z0-9]{8}\]/g,C=/var\(--status-bar-height\)/gi,I=/var\(--window-top\)/gi,T=/var\(--window-bottom\)/gi;function j(t){var e=G();if(!uni.canIUse("css.var")){var i=U();t=t.replace(C,"0px").replace(I,i.top+"px").replace(T,i.bottom+"px")}return t.replace(k,e).replace(y,"").replace(S,"body."+e+" uni-page-body").replace(x,function(t,e){return uni.upx2px(e)+"px"})}function G(){var t=getApp();return t&&t.$route&&t.$route.meta&&t.$route.meta.name||""}function U(){var t=getApp();return t&&t.$route&&t.$route.meta&&t.$route.meta.name?{top:t.$route.meta.windowTop,bottom:t.$route.meta.isTabBar?50:0}:{top:0,bottom:0}}},6844:function(t,e,i){"use strict";var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",[i("v-uni-view",{staticClass:"image_box"},[i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/birth00.png"}})],1),this.itemShow?i("v-uni-view",{staticClass:"top"},[i("v-uni-view",{staticClass:"top_box"},[i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("______")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("新人专享\\n你的美丽我来缔造")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("______")])],1)],1),t._l(t.itemWare,function(e,a){return i("v-uni-view",{key:a,staticClass:"top_item"},[3==e.lbType?i("v-uni-view",{staticClass:"top_item_img"},[i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift02.png"}})],1):t._e(),1==e.lbType?i("v-uni-view",{staticClass:"top_item_img"},[""!=e.fromImage?i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+e.fromImage}}):t._e()],1):t._e(),i("v-uni-view",{staticClass:"top_item_center"},[i("v-uni-view",{staticClass:"top_item_center_title"},[1==e.lbType?i("v-uni-text",[t._v("免费领取")]):t._e(),3==e.lbType?i("v-uni-text",[t._v(t._s(e.fromName))]):t._e()],1),i("v-uni-view",{staticClass:"top_item_center_ramke"},[1==e.lbType?i("v-uni-text",[t._v(t._s(e.fromName))]):t._e(),3==e.lbType?i("v-uni-text",[t._v("新人可免费享受专业"+t._s(e.fromName)+",可以享受"+t._s(e.num)+"次。")]):t._e()],1)],1)],1)})],2):t._e(),this.itemShows()?i("v-uni-view",[i("v-uni-image",{staticStyle:{width:"10px",height:"47px",float:"left",top:"-38px",left:"55px"},attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/birth01.png"}}),i("v-uni-image",{staticStyle:{width:"10px",height:"47px",float:"right",top:"-38px",right:"55px"},attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/birth01.png"}})],1):t._e(),this.cardShow?i("v-uni-view",[i("v-uni-view",{staticClass:"top"},[i("v-uni-view",{staticClass:"top_box"},[i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("———")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("新人专享优惠券")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("———")])],1)],1),t._l(t.cards,function(e,a){return i("v-uni-view",{key:a,staticClass:"top_card"},[i("v-uni-view",{class:1==e.useObjectType?"top_card_box img1":2==e.useObjectType?"top_card_box img2":"top_card_box img3"},[i("v-uni-view",{staticClass:"top_card_tite_box"},[0==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_a"},[t._v("全场通用")]):t._e(),1==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_b"},[t._v("品牌限定")]):t._e(),2==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_c"},[t._v("品类限定")]):t._e(),11==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_a"},[t._v("用途限定")]):t._e(),12==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_a"},[t._v("分类1限定")]):t._e()],1),i("v-uni-view",{staticClass:"top_card_counte"},[t._v(t._s(e.sum)+"元券")]),i("v-uni-view",{staticClass:"top_card_remak"},[t._v("满"+t._s(e.buySum)+"元可以用")])],1)],1)})],2)],1):t._e(),this.cardShows()?i("v-uni-view",[i("v-uni-view",[i("v-uni-image",{staticStyle:{width:"10px",height:"47px",float:"left",top:"-38px",left:"55px"},attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/birth01.png"}}),i("v-uni-image",{staticStyle:{width:"10px",height:"47px",float:"right",top:"-38px",right:"55px"},attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/birth01.png"}})],1)],1):t._e(),this.packShow?i("v-uni-view",[i("v-uni-view",{staticClass:"top"},[i("v-uni-view",{staticClass:"top_box"},[i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("———")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("新人专享福利")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("———")])],1)],1),this.integralShow?i("v-uni-view",[i("v-uni-view",{staticClass:"top_box_image"},[i("v-uni-image",{attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/vip06.jpg"}}),i("v-uni-button",[t._v(t._s(this.integralTitle))])],1)],1):t._e(),this.growUpShow?i("v-uni-view",[i("v-uni-view",{staticClass:"top_box_image"},[i("v-uni-image",{attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/vip07.jpg"}}),i("v-uni-button",[t._v(t._s(this.growUpTitle))])],1)],1):t._e()],1)],1):t._e(),this.textShow?i("v-uni-view",[i("v-uni-view",{staticClass:"foot_box"},[i("v-uni-view",{staticClass:"foot_box_title"},[i("v-uni-text",[t._v("活动规则:")])],1),i("v-uni-view",{staticClass:"foot_box_text",domProps:{innerHTML:t._s(this.textTitle)}})],1)],1):t._e(),i("v-uni-view",{staticClass:"button_box"},[i("v-uni-view",[i("v-uni-button",{staticClass:"button",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetWebHttp.apply(void 0,arguments)}}},[t._v("进入商城购物")])],1),i("v-uni-view",{staticClass:"button_text"},[i("v-uni-text",[t._v("本活动最终解释权归公司所有,如果有问题请联系客服")])],1)],1),i("v-uni-view",{staticClass:"foot_empty"}),i("v-uni-view",{staticClass:"foot_button"},[i("v-uni-view",{class:"已领取"==this.receiveState?"foot_button_notbuy":"foot_button_buy"},[i("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetReceive.apply(void 0,arguments)}}},[t._v(t._s(this.receiveState))])],1)],1)],1)},n=[];i.d(e,"a",function(){return a}),i.d(e,"b",function(){return n})},a685:function(t,e,i){"use strict";i.r(e);var a=i("6844"),n=i("1824");for(var o in n)"default"!==o&&function(t){i.d(e,t,function(){return n[t]})}(o);i("224b");var r=i("2877"),s=Object(r["a"])(n["default"],a["a"],a["b"],!1,null,"b7aad9d4",null);e["default"]=s.exports},bb62:function(t,e,i){var a=i("268b");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("44b1539d",a,!0,{sourceMap:!1,shadowMode:!1})},cc58:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("386d"),i("4917"),i("3b2b"),i("a481");var a={data:function(){return{itemShow:!1,cardShow:!1,packShow:!1,textShow:!1,integralShow:!0,growUpShow:!0,itemButton:"",cardButton:"",getActId:"",getActType:"",giftID:"",getUserID:"",getStorageID:"",receiveState:"已领取",integralTitle:"已领取",growUpTitle:"已领取",textTitle:"",getUrl:"",noShow:!1,itemShows:function(){return this.itemShow?!!this.cardShow:(this.cardShow,!1)},cardShows:function(){return this.cardShow?!!this.packShow:(this.packShow,!1)},cards:[],itemWare:[]}},onLoad:function(t){this.getActId=t.actId,this.getActType=t.actType,this.giftID=t.giftBagId,this.getStorageID=t.storeId,this.getUserID=t.userId,this.GetList()},onShow:function(){this.textTitle=this.textTitle.replace(/<p><img/gi,"<p class='img'><img")},methods:{getQueryString:function(t){var e=new RegExp("(^|&)"+t+"=([^&]*)(&|$)","i"),i=window.location.search.substr(1).match(e);return null!=i?unescape(i[2]):null},GetList:function(){var t=this;uni.request({url:this.$GetInfo.ApiHttp+"/api/weshop/marketing/giftbag/bound/get",data:{actId:this.getActId,actType:this.getActType,giftBagId:this.giftID,storeId:this.getStorageID,userId:this.getUserID},method:"GET",header:{"Content-Type":"application/x-www-form-urlencoded"},success:function(e){console.log(e.data),0==e.data.code?(null!=e.data.data.lbCoupons&&(t.cardShow=!0,t.cards=e.data.data.lbCoupons),null!=e.data.data.lbSM&&(t.itemShow=!0,t.itemWare=e.data.data.lbSM),e.data.data.lbIntegral<=0?e.data.data.lbGrowthValue<=0?t.packShow=!1:(t.packShow=!0,t.integralShow=!1,t.growUpShow=!0):e.data.data.lbGrowthValue>0?t.packShow=!0:(t.packShow=!0,t.integralShow=!0,t.growUpShow=!1),t.integralTitle="领取"+e.data.data.lbIntegral+"积分",t.growUpTitle="领取"+e.data.data.lbGrowthValue+"积分",0==e.data.data.receiveState?t.receiveState="一键全部领取":t.receiveState="已领取",""!=e.data.data.actIntro&&(t.textShow=!0,t.textTitle=e.data.data.actIntro)):console.log(e.data.msg)}})},GetWebHttp:function(){this.getUrl=this.$GetInfo.HtmlHttp+"/mobile/index/index/stoid/"+this.getStorageID+".html",window.location.href=this.getUrl},GetReceive:function(){var t=this;if("已领取"==t.receiveState)return!1;uni.request({url:t.$GetInfo.ApiHttp+"/api/weshop/marketing/free/receive/gift/record/insert",data:{actId:t.getActId,actType:"4",lbId:t.giftID,storeId:t.getStorageID,userId:t.getUserID},method:"POST",header:{"Content-Type":"application/json"},success:function(e){console.log(e.data),0==e.data.code?(console.log(e.data.msg),t.receiveState="已领取",uni.showToast({icon:"none",title:"领取成功!"})):(console.log(e.data.msg),uni.showToast({icon:"none",title:e.data.msg}))}})}}};e.default=a}}]); | |
0 | 2 | \ No newline at end of file | ... | ... |
vip/static/js/pages-GiftPackage-EvaluateGift.8cc8f848.js deleted
1 | -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-GiftPackage-EvaluateGift"],{"15d0":function(t,e,i){"use strict";i.r(e);var a=i("f8be"),n=i("1d95");for(var o in n)"default"!==o&&function(t){i.d(e,t,function(){return n[t]})}(o);i("74990");var s=i("2877"),r=Object(s["a"])(n["default"],a["a"],a["b"],!1,null,"74755bf4",null);e["default"]=r.exports},"1d95":function(t,e,i){"use strict";i.r(e);var a=i("a5f3"),n=i.n(a);for(var o in a)"default"!==o&&function(t){i.d(e,t,function(){return a[t]})}(o);e["default"]=n.a},2350:function(t,e){function i(t,e){var i=t[1]||"",n=t[3];if(!n)return i;if(e&&"function"===typeof btoa){var o=a(n),s=n.sources.map(function(t){return"/*# sourceURL="+n.sourceRoot+t+" */"});return[i].concat(s).concat([o]).join("\n")}return[i].join("\n")}function a(t){var e=btoa(unescape(encodeURIComponent(JSON.stringify(t)))),i="sourceMappingURL=data:application/json;charset=utf-8;base64,"+e;return"/*# "+i+" */"}t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var a=i(e,t);return e[2]?"@media "+e[2]+"{"+a+"}":a}).join("")},e.i=function(t,i){"string"===typeof t&&(t=[[null,t,""]]);for(var a={},n=0;n<this.length;n++){var o=this[n][0];"number"===typeof o&&(a[o]=!0)}for(n=0;n<t.length;n++){var s=t[n];"number"===typeof s[0]&&a[s[0]]||(i&&!s[2]?s[2]=i:i&&(s[2]="("+s[2]+") and ("+i+")"),e.push(s))}},e}},"4f06":function(t,e,i){"use strict";function a(t,e){for(var i=[],a={},n=0;n<e.length;n++){var o=e[n],s=o[0],r=o[1],c=o[2],u=o[3],d={id:t+":"+n,css:r,media:c,sourceMap:u};a[s]?a[s].parts.push(d):i.push(a[s]={id:s,parts:[d]})}return i}i.r(e),i.d(e,"default",function(){return g});var n="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!n)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var o={},s=n&&(document.head||document.getElementsByTagName("head")[0]),r=null,c=0,u=!1,d=function(){},l=null,p="data-vue-ssr-id",f="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function g(t,e,i,n){u=i,l=n||{};var s=a(t,e);return b(s),function(e){for(var i=[],n=0;n<s.length;n++){var r=s[n],c=o[r.id];c.refs--,i.push(c)}e?(s=a(t,e),b(s)):s=[];for(n=0;n<i.length;n++){c=i[n];if(0===c.refs){for(var u=0;u<c.parts.length;u++)c.parts[u]();delete o[c.id]}}}}function b(t){for(var e=0;e<t.length;e++){var i=t[e],a=o[i.id];if(a){a.refs++;for(var n=0;n<a.parts.length;n++)a.parts[n](i.parts[n]);for(;n<i.parts.length;n++)a.parts.push(h(i.parts[n]));a.parts.length>i.parts.length&&(a.parts.length=i.parts.length)}else{var s=[];for(n=0;n<i.parts.length;n++)s.push(h(i.parts[n]));o[i.id]={id:i.id,refs:1,parts:s}}}}function v(){var t=document.createElement("style");return t.type="text/css",s.appendChild(t),t}function h(t){var e,i,a=document.querySelector("style["+p+'~="'+t.id+'"]');if(a){if(u)return d;a.parentNode.removeChild(a)}if(f){var n=c++;a=r||(r=v()),e=m.bind(null,a,n,!1),i=m.bind(null,a,n,!0)}else a=v(),e=w.bind(null,a),i=function(){a.parentNode.removeChild(a)};return e(t),function(a){if(a){if(a.css===t.css&&a.media===t.media&&a.sourceMap===t.sourceMap)return;e(t=a)}else i()}}var _=function(){var t=[];return function(e,i){return t[e]=i,t.filter(Boolean).join("\n")}}();function m(t,e,i,a){var n=i?"":j(a.css);if(t.styleSheet)t.styleSheet.cssText=_(e,n);else{var o=document.createTextNode(n),s=t.childNodes;s[e]&&t.removeChild(s[e]),s.length?t.insertBefore(o,s[e]):t.appendChild(o)}}function w(t,e){var i=j(e.css),a=e.media,n=e.sourceMap;if(a&&t.setAttribute("media",a),l.ssrId&&t.setAttribute(p,e.id),n&&(i+="\n/*# sourceURL="+n.sources[0]+" */",i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),t.styleSheet)t.styleSheet.cssText=i;else{while(t.firstChild)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(i))}}var x=/%\?([+-]?\d+(\.\d+)?)\?%/g,y=/\.\?%PAGE\?%/g,k=/\?%PAGE\?%\[data-v-[a-z0-9]{8}\]/g,I=/uni-page-body\[data-v-[a-z0-9]{8}\]/g,S=/var\(--status-bar-height\)/gi,T=/var\(--window-top\)/gi,C=/var\(--window-bottom\)/gi;function j(t){var e=U();if(!uni.canIUse("css.var")){var i=G();t=t.replace(S,"0px").replace(T,i.top+"px").replace(C,i.bottom+"px")}return t.replace(k,e).replace(y,"").replace(I,"body."+e+" uni-page-body").replace(x,function(t,e){return uni.upx2px(e)+"px"})}function U(){var t=getApp();return t&&t.$route&&t.$route.meta&&t.$route.meta.name||""}function G(){var t=getApp();return t&&t.$route&&t.$route.meta&&t.$route.meta.name?{top:t.$route.meta.windowTop,bottom:t.$route.meta.isTabBar?50:0}:{top:0,bottom:0}}},74990:function(t,e,i){"use strict";var a=i("74c2"),n=i.n(a);n.a},"74c2":function(t,e,i){var a=i("bb90");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("14c70d0f",a,!0,{sourceMap:!1,shadowMode:!1})},a5f3:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("386d"),i("4917"),i("3b2b");var a={data:function(){return{itemShow:!1,cardShow:!1,packShow:!1,textShow:!1,integralShow:!0,growUpShow:!0,itemButton:"",cardButton:"",getActType:"",giftID:"",getUserID:"",getStorageID:"",integralTitle:"已领取",growUpTitle:"已领取",textTitle:"",noShow:!1,itemShows:function(){return this.itemShow?!!this.cardShow:(this.cardShow,!1)},cardShows:function(){return this.cardShow?!!this.packShow:(this.packShow,!1)},cards:[],itemWare:[]}},onLoad:function(t){var e=this;console.log(t),this.getActId=t.actId,this.getActType=t.actType,this.giftID=t.giftID,this.getStorageID=t.storageID,this.getUserID=t.userID,uni.request({url:this.$GetInfo.ApiHttp+"/api/weshop/marketing/giftbag/get",data:{actId:this.getActId,actType:this.getActType,giftBagId:this.giftID,storeId:this.getStorageID,userId:this.getUserID},method:"GET",header:{"custom-header":"application/json"},success:function(t){console.log(t.data),0==t.data.code?(null!=t.data.data.lbCoupons&&(e.cardShow=!0,e.cards=t.data.data.lbCoupons),null!=t.data.data.lbSM&&(e.itemShow=!0,e.itemWare=t.data.data.lbSM),t.data.data.lbIntegral<=0?t.data.data.lbGrowthValue<=0?e.packShow=!1:(e.packShow=!0,e.integralShow=!1,e.growUpShow=!0):t.data.data.lbGrowthValue>0?e.packShow=!0:(e.packShow=!0,e.integralShow=!0,e.growUpShow=!1),0==t.data.data.lbIntegralState?e.integralTitle="领取"+t.data.data.lbIntegral+"积分":e.integralTitle="已领取",0==t.data.data.lbGrowthValueState?e.growUpTitle="领取"+t.data.data.lbGrowthValue+"积分":e.growUpTitle="已领取",""!=t.data.data.lbIntro&&(e.textShow=!0,e.textTitle=t.data.data.lbIntro)):console.log(t.data.msg)}})},onShow:function(){},methods:{GetQueryString:function(t){var e=new RegExp("(^|&)"+t+"=([^&]*)(&|$)"),i=window.location.search.substr(1).match(e);return null!=i?unescape(i[2]):null},integralSubmit:function(){var t=this;if("已领取"==this.integralTitle)return uni.showToast({icon:"none",title:"已领取不能重复领取!"}),!1;uni.request({url:this.$GetInfo.ApiHttp+"/api/weshop/marketing/receive/record/insert",data:{actId:this.NewState,lbId:this.giftID,lbType:"4",storeId:this.getStorageID,userId:this.getUserID,actType:this.getActType},method:"POST",header:{"custom-header":"application/json"},success:function(e){console.log(e.data),0==e.data.code?(console.log(e.data.msg),t.integralTitle="已领取",uni.showToast({icon:"none",title:"领取成功!"})):(console.log(e.data.msg),uni.showToast({icon:"none",title:e.data.msg}))}})},growUpSubmit:function(){var t=this;if("已领取"==this.growUpTitle)return uni.showToast({icon:"none",title:"已领取不能重复领取!"}),!1;uni.request({url:this.$GetInfo.ApiHttp+"/api/weshop/marketing/receive/record/insert",data:{actId:this.NewState,lbId:this.giftID,lbType:"5",storeId:this.getStorageID,userId:this.getUserID,actType:this.getActType},method:"POST",header:{"custom-header":"application/json"},success:function(e){console.log(e.data),0==e.data.code?(console.log(e.data.msg),t.growUpTitle="已领取",uni.showToast({icon:"none",title:"领取成功!"})):(console.log(e.data.msg),uni.showToast({icon:"none",title:e.data.msg}))}})},itemWareSubmit:function(t,e,i){if("已领取"==i.state)return uni.showToast({icon:"none",title:"已领取不能重复领取!"}),!1;console.log(t,e),uni.request({url:this.$GetInfo.ApiHttp+"/api/weshop/marketing/receive/record/insert",data:{actId:this.NewState,lbId:this.giftID,lbType:t,storeId:this.getStorageID,userId:this.getUserID,actType:this.getActType,fromId:e},method:"POST",header:{"custom-header":"application/json"},success:function(t){console.log(t.data),0==t.data.code?(console.log(t.data.msg),i.state="已领取",uni.showToast({icon:"none",title:"领取成功!"})):(console.log(t.data.msg),uni.showToast({icon:"none",title:t.data.msg}))}})},cardSubmit:function(t,e,i){if("已领取"==i.state)return uni.showToast({icon:"none",title:"已领取不能重复领取!"}),!1;console.log(t,e),uni.request({url:this.$GetInfo.ApiHttp+"/api/weshop/marketing/receive/record/insert",data:{actId:this.NewState,lbId:this.giftID,lbType:t,storeId:this.getStorageID,userId:this.getUserID,actType:this.getActType,fromId:e},method:"POST",header:{"custom-header":"application/json"},success:function(t){console.log(t.data),0==t.data.code?(console.log(t.data.msg),i.state="已领取",uni.showToast({icon:"none",title:"领取成功!"})):(console.log(t.data.msg),uni.showToast({icon:"none",title:t.data.msg}))}})}}};e.default=a},bb90:function(t,e,i){e=t.exports=i("2350")(!1),e.push([t.i,'@charset "UTF-8";\n/*引用样式路径*/\n/* Author XGQ\r\n * 2019-10-27\r\n */uni-page-body[data-v-74755bf4]{background-color:#4784ef}.image_box[data-v-74755bf4]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.image_box uni-image[data-v-74755bf4]{width:100%;height:%?690?%}.top[data-v-74755bf4]{margin:%?-20?% %?28?% %?45?% %?28?%;padding:%?10?% %?10?% %?70?% %?10?%;background-color:#fff;border-radius:%?0?% %?0?% %?15?% %?15?%}.top_box[data-v-74755bf4]{display:-webkit-box;display:-webkit-flex;display:flex;text-align:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.top_box_text[data-v-74755bf4]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;margin:%?50?% %?15?% %?20?% %?15?%}.top_box_text uni-text[data-v-74755bf4]{color:#5d93f5;font-size:%?40?%}.top_item[data-v-74755bf4]{display:-webkit-box;display:-webkit-flex;display:flex;width:100%;margin:%?60?% 0 0 0}.top_item_img[data-v-74755bf4]{float:left;width:28%;margin:%?0?% %?10?% %?0?% %?20?%}.top_item_img uni-image[data-v-74755bf4]{width:%?150?%;height:%?150?%;border-radius:50%;border:#f96865 solid %?3?%}.top_item_center[data-v-74755bf4]{float:left;width:50%}.top_item_center_title[data-v-74755bf4]{font-size:%?35?%;color:#5d93f5;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;padding:0 %?10?% %?15?% %?0?%}.top_item_center_ramke[data-v-74755bf4]{font-size:%?25?%;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;line-height:%?35?%;letter-spacing:%?0.5?%}.top_item_button[data-v-74755bf4]{float:right;width:22%;padding:%?65?% %?20?% 0 %?1?%}.top_item_button uni-button[data-v-74755bf4]{font-size:%?25?%;background:#5d93f5;color:#fff;border-radius:%?50?%;height:%?45?%;line-height:%?45?%}.top_card[data-v-74755bf4]{width:calc(50% - %?30?%);display:inline-block;margin:%?15?%}.top_card_box[data-v-74755bf4]{background-size:cover;background-position:50%;background-repeat:no-repeat;border-radius:%?20?%;height:%?290?%;margin:%?5?%}.img1[data-v-74755bf4]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/card01.jpg)}.img2[data-v-74755bf4]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/card02.jpg)}.img3[data-v-74755bf4]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/card03.jpg)}.img4[data-v-74755bf4]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/kong.png)}.top_card_tite_box[data-v-74755bf4]{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end}.top_card_tite_a[data-v-74755bf4]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;background:#ffa7c0;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_tite_b[data-v-74755bf4]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;background:#50dfdb;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_tite_c[data-v-74755bf4]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;background:#92cbff;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_tite_d[data-v-74755bf4]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_counte[data-v-74755bf4]{padding:%?20?% %?20?% 0 0;text-align:center;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;color:#fff;font-size:%?40?%}.top_card_remak[data-v-74755bf4]{padding:%?20?% 0 %?40?% 0;text-align:center;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;font-size:%?20?%;color:#fff}.top_card_button_a uni-button[data-v-74755bf4]{margin:0 %?85?%;background:#ffa6bc;border-radius:%?50?%;line-height:%?40?%;height:%?40?%;color:#fff;font-size:%?25?%}.top_card_button_b uni-button[data-v-74755bf4]{margin:0 %?85?%;background:#50dfdb;border-radius:%?50?%;line-height:%?40?%;height:%?40?%;color:#fff;font-size:%?25?%}.top_card_button_c uni-button[data-v-74755bf4]{margin:0 %?85?%;background:#75bcfc;border-radius:%?50?%;line-height:%?40?%;height:%?40?%;color:#fff;font-size:%?25?%}.top_card_button_d uni-button[data-v-74755bf4]{margin:0 %?85?%;border-radius:%?50?%;line-height:%?40?%;height:%?40?%;color:#fff;font-size:%?25?%}.top_box_image[data-v-74755bf4]{padding:%?20?% %?20?% %?20?% %?20?%}.top_box_image uni-image[data-v-74755bf4]{height:%?216?%;width:100%}.top_box_image uni-button[data-v-74755bf4]{margin:%?15?% %?95?% %?0?% %?95?%;background:#5d93f5;border-radius:%?50?%;line-height:%?60?%;height:%?60?%;color:#fff;font-size:%?30?%}.foot_box[data-v-74755bf4]{margin:0 %?50?% %?40?% %?50?%}.foot_box_title[data-v-74755bf4]{font-size:%?43?%;color:#fff;margin-bottom:%?20?%}.foot_box_text[data-v-74755bf4]{font-size:%?30?%;color:#fff;line-height:%?48?%}.button_box[data-v-74755bf4]{margin:%?50?% %?50?% %?130?% %?50?%;text-align:center}.button[data-v-74755bf4]{margin:0 %?30?%;background:#5d93f5;border-radius:%?50?%;line-height:%?80?%;height:%?80?%;color:#fff;font-size:%?35?%}.button_text[data-v-74755bf4]{padding-top:%?20?%;font-size:%?20?%;color:#fff;height:%?100?%}uni-button[data-v-74755bf4]:after{border:none}body.?%PAGE?%[data-v-74755bf4]{background-color:#4784ef}',""])},f8be:function(t,e,i){"use strict";var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",[i("v-uni-view",{staticClass:"image_box"},[i("v-uni-image",{attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/top2.png"}})],1),this.itemShow?i("v-uni-view",{staticClass:"top"},[i("v-uni-view",{staticClass:"top_box"},[i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("______")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("新人专享\\n你的美丽我来缔造")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("______")])],1)],1),t._l(t.itemWare,function(e,a){return i("v-uni-view",{key:a,staticClass:"top_item"},[1==e.lbType?i("v-uni-view",{staticClass:"top_item_img"},[i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/itme.jpg"}})],1):t._e(),2==e.lbType?i("v-uni-view",{staticClass:"top_item_img"},[""!=e.fromImage?i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+e.fromImage}}):t._e()],1):t._e(),i("v-uni-view",{staticClass:"top_item_center"},[i("v-uni-view",{staticClass:"top_item_center_title"},[2==e.lbType?i("v-uni-text",[t._v("免费领取")]):t._e(),1==e.lbType?i("v-uni-text",[t._v(t._s(e.fromName))]):t._e()],1),i("v-uni-view",{staticClass:"top_item_center_ramke"},[2==e.lbType?i("v-uni-text",[t._v(t._s(e.fromName))]):t._e(),1==e.lbType?i("v-uni-text",[t._v("新人可免费享受专业"+t._s(e.fromName)+",可以享受"+t._s(e.num)+"次。")]):t._e()],1)],1),i("v-uni-view",{staticClass:"top_item_button"},[i("v-uni-button",{on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.itemWareSubmit(e.lbType,e.fromId,e)}}},[t._v(t._s(e.state))])],1)],1)})],2):t._e(),this.itemShows()?i("v-uni-view",[i("v-uni-image",{staticStyle:{width:"10px",height:"47px",float:"left",top:"-38px",left:"55px"},attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/left2.png"}}),i("v-uni-image",{staticStyle:{width:"10px",height:"47px",float:"right",top:"-38px",right:"55px"},attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/left2.png"}})],1):t._e(),this.cardShow?i("v-uni-view",[i("v-uni-view",{staticClass:"top"},[i("v-uni-view",{staticClass:"top_box"},[i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("———")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("新人专享优惠券")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("———")])],1)],1),t._l(t.cards,function(e,a){return i("v-uni-view",{key:a,staticClass:"top_card"},[i("v-uni-view",{class:1==e.useObjectType?"top_card_box img1":2==e.useObjectType?"top_card_box img2":"top_card_box img3"},[i("v-uni-view",{staticClass:"top_card_tite_box"},[0==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_a"},[t._v("全场通用")]):t._e(),1==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_b"},[t._v("品牌限定")]):t._e(),2==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_c"},[t._v("品类限定")]):t._e(),11==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_a"},[t._v("用途限定")]):t._e(),12==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_a"},[t._v("分类1限定")]):t._e()],1),i("v-uni-view",{staticClass:"top_card_counte"},[t._v(t._s(e.sum)+"元券")]),i("v-uni-view",{staticClass:"top_card_remak"},[t._v("满"+t._s(e.buySum)+"元可以用")]),i("v-uni-view",{class:1==e.useObjectType?"top_card_button_b":2==e.useObjectType?"top_card_button_c":"top_card_button_a"},[i("v-uni-button",{on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.cardSubmit(e.lbType,e.fromId,e)}}},[t._v(t._s(e.state))])],1)],1)],1)})],2)],1):t._e(),this.cardShows()?i("v-uni-view",[i("v-uni-view",[i("v-uni-image",{staticStyle:{width:"10px",height:"47px",float:"left",top:"-38px",left:"55px"},attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/left2.png"}}),i("v-uni-image",{staticStyle:{width:"10px",height:"47px",float:"right",top:"-38px",right:"55px"},attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/left2.png"}})],1)],1):t._e(),this.packShow?i("v-uni-view",[i("v-uni-view",{staticClass:"top"},[i("v-uni-view",{staticClass:"top_box"},[i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("———")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("新人专享福利")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("———")])],1)],1),this.integralShow?i("v-uni-view",[i("v-uni-view",{staticClass:"top_box_image"},[i("v-uni-image",{attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/new01.jpg"}}),i("v-uni-button",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.integralSubmit.apply(void 0,arguments)}}},[t._v(t._s(this.integralTitle))])],1)],1):t._e(),this.growUpShow?i("v-uni-view",[i("v-uni-view",{staticClass:"top_box_image"},[i("v-uni-image",{attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/new02.jpg"}}),i("v-uni-button",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.growUpSubmit.apply(void 0,arguments)}}},[t._v(t._s(this.growUpTitle))])],1)],1):t._e()],1)],1):t._e(),this.textShow?i("v-uni-view",[i("v-uni-view",{staticClass:"foot_box"},[i("v-uni-view",{staticClass:"foot_box_title"},[i("v-uni-text",[t._v("活动规则:")])],1),i("v-uni-view",{staticClass:"foot_box_text"},[i("v-uni-text",[t._v(t._s(this.textTitle))])],1)],1)],1):t._e(),i("v-uni-view",{staticClass:"button_box"},[i("v-uni-view",[i("v-uni-button",{staticClass:"button"},[t._v("进入商城购物")])],1),i("v-uni-view",{staticClass:"button_text"},[i("v-uni-text",[t._v("本活动最终解释权归公司所有,如果有问题请联系客服")])],1)],1)],1)},n=[];i.d(e,"a",function(){return a}),i.d(e,"b",function(){return n})}}]); | |
2 | 0 | \ No newline at end of file |
vip/static/js/pages-GiftPackage-EvaluateGift.cc979a18.js
0 → 100644
1 | +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-GiftPackage-EvaluateGift"],{"15d0":function(t,e,i){"use strict";i.r(e);var a=i("b7de"),n=i("1d95");for(var o in n)"default"!==o&&function(t){i.d(e,t,function(){return n[t]})}(o);i("adef");var r=i("2877"),s=Object(r["a"])(n["default"],a["a"],a["b"],!1,null,"b3fd440e",null);e["default"]=s.exports},"1d95":function(t,e,i){"use strict";i.r(e);var a=i("a5f3"),n=i.n(a);for(var o in a)"default"!==o&&function(t){i.d(e,t,function(){return a[t]})}(o);e["default"]=n.a},2350:function(t,e){function i(t,e){var i=t[1]||"",n=t[3];if(!n)return i;if(e&&"function"===typeof btoa){var o=a(n),r=n.sources.map(function(t){return"/*# sourceURL="+n.sourceRoot+t+" */"});return[i].concat(r).concat([o]).join("\n")}return[i].join("\n")}function a(t){var e=btoa(unescape(encodeURIComponent(JSON.stringify(t)))),i="sourceMappingURL=data:application/json;charset=utf-8;base64,"+e;return"/*# "+i+" */"}t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var a=i(e,t);return e[2]?"@media "+e[2]+"{"+a+"}":a}).join("")},e.i=function(t,i){"string"===typeof t&&(t=[[null,t,""]]);for(var a={},n=0;n<this.length;n++){var o=this[n][0];"number"===typeof o&&(a[o]=!0)}for(n=0;n<t.length;n++){var r=t[n];"number"===typeof r[0]&&a[r[0]]||(i&&!r[2]?r[2]=i:i&&(r[2]="("+r[2]+") and ("+i+")"),e.push(r))}},e}},"4f06":function(t,e,i){"use strict";function a(t,e){for(var i=[],a={},n=0;n<e.length;n++){var o=e[n],r=o[0],s=o[1],d=o[2],c=o[3],u={id:t+":"+n,css:s,media:d,sourceMap:c};a[r]?a[r].parts.push(u):i.push(a[r]={id:r,parts:[u]})}return i}i.r(e),i.d(e,"default",function(){return b});var n="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!n)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var o={},r=n&&(document.head||document.getElementsByTagName("head")[0]),s=null,d=0,c=!1,u=function(){},f=null,l="data-vue-ssr-id",p="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function b(t,e,i,n){c=i,f=n||{};var r=a(t,e);return g(r),function(e){for(var i=[],n=0;n<r.length;n++){var s=r[n],d=o[s.id];d.refs--,i.push(d)}e?(r=a(t,e),g(r)):r=[];for(n=0;n<i.length;n++){d=i[n];if(0===d.refs){for(var c=0;c<d.parts.length;c++)d.parts[c]();delete o[d.id]}}}}function g(t){for(var e=0;e<t.length;e++){var i=t[e],a=o[i.id];if(a){a.refs++;for(var n=0;n<a.parts.length;n++)a.parts[n](i.parts[n]);for(;n<i.parts.length;n++)a.parts.push(h(i.parts[n]));a.parts.length>i.parts.length&&(a.parts.length=i.parts.length)}else{var r=[];for(n=0;n<i.parts.length;n++)r.push(h(i.parts[n]));o[i.id]={id:i.id,refs:1,parts:r}}}}function v(){var t=document.createElement("style");return t.type="text/css",r.appendChild(t),t}function h(t){var e,i,a=document.querySelector("style["+l+'~="'+t.id+'"]');if(a){if(c)return u;a.parentNode.removeChild(a)}if(p){var n=d++;a=s||(s=v()),e=m.bind(null,a,n,!1),i=m.bind(null,a,n,!0)}else a=v(),e=w.bind(null,a),i=function(){a.parentNode.removeChild(a)};return e(t),function(a){if(a){if(a.css===t.css&&a.media===t.media&&a.sourceMap===t.sourceMap)return;e(t=a)}else i()}}var _=function(){var t=[];return function(e,i){return t[e]=i,t.filter(Boolean).join("\n")}}();function m(t,e,i,a){var n=i?"":j(a.css);if(t.styleSheet)t.styleSheet.cssText=_(e,n);else{var o=document.createTextNode(n),r=t.childNodes;r[e]&&t.removeChild(r[e]),r.length?t.insertBefore(o,r[e]):t.appendChild(o)}}function w(t,e){var i=j(e.css),a=e.media,n=e.sourceMap;if(a&&t.setAttribute("media",a),f.ssrId&&t.setAttribute(l,e.id),n&&(i+="\n/*# sourceURL="+n.sources[0]+" */",i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),t.styleSheet)t.styleSheet.cssText=i;else{while(t.firstChild)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(i))}}var x=/%\?([+-]?\d+(\.\d+)?)\?%/g,y=/\.\?%PAGE\?%/g,k=/\?%PAGE\?%\[data-v-[a-z0-9]{8}\]/g,S=/uni-page-body\[data-v-[a-z0-9]{8}\]/g,C=/var\(--status-bar-height\)/gi,I=/var\(--window-top\)/gi,T=/var\(--window-bottom\)/gi;function j(t){var e=G();if(!uni.canIUse("css.var")){var i=U();t=t.replace(C,"0px").replace(I,i.top+"px").replace(T,i.bottom+"px")}return t.replace(k,e).replace(y,"").replace(S,"body."+e+" uni-page-body").replace(x,function(t,e){return uni.upx2px(e)+"px"})}function G(){var t=getApp();return t&&t.$route&&t.$route.meta&&t.$route.meta.name||""}function U(){var t=getApp();return t&&t.$route&&t.$route.meta&&t.$route.meta.name?{top:t.$route.meta.windowTop,bottom:t.$route.meta.isTabBar?50:0}:{top:0,bottom:0}}},a0c3:function(t,e,i){var a=i("f40a");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("c85c64f2",a,!0,{sourceMap:!1,shadowMode:!1})},a5f3:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("386d"),i("4917"),i("3b2b"),i("a481");var a={data:function(){return{itemShow:!1,cardShow:!1,packShow:!1,textShow:!1,integralShow:!0,growUpShow:!0,itemButton:"",cardButton:"",getActId:"",getActType:"",giftID:"",getUserID:"",getStorageID:"",receiveState:"已领取",integralTitle:"已领取",growUpTitle:"已领取",textTitle:"",getUrl:"",noShow:!1,itemShows:function(){return this.itemShow?!!this.cardShow:(this.cardShow,!1)},cardShows:function(){return this.cardShow?!!this.packShow:(this.packShow,!1)},cards:[],itemWare:[]}},onLoad:function(t){this.getActId=t.actId,this.getActType=t.actType,this.giftID=t.giftBagId,this.getStorageID=t.storeId,this.getUserID=t.userId,this.GetList()},onShow:function(){this.textTitle=this.textTitle.replace(/<p><img/gi,"<p class='img'><img")},methods:{getQueryString:function(t){var e=new RegExp("(^|&)"+t+"=([^&]*)(&|$)","i"),i=window.location.search.substr(1).match(e);return null!=i?unescape(i[2]):null},GetList:function(){var t=this;uni.request({url:this.$GetInfo.ApiHttp+"/api/weshop/marketing/giftbag/bound/get",data:{actId:this.getActId,actType:this.getActType,giftBagId:this.giftID,storeId:this.getStorageID,userId:this.getUserID},method:"GET",header:{"Content-Type":"application/x-www-form-urlencoded"},success:function(e){console.log(e.data),0==e.data.code?(null!=e.data.data.lbCoupons&&(t.cardShow=!0,t.cards=e.data.data.lbCoupons),null!=e.data.data.lbSM&&(t.itemShow=!0,t.itemWare=e.data.data.lbSM),e.data.data.lbIntegral<=0?e.data.data.lbGrowthValue<=0?t.packShow=!1:(t.packShow=!0,t.integralShow=!1,t.growUpShow=!0):e.data.data.lbGrowthValue>0?t.packShow=!0:(t.packShow=!0,t.integralShow=!0,t.growUpShow=!1),t.integralTitle="领取"+e.data.data.lbIntegral+"积分",t.growUpTitle="领取"+e.data.data.lbGrowthValue+"积分",0==e.data.data.receiveState?t.receiveState="一键全部领取":t.receiveState="已领取",""!=e.data.data.actIntro&&(t.textShow=!0,t.textTitle=e.data.data.actIntro)):console.log(e.data.msg)}})},GetWebHttp:function(){this.getUrl=this.$GetInfo.HtmlHttp+"/mobile/index/index/stoid/"+this.getStorageID+".html",window.location.href=this.getUrl},GetReceive:function(){var t=this;if("已领取"==t.receiveState)return!1;uni.request({url:t.$GetInfo.ApiHttp+"/api/weshop/marketing/free/receive/gift/record/insert",data:{actId:t.getActId,actType:"2",lbId:t.giftID,storeId:t.getStorageID,userId:t.getUserID},method:"POST",header:{"Content-Type":"application/json"},success:function(e){console.log(e.data),0==e.data.code?(console.log(e.data.msg),t.receiveState="已领取",uni.showToast({icon:"none",title:"领取成功!"})):(console.log(e.data.msg),uni.showToast({icon:"none",title:e.data.msg}))}})}}};e.default=a},adef:function(t,e,i){"use strict";var a=i("a0c3"),n=i.n(a);n.a},b7de:function(t,e,i){"use strict";var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",[i("v-uni-view",{staticClass:"image_box"},[i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/eval00.png"}})],1),this.itemShow?i("v-uni-view",{staticClass:"top"},[i("v-uni-view",{staticClass:"top_box"},[i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("______")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("新人专享\\n你的美丽我来缔造")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("______")])],1)],1),t._l(t.itemWare,function(e,a){return i("v-uni-view",{key:a,staticClass:"top_item"},[3==e.lbType?i("v-uni-view",{staticClass:"top_item_img"},[i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift02.png"}})],1):t._e(),1==e.lbType?i("v-uni-view",{staticClass:"top_item_img"},[""!=e.fromImage?i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+e.fromImage}}):t._e()],1):t._e(),i("v-uni-view",{staticClass:"top_item_center"},[i("v-uni-view",{staticClass:"top_item_center_title"},[1==e.lbType?i("v-uni-text",[t._v("免费领取")]):t._e(),3==e.lbType?i("v-uni-text",[t._v(t._s(e.fromName))]):t._e()],1),i("v-uni-view",{staticClass:"top_item_center_ramke"},[1==e.lbType?i("v-uni-text",[t._v(t._s(e.fromName))]):t._e(),3==e.lbType?i("v-uni-text",[t._v("新人可免费享受专业"+t._s(e.fromName)+",可以享受"+t._s(e.num)+"次。")]):t._e()],1)],1)],1)})],2):t._e(),this.itemShows()?i("v-uni-view",[i("v-uni-image",{staticStyle:{width:"10px",height:"47px",float:"left",top:"-38px",left:"55px"},attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/eval01.png"}}),i("v-uni-image",{staticStyle:{width:"10px",height:"47px",float:"right",top:"-38px",right:"55px"},attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/eval01.png"}})],1):t._e(),this.cardShow?i("v-uni-view",[i("v-uni-view",{staticClass:"top"},[i("v-uni-view",{staticClass:"top_box"},[i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("———")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("新人专享优惠券")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("———")])],1)],1),t._l(t.cards,function(e,a){return i("v-uni-view",{key:a,staticClass:"top_card"},[i("v-uni-view",{class:1==e.useObjectType?"top_card_box img1":2==e.useObjectType?"top_card_box img2":"top_card_box img3"},[i("v-uni-view",{staticClass:"top_card_tite_box"},[0==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_a"},[t._v("全场通用")]):t._e(),1==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_b"},[t._v("品牌限定")]):t._e(),2==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_c"},[t._v("品类限定")]):t._e(),11==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_a"},[t._v("用途限定")]):t._e(),12==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_a"},[t._v("分类1限定")]):t._e()],1),i("v-uni-view",{staticClass:"top_card_counte"},[t._v(t._s(e.sum)+"元券")]),i("v-uni-view",{staticClass:"top_card_remak"},[t._v("满"+t._s(e.buySum)+"元可以用")])],1)],1)})],2)],1):t._e(),this.cardShows()?i("v-uni-view",[i("v-uni-view",[i("v-uni-image",{staticStyle:{width:"10px",height:"47px",float:"left",top:"-38px",left:"55px"},attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/eval01.png"}}),i("v-uni-image",{staticStyle:{width:"10px",height:"47px",float:"right",top:"-38px",right:"55px"},attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/eval01.png"}})],1)],1):t._e(),this.packShow?i("v-uni-view",[i("v-uni-view",{staticClass:"top"},[i("v-uni-view",{staticClass:"top_box"},[i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("———")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("新人专享福利")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("———")])],1)],1),this.integralShow?i("v-uni-view",[i("v-uni-view",{staticClass:"top_box_image"},[i("v-uni-image",{attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/vip06.jpg"}}),i("v-uni-button",[t._v(t._s(this.integralTitle))])],1)],1):t._e(),this.growUpShow?i("v-uni-view",[i("v-uni-view",{staticClass:"top_box_image"},[i("v-uni-image",{attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/vip07.jpg"}}),i("v-uni-button",[t._v(t._s(this.growUpTitle))])],1)],1):t._e()],1)],1):t._e(),this.textShow?i("v-uni-view",[i("v-uni-view",{staticClass:"foot_box"},[i("v-uni-view",{staticClass:"foot_box_title"},[i("v-uni-text",[t._v("活动规则:")])],1),i("v-uni-view",{staticClass:"foot_box_text",domProps:{innerHTML:t._s(this.textTitle)}})],1)],1):t._e(),i("v-uni-view",{staticClass:"button_box"},[i("v-uni-view",[i("v-uni-button",{staticClass:"button",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetWebHttp.apply(void 0,arguments)}}},[t._v("进入商城购物")])],1),i("v-uni-view",{staticClass:"button_text"},[i("v-uni-text",[t._v("本活动最终解释权归公司所有,如果有问题请联系客服")])],1)],1),i("v-uni-view",{staticClass:"foot_empty"}),i("v-uni-view",{staticClass:"foot_button"},[i("v-uni-view",{class:"已领取"==this.receiveState?"foot_button_notbuy":"foot_button_buy"},[i("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetReceive.apply(void 0,arguments)}}},[t._v(t._s(this.receiveState))])],1)],1)],1)},n=[];i.d(e,"a",function(){return a}),i.d(e,"b",function(){return n})},f40a:function(t,e,i){e=t.exports=i("2350")(!1),e.push([t.i,'@charset "UTF-8";\n/*引用样式路径*/\n/* Author XGQ\r\n * 2019-10-27\r\n */.image_box[data-v-b3fd440e]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.image_box uni-image[data-v-b3fd440e]{width:100%;height:%?690?%}.top[data-v-b3fd440e]{margin:%?-20?% %?28?% %?45?% %?28?%;padding:%?10?% %?10?% %?70?% %?10?%;background-color:#fff;border-radius:%?0?% %?0?% %?15?% %?15?%}.top_box[data-v-b3fd440e]{display:-webkit-box;display:-webkit-flex;display:flex;text-align:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.top_box_text[data-v-b3fd440e]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;margin:%?50?% %?15?% %?20?% %?15?%}.top_box_text uni-text[data-v-b3fd440e]{color:#fb6451;font-size:%?40?%}.top_item[data-v-b3fd440e]{display:-webkit-box;display:-webkit-flex;display:flex;width:100%;margin:%?60?% 0 0 0}.top_item_img[data-v-b3fd440e]{float:left;width:28%;margin:%?0?% %?10?% %?0?% %?20?%}.top_item_img uni-image[data-v-b3fd440e]{width:%?150?%;height:%?150?%;border-radius:50%;border:#f96865 solid %?3?%}.top_item_center[data-v-b3fd440e]{float:left;width:50%}.top_item_center_title[data-v-b3fd440e]{font-size:%?35?%;color:#fb6451;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;padding:0 %?10?% %?15?% %?0?%;word-break:break-all;\r\n\t/*属性规定自动换行的处理方法。normal(使用浏览器默认的换行规则。),break-all(允许在单词内换行。),keep-all(只能在半角空格或连字符处换行。)*/text-overflow:ellipsis;display:-webkit-box;\r\n\t/** 对象作为伸缩盒子模型显示 **/-webkit-box-orient:vertical;\r\n\t/** 设置或检索伸缩盒对象的子元素的排列方式 **/-webkit-line-clamp:2;\r\n\t/** 显示的行数 **/overflow:hidden\r\n\t/** 隐藏超出的内容 **/}.top_item_center_ramke[data-v-b3fd440e]{font-size:%?25?%;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;line-height:%?35?%;letter-spacing:%?0.5?%;word-break:break-all;\r\n\t/*属性规定自动换行的处理方法。normal(使用浏览器默认的换行规则。),break-all(允许在单词内换行。),keep-all(只能在半角空格或连字符处换行。)*/text-overflow:ellipsis;display:-webkit-box;\r\n\t/** 对象作为伸缩盒子模型显示 **/-webkit-box-orient:vertical;\r\n\t/** 设置或检索伸缩盒对象的子元素的排列方式 **/-webkit-line-clamp:2;\r\n\t/** 显示的行数 **/overflow:hidden\r\n\t/** 隐藏超出的内容 **/}.top_item_button[data-v-b3fd440e]{float:right;width:22%;padding:%?65?% %?20?% 0 %?1?%}.top_item_button uni-button[data-v-b3fd440e]{font-size:%?25?%;background:#fd6969;color:#fff;border-radius:%?50?%;height:%?45?%;line-height:%?45?%}.top_card[data-v-b3fd440e]{width:calc(50% - %?30?%);display:inline-block;margin:%?15?%}.top_card_box[data-v-b3fd440e]{background-size:cover;background-position:50%;background-repeat:no-repeat;border-radius:%?20?%;height:%?250?%;margin:%?5?%}.img1[data-v-b3fd440e]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip01.png)}.img2[data-v-b3fd440e]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip02.png)}.img3[data-v-b3fd440e]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip03.png)}.top_card_tite_box[data-v-b3fd440e]{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end}.top_card_tite_a[data-v-b3fd440e]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;background:#ffa7c0;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_tite_b[data-v-b3fd440e]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;background:#50dfdb;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_tite_c[data-v-b3fd440e]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;background:#92cbff;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_tite_d[data-v-b3fd440e]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_counte[data-v-b3fd440e]{padding:%?40?% %?20?% 0 0;text-align:center;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;color:#fff;font-size:%?40?%}.top_card_remak[data-v-b3fd440e]{padding:%?20?% 0 %?40?% 0;text-align:center;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;font-size:%?20?%;color:#fff}.top_card_button_a uni-button[data-v-b3fd440e]{margin:0 %?85?%;background:#ffa6bc;border-radius:%?50?%;line-height:%?40?%;height:%?40?%;color:#fff;font-size:%?25?%}.top_card_button_b uni-button[data-v-b3fd440e]{margin:0 %?85?%;background:#50dfdb;border-radius:%?50?%;line-height:%?40?%;height:%?40?%;color:#fff;font-size:%?25?%}.top_card_button_c uni-button[data-v-b3fd440e]{margin:0 %?85?%;background:#75bcfc;border-radius:%?50?%;line-height:%?40?%;height:%?40?%;color:#fff;font-size:%?25?%}.top_card_button_d uni-button[data-v-b3fd440e]{margin:0 %?85?%;border-radius:%?50?%;line-height:%?40?%;height:%?40?%;color:#fff;font-size:%?25?%}.top_box_image[data-v-b3fd440e]{padding:%?20?% %?20?% %?20?% %?20?%}.top_box_image uni-image[data-v-b3fd440e]{height:%?216?%;width:100%}.top_box_image uni-button[data-v-b3fd440e]{margin:%?15?% %?95?% %?0?% %?95?%;background:#fe6a6a;border-radius:%?50?%;line-height:%?60?%;height:%?60?%;color:#fff;font-size:%?30?%}.foot_box[data-v-b3fd440e]{margin:0 %?50?% %?40?% %?50?%}.foot_box_title[data-v-b3fd440e]{font-size:%?43?%;color:#fff;margin-bottom:%?20?%}.foot_box_text[data-v-b3fd440e]{font-size:%?30?%;color:#fff;line-height:%?48?%}.button_box[data-v-b3fd440e]{margin:%?50?% %?50?% %?50?% %?50?%;text-align:center}.button[data-v-b3fd440e]{margin:0 %?30?%;background:#5d93f5;border-radius:%?50?%;line-height:%?80?%;height:%?80?%;color:#fff;font-size:%?35?%}.button_text[data-v-b3fd440e]{padding-top:%?20?%;font-size:%?20?%;color:#fff;height:%?100?%}.foot_empty[data-v-b3fd440e]{height:%?90?%}.foot_button[data-v-b3fd440e]{display:-webkit-box;display:-webkit-flex;display:flex;margin:%?20?% %?0?% %?0?% %?0?%;padding:%?25?% %?0?%;background:#fff;text-align:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;position:fixed;bottom:0;left:0;width:100%}.foot_button_buy[data-v-b3fd440e]{background:#e4010c;color:#fff;width:%?400?%;height:%?70?%;font-size:%?28?%;line-height:%?70?%;border-radius:%?30?% %?30?% %?30?% %?30?%}.foot_button_notbuy[data-v-b3fd440e]{background:#999;color:#fff;width:%?400?%;height:%?70?%;font-size:%?28?%;line-height:%?70?%;border-radius:%?30?% %?30?% %?30?% %?30?%}uni-page-body[data-v-b3fd440e]{background-color:#4784ef}uni-button[data-v-b3fd440e]:after{border:none}.foot_box_text[data-v-b3fd440e] img{width:100%}.foot_box_text[data-v-b3fd440e] .img{line-height:0}body.?%PAGE?%[data-v-b3fd440e]{background-color:#4784ef}',""])}}]); | |
0 | 2 | \ No newline at end of file | ... | ... |
vip/static/js/pages-GiftPackage-NewVipGift.562017fd.js
0 → 100644
1 | +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-GiftPackage-NewVipGift"],{"05e5":function(t,e,i){e=t.exports=i("2350")(!1),e.push([t.i,'@charset "UTF-8";\n/*引用样式路径*/\n/* Author XGQ\r\n * 2019-10-27\r\n */.image_box[data-v-a8b0006e]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.image_box uni-image[data-v-a8b0006e]{width:100%;height:%?690?%}.top[data-v-a8b0006e]{margin:%?-20?% %?28?% %?45?% %?28?%;padding:%?10?% %?10?% %?70?% %?10?%;background-color:#fff;border-radius:%?0?% %?0?% %?15?% %?15?%}.top_box[data-v-a8b0006e]{display:-webkit-box;display:-webkit-flex;display:flex;text-align:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.top_box_text[data-v-a8b0006e]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;margin:%?50?% %?15?% %?20?% %?15?%}.top_box_text uni-text[data-v-a8b0006e]{color:#fb6451;font-size:%?40?%}.top_item[data-v-a8b0006e]{display:-webkit-box;display:-webkit-flex;display:flex;width:100%;margin:%?60?% 0 0 0}.top_item_img[data-v-a8b0006e]{float:left;width:28%;margin:%?0?% %?10?% %?0?% %?20?%}.top_item_img uni-image[data-v-a8b0006e]{width:%?150?%;height:%?150?%;border-radius:50%;border:#f96865 solid %?3?%}.top_item_center[data-v-a8b0006e]{float:left;width:50%}.top_item_center_title[data-v-a8b0006e]{font-size:%?35?%;color:#fb6451;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;padding:0 %?10?% %?15?% %?0?%;word-break:break-all;\r\n\t/*属性规定自动换行的处理方法。normal(使用浏览器默认的换行规则。),break-all(允许在单词内换行。),keep-all(只能在半角空格或连字符处换行。)*/text-overflow:ellipsis;display:-webkit-box;\r\n\t/** 对象作为伸缩盒子模型显示 **/-webkit-box-orient:vertical;\r\n\t/** 设置或检索伸缩盒对象的子元素的排列方式 **/-webkit-line-clamp:2;\r\n\t/** 显示的行数 **/overflow:hidden\r\n\t/** 隐藏超出的内容 **/}.top_item_center_ramke[data-v-a8b0006e]{font-size:%?25?%;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;line-height:%?35?%;letter-spacing:%?0.5?%;word-break:break-all;\r\n\t/*属性规定自动换行的处理方法。normal(使用浏览器默认的换行规则。),break-all(允许在单词内换行。),keep-all(只能在半角空格或连字符处换行。)*/text-overflow:ellipsis;display:-webkit-box;\r\n\t/** 对象作为伸缩盒子模型显示 **/-webkit-box-orient:vertical;\r\n\t/** 设置或检索伸缩盒对象的子元素的排列方式 **/-webkit-line-clamp:2;\r\n\t/** 显示的行数 **/overflow:hidden\r\n\t/** 隐藏超出的内容 **/}.top_item_button[data-v-a8b0006e]{float:right;width:22%;padding:%?65?% %?20?% 0 %?1?%}.top_item_button uni-button[data-v-a8b0006e]{font-size:%?25?%;background:#fd6969;color:#fff;border-radius:%?50?%;height:%?45?%;line-height:%?45?%}.top_card[data-v-a8b0006e]{width:calc(50% - %?30?%);display:inline-block;margin:%?15?%}.top_card_box[data-v-a8b0006e]{background-size:cover;background-position:50%;background-repeat:no-repeat;border-radius:%?20?%;height:%?250?%;margin:%?5?%}.img1[data-v-a8b0006e]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip01.png)}.img2[data-v-a8b0006e]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip02.png)}.img3[data-v-a8b0006e]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/vip03.png)}.top_card_tite_box[data-v-a8b0006e]{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end}.top_card_tite_a[data-v-a8b0006e]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;background:#ffa7c0;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_tite_b[data-v-a8b0006e]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;background:#50dfdb;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_tite_c[data-v-a8b0006e]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;background:#92cbff;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_tite_d[data-v-a8b0006e]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_counte[data-v-a8b0006e]{padding:%?40?% %?20?% 0 0;text-align:center;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;color:#fff;font-size:%?40?%}.top_card_remak[data-v-a8b0006e]{padding:%?20?% 0 %?40?% 0;text-align:center;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;font-size:%?20?%;color:#fff}.top_card_button_a uni-button[data-v-a8b0006e]{margin:0 %?85?%;background:#ffa6bc;border-radius:%?50?%;line-height:%?40?%;height:%?40?%;color:#fff;font-size:%?25?%}.top_card_button_b uni-button[data-v-a8b0006e]{margin:0 %?85?%;background:#50dfdb;border-radius:%?50?%;line-height:%?40?%;height:%?40?%;color:#fff;font-size:%?25?%}.top_card_button_c uni-button[data-v-a8b0006e]{margin:0 %?85?%;background:#75bcfc;border-radius:%?50?%;line-height:%?40?%;height:%?40?%;color:#fff;font-size:%?25?%}.top_card_button_d uni-button[data-v-a8b0006e]{margin:0 %?85?%;border-radius:%?50?%;line-height:%?40?%;height:%?40?%;color:#fff;font-size:%?25?%}.top_box_image[data-v-a8b0006e]{padding:%?20?% %?20?% %?20?% %?20?%}.top_box_image uni-image[data-v-a8b0006e]{height:%?216?%;width:100%}.top_box_image uni-button[data-v-a8b0006e]{margin:%?15?% %?95?% %?0?% %?95?%;background:#fe6a6a;border-radius:%?50?%;line-height:%?60?%;height:%?60?%;color:#fff;font-size:%?30?%}.foot_box[data-v-a8b0006e]{margin:0 %?50?% %?40?% %?50?%}.foot_box_title[data-v-a8b0006e]{font-size:%?43?%;color:#fff;margin-bottom:%?20?%}.foot_box_text[data-v-a8b0006e]{font-size:%?30?%;color:#fff;line-height:%?48?%}.button_box[data-v-a8b0006e]{margin:%?50?% %?50?% %?50?% %?50?%;text-align:center}.button[data-v-a8b0006e]{margin:0 %?30?%;background:#ff9a8c;border-radius:%?50?%;line-height:%?80?%;height:%?80?%;color:#fff;font-size:%?35?%}.button_text[data-v-a8b0006e]{padding-top:%?20?%;font-size:%?20?%;color:#fff;height:%?100?%}.foot_empty[data-v-a8b0006e]{height:%?90?%}.foot_button[data-v-a8b0006e]{display:-webkit-box;display:-webkit-flex;display:flex;margin:%?20?% %?0?% %?0?% %?0?%;padding:%?25?% %?0?%;background:#fff;text-align:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;position:fixed;bottom:0;left:0;width:100%}.foot_button_buy[data-v-a8b0006e]{background:#e4010c;color:#fff;width:%?400?%;height:%?70?%;font-size:%?28?%;line-height:%?70?%;border-radius:%?30?% %?30?% %?30?% %?30?%}.foot_button_notbuy[data-v-a8b0006e]{background:#999;color:#fff;width:%?400?%;height:%?70?%;font-size:%?28?%;line-height:%?70?%;border-radius:%?30?% %?30?% %?30?% %?30?%}uni-page-body[data-v-a8b0006e]{background-color:#fb6451}uni-button[data-v-a8b0006e]:after{border:none}.foot_box_text[data-v-a8b0006e] img{width:100%}.foot_box_text[data-v-a8b0006e] .img{line-height:0}body.?%PAGE?%[data-v-a8b0006e]{background-color:#fb6451}',""])},"1c99":function(t,e,i){"use strict";var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",[i("v-uni-view",{staticClass:"image_box"},[i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/vip00.png"}})],1),this.itemShow?i("v-uni-view",{staticClass:"top"},[i("v-uni-view",{staticClass:"top_box"},[i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("______")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("新人专享\\n你的美丽我来缔造")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("______")])],1)],1),t._l(t.itemWare,function(e,a){return i("v-uni-view",{key:a,staticClass:"top_item"},[3==e.lbType?i("v-uni-view",{staticClass:"top_item_img"},[i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift02.png"}})],1):t._e(),1==e.lbType?i("v-uni-view",{staticClass:"top_item_img"},[""!=e.fromImage?i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+e.fromImage}}):t._e()],1):t._e(),i("v-uni-view",{staticClass:"top_item_center"},[i("v-uni-view",{staticClass:"top_item_center_title"},[1==e.lbType?i("v-uni-text",[t._v("免费领取")]):t._e(),3==e.lbType?i("v-uni-text",[t._v(t._s(e.fromName))]):t._e()],1),i("v-uni-view",{staticClass:"top_item_center_ramke"},[1==e.lbType?i("v-uni-text",[t._v(t._s(e.fromName))]):t._e(),3==e.lbType?i("v-uni-text",[t._v("新人可免费享受专业"+t._s(e.fromName)+",可以享受"+t._s(e.num)+"次。")]):t._e()],1)],1)],1)})],2):t._e(),this.itemShows()?i("v-uni-view",[i("v-uni-image",{staticStyle:{width:"10px",height:"47px",float:"left",top:"-38px",left:"55px"},attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/vip05.png"}}),i("v-uni-image",{staticStyle:{width:"10px",height:"47px",float:"right",top:"-38px",right:"55px"},attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/vip05.png"}})],1):t._e(),this.cardShow?i("v-uni-view",[i("v-uni-view",{staticClass:"top"},[i("v-uni-view",{staticClass:"top_box"},[i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("———")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("新人专享优惠券")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("———")])],1)],1),t._l(t.cards,function(e,a){return i("v-uni-view",{key:a,staticClass:"top_card"},[i("v-uni-view",{class:1==e.useObjectType?"top_card_box img1":2==e.useObjectType?"top_card_box img2":"top_card_box img3"},[i("v-uni-view",{staticClass:"top_card_tite_box"},[0==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_a"},[t._v("全场通用")]):t._e(),1==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_b"},[t._v("品牌限定")]):t._e(),2==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_c"},[t._v("品类限定")]):t._e(),11==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_a"},[t._v("用途限定")]):t._e(),12==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_a"},[t._v("分类1限定")]):t._e()],1),i("v-uni-view",{staticClass:"top_card_counte"},[t._v(t._s(e.sum)+"元券")]),i("v-uni-view",{staticClass:"top_card_remak"},[t._v("满"+t._s(e.buySum)+"元可以用")])],1)],1)})],2)],1):t._e(),this.cardShows()?i("v-uni-view",[i("v-uni-view",[i("v-uni-image",{staticStyle:{width:"10px",height:"47px",float:"left",top:"-38px",left:"55px"},attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/vip05.png"}}),i("v-uni-image",{staticStyle:{width:"10px",height:"47px",float:"right",top:"-38px",right:"55px"},attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/vip05.png"}})],1)],1):t._e(),this.packShow?i("v-uni-view",[i("v-uni-view",{staticClass:"top"},[i("v-uni-view",{staticClass:"top_box"},[i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("———")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("新人专享福利")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("———")])],1)],1),this.integralShow?i("v-uni-view",[i("v-uni-view",{staticClass:"top_box_image"},[i("v-uni-image",{attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/vip06.jpg"}}),i("v-uni-button",[t._v(t._s(this.integralTitle))])],1)],1):t._e(),this.growUpShow?i("v-uni-view",[i("v-uni-view",{staticClass:"top_box_image"},[i("v-uni-image",{attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/vip07.jpg"}}),i("v-uni-button",[t._v(t._s(this.growUpTitle))])],1)],1):t._e()],1)],1):t._e(),this.textShow?i("v-uni-view",[i("v-uni-view",{staticClass:"foot_box"},[i("v-uni-view",{staticClass:"foot_box_title"},[i("v-uni-text",[t._v("活动规则:")])],1),i("v-uni-view",{staticClass:"foot_box_text",domProps:{innerHTML:t._s(this.textTitle)}})],1)],1):t._e(),i("v-uni-view",{staticClass:"button_box"},[i("v-uni-view",[i("v-uni-button",{staticClass:"button",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetWebHttp.apply(void 0,arguments)}}},[t._v("进入商城购物")])],1),i("v-uni-view",{staticClass:"button_text"},[i("v-uni-text",[t._v("本活动最终解释权归公司所有,如果有问题请联系客服")])],1)],1),i("v-uni-view",{staticClass:"foot_empty"}),i("v-uni-view",{staticClass:"foot_button"},[i("v-uni-view",{class:"已领取"==this.receiveState?"foot_button_notbuy":"foot_button_buy"},[i("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetReceive.apply(void 0,arguments)}}},[t._v(t._s(this.receiveState))])],1)],1)],1)},n=[];i.d(e,"a",function(){return a}),i.d(e,"b",function(){return n})},2350:function(t,e){function i(t,e){var i=t[1]||"",n=t[3];if(!n)return i;if(e&&"function"===typeof btoa){var o=a(n),r=n.sources.map(function(t){return"/*# sourceURL="+n.sourceRoot+t+" */"});return[i].concat(r).concat([o]).join("\n")}return[i].join("\n")}function a(t){var e=btoa(unescape(encodeURIComponent(JSON.stringify(t)))),i="sourceMappingURL=data:application/json;charset=utf-8;base64,"+e;return"/*# "+i+" */"}t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var a=i(e,t);return e[2]?"@media "+e[2]+"{"+a+"}":a}).join("")},e.i=function(t,i){"string"===typeof t&&(t=[[null,t,""]]);for(var a={},n=0;n<this.length;n++){var o=this[n][0];"number"===typeof o&&(a[o]=!0)}for(n=0;n<t.length;n++){var r=t[n];"number"===typeof r[0]&&a[r[0]]||(i&&!r[2]?r[2]=i:i&&(r[2]="("+r[2]+") and ("+i+")"),e.push(r))}},e}},"4b05":function(t,e,i){"use strict";var a=i("6389"),n=i.n(a);n.a},"4f06":function(t,e,i){"use strict";function a(t,e){for(var i=[],a={},n=0;n<e.length;n++){var o=e[n],r=o[0],s=o[1],c=o[2],u=o[3],d={id:t+":"+n,css:s,media:c,sourceMap:u};a[r]?a[r].parts.push(d):i.push(a[r]={id:r,parts:[d]})}return i}i.r(e),i.d(e,"default",function(){return b});var n="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!n)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var o={},r=n&&(document.head||document.getElementsByTagName("head")[0]),s=null,c=0,u=!1,d=function(){},l=null,p="data-vue-ssr-id",f="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function b(t,e,i,n){u=i,l=n||{};var r=a(t,e);return g(r),function(e){for(var i=[],n=0;n<r.length;n++){var s=r[n],c=o[s.id];c.refs--,i.push(c)}e?(r=a(t,e),g(r)):r=[];for(n=0;n<i.length;n++){c=i[n];if(0===c.refs){for(var u=0;u<c.parts.length;u++)c.parts[u]();delete o[c.id]}}}}function g(t){for(var e=0;e<t.length;e++){var i=t[e],a=o[i.id];if(a){a.refs++;for(var n=0;n<a.parts.length;n++)a.parts[n](i.parts[n]);for(;n<i.parts.length;n++)a.parts.push(h(i.parts[n]));a.parts.length>i.parts.length&&(a.parts.length=i.parts.length)}else{var r=[];for(n=0;n<i.parts.length;n++)r.push(h(i.parts[n]));o[i.id]={id:i.id,refs:1,parts:r}}}}function v(){var t=document.createElement("style");return t.type="text/css",r.appendChild(t),t}function h(t){var e,i,a=document.querySelector("style["+p+'~="'+t.id+'"]');if(a){if(u)return d;a.parentNode.removeChild(a)}if(f){var n=c++;a=s||(s=v()),e=m.bind(null,a,n,!1),i=m.bind(null,a,n,!0)}else a=v(),e=w.bind(null,a),i=function(){a.parentNode.removeChild(a)};return e(t),function(a){if(a){if(a.css===t.css&&a.media===t.media&&a.sourceMap===t.sourceMap)return;e(t=a)}else i()}}var _=function(){var t=[];return function(e,i){return t[e]=i,t.filter(Boolean).join("\n")}}();function m(t,e,i,a){var n=i?"":j(a.css);if(t.styleSheet)t.styleSheet.cssText=_(e,n);else{var o=document.createTextNode(n),r=t.childNodes;r[e]&&t.removeChild(r[e]),r.length?t.insertBefore(o,r[e]):t.appendChild(o)}}function w(t,e){var i=j(e.css),a=e.media,n=e.sourceMap;if(a&&t.setAttribute("media",a),l.ssrId&&t.setAttribute(p,e.id),n&&(i+="\n/*# sourceURL="+n.sources[0]+" */",i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),t.styleSheet)t.styleSheet.cssText=i;else{while(t.firstChild)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(i))}}var x=/%\?([+-]?\d+(\.\d+)?)\?%/g,y=/\.\?%PAGE\?%/g,k=/\?%PAGE\?%\[data-v-[a-z0-9]{8}\]/g,S=/uni-page-body\[data-v-[a-z0-9]{8}\]/g,C=/var\(--status-bar-height\)/gi,I=/var\(--window-top\)/gi,T=/var\(--window-bottom\)/gi;function j(t){var e=G();if(!uni.canIUse("css.var")){var i=U();t=t.replace(C,"0px").replace(I,i.top+"px").replace(T,i.bottom+"px")}return t.replace(k,e).replace(y,"").replace(S,"body."+e+" uni-page-body").replace(x,function(t,e){return uni.upx2px(e)+"px"})}function G(){var t=getApp();return t&&t.$route&&t.$route.meta&&t.$route.meta.name||""}function U(){var t=getApp();return t&&t.$route&&t.$route.meta&&t.$route.meta.name?{top:t.$route.meta.windowTop,bottom:t.$route.meta.isTabBar?50:0}:{top:0,bottom:0}}},6389:function(t,e,i){var a=i("05e5");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("66d74e12",a,!0,{sourceMap:!1,shadowMode:!1})},8167:function(t,e,i){"use strict";i.r(e);var a=i("de9b"),n=i.n(a);for(var o in a)"default"!==o&&function(t){i.d(e,t,function(){return a[t]})}(o);e["default"]=n.a},be2b:function(t,e,i){"use strict";i.r(e);var a=i("1c99"),n=i("8167");for(var o in n)"default"!==o&&function(t){i.d(e,t,function(){return n[t]})}(o);i("4b05");var r=i("2877"),s=Object(r["a"])(n["default"],a["a"],a["b"],!1,null,"a8b0006e",null);e["default"]=s.exports},de9b:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("386d"),i("4917"),i("3b2b"),i("a481");var a={data:function(){return{itemShow:!1,cardShow:!1,packShow:!1,textShow:!1,integralShow:!0,growUpShow:!0,itemButton:"",cardButton:"",getActId:"",getActType:"",giftID:"",getUserID:"",getStorageID:"",receiveState:"已领取",integralTitle:"已领取",growUpTitle:"已领取",textTitle:"",getUrl:"",noShow:!1,itemShows:function(){return this.itemShow?!!this.cardShow:(this.cardShow,!1)},cardShows:function(){return this.cardShow?!!this.packShow:(this.packShow,!1)},cards:[],itemWare:[]}},onLoad:function(t){this.getActId=t.actId,this.getActType=t.actType,this.giftID=t.giftBagId,this.getStorageID=t.storeId,this.getUserID=t.userId,this.GetList()},onShow:function(){this.textTitle=this.textTitle.replace(/<p><img/gi,"<p class='img'><img")},methods:{getQueryString:function(t){var e=new RegExp("(^|&)"+t+"=([^&]*)(&|$)","i"),i=window.location.search.substr(1).match(e);return null!=i?unescape(i[2]):null},GetList:function(){var t=this;uni.request({url:this.$GetInfo.ApiHttp+"/api/weshop/marketing/giftbag/bound/get",data:{actId:this.getActId,actType:this.getActType,giftBagId:this.giftID,storeId:this.getStorageID,userId:this.getUserID},method:"GET",header:{"Content-Type":"application/x-www-form-urlencoded"},success:function(e){console.log(e.data),0==e.data.code?(null!=e.data.data.lbCoupons&&(t.cardShow=!0,t.cards=e.data.data.lbCoupons),null!=e.data.data.lbSM&&(t.itemShow=!0,t.itemWare=e.data.data.lbSM),e.data.data.lbIntegral<=0?e.data.data.lbGrowthValue<=0?t.packShow=!1:(t.packShow=!0,t.integralShow=!1,t.growUpShow=!0):e.data.data.lbGrowthValue>0?t.packShow=!0:(t.packShow=!0,t.integralShow=!0,t.growUpShow=!1),t.integralTitle="领取"+e.data.data.lbIntegral+"积分",t.growUpTitle="领取"+e.data.data.lbGrowthValue+"积分",0==e.data.data.receiveState?t.receiveState="一键全部领取":t.receiveState="已领取",""!=e.data.data.actIntro&&(t.textShow=!0,t.textTitle=e.data.data.actIntro)):console.log(e.data.msg)}})},GetWebHttp:function(){this.getUrl=this.$GetInfo.HtmlHttp+"/mobile/index/index/stoid/"+this.getStorageID+".html",window.location.href=this.getUrl},GetReceive:function(){var t=this;if("已领取"==t.receiveState)return!1;uni.request({url:t.$GetInfo.ApiHttp+"/api/weshop/marketing/free/receive/gift/record/insert",data:{actId:t.getActId,actType:"1",lbId:t.giftID,storeId:t.getStorageID,userId:t.getUserID},method:"POST",header:{"Content-Type":"application/json"},success:function(e){console.log(e.data),0==e.data.code?(console.log(e.data.msg),t.receiveState="已领取",uni.showToast({icon:"none",title:"领取成功!"})):(console.log(e.data.msg),uni.showToast({icon:"none",title:e.data.msg}))}})}}};e.default=a}}]); | |
0 | 2 | \ No newline at end of file | ... | ... |
vip/static/js/pages-GiftPackage-NewVipGift.e9a7e172.js deleted
1 | -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-GiftPackage-NewVipGift"],{2350:function(t,e){function i(t,e){var i=t[1]||"",n=t[3];if(!n)return i;if(e&&"function"===typeof btoa){var o=a(n),s=n.sources.map(function(t){return"/*# sourceURL="+n.sourceRoot+t+" */"});return[i].concat(s).concat([o]).join("\n")}return[i].join("\n")}function a(t){var e=btoa(unescape(encodeURIComponent(JSON.stringify(t)))),i="sourceMappingURL=data:application/json;charset=utf-8;base64,"+e;return"/*# "+i+" */"}t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var a=i(e,t);return e[2]?"@media "+e[2]+"{"+a+"}":a}).join("")},e.i=function(t,i){"string"===typeof t&&(t=[[null,t,""]]);for(var a={},n=0;n<this.length;n++){var o=this[n][0];"number"===typeof o&&(a[o]=!0)}for(n=0;n<t.length;n++){var s=t[n];"number"===typeof s[0]&&a[s[0]]||(i&&!s[2]?s[2]=i:i&&(s[2]="("+s[2]+") and ("+i+")"),e.push(s))}},e}},"30b0":function(t,e,i){var a=i("8398");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("be898bae",a,!0,{sourceMap:!1,shadowMode:!1})},"4f06":function(t,e,i){"use strict";function a(t,e){for(var i=[],a={},n=0;n<e.length;n++){var o=e[n],s=o[0],r=o[1],c=o[2],d=o[3],u={id:t+":"+n,css:r,media:c,sourceMap:d};a[s]?a[s].parts.push(u):i.push(a[s]={id:s,parts:[u]})}return i}i.r(e),i.d(e,"default",function(){return f});var n="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!n)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var o={},s=n&&(document.head||document.getElementsByTagName("head")[0]),r=null,c=0,d=!1,u=function(){},l=null,p="data-vue-ssr-id",g="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function f(t,e,i,n){d=i,l=n||{};var s=a(t,e);return v(s),function(e){for(var i=[],n=0;n<s.length;n++){var r=s[n],c=o[r.id];c.refs--,i.push(c)}e?(s=a(t,e),v(s)):s=[];for(n=0;n<i.length;n++){c=i[n];if(0===c.refs){for(var d=0;d<c.parts.length;d++)c.parts[d]();delete o[c.id]}}}}function v(t){for(var e=0;e<t.length;e++){var i=t[e],a=o[i.id];if(a){a.refs++;for(var n=0;n<a.parts.length;n++)a.parts[n](i.parts[n]);for(;n<i.parts.length;n++)a.parts.push(b(i.parts[n]));a.parts.length>i.parts.length&&(a.parts.length=i.parts.length)}else{var s=[];for(n=0;n<i.parts.length;n++)s.push(b(i.parts[n]));o[i.id]={id:i.id,refs:1,parts:s}}}}function h(){var t=document.createElement("style");return t.type="text/css",s.appendChild(t),t}function b(t){var e,i,a=document.querySelector("style["+p+'~="'+t.id+'"]');if(a){if(d)return u;a.parentNode.removeChild(a)}if(g){var n=c++;a=r||(r=h()),e=m.bind(null,a,n,!1),i=m.bind(null,a,n,!0)}else a=h(),e=w.bind(null,a),i=function(){a.parentNode.removeChild(a)};return e(t),function(a){if(a){if(a.css===t.css&&a.media===t.media&&a.sourceMap===t.sourceMap)return;e(t=a)}else i()}}var _=function(){var t=[];return function(e,i){return t[e]=i,t.filter(Boolean).join("\n")}}();function m(t,e,i,a){var n=i?"":j(a.css);if(t.styleSheet)t.styleSheet.cssText=_(e,n);else{var o=document.createTextNode(n),s=t.childNodes;s[e]&&t.removeChild(s[e]),s.length?t.insertBefore(o,s[e]):t.appendChild(o)}}function w(t,e){var i=j(e.css),a=e.media,n=e.sourceMap;if(a&&t.setAttribute("media",a),l.ssrId&&t.setAttribute(p,e.id),n&&(i+="\n/*# sourceURL="+n.sources[0]+" */",i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n))))+" */"),t.styleSheet)t.styleSheet.cssText=i;else{while(t.firstChild)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(i))}}var x=/%\?([+-]?\d+(\.\d+)?)\?%/g,y=/\.\?%PAGE\?%/g,k=/\?%PAGE\?%\[data-v-[a-z0-9]{8}\]/g,I=/uni-page-body\[data-v-[a-z0-9]{8}\]/g,T=/var\(--status-bar-height\)/gi,S=/var\(--window-top\)/gi,C=/var\(--window-bottom\)/gi;function j(t){var e=U();if(!uni.canIUse("css.var")){var i=A();t=t.replace(T,"0px").replace(S,i.top+"px").replace(C,i.bottom+"px")}return t.replace(k,e).replace(y,"").replace(I,"body."+e+" uni-page-body").replace(x,function(t,e){return uni.upx2px(e)+"px"})}function U(){var t=getApp();return t&&t.$route&&t.$route.meta&&t.$route.meta.name||""}function A(){var t=getApp();return t&&t.$route&&t.$route.meta&&t.$route.meta.name?{top:t.$route.meta.windowTop,bottom:t.$route.meta.isTabBar?50:0}:{top:0,bottom:0}}},"7ae0":function(t,e,i){"use strict";var a=i("30b0"),n=i.n(a);n.a},8167:function(t,e,i){"use strict";i.r(e);var a=i("de9b"),n=i.n(a);for(var o in a)"default"!==o&&function(t){i.d(e,t,function(){return a[t]})}(o);e["default"]=n.a},8398:function(t,e,i){e=t.exports=i("2350")(!1),e.push([t.i,'@charset "UTF-8";\n/*引用样式路径*/\n/* Author XGQ\r\n * 2019-10-27\r\n */uni-page-body[data-v-3de20666]{background-color:#fb6451}.image_box[data-v-3de20666]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.image_box uni-image[data-v-3de20666]{width:100%;height:%?690?%}.top[data-v-3de20666]{margin:%?-20?% %?28?% %?45?% %?28?%;padding:%?10?% %?10?% %?70?% %?10?%;background-color:#fff;border-radius:%?0?% %?0?% %?15?% %?15?%}.top_box[data-v-3de20666]{display:-webkit-box;display:-webkit-flex;display:flex;text-align:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.top_box_text[data-v-3de20666]{-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;margin:%?50?% %?15?% %?20?% %?15?%}.top_box_text uni-text[data-v-3de20666]{color:#fb6451;font-size:%?40?%}.top_item[data-v-3de20666]{display:-webkit-box;display:-webkit-flex;display:flex;width:100%;margin:%?60?% 0 0 0}.top_item_img[data-v-3de20666]{float:left;width:28%;margin:%?0?% %?10?% %?0?% %?20?%}.top_item_img uni-image[data-v-3de20666]{width:%?150?%;height:%?150?%;border-radius:50%;border:#f96865 solid %?3?%}.top_item_center[data-v-3de20666]{float:left;width:50%}.top_item_center_title[data-v-3de20666]{font-size:%?35?%;color:#fb6451;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;padding:0 %?10?% %?15?% %?0?%}.top_item_center_ramke[data-v-3de20666]{font-size:%?25?%;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;line-height:%?35?%;letter-spacing:%?0.5?%}.top_item_button[data-v-3de20666]{float:right;width:22%;padding:%?65?% %?20?% 0 %?1?%}.top_item_button uni-button[data-v-3de20666]{font-size:%?25?%;background:#fd6969;color:#fff;border-radius:%?50?%;height:%?45?%;line-height:%?45?%}.top_card[data-v-3de20666]{width:calc(50% - %?30?%);display:inline-block;margin:%?15?%}.top_card_box[data-v-3de20666]{background-size:cover;background-position:50%;background-repeat:no-repeat;border-radius:%?20?%;height:%?290?%;margin:%?5?%}.img1[data-v-3de20666]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/card01.jpg)}.img2[data-v-3de20666]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/card02.jpg)}.img3[data-v-3de20666]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/card03.jpg)}.img4[data-v-3de20666]{background-image:url(https://mshopimg.yolipai.net/miniapp/images/giftbag/kong.png)}.top_card_tite_box[data-v-3de20666]{width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end}.top_card_tite_a[data-v-3de20666]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;background:#ffa7c0;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_tite_b[data-v-3de20666]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;background:#50dfdb;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_tite_c[data-v-3de20666]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;background:#92cbff;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_tite_d[data-v-3de20666]{padding:%?5?% %?25?% %?5?% %?25?%;line-height:%?29?%;font-size:%?25?%;color:#fff;border-radius:%?0?% %?20?% %?0?% %?6?%}.top_card_counte[data-v-3de20666]{padding:%?20?% %?20?% 0 0;text-align:center;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;color:#fff;font-size:%?40?%}.top_card_remak[data-v-3de20666]{padding:%?20?% 0 %?40?% 0;text-align:center;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;font-size:%?20?%;color:#fff}.top_card_button_a uni-button[data-v-3de20666]{margin:0 %?85?%;background:#ffa6bc;border-radius:%?50?%;line-height:%?40?%;height:%?40?%;color:#fff;font-size:%?25?%}.top_card_button_b uni-button[data-v-3de20666]{margin:0 %?85?%;background:#50dfdb;border-radius:%?50?%;line-height:%?40?%;height:%?40?%;color:#fff;font-size:%?25?%}.top_card_button_c uni-button[data-v-3de20666]{margin:0 %?85?%;background:#75bcfc;border-radius:%?50?%;line-height:%?40?%;height:%?40?%;color:#fff;font-size:%?25?%}.top_card_button_d uni-button[data-v-3de20666]{margin:0 %?85?%;border-radius:%?50?%;line-height:%?40?%;height:%?40?%;color:#fff;font-size:%?25?%}.top_box_image[data-v-3de20666]{padding:%?20?% %?20?% %?20?% %?20?%}.top_box_image uni-image[data-v-3de20666]{height:%?216?%;width:100%}.top_box_image uni-button[data-v-3de20666]{margin:%?15?% %?95?% %?0?% %?95?%;background:#fe6a6a;border-radius:%?50?%;line-height:%?60?%;height:%?60?%;color:#fff;font-size:%?30?%}.foot_box[data-v-3de20666]{margin:0 %?50?% %?40?% %?50?%}.foot_box_title[data-v-3de20666]{font-size:%?43?%;color:#fff;margin-bottom:%?20?%}.foot_box_text[data-v-3de20666]{font-size:%?30?%;color:#fff;line-height:%?48?%}.button_box[data-v-3de20666]{margin:%?50?% %?50?% %?130?% %?50?%;text-align:center}.button[data-v-3de20666]{margin:0 %?30?%;background:#ff9a8c;border-radius:%?50?%;line-height:%?80?%;height:%?80?%;color:#fff;font-size:%?35?%}.button_text[data-v-3de20666]{padding-top:%?20?%;font-size:%?20?%;color:#fff;height:%?100?%}uni-button[data-v-3de20666]:after{border:none}body.?%PAGE?%[data-v-3de20666]{background-color:#fb6451}',""])},"9c9e":function(t,e,i){"use strict";var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",[i("v-uni-view",{staticClass:"image_box"},[i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/top1.png"}})],1),this.itemShow?i("v-uni-view",{staticClass:"top"},[i("v-uni-view",{staticClass:"top_box"},[i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("______")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("新人专享\\n你的美丽我来缔造")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("______")])],1)],1),t._l(t.itemWare,function(e,a){return i("v-uni-view",{key:a,staticClass:"top_item"},[1==e.lbType?i("v-uni-view",{staticClass:"top_item_img"},[i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/itme.jpg"}})],1):t._e(),2==e.lbType?i("v-uni-view",{staticClass:"top_item_img"},[""!=e.fromImage?i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+e.fromImage}}):t._e()],1):t._e(),i("v-uni-view",{staticClass:"top_item_center"},[i("v-uni-view",{staticClass:"top_item_center_title"},[2==e.lbType?i("v-uni-text",[t._v("免费领取")]):t._e(),1==e.lbType?i("v-uni-text",[t._v(t._s(e.fromName))]):t._e()],1),i("v-uni-view",{staticClass:"top_item_center_ramke"},[2==e.lbType?i("v-uni-text",[t._v(t._s(e.fromName))]):t._e(),1==e.lbType?i("v-uni-text",[t._v("新人可免费享受专业"+t._s(e.fromName)+",可以享受"+t._s(e.num)+"次。")]):t._e()],1)],1),i("v-uni-view",{staticClass:"top_item_button"},[i("v-uni-button",{on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.itemWareSubmit(e.lbType,e.fromId,e)}}},[t._v(t._s(e.state))])],1)],1)})],2):t._e(),this.itemShows()?i("v-uni-view",[i("v-uni-image",{staticStyle:{width:"10px",height:"47px",float:"left",top:"-38px",left:"55px"},attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/11.png"}}),i("v-uni-image",{staticStyle:{width:"10px",height:"47px",float:"right",top:"-38px",right:"55px"},attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/11.png"}})],1):t._e(),this.cardShow?i("v-uni-view",[i("v-uni-view",{staticClass:"top"},[i("v-uni-view",{staticClass:"top_box"},[i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("———")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("新人专享优惠券")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("———")])],1)],1),t._l(t.cards,function(e,a){return i("v-uni-view",{key:a,staticClass:"top_card"},[i("v-uni-view",{class:1==e.useObjectType?"top_card_box img1":2==e.useObjectType?"top_card_box img2":"top_card_box img3"},[i("v-uni-view",{staticClass:"top_card_tite_box"},[0==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_a"},[t._v("全场通用")]):t._e(),1==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_b"},[t._v("品牌限定")]):t._e(),2==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_c"},[t._v("品类限定")]):t._e(),11==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_a"},[t._v("用途限定")]):t._e(),12==e.useObjectType?i("v-uni-view",{staticClass:"top_card_tite_a"},[t._v("分类1限定")]):t._e()],1),i("v-uni-view",{staticClass:"top_card_counte"},[t._v(t._s(e.sum)+"元券")]),i("v-uni-view",{staticClass:"top_card_remak"},[t._v("满"+t._s(e.buySum)+"元可以用")]),i("v-uni-view",{class:1==e.useObjectType?"top_card_button_b":2==e.useObjectType?"top_card_button_c":"top_card_button_a"},[i("v-uni-button",{on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.cardSubmit(e.lbType,e.fromId,e)}}},[t._v(t._s(e.state))])],1)],1)],1)})],2)],1):t._e(),this.cardShows()?i("v-uni-view",[i("v-uni-view",[i("v-uni-image",{staticStyle:{width:"10px",height:"47px",float:"left",top:"-38px",left:"55px"},attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/11.png"}}),i("v-uni-image",{staticStyle:{width:"10px",height:"47px",float:"right",top:"-38px",right:"55px"},attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/11.png"}})],1)],1):t._e(),this.packShow?i("v-uni-view",[i("v-uni-view",{staticClass:"top"},[i("v-uni-view",{staticClass:"top_box"},[i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("———")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("新人专享福利")])],1),i("v-uni-view",{staticClass:"top_box_text"},[i("v-uni-text",[t._v("———")])],1)],1),this.integralShow?i("v-uni-view",[i("v-uni-view",{staticClass:"top_box_image"},[i("v-uni-image",{attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/new01.jpg"}}),i("v-uni-button",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.integralSubmit.apply(void 0,arguments)}}},[t._v(t._s(this.integralTitle))])],1)],1):t._e(),this.growUpShow?i("v-uni-view",[i("v-uni-view",{staticClass:"top_box_image"},[i("v-uni-image",{attrs:{src:this.$GetInfo.imgHttp+"/miniapp/images/giftbag/new02.jpg"}}),i("v-uni-button",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.growUpSubmit.apply(void 0,arguments)}}},[t._v(t._s(this.growUpTitle))])],1)],1):t._e()],1)],1):t._e(),this.textShow?i("v-uni-view",[i("v-uni-view",{staticClass:"foot_box"},[i("v-uni-view",{staticClass:"foot_box_title"},[i("v-uni-text",[t._v("活动规则:")])],1),i("v-uni-view",{staticClass:"foot_box_text"},[i("v-uni-text",[t._v(t._s(this.textTitle))])],1)],1)],1):t._e(),i("v-uni-view",{staticClass:"button_box"},[i("v-uni-view",[i("v-uni-button",{staticClass:"button"},[t._v("进入商城购物")])],1),i("v-uni-view",{staticClass:"button_text"},[i("v-uni-text",[t._v("本活动最终解释权归公司所有,如果有问题请联系客服")])],1)],1)],1)},n=[];i.d(e,"a",function(){return a}),i.d(e,"b",function(){return n})},be2b:function(t,e,i){"use strict";i.r(e);var a=i("9c9e"),n=i("8167");for(var o in n)"default"!==o&&function(t){i.d(e,t,function(){return n[t]})}(o);i("7ae0");var s=i("2877"),r=Object(s["a"])(n["default"],a["a"],a["b"],!1,null,"3de20666",null);e["default"]=r.exports},de9b:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("386d"),i("4917"),i("3b2b");var a={data:function(){return{itemShow:!1,cardShow:!1,packShow:!1,textShow:!1,integralShow:!0,growUpShow:!0,itemButton:"",cardButton:"",getActId:"",getActType:"",giftID:"",getUserID:"",getStorageID:"",integralTitle:"已领取",growUpTitle:"已领取",textTitle:"",noShow:!1,itemShows:function(){return this.itemShow?!!this.cardShow:(this.cardShow,!1)},cardShows:function(){return this.cardShow?!!this.packShow:(this.packShow,!1)},cards:[],itemWare:[]}},onLoad:function(t){var e=this;this.getActId=t.actId,this.getActType=t.actType,this.giftID=t.giftID,this.getStorageID=t.storageID,this.getUserID=t.userID,uni.request({url:this.$GetInfo.ApiHttp+"/api/weshop/marketing/giftbag/get",data:{actId:this.getActId,actType:this.getActType,giftBagId:this.giftID,storeId:this.getStorageID,userId:this.getUserID},method:"GET",header:{"custom-header":"application/json"},success:function(t){console.log(t.data),0==t.data.code?(null!=t.data.data.lbCoupons&&(e.cardShow=!0,e.cards=t.data.data.lbCoupons),null!=t.data.data.lbSM&&(e.itemShow=!0,e.itemWare=t.data.data.lbSM),t.data.data.lbIntegral<=0?t.data.data.lbGrowthValue<=0?e.packShow=!1:(e.packShow=!0,e.integralShow=!1,e.growUpShow=!0):t.data.data.lbGrowthValue>0?e.packShow=!0:(e.packShow=!0,e.integralShow=!0,e.growUpShow=!1),0==t.data.data.lbIntegralState?e.integralTitle="领取"+t.data.data.lbIntegral+"积分":e.integralTitle="已领取",0==t.data.data.lbGrowthValueState?e.growUpTitle="领取"+t.data.data.lbGrowthValue+"积分":e.growUpTitle="已领取",""!=t.data.data.actIntro&&(e.textShow=!0,e.textTitle=t.data.data.actIntro)):console.log(t.data.msg)}})},onShow:function(){},methods:{getQueryString:function(t){var e=new RegExp("(^|&)"+t+"=([^&]*)(&|$)","i"),i=window.location.search.substr(1).match(e);return null!=i?unescape(i[2]):null},integralSubmit:function(){var t=this;if("已领取"==this.integralTitle)return uni.showToast({icon:"none",title:"已领取不能重复领取!"}),!1;uni.request({url:this.$GetInfo.ApiHttp+"/api/weshop/marketing/receive/record/insert",data:{actId:this.getActId,lbId:this.giftID,lbType:"4",storeId:this.getStorageID,userId:this.getUserID,actType:this.getActType},method:"POST",header:{"custom-header":"application/json"},success:function(e){console.log(e.data),0==e.data.code?(console.log(e.data.msg),t.integralTitle="已领取",uni.showToast({icon:"none",title:"领取成功!"})):(console.log(e.data.msg),uni.showToast({icon:"none",title:e.data.msg}))}})},growUpSubmit:function(){var t=this;if("已领取"==this.growUpTitle)return uni.showToast({icon:"none",title:"已领取不能重复领取!"}),!1;uni.request({url:this.$GetInfo.ApiHttp+"/api/weshop/marketing/receive/record/insert",data:{actId:this.getActId,lbId:this.giftID,lbType:"5",storeId:this.getStorageID,userId:this.getUserID,actType:this.getActType},method:"POST",header:{"custom-header":"application/json"},success:function(e){console.log(e.data),0==e.data.code?(console.log(e.data.msg),t.growUpTitle="已领取",uni.showToast({icon:"none",title:"领取成功!"})):(console.log(e.data.msg),uni.showToast({icon:"none",title:e.data.msg}))}})},itemWareSubmit:function(t,e,i){if("已领取"==i.state)return uni.showToast({icon:"none",title:"已领取不能重复领取!"}),!1;console.log(t,e),uni.request({url:this.$GetInfo.ApiHttp+"/api/weshop/marketing/receive/record/insert",data:{actId:this.getActId,lbId:this.giftID,lbType:t,storeId:this.getStorageID,userId:this.getUserID,actType:this.getActType,fromId:e},method:"POST",header:{"custom-header":"application/json"},success:function(t){console.log(t.data),0==t.data.code?(console.log(t.data.msg),i.state="已领取",uni.showToast({icon:"none",title:"领取成功!"})):(console.log(t.data.msg),uni.showToast({icon:"none",title:t.data.msg}))}})},cardSubmit:function(t,e,i){if("已领取"==i.state)return uni.showToast({icon:"none",title:"已领取不能重复领取!"}),!1;console.log(t,e),uni.request({url:this.$GetInfo.ApiHttp+"/api/weshop/marketing/receive/record/insert",data:{actId:this.getActId,lbId:this.giftID,lbType:t,storeId:this.getStorageID,userId:this.getUserID,actType:this.getActType,fromId:e},method:"POST",header:{"custom-header":"application/json"},success:function(t){console.log(t.data),0==t.data.code?(console.log(t.data.msg),i.state="已领取",uni.showToast({icon:"none",title:"领取成功!"})):(console.log(t.data.msg),uni.showToast({icon:"none",title:t.data.msg}))}})}}};e.default=a}}]); | |
2 | 0 | \ No newline at end of file |
vip/static/js/pages-Login-index.30f2ac1e.js
0 → 100644
1 | +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-Login-index"],{"0132":function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,".fist_box[data-v-29545da4]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;margin:%?40?%}.fist_box uni-text[data-v-29545da4]{font-size:%?40?%}",""])},"1fb8":function(t,e,n){"use strict";var i=n("e42c"),a=n.n(i);a.a},2350:function(t,e){function n(t,e){var n=t[1]||"",a=t[3];if(!a)return n;if(e&&"function"===typeof btoa){var r=i(a),o=a.sources.map(function(t){return"/*# sourceURL="+a.sourceRoot+t+" */"});return[n].concat(o).concat([r]).join("\n")}return[n].join("\n")}function i(t){var e=btoa(unescape(encodeURIComponent(JSON.stringify(t)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,"+e;return"/*# "+n+" */"}t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var i=n(e,t);return e[2]?"@media "+e[2]+"{"+i+"}":i}).join("")},e.i=function(t,n){"string"===typeof t&&(t=[[null,t,""]]);for(var i={},a=0;a<this.length;a++){var r=this[a][0];"number"===typeof r&&(i[r]=!0)}for(a=0;a<t.length;a++){var o=t[a];"number"===typeof o[0]&&i[o[0]]||(n&&!o[2]?o[2]=n:n&&(o[2]="("+o[2]+") and ("+n+")"),e.push(o))}},e}},2740:function(t,e,n){"use strict";n.r(e);var i=n("d062"),a=n.n(i);for(var r in i)"default"!==r&&function(t){n.d(e,t,function(){return i[t]})}(r);e["default"]=a.a},"4f06":function(t,e,n){"use strict";function i(t,e){for(var n=[],i={},a=0;a<e.length;a++){var r=e[a],o=r[0],u=r[1],s=r[2],c=r[3],f={id:t+":"+a,css:u,media:s,sourceMap:c};i[o]?i[o].parts.push(f):n.push(i[o]={id:o,parts:[f]})}return n}n.r(e),n.d(e,"default",function(){return v});var a="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!a)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var r={},o=a&&(document.head||document.getElementsByTagName("head")[0]),u=null,s=0,c=!1,f=function(){},d=null,l="data-vue-ssr-id",p="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function v(t,e,n,a){c=n,d=a||{};var o=i(t,e);return g(o),function(e){for(var n=[],a=0;a<o.length;a++){var u=o[a],s=r[u.id];s.refs--,n.push(s)}e?(o=i(t,e),g(o)):o=[];for(a=0;a<n.length;a++){s=n[a];if(0===s.refs){for(var c=0;c<s.parts.length;c++)s.parts[c]();delete r[s.id]}}}}function g(t){for(var e=0;e<t.length;e++){var n=t[e],i=r[n.id];if(i){i.refs++;for(var a=0;a<i.parts.length;a++)i.parts[a](n.parts[a]);for(;a<n.parts.length;a++)i.parts.push(b(n.parts[a]));i.parts.length>n.parts.length&&(i.parts.length=n.parts.length)}else{var o=[];for(a=0;a<n.parts.length;a++)o.push(b(n.parts[a]));r[n.id]={id:n.id,refs:1,parts:o}}}}function h(){var t=document.createElement("style");return t.type="text/css",o.appendChild(t),t}function b(t){var e,n,i=document.querySelector("style["+l+'~="'+t.id+'"]');if(i){if(c)return f;i.parentNode.removeChild(i)}if(p){var a=s++;i=u||(u=h()),e=m.bind(null,i,a,!1),n=m.bind(null,i,a,!0)}else i=h(),e=x.bind(null,i),n=function(){i.parentNode.removeChild(i)};return e(t),function(i){if(i){if(i.css===t.css&&i.media===t.media&&i.sourceMap===t.sourceMap)return;e(t=i)}else n()}}var y=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}();function m(t,e,n,i){var a=n?"":T(i.css);if(t.styleSheet)t.styleSheet.cssText=y(e,a);else{var r=document.createTextNode(a),o=t.childNodes;o[e]&&t.removeChild(o[e]),o.length?t.insertBefore(r,o[e]):t.appendChild(r)}}function x(t,e){var n=T(e.css),i=e.media,a=e.sourceMap;if(i&&t.setAttribute("media",i),d.ssrId&&t.setAttribute(l,e.id),a&&(n+="\n/*# sourceURL="+a.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(a))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{while(t.firstChild)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}var w=/%\?([+-]?\d+(\.\d+)?)\?%/g,k=/\.\?%PAGE\?%/g,C=/\?%PAGE\?%\[data-v-[a-z0-9]{8}\]/g,E=/uni-page-body\[data-v-[a-z0-9]{8}\]/g,G=/var\(--status-bar-height\)/gi,I=/var\(--window-top\)/gi,_=/var\(--window-bottom\)/gi;function T(t){var e=$();if(!uni.canIUse("css.var")){var n=M();t=t.replace(G,"0px").replace(I,n.top+"px").replace(_,n.bottom+"px")}return t.replace(C,e).replace(k,"").replace(E,"body."+e+" uni-page-body").replace(w,function(t,e){return uni.upx2px(e)+"px"})}function $(){var t=getApp();return t&&t.$route&&t.$route.meta&&t.$route.meta.name||""}function M(){var t=getApp();return t&&t.$route&&t.$route.meta&&t.$route.meta.name?{top:t.$route.meta.windowTop,bottom:t.$route.meta.isTabBar?50:0}:{top:0,bottom:0}}},d062:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i={data:function(){return{}},onLoad:function(){},onShow:function(){},methods:{NewVip:function(){uni.navigateTo({url:"../GiftPackage/NewVipGift?actId=3&actType=1&giftBagId=30&storeId=1&userId=5682130"})},Birthday:function(){uni.navigateTo({url:"../GiftPackage/BirthdayGift?actId=3&actType=1&giftBagId=30&storeId=1&userId=5682130"})},Evaluate:function(){uni.navigateTo({url:"../GiftPackage/EvaluateGift?actId=3&actType=1&giftBagId=30&storeId=1&userId=5682130"})},Assistance:function(){uni.navigateTo({url:"../GiftPackage/AssistanceGift"})},MyGiftPack:function(){uni.navigateTo({url:"../MyGiftPack/MyGiftPack?stoid=1&userid=5682130"})}}};e.default=i},d2d1:function(t,e,n){"use strict";var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",[n("v-uni-view",{staticClass:"fist_box"},[n("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.NewVip.apply(void 0,arguments)}}},[t._v("新人有礼")])],1),n("v-uni-view",{staticClass:"fist_box"},[n("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.Birthday.apply(void 0,arguments)}}},[t._v("生日有礼")])],1),n("v-uni-view",{staticClass:"fist_box"},[n("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.Evaluate.apply(void 0,arguments)}}},[t._v("评价有礼")])],1),n("v-uni-view",{staticClass:"fist_box"},[n("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.Assistance.apply(void 0,arguments)}}},[t._v("助力活动")])],1),n("v-uni-view",{staticClass:"fist_box"},[n("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.MyGiftPack.apply(void 0,arguments)}}},[t._v("我的礼包")])],1)],1)},a=[];n.d(e,"a",function(){return i}),n.d(e,"b",function(){return a})},d58b:function(t,e,n){"use strict";n.r(e);var i=n("d2d1"),a=n("2740");for(var r in a)"default"!==r&&function(t){n.d(e,t,function(){return a[t]})}(r);n("1fb8");var o=n("2877"),u=Object(o["a"])(a["default"],i["a"],i["b"],!1,null,"29545da4",null);e["default"]=u.exports},e42c:function(t,e,n){var i=n("0132");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=n("4f06").default;a("14057206",i,!0,{sourceMap:!1,shadowMode:!1})}}]); | |
0 | 2 | \ No newline at end of file | ... | ... |
vip/static/js/pages-Login-index.8dbc768a.js deleted
1 | -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-Login-index"],{2350:function(t,e){function n(t,e){var n=t[1]||"",i=t[3];if(!i)return n;if(e&&"function"===typeof btoa){var r=a(i),o=i.sources.map(function(t){return"/*# sourceURL="+i.sourceRoot+t+" */"});return[n].concat(o).concat([r]).join("\n")}return[n].join("\n")}function a(t){var e=btoa(unescape(encodeURIComponent(JSON.stringify(t)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,"+e;return"/*# "+n+" */"}t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var a=n(e,t);return e[2]?"@media "+e[2]+"{"+a+"}":a}).join("")},e.i=function(t,n){"string"===typeof t&&(t=[[null,t,""]]);for(var a={},i=0;i<this.length;i++){var r=this[i][0];"number"===typeof r&&(a[r]=!0)}for(i=0;i<t.length;i++){var o=t[i];"number"===typeof o[0]&&a[o[0]]||(n&&!o[2]?o[2]=n:n&&(o[2]="("+o[2]+") and ("+n+")"),e.push(o))}},e}},2740:function(t,e,n){"use strict";n.r(e);var a=n("d062"),i=n.n(a);for(var r in a)"default"!==r&&function(t){n.d(e,t,function(){return a[t]})}(r);e["default"]=i.a},"29d4":function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,".fist_box[data-v-4d51acff]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;margin:%?40?%}.fist_box uni-text[data-v-4d51acff]{font-size:%?40?%}",""])},"4f06":function(t,e,n){"use strict";function a(t,e){for(var n=[],a={},i=0;i<e.length;i++){var r=e[i],o=r[0],u=r[1],s=r[2],c=r[3],f={id:t+":"+i,css:u,media:s,sourceMap:c};a[o]?a[o].parts.push(f):n.push(a[o]={id:o,parts:[f]})}return n}n.r(e),n.d(e,"default",function(){return v});var i="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!i)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var r={},o=i&&(document.head||document.getElementsByTagName("head")[0]),u=null,s=0,c=!1,f=function(){},d=null,l="data-vue-ssr-id",p="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function v(t,e,n,i){c=n,d=i||{};var o=a(t,e);return g(o),function(e){for(var n=[],i=0;i<o.length;i++){var u=o[i],s=r[u.id];s.refs--,n.push(s)}e?(o=a(t,e),g(o)):o=[];for(i=0;i<n.length;i++){s=n[i];if(0===s.refs){for(var c=0;c<s.parts.length;c++)s.parts[c]();delete r[s.id]}}}}function g(t){for(var e=0;e<t.length;e++){var n=t[e],a=r[n.id];if(a){a.refs++;for(var i=0;i<a.parts.length;i++)a.parts[i](n.parts[i]);for(;i<n.parts.length;i++)a.parts.push(b(n.parts[i]));a.parts.length>n.parts.length&&(a.parts.length=n.parts.length)}else{var o=[];for(i=0;i<n.parts.length;i++)o.push(b(n.parts[i]));r[n.id]={id:n.id,refs:1,parts:o}}}}function h(){var t=document.createElement("style");return t.type="text/css",o.appendChild(t),t}function b(t){var e,n,a=document.querySelector("style["+l+'~="'+t.id+'"]');if(a){if(c)return f;a.parentNode.removeChild(a)}if(p){var i=s++;a=u||(u=h()),e=m.bind(null,a,i,!1),n=m.bind(null,a,i,!0)}else a=h(),e=x.bind(null,a),n=function(){a.parentNode.removeChild(a)};return e(t),function(a){if(a){if(a.css===t.css&&a.media===t.media&&a.sourceMap===t.sourceMap)return;e(t=a)}else n()}}var y=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}();function m(t,e,n,a){var i=n?"":T(a.css);if(t.styleSheet)t.styleSheet.cssText=y(e,i);else{var r=document.createTextNode(i),o=t.childNodes;o[e]&&t.removeChild(o[e]),o.length?t.insertBefore(r,o[e]):t.appendChild(r)}}function x(t,e){var n=T(e.css),a=e.media,i=e.sourceMap;if(a&&t.setAttribute("media",a),d.ssrId&&t.setAttribute(l,e.id),i&&(n+="\n/*# sourceURL="+i.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{while(t.firstChild)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}var w=/%\?([+-]?\d+(\.\d+)?)\?%/g,k=/\.\?%PAGE\?%/g,C=/\?%PAGE\?%\[data-v-[a-z0-9]{8}\]/g,E=/uni-page-body\[data-v-[a-z0-9]{8}\]/g,G=/var\(--status-bar-height\)/gi,I=/var\(--window-top\)/gi,_=/var\(--window-bottom\)/gi;function T(t){var e=$();if(!uni.canIUse("css.var")){var n=M();t=t.replace(G,"0px").replace(I,n.top+"px").replace(_,n.bottom+"px")}return t.replace(C,e).replace(k,"").replace(E,"body."+e+" uni-page-body").replace(w,function(t,e){return uni.upx2px(e)+"px"})}function $(){var t=getApp();return t&&t.$route&&t.$route.meta&&t.$route.meta.name||""}function M(){var t=getApp();return t&&t.$route&&t.$route.meta&&t.$route.meta.name?{top:t.$route.meta.windowTop,bottom:t.$route.meta.isTabBar?50:0}:{top:0,bottom:0}}},a31b:function(t,e,n){"use strict";var a=n("c1ec"),i=n.n(a);i.a},b296:function(t,e,n){"use strict";var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",[n("v-uni-view",{staticClass:"fist_box"},[n("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.NewVip.apply(void 0,arguments)}}},[t._v("新人有礼")])],1),n("v-uni-view",{staticClass:"fist_box"},[n("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.Birthday.apply(void 0,arguments)}}},[t._v("生日有礼")])],1),n("v-uni-view",{staticClass:"fist_box"},[n("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.Evaluate.apply(void 0,arguments)}}},[t._v("评价有礼")])],1),n("v-uni-view",{staticClass:"fist_box"},[n("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.Assistance.apply(void 0,arguments)}}},[t._v("助力活动")])],1),n("v-uni-view",{staticClass:"fist_box"},[n("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.MyGiftPack.apply(void 0,arguments)}}},[t._v("我的礼包")])],1)],1)},i=[];n.d(e,"a",function(){return a}),n.d(e,"b",function(){return i})},c1ec:function(t,e,n){var a=n("29d4");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("4f06").default;i("d0fad6e8",a,!0,{sourceMap:!1,shadowMode:!1})},d062:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={data:function(){return{}},onLoad:function(){},onShow:function(){},methods:{NewVip:function(){uni.navigateTo({url:"../GiftPackage/NewVipGift?actId=1&actType=1&giftID=1&storageID=1&userID=5682119"})},Birthday:function(){uni.navigateTo({url:"../GiftPackage/BirthdayGift?actId=1&actType=1&giftID=1&storageID=1&userID=5682119"})},Evaluate:function(){uni.navigateTo({url:"../GiftPackage/EvaluateGift?actId=1&actType=1&giftID=1&storageID=1&userID=5682119"})},Assistance:function(){uni.navigateTo({url:"../GiftPackage/AssistanceGift"})},MyGiftPack:function(){uni.navigateTo({url:"../MyGiftPack/MyGiftPack?stoid=1&userid=5682130"})}}};e.default=a},d58b:function(t,e,n){"use strict";n.r(e);var a=n("b296"),i=n("2740");for(var r in i)"default"!==r&&function(t){n.d(e,t,function(){return i[t]})}(r);n("a31b");var o=n("2877"),u=Object(o["a"])(i["default"],a["a"],a["b"],!1,null,"4d51acff",null);e["default"]=u.exports}}]); | |
2 | 0 | \ No newline at end of file |
vip/static/js/pages-MyGiftPack-GiftPackBuy.06769b94.js deleted
1 | -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-MyGiftPack-GiftPackBuy"],{"0203":function(t,e,n){"use strict";n.r(e);var a=n("580b"),o=n("89bc");for(var i in o)"default"!==i&&function(t){n.d(e,t,function(){return o[t]})}(i);n("9088");var r=n("2877"),s=Object(r["a"])(o["default"],a["a"],a["b"],!1,null,"6236e6f9",null);e["default"]=s.exports},"0a83":function(t,e,n){var a=n("8af0");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=n("4f06").default;o("1db09160",a,!0,{sourceMap:!1,shadowMode:!1})},2350:function(t,e){function n(t,e){var n=t[1]||"",o=t[3];if(!o)return n;if(e&&"function"===typeof btoa){var i=a(o),r=o.sources.map(function(t){return"/*# sourceURL="+o.sourceRoot+t+" */"});return[n].concat(r).concat([i]).join("\n")}return[n].join("\n")}function a(t){var e=btoa(unescape(encodeURIComponent(JSON.stringify(t)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,"+e;return"/*# "+n+" */"}t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var a=n(e,t);return e[2]?"@media "+e[2]+"{"+a+"}":a}).join("")},e.i=function(t,n){"string"===typeof t&&(t=[[null,t,""]]);for(var a={},o=0;o<this.length;o++){var i=this[o][0];"number"===typeof i&&(a[i]=!0)}for(o=0;o<t.length;o++){var r=t[o];"number"===typeof r[0]&&a[r[0]]||(n&&!r[2]?r[2]=n:n&&(r[2]="("+r[2]+") and ("+n+")"),e.push(r))}},e}},"32c1":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={name:"uLi-load-more",props:{status:{type:String,default:"loading"},showIcon:{type:Boolean,default:!0},color:{type:String,default:"#777777"},contentText:{type:Object,default:function(){return{contentdown:"上拉显示更多",contentrefresh:"正在加载...",contentnomore:"没有更多数据了"}}}},data:function(){return{}}};e.default=a},"3a9c":function(t,e,n){"use strict";var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"uni-load-more"},["loading"===t.status&&t.showIcon?n("v-uni-view",{staticClass:"uni-load-more__img"},[n("v-uni-view",{staticClass:"loadingView",style:{color:t.color}},[t._v("")])],1):t._e(),n("v-uni-text",{staticClass:"uni-load-more__text",style:{color:t.color}},[t._v(t._s("more"===t.status?t.contentText.contentdown:"loading"===t.status?t.contentText.contentrefresh:t.contentText.contentnomore))])],1)},o=[];n.d(e,"a",function(){return a}),n.d(e,"b",function(){return o})},"4f06":function(t,e,n){"use strict";function a(t,e){for(var n=[],a={},o=0;o<e.length;o++){var i=e[o],r=i[0],s=i[1],c=i[2],l=i[3],u={id:t+":"+o,css:s,media:c,sourceMap:l};a[r]?a[r].parts.push(u):n.push(a[r]={id:r,parts:[u]})}return n}n.r(e),n.d(e,"default",function(){return g});var o="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!o)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var i={},r=o&&(document.head||document.getElementsByTagName("head")[0]),s=null,c=0,l=!1,u=function(){},d=null,f="data-vue-ssr-id",p="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function g(t,e,n,o){l=n,d=o||{};var r=a(t,e);return b(r),function(e){for(var n=[],o=0;o<r.length;o++){var s=r[o],c=i[s.id];c.refs--,n.push(c)}e?(r=a(t,e),b(r)):r=[];for(o=0;o<n.length;o++){c=n[o];if(0===c.refs){for(var l=0;l<c.parts.length;l++)c.parts[l]();delete i[c.id]}}}}function b(t){for(var e=0;e<t.length;e++){var n=t[e],a=i[n.id];if(a){a.refs++;for(var o=0;o<a.parts.length;o++)a.parts[o](n.parts[o]);for(;o<n.parts.length;o++)a.parts.push(h(n.parts[o]));a.parts.length>n.parts.length&&(a.parts.length=n.parts.length)}else{var r=[];for(o=0;o<n.parts.length;o++)r.push(h(n.parts[o]));i[n.id]={id:n.id,refs:1,parts:r}}}}function v(){var t=document.createElement("style");return t.type="text/css",r.appendChild(t),t}function h(t){var e,n,a=document.querySelector("style["+f+'~="'+t.id+'"]');if(a){if(l)return u;a.parentNode.removeChild(a)}if(p){var o=c++;a=s||(s=v()),e=w.bind(null,a,o,!1),n=w.bind(null,a,o,!0)}else a=v(),e=_.bind(null,a),n=function(){a.parentNode.removeChild(a)};return e(t),function(a){if(a){if(a.css===t.css&&a.media===t.media&&a.sourceMap===t.sourceMap)return;e(t=a)}else n()}}var m=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}();function w(t,e,n,a){var o=n?"":S(a.css);if(t.styleSheet)t.styleSheet.cssText=m(e,o);else{var i=document.createTextNode(o),r=t.childNodes;r[e]&&t.removeChild(r[e]),r.length?t.insertBefore(i,r[e]):t.appendChild(i)}}function _(t,e){var n=S(e.css),a=e.media,o=e.sourceMap;if(a&&t.setAttribute("media",a),d.ssrId&&t.setAttribute(f,e.id),o&&(n+="\n/*# sourceURL="+o.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{while(t.firstChild)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}var y=/%\?([+-]?\d+(\.\d+)?)\?%/g,x=/\.\?%PAGE\?%/g,k=/\?%PAGE\?%\[data-v-[a-z0-9]{8}\]/g,I=/uni-page-body\[data-v-[a-z0-9]{8}\]/g,C=/var\(--status-bar-height\)/gi,T=/var\(--window-top\)/gi,G=/var\(--window-bottom\)/gi;function S(t){var e=M();if(!uni.canIUse("css.var")){var n=$();t=t.replace(C,"0px").replace(T,n.top+"px").replace(G,n.bottom+"px")}return t.replace(k,e).replace(x,"").replace(I,"body."+e+" uni-page-body").replace(y,function(t,e){return uni.upx2px(e)+"px"})}function M(){var t=getApp();return t&&t.$route&&t.$route.meta&&t.$route.meta.name||""}function $(){var t=getApp();return t&&t.$route&&t.$route.meta&&t.$route.meta.name?{top:t.$route.meta.windowTop,bottom:t.$route.meta.isTabBar?50:0}:{top:0,bottom:0}}},"580b":function(t,e,n){"use strict";var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"top_img"},[n("v-uni-view",{staticClass:"top_img"},[n("v-uni-image",{attrs:{src:"../../static/img/11_01.jpg"}})],1),n("v-uni-view",{staticClass:"top_title"},[n("v-uni-view",{staticClass:"top_title_box"},[n("v-uni-text",{staticClass:"top_title_redtext"},[t._v("礼包列表")])],1),n("v-uni-view",{staticClass:"top_title_box_S"}),n("v-uni-view",{staticClass:"top_title_box"},[n("v-uni-text",{staticClass:"top_title_blacktext",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.MyGift.apply(void 0,arguments)}}},[t._v("我的礼包")])],1)],1),t._l(t.wareCard,function(e,a){return n("v-uni-view",{key:a,staticClass:"content_box"},[n("v-uni-view",{staticClass:"content_box_ware"},[n("v-uni-view",{staticClass:"content_box_img",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.GetGiftPackList(e.orderSn,e)}}},[n("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+e.lbUrl}})],1),n("v-uni-view",{staticClass:"content_box_title"},[n("v-uni-view",{staticClass:"content_ware_title"},[n("v-uni-text",{on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.GetGiftPackList(e.lbId,e)}}},[t._v(t._s(e.giftTitle))])],1),n("v-uni-view",{staticClass:"content_ware_type"},[e.payMoney>0?n("v-uni-text",[t._v("¥"+t._s(e.payMoney))]):t._e(),e.payMoney>0&&e.payIntegral>0?n("v-uni-text",[t._v("/")]):t._e(),e.payIntegral>0?n("v-uni-text",[t._v(t._s(e.payIntegral)+"积分")]):t._e()],1),n("v-uni-view",{staticClass:"content_ware_price"},[n("v-uni-text",[t._v("原价:¥"+t._s(e.giftPosPrice))])],1),n("v-uni-view",{staticClass:"content_ware_time"},[n("v-uni-text",[t._v("活动时间:"+t._s(e.endTime))])],1)],1)],1),n("v-uni-view",{staticClass:"content_box_button"},[n("v-uni-view",{staticClass:"box_button_remark"},[n("v-uni-text",[t._v("已售:"+t._s(e.giftQty)+"件")])],1),e.payMoney>0?n("v-uni-view",{staticClass:"box_button_buy"},[n("v-uni-button",{on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.GetBuyPrice(e.lbId,e)}}},[t._v("立即购买")])],1):t._e(),e.payIntegral>0?n("v-uni-view",{staticClass:"box_button_dui"},[n("v-uni-button",{on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.GetBuyIntegral(e.lbId,e)}}},[t._v("立即兑换")])],1):t._e()],1)],1)}),n("v-uni-view",{staticClass:"foot_box"},[n("v-uni-text",[t._v("———— 到底了 ————")])],1)],2)},o=[];n.d(e,"a",function(){return a}),n.d(e,"b",function(){return o})},"89bc":function(t,e,n){"use strict";n.r(e);var a=n("e5f5"),o=n.n(a);for(var i in a)"default"!==i&&function(t){n.d(e,t,function(){return a[t]})}(i);e["default"]=o.a},"8af0":function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,'@font-face{font-family:iconfont;src:url(https://at.alicdn.com/t/font_1288772_8nmx02hevxl.ttf) format("truetype")}.loadingView[data-v-9a2b4550]{font-family:iconfont;line-height:1;font-size:%?40?%;-webkit-animation:rotate-data-v-9a2b4550 3s linear infinite;animation:rotate-data-v-9a2b4550 3s linear infinite}@-webkit-keyframes rotate-data-v-9a2b4550{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes rotate-data-v-9a2b4550{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.uni-load-more[data-v-9a2b4550]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;height:%?80?%;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.uni-load-more__text[data-v-9a2b4550]{font-size:%?28?%;color:#999}.uni-load-more__img[data-v-9a2b4550]{height:24px;width:24px;margin-right:10px;line-height:1;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}',""])},"8b7c":function(t,e,n){"use strict";n.r(e);var a=n("3a9c"),o=n("aea3");for(var i in o)"default"!==i&&function(t){n.d(e,t,function(){return o[t]})}(i);n("a66d");var r=n("2877"),s=Object(r["a"])(o["default"],a["a"],a["b"],!1,null,"9a2b4550",null);e["default"]=s.exports},"8e93":function(t,e,n){var a=n("f6df");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=n("4f06").default;o("6b49b76e",a,!0,{sourceMap:!1,shadowMode:!1})},9088:function(t,e,n){"use strict";var a=n("8e93"),o=n.n(a);o.a},a66d:function(t,e,n){"use strict";var a=n("0a83"),o=n.n(a);o.a},aea3:function(t,e,n){"use strict";n.r(e);var a=n("32c1"),o=n.n(a);for(var i in a)"default"!==i&&function(t){n.d(e,t,function(){return a[t]})}(i);e["default"]=o.a},e5f5:function(t,e,n){"use strict";var a=n("288e");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=a(n("8b7c")),i={data:function(){return{getStorageID:"",getUserID:"",wareCard:[],page:0,pageSize:10,loadingType:0,contentText:{contentdown:"加载更多",contentrefresh:"加载中...",contentnomore:"已加载全部"}}},components:{uLiLoadMore:o.default},onLoad:function(t){this.getStorageID=t.stoid,this.getUserID=t.userid,this.getStorageID=1,this.getUserID=5682130},onShow:function(){this.page=1,this.pageSize=10,this.loadingType=0,this.getList()},onReachBottom:function(){0==this.loadingType&&(this.page++,this.getList())},methods:{MyGift:function(){uni.reLaunch({url:"/pages/MyGiftPack/MyGiftPack?stoid=1&userid=5682130"})},GetGiftPackList:function(t,e){uni.navigateTo({url:"/pages/MyGiftPack/GiftPackList?isBuy=1&stoid=1&userid=5682130&id="+t})},GetBuyPrice:function(t,e){var n=this;uni.showModal({title:"",content:"是否确定购买该礼包",success:function(e){e.confirm?(console.log("用户点击确定"),console.log(n.$GetInfo.ApiHttp+"/api/weshop/marketing/buy/receive/gift/record/insert"),console.log('{"actId":"","actType":"","buyType":"1","lbId":"'+t+'","storeId":"1","userId":"5682130"}'),uni.request({url:n.$GetInfo.ApiHttp+"/api/weshop/marketing/buy/receive/gift/record/insert",data:{actId:"",actType:"",buyType:"2",lbId:t,storeId:n.getStorageID,userId:n.getUserID},method:"POST",header:{"Content-Type":"application/json"},success:function(t){console.log(t.data),0==t.data.code?(console.log(t.data.msg),uni.showToast({icon:"none",title:"购买成功!"})):(console.log(t.data.msg),uni.showToast({icon:"none",title:t.data.msg}))}})):e.cancel&&console.log("用户点击取消")}})},GetBuyIntegral:function(t,e){var n=this;uni.showModal({title:"",content:"是否确定兑换该礼包",success:function(e){e.confirm?(console.log("用户点击确定"),console.log(n.$GetInfo.ApiHttp+"/api/weshop/marketing/buy/receive/gift/record/insert"),console.log('{"actId":"","actType":"","buyType":"1","lbId":"'+t+'","storeId":"1","userId":"5682130"}'),uni.request({url:n.$GetInfo.ApiHttp+"/api/weshop/marketing/buy/receive/gift/record/insert",data:{actId:"",actType:"",buyType:"1",lbId:t,storeId:n.getStorageID,userId:n.getUserID},method:"POST",header:{"Content-Type":"application/json"},success:function(t){console.log(t.data),0==t.data.code?(console.log(t.data.msg),uni.showToast({icon:"none",title:"兑换成功!"})):(console.log(t.data.msg),uni.showToast({icon:"none",title:t.data.msg}))}})):e.cancel&&console.log("用户点击取消")}})},getList:function(){var t=this,e=this;if(0!=e.loadingType)return!1;e.loadingType=1,uni.request({url:this.$GetInfo.ApiHttp+"/api/weshop/marketing/giftbag/page",data:{storeId:this.getStorageID,userId:this.getUserID,page:this.page,pageSize:this.pageSize},method:"GET",header:{"Content-Type":"application/x-www-form-urlencoded"},success:function(e){if(0==e.data.code)if(0==e.data.data.pageData.length)t.loadingType=2;else{if(console.log(t.wareCard.length),console.log(e.data.data.pageData.length),t.wareCard.length<e.data.data.pageData.length)for(var n=0;n<e.data.data.pageData.length;n++)t.wareCard.push(e.data.data.pageData[n]);t.loadingType=0,console.log(t.wareCard)}}})}}};e.default=i},f6df:function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,'@charset "UTF-8";\n/*引用样式路径*/\n/* Author XGQ\r\n * 2019-11-12\r\n */uni-page-body[data-v-6236e6f9]{background-color:#fb7454}.top_img[data-v-6236e6f9]{-webkit-align-content:center;align-content:center}.top_img uni-image[data-v-6236e6f9]{width:100%;height:%?660?%}.top_title[data-v-6236e6f9]{display:-webkit-box;display:-webkit-flex;display:flex;background-color:#fff;height:%?85?%;border-radius:%?10?% %?10?% %?0?% %?0?%;margin:%?0?% %?20?% %?0?% %?20?%;-webkit-align-content:center;align-content:center}.top_title_box[data-v-6236e6f9]{width:49%;-webkit-align-content:center;align-content:center;text-align:center;padding:%?15?%}.top_title_box_S[data-v-6236e6f9]{width:1%;-webkit-align-content:center;align-content:center;text-align:center;margin:%?20?% %?0?% %?20?% %?0?%;border-left:#000 solid %?3?%}.top_title_redtext[data-v-6236e6f9]{font-size:%?30?%;color:#d61b30}.top_title_blacktext[data-v-6236e6f9]{font-size:%?30?%;color:#000}.content_box[data-v-6236e6f9]{background-color:#fff;height:%?375?%;margin:%?10?% %?20?% %?0?% %?20?%;border-radius:%?10?%}.content_box_ware[data-v-6236e6f9]{border-bottom:#f5f5f5 solid %?2?%;display:-webkit-box;display:-webkit-flex;display:flex}.content_box_img[data-v-6236e6f9]{margin:%?20?% %?20?% %?20?% %?25?%;width:35%;display:-webkit-box;display:-webkit-flex;display:flex;font-size:%?8?%;position:relative}.content_box_img uni-image[data-v-6236e6f9]{width:100%;height:%?230?%}.content_box_title[data-v-6236e6f9]{width:65%;margin:%?25?% %?25?% %?10?% %?0?%;position:relative}.content_ware_title[data-v-6236e6f9]{font-size:%?30?%;word-break:break-all;\r\n\t/*属性规定自动换行的处理方法。normal(使用浏览器默认的换行规则。),break-all(允许在单词内换行。),keep-all(只能在半角空格或连字符处换行。)*/text-overflow:ellipsis;display:-webkit-box;\r\n\t/** 对象作为伸缩盒子模型显示 **/-webkit-box-orient:vertical;\r\n\t/** 设置或检索伸缩盒对象的子元素的排列方式 **/-webkit-line-clamp:2;\r\n\t/** 显示的行数 **/overflow:hidden\r\n\t/** 隐藏超出的内容 **/}.content_ware_type[data-v-6236e6f9]{font-size:%?28?%;color:#c61a34;margin-top:%?10?%;position:absolute;left:0;bottom:%?100?%}.content_ware_price[data-v-6236e6f9]{font-size:%?20?%;color:#b9b5b5;margin-top:%?2?%;text-decoration:line-through;position:absolute;left:0;bottom:%?70?%}.content_ware_time[data-v-6236e6f9]{font-size:%?25?%;color:#000;margin-top:%?20?%;position:absolute;left:0;bottom:%?25?%}.content_box_button[data-v-6236e6f9]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end;position:relative}.box_button_remark[data-v-6236e6f9]{margin:%?15?% %?0?% %?0?% %?30?%;width:50%;position:absolute;left:%?5?%;bottom:%?15?%}.box_button_remark uni-text[data-v-6236e6f9]{font-size:%?28?%;color:#b9b5b5}.box_button_buy[data-v-6236e6f9]{text-align:right;margin:%?22?% %?25?% %?0?% %?0?%}.box_button_buy uni-button[data-v-6236e6f9]{display:inline-block;width:%?160?%;height:%?50?%;font-size:%?20?%;background:#d41c34;color:#fff;line-height:%?50?%}.box_button_dui[data-v-6236e6f9]{text-align:right;margin:%?22?% %?25?% %?0?% %?0?%}.box_button_dui uni-button[data-v-6236e6f9]{display:inline-block;width:%?160?%;height:%?50?%;font-size:%?20?%;background:#fff;color:#000;line-height:%?50?%}.foot_box[data-v-6236e6f9]{-webkit-align-content:center;align-content:center;text-align:center;margin-top:%?15?%;margin-bottom:%?50?%}.foot_box uni-text[data-v-6236e6f9]{font-size:%?25?%;color:#fff}body.?%PAGE?%[data-v-6236e6f9]{background-color:#fb7454}',""])}}]); | |
2 | 0 | \ No newline at end of file |
vip/static/js/pages-MyGiftPack-GiftPackBuy.b3323308.js
0 → 100644
1 | +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-MyGiftPack-GiftPackBuy"],{"0203":function(t,e,n){"use strict";n.r(e);var a=n("f770"),o=n("89bc");for(var i in o)"default"!==i&&function(t){n.d(e,t,function(){return o[t]})}(i);n("7a93");var r=n("2877"),s=Object(r["a"])(o["default"],a["a"],a["b"],!1,null,"4290eace",null);e["default"]=s.exports},"0a83":function(t,e,n){var a=n("8af0");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=n("4f06").default;o("1db09160",a,!0,{sourceMap:!1,shadowMode:!1})},2350:function(t,e){function n(t,e){var n=t[1]||"",o=t[3];if(!o)return n;if(e&&"function"===typeof btoa){var i=a(o),r=o.sources.map(function(t){return"/*# sourceURL="+o.sourceRoot+t+" */"});return[n].concat(r).concat([i]).join("\n")}return[n].join("\n")}function a(t){var e=btoa(unescape(encodeURIComponent(JSON.stringify(t)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,"+e;return"/*# "+n+" */"}t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var a=n(e,t);return e[2]?"@media "+e[2]+"{"+a+"}":a}).join("")},e.i=function(t,n){"string"===typeof t&&(t=[[null,t,""]]);for(var a={},o=0;o<this.length;o++){var i=this[o][0];"number"===typeof i&&(a[i]=!0)}for(o=0;o<t.length;o++){var r=t[o];"number"===typeof r[0]&&a[r[0]]||(n&&!r[2]?r[2]=n:n&&(r[2]="("+r[2]+") and ("+n+")"),e.push(r))}},e}},"32c1":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={name:"uLi-load-more",props:{status:{type:String,default:"loading"},showIcon:{type:Boolean,default:!0},color:{type:String,default:"#777777"},contentText:{type:Object,default:function(){return{contentdown:"上拉显示更多",contentrefresh:"正在加载...",contentnomore:"没有更多数据了"}}}},data:function(){return{}}};e.default=a},"3a9c":function(t,e,n){"use strict";var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"uni-load-more"},["loading"===t.status&&t.showIcon?n("v-uni-view",{staticClass:"uni-load-more__img"},[n("v-uni-view",{staticClass:"loadingView",style:{color:t.color}},[t._v("")])],1):t._e(),n("v-uni-text",{staticClass:"uni-load-more__text",style:{color:t.color}},[t._v(t._s("more"===t.status?t.contentText.contentdown:"loading"===t.status?t.contentText.contentrefresh:t.contentText.contentnomore))])],1)},o=[];n.d(e,"a",function(){return a}),n.d(e,"b",function(){return o})},"4f06":function(t,e,n){"use strict";function a(t,e){for(var n=[],a={},o=0;o<e.length;o++){var i=e[o],r=i[0],s=i[1],c=i[2],l=i[3],u={id:t+":"+o,css:s,media:c,sourceMap:l};a[r]?a[r].parts.push(u):n.push(a[r]={id:r,parts:[u]})}return n}n.r(e),n.d(e,"default",function(){return g});var o="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!o)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var i={},r=o&&(document.head||document.getElementsByTagName("head")[0]),s=null,c=0,l=!1,u=function(){},d=null,f="data-vue-ssr-id",p="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function g(t,e,n,o){l=n,d=o||{};var r=a(t,e);return v(r),function(e){for(var n=[],o=0;o<r.length;o++){var s=r[o],c=i[s.id];c.refs--,n.push(c)}e?(r=a(t,e),v(r)):r=[];for(o=0;o<n.length;o++){c=n[o];if(0===c.refs){for(var l=0;l<c.parts.length;l++)c.parts[l]();delete i[c.id]}}}}function v(t){for(var e=0;e<t.length;e++){var n=t[e],a=i[n.id];if(a){a.refs++;for(var o=0;o<a.parts.length;o++)a.parts[o](n.parts[o]);for(;o<n.parts.length;o++)a.parts.push(h(n.parts[o]));a.parts.length>n.parts.length&&(a.parts.length=n.parts.length)}else{var r=[];for(o=0;o<n.parts.length;o++)r.push(h(n.parts[o]));i[n.id]={id:n.id,refs:1,parts:r}}}}function b(){var t=document.createElement("style");return t.type="text/css",r.appendChild(t),t}function h(t){var e,n,a=document.querySelector("style["+f+'~="'+t.id+'"]');if(a){if(l)return u;a.parentNode.removeChild(a)}if(p){var o=c++;a=s||(s=b()),e=y.bind(null,a,o,!1),n=y.bind(null,a,o,!0)}else a=b(),e=_.bind(null,a),n=function(){a.parentNode.removeChild(a)};return e(t),function(a){if(a){if(a.css===t.css&&a.media===t.media&&a.sourceMap===t.sourceMap)return;e(t=a)}else n()}}var m=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}();function y(t,e,n,a){var o=n?"":S(a.css);if(t.styleSheet)t.styleSheet.cssText=m(e,o);else{var i=document.createTextNode(o),r=t.childNodes;r[e]&&t.removeChild(r[e]),r.length?t.insertBefore(i,r[e]):t.appendChild(i)}}function _(t,e){var n=S(e.css),a=e.media,o=e.sourceMap;if(a&&t.setAttribute("media",a),d.ssrId&&t.setAttribute(f,e.id),o&&(n+="\n/*# sourceURL="+o.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{while(t.firstChild)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}var w=/%\?([+-]?\d+(\.\d+)?)\?%/g,x=/\.\?%PAGE\?%/g,k=/\?%PAGE\?%\[data-v-[a-z0-9]{8}\]/g,I=/uni-page-body\[data-v-[a-z0-9]{8}\]/g,C=/var\(--status-bar-height\)/gi,T=/var\(--window-top\)/gi,G=/var\(--window-bottom\)/gi;function S(t){var e=M();if(!uni.canIUse("css.var")){var n=$();t=t.replace(C,"0px").replace(T,n.top+"px").replace(G,n.bottom+"px")}return t.replace(k,e).replace(x,"").replace(I,"body."+e+" uni-page-body").replace(w,function(t,e){return uni.upx2px(e)+"px"})}function M(){var t=getApp();return t&&t.$route&&t.$route.meta&&t.$route.meta.name||""}function $(){var t=getApp();return t&&t.$route&&t.$route.meta&&t.$route.meta.name?{top:t.$route.meta.windowTop,bottom:t.$route.meta.isTabBar?50:0}:{top:0,bottom:0}}},6619:function(t,e,n){var a=n("b7ea");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=n("4f06").default;o("88b4afce",a,!0,{sourceMap:!1,shadowMode:!1})},"7a93":function(t,e,n){"use strict";var a=n("6619"),o=n.n(a);o.a},"89bc":function(t,e,n){"use strict";n.r(e);var a=n("e5f5"),o=n.n(a);for(var i in a)"default"!==i&&function(t){n.d(e,t,function(){return a[t]})}(i);e["default"]=o.a},"8af0":function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,'@font-face{font-family:iconfont;src:url(https://at.alicdn.com/t/font_1288772_8nmx02hevxl.ttf) format("truetype")}.loadingView[data-v-9a2b4550]{font-family:iconfont;line-height:1;font-size:%?40?%;-webkit-animation:rotate-data-v-9a2b4550 3s linear infinite;animation:rotate-data-v-9a2b4550 3s linear infinite}@-webkit-keyframes rotate-data-v-9a2b4550{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes rotate-data-v-9a2b4550{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.uni-load-more[data-v-9a2b4550]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;height:%?80?%;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.uni-load-more__text[data-v-9a2b4550]{font-size:%?28?%;color:#999}.uni-load-more__img[data-v-9a2b4550]{height:24px;width:24px;margin-right:10px;line-height:1;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}',""])},"8b7c":function(t,e,n){"use strict";n.r(e);var a=n("3a9c"),o=n("aea3");for(var i in o)"default"!==i&&function(t){n.d(e,t,function(){return o[t]})}(i);n("a66d");var r=n("2877"),s=Object(r["a"])(o["default"],a["a"],a["b"],!1,null,"9a2b4550",null);e["default"]=s.exports},a66d:function(t,e,n){"use strict";var a=n("0a83"),o=n.n(a);o.a},aea3:function(t,e,n){"use strict";n.r(e);var a=n("32c1"),o=n.n(a);for(var i in a)"default"!==i&&function(t){n.d(e,t,function(){return a[t]})}(i);e["default"]=o.a},b7ea:function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,'@charset "UTF-8";\n/*引用样式路径*/\n/* Author XGQ\r\n * 2019-11-12\r\n */uni-page-body[data-v-4290eace]{background-color:#fb7454}.top_img[data-v-4290eace]{-webkit-align-content:center;align-content:center}.top_img uni-image[data-v-4290eace]{width:100%;height:%?660?%}.top_title[data-v-4290eace]{display:-webkit-box;display:-webkit-flex;display:flex;background-color:#fff;height:%?85?%;border-radius:%?10?% %?10?% %?0?% %?0?%;margin:%?0?% %?20?% %?0?% %?20?%;-webkit-align-content:center;align-content:center}.top_title_box[data-v-4290eace]{width:49%;-webkit-align-content:center;align-content:center;text-align:center;padding:%?15?%}.top_title_box_S[data-v-4290eace]{width:1%;-webkit-align-content:center;align-content:center;text-align:center;margin:%?20?% %?0?% %?20?% %?0?%;border-left:#000 solid %?3?%}.top_title_redtext[data-v-4290eace]{font-size:%?30?%;color:#d61b30}.top_title_blacktext[data-v-4290eace]{font-size:%?30?%;color:#000}.content_box[data-v-4290eace]{background-color:#fff;height:%?375?%;margin:%?10?% %?20?% %?0?% %?20?%;border-radius:%?10?%}.content_box_ware[data-v-4290eace]{border-bottom:#f5f5f5 solid %?2?%;display:-webkit-box;display:-webkit-flex;display:flex}.content_box_img[data-v-4290eace]{margin:%?20?% %?20?% %?20?% %?25?%;width:35%;display:-webkit-box;display:-webkit-flex;display:flex;font-size:%?8?%;position:relative}.content_box_img uni-image[data-v-4290eace]{width:100%;height:%?230?%}.content_box_title[data-v-4290eace]{width:65%;margin:%?25?% %?25?% %?10?% %?0?%;position:relative}.content_ware_title[data-v-4290eace]{font-size:%?30?%;word-break:break-all;\r\n\t/*属性规定自动换行的处理方法。normal(使用浏览器默认的换行规则。),break-all(允许在单词内换行。),keep-all(只能在半角空格或连字符处换行。)*/text-overflow:ellipsis;display:-webkit-box;\r\n\t/** 对象作为伸缩盒子模型显示 **/-webkit-box-orient:vertical;\r\n\t/** 设置或检索伸缩盒对象的子元素的排列方式 **/-webkit-line-clamp:2;\r\n\t/** 显示的行数 **/overflow:hidden\r\n\t/** 隐藏超出的内容 **/}.content_ware_type[data-v-4290eace]{font-size:%?28?%;color:#c61a34;margin-top:%?10?%;position:absolute;left:0;bottom:%?100?%}.content_ware_price[data-v-4290eace]{font-size:%?20?%;color:#b9b5b5;margin-top:%?2?%;text-decoration:line-through;position:absolute;left:0;bottom:%?70?%}.content_ware_time[data-v-4290eace]{font-size:%?25?%;color:#000;margin-top:%?20?%;position:absolute;left:0;bottom:%?25?%}.content_box_button[data-v-4290eace]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:end;-webkit-justify-content:flex-end;justify-content:flex-end;position:relative}.box_button_remark[data-v-4290eace]{margin:%?15?% %?0?% %?0?% %?30?%;width:50%;position:absolute;left:%?5?%;bottom:%?15?%}.box_button_remark uni-text[data-v-4290eace]{font-size:%?28?%;color:#b9b5b5}.box_button_buy[data-v-4290eace]{text-align:right;margin:%?22?% %?25?% %?0?% %?0?%}.box_button_buy uni-button[data-v-4290eace]{display:inline-block;width:%?160?%;height:%?50?%;font-size:%?20?%;background:#d41c34;color:#fff;line-height:%?50?%}.box_button_dui[data-v-4290eace]{text-align:right;margin:%?22?% %?25?% %?0?% %?0?%}.box_button_dui uni-button[data-v-4290eace]{display:inline-block;width:%?160?%;height:%?50?%;font-size:%?20?%;background:#fff;color:#000;line-height:%?50?%}.foot_box[data-v-4290eace]{-webkit-align-content:center;align-content:center;text-align:center;margin-top:%?15?%;margin-bottom:%?50?%}.foot_box uni-text[data-v-4290eace]{font-size:%?25?%;color:#fff}.foot_empty[data-v-4290eace]{background-color:#fff;height:%?375?%;margin:%?10?% %?20?% %?0?% %?20?%;border-radius:%?10?%;text-align:center;padding:%?150?% %?0?% %?300?% %?0?%;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.foot_empty uni-image[data-v-4290eace]{width:%?400?%;height:%?273?%}.foot_empty uni-text[data-v-4290eace]{font-size:%?30?%;color:#999}.foot_empty_button[data-v-4290eace]{background:#ff6363;margin:%?60?% %?230?% %?0?% %?230?%;padding:%?10?%;border-radius:%?70?%;line-height:%?40?%}.foot_empty_button uni-text[data-v-4290eace]{font-size:%?28?%;color:#fff}body.?%PAGE?%[data-v-4290eace]{background-color:#fb7454}',""])},e5f5:function(t,e,n){"use strict";var a=n("288e");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=a(n("8b7c")),i={data:function(){return{getStorageID:"",getUserID:"",wareCard:[],page:0,pageSize:10,isEmpty:!0,loadingType:0,contentText:{contentdown:"加载更多",contentrefresh:"加载中...",contentnomore:"已加载全部"}}},components:{uLiLoadMore:o.default},onLoad:function(t){this.getStorageID=t.stoid,this.getUserID=t.userid},onShow:function(){this.page=1,this.pageSize=10,this.loadingType=0,this.getList()},onReachBottom:function(){0==this.loadingType&&(this.page++,this.getList())},methods:{MyGift:function(){uni.reLaunch({url:"/pages/MyGiftPack/MyGiftPack?stoid="+this.getStorageID+"&userid="+this.getUserID})},GetGiftPackList:function(t,e){uni.navigateTo({url:"/pages/MyGiftPack/GiftPackList?isBuy=1&stoid="+this.getStorageID+"&userid="+this.getUserID+"&id="+t})},GetBuyPrice:function(t,e){var n=this;uni.showModal({title:"",content:"是否确定购买该礼包",success:function(e){e.confirm?(console.log("用户点击确定"),console.log(n.$GetInfo.ApiHttp+"/api/weshop/marketing/buy/receive/gift/record/insert"),console.log('{"actId":"","actType":"","buyType":"1","lbId":"'+t+'","storeId":"1","userId":"5682130"}'),uni.request({url:n.$GetInfo.ApiHttp+"/api/weshop/marketing/buy/receive/gift/record/insert",data:{actId:"",actType:"",buyType:"2",lbId:t,storeId:n.getStorageID,userId:n.getUserID,buyFrom:"1"},method:"POST",header:{"Content-Type":"application/json"},success:function(t){console.log(t.data),0==t.data.code?(console.log(t.data.msg),console.log(n.$GetInfo.HtmlHttp+"/mobile/Payment/getPay/stoid/"+n.getStorageID+"/order_sn/"+t.data.data.orderSn),window.location.href=n.$GetInfo.HtmlHttp+"/Mobile/Payment/getPay.html?stoid="+n.getStorageID+"&order_sn="+t.data.data.orderSn+"&recharge_type=6"):(console.log(t.data.msg),uni.showToast({icon:"none",title:t.data.msg}))}})):e.cancel&&console.log("用户点击取消")}})},GetBuyIntegral:function(t,e){var n=this;uni.showModal({title:"",content:"是否确定兑换该礼包",success:function(e){e.confirm?(console.log("用户点击确定"),console.log(n.$GetInfo.ApiHttp+"/api/weshop/marketing/buy/receive/gift/record/insert"),console.log('{"actId":"","actType":"","buyType":"1","lbId":"'+t+'","storeId":"1","userId":"5682130"}'),uni.request({url:n.$GetInfo.ApiHttp+"/api/weshop/marketing/buy/receive/gift/record/insert",data:{actId:"",actType:"",buyType:"1",lbId:t,storeId:n.getStorageID,userId:n.getUserID},method:"POST",header:{"Content-Type":"application/json"},success:function(t){console.log(t.data),0==t.data.code?(console.log(t.data.msg),uni.showToast({icon:"none",title:"兑换成功!"})):(console.log(t.data.msg),uni.showToast({icon:"none",title:t.data.msg}))}})):e.cancel&&console.log("用户点击取消")}})},getList:function(){var t=this,e=this;if(0!=e.loadingType)return!1;e.loadingType=1,uni.request({url:this.$GetInfo.ApiHttp+"/api/weshop/marketing/giftbag/page",data:{storeId:this.getStorageID,userId:this.getUserID,page:this.page,pageSize:this.pageSize},method:"GET",header:{"Content-Type":"application/x-www-form-urlencoded"},success:function(e){if(0==e.data.code)if(e.data.data.total>0?t.isEmpty=!1:t.isEmpty=!0,0==e.data.data.pageData.length)t.loadingType=2;else{if(console.log(t.wareCard.length),console.log(e.data.data.pageData.length),t.wareCard.length<e.data.data.pageData.length)for(var n=0;n<e.data.data.pageData.length;n++)t.wareCard.push(e.data.data.pageData[n]);t.loadingType=0,console.log(t.wareCard)}}})}}};e.default=i},f770:function(t,e,n){"use strict";var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"top_img"},[n("v-uni-view",{staticClass:"top_img"},[n("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift00.jpg"}})],1),n("v-uni-view",{staticClass:"top_title"},[n("v-uni-view",{staticClass:"top_title_box"},[n("v-uni-text",{staticClass:"top_title_redtext"},[t._v("礼包列表")])],1),n("v-uni-view",{staticClass:"top_title_box_S"}),n("v-uni-view",{staticClass:"top_title_box"},[n("v-uni-text",{staticClass:"top_title_blacktext",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.MyGift.apply(void 0,arguments)}}},[t._v("我的礼包")])],1)],1),t._l(t.wareCard,function(e,a){return n("v-uni-view",{key:a,staticClass:"content_box"},[n("v-uni-view",{staticClass:"content_box_ware"},[n("v-uni-view",{staticClass:"content_box_img",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.GetGiftPackList(e.orderSn,e)}}},[n("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+e.lbUrl}})],1),n("v-uni-view",{staticClass:"content_box_title"},[n("v-uni-view",{staticClass:"content_ware_title"},[n("v-uni-text",{on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.GetGiftPackList(e.lbId,e)}}},[t._v(t._s(e.giftTitle))])],1),n("v-uni-view",{staticClass:"content_ware_type"},[e.payMoney>0?n("v-uni-text",[t._v("¥"+t._s(e.payMoney))]):t._e(),e.payMoney>0&&e.payIntegral>0?n("v-uni-text",[t._v("/")]):t._e(),e.payIntegral>0?n("v-uni-text",[t._v(t._s(e.payIntegral)+"积分")]):t._e()],1),n("v-uni-view",{staticClass:"content_ware_price"},[n("v-uni-text",[t._v("原价:¥"+t._s(e.giftPosPrice))])],1),n("v-uni-view",{staticClass:"content_ware_time"},[n("v-uni-text",[t._v("活动时间:"+t._s(e.endTime))])],1)],1)],1),n("v-uni-view",{staticClass:"content_box_button"},[n("v-uni-view",{staticClass:"box_button_remark"},[n("v-uni-text",[t._v("已售:"+t._s(e.giftQty)+"件")])],1),e.payMoney>0?n("v-uni-view",{staticClass:"box_button_buy"},[n("v-uni-button",{on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.GetBuyPrice(e.lbId,e)}}},[t._v("立即购买")])],1):t._e(),e.payIntegral>0?n("v-uni-view",{staticClass:"box_button_dui"},[n("v-uni-button",{on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.GetBuyIntegral(e.lbId,e)}}},[t._v("立即兑换")])],1):t._e()],1)],1)}),1==this.isEmpty?n("v-uni-view",{staticClass:"foot_empty"},[n("v-uni-view",[n("v-uni-image",{attrs:{src:"../../static/img/gift07.png"}})],1),n("v-uni-view",[n("v-uni-text",[t._v("当前暂无礼包")])],1),n("v-uni-view",{staticClass:"foot_empty_button"},[n("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.BuyGift.apply(void 0,arguments)}}},[t._v("去获取")])],1)],1):t._e(),n("v-uni-view",{staticClass:"foot_box"},[n("v-uni-text",[t._v("———— 到底了 ————")])],1)],2)},o=[];n.d(e,"a",function(){return a}),n.d(e,"b",function(){return o})}}]); | |
0 | 2 | \ No newline at end of file | ... | ... |
vip/static/js/pages-MyGiftPack-GiftPackList.55fa109e.js
0 → 100644
1 | +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-MyGiftPack-GiftPackList"],{2350:function(t,e){function i(t,e){var i=t[1]||"",o=t[3];if(!o)return i;if(e&&"function"===typeof btoa){var n=a(o),r=o.sources.map(function(t){return"/*# sourceURL="+o.sourceRoot+t+" */"});return[i].concat(r).concat([n]).join("\n")}return[i].join("\n")}function a(t){var e=btoa(unescape(encodeURIComponent(JSON.stringify(t)))),i="sourceMappingURL=data:application/json;charset=utf-8;base64,"+e;return"/*# "+i+" */"}t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var a=i(e,t);return e[2]?"@media "+e[2]+"{"+a+"}":a}).join("")},e.i=function(t,i){"string"===typeof t&&(t=[[null,t,""]]);for(var a={},o=0;o<this.length;o++){var n=this[o][0];"number"===typeof n&&(a[n]=!0)}for(o=0;o<t.length;o++){var r=t[o];"number"===typeof r[0]&&a[r[0]]||(i&&!r[2]?r[2]=i:i&&(r[2]="("+r[2]+") and ("+i+")"),e.push(r))}},e}},"4f06":function(t,e,i){"use strict";function a(t,e){for(var i=[],a={},o=0;o<e.length;o++){var n=e[o],r=n[0],s=n[1],f=n[2],d=n[3],c={id:t+":"+o,css:s,media:f,sourceMap:d};a[r]?a[r].parts.push(c):i.push(a[r]={id:r,parts:[c]})}return i}i.r(e),i.d(e,"default",function(){return p});var o="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!o)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var n={},r=o&&(document.head||document.getElementsByTagName("head")[0]),s=null,f=0,d=!1,c=function(){},u=null,l="data-vue-ssr-id",g="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function p(t,e,i,o){d=i,u=o||{};var r=a(t,e);return v(r),function(e){for(var i=[],o=0;o<r.length;o++){var s=r[o],f=n[s.id];f.refs--,i.push(f)}e?(r=a(t,e),v(r)):r=[];for(o=0;o<i.length;o++){f=i[o];if(0===f.refs){for(var d=0;d<f.parts.length;d++)f.parts[d]();delete n[f.id]}}}}function v(t){for(var e=0;e<t.length;e++){var i=t[e],a=n[i.id];if(a){a.refs++;for(var o=0;o<a.parts.length;o++)a.parts[o](i.parts[o]);for(;o<i.parts.length;o++)a.parts.push(h(i.parts[o]));a.parts.length>i.parts.length&&(a.parts.length=i.parts.length)}else{var r=[];for(o=0;o<i.parts.length;o++)r.push(h(i.parts[o]));n[i.id]={id:i.id,refs:1,parts:r}}}}function b(){var t=document.createElement("style");return t.type="text/css",r.appendChild(t),t}function h(t){var e,i,a=document.querySelector("style["+l+'~="'+t.id+'"]');if(a){if(d)return c;a.parentNode.removeChild(a)}if(g){var o=f++;a=s||(s=b()),e=_.bind(null,a,o,!1),i=_.bind(null,a,o,!0)}else a=b(),e=w.bind(null,a),i=function(){a.parentNode.removeChild(a)};return e(t),function(a){if(a){if(a.css===t.css&&a.media===t.media&&a.sourceMap===t.sourceMap)return;e(t=a)}else i()}}var m=function(){var t=[];return function(e,i){return t[e]=i,t.filter(Boolean).join("\n")}}();function _(t,e,i,a){var o=i?"":P(a.css);if(t.styleSheet)t.styleSheet.cssText=m(e,o);else{var n=document.createTextNode(o),r=t.childNodes;r[e]&&t.removeChild(r[e]),r.length?t.insertBefore(n,r[e]):t.appendChild(n)}}function w(t,e){var i=P(e.css),a=e.media,o=e.sourceMap;if(a&&t.setAttribute("media",a),u.ssrId&&t.setAttribute(l,e.id),o&&(i+="\n/*# sourceURL="+o.sources[0]+" */",i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),t.styleSheet)t.styleSheet.cssText=i;else{while(t.firstChild)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(i))}}var y=/%\?([+-]?\d+(\.\d+)?)\?%/g,x=/\.\?%PAGE\?%/g,I=/\?%PAGE\?%\[data-v-[a-z0-9]{8}\]/g,k=/uni-page-body\[data-v-[a-z0-9]{8}\]/g,G=/var\(--status-bar-height\)/gi,T=/var\(--window-top\)/gi,C=/var\(--window-bottom\)/gi;function P(t){var e=$();if(!uni.canIUse("css.var")){var i=D();t=t.replace(G,"0px").replace(T,i.top+"px").replace(C,i.bottom+"px")}return t.replace(I,e).replace(x,"").replace(k,"body."+e+" uni-page-body").replace(y,function(t,e){return uni.upx2px(e)+"px"})}function $(){var t=getApp();return t&&t.$route&&t.$route.meta&&t.$route.meta.name||""}function D(){var t=getApp();return t&&t.$route&&t.$route.meta&&t.$route.meta.name?{top:t.$route.meta.windowTop,bottom:t.$route.meta.isTabBar?50:0}:{top:0,bottom:0}}},"7dfe":function(t,e,i){var a=i("be57");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=i("4f06").default;o("63f1432a",a,!0,{sourceMap:!1,shadowMode:!1})},"916e":function(t,e,i){"use strict";i.r(e);var a=i("f0d6"),o=i.n(a);for(var n in a)"default"!==n&&function(t){i.d(e,t,function(){return a[t]})}(n);e["default"]=o.a},"91fb":function(t,e,i){"use strict";i.r(e);var a=i("dc6f"),o=i("916e");for(var n in o)"default"!==n&&function(t){i.d(e,t,function(){return o[t]})}(n);i("a459");var r=i("2877"),s=Object(r["a"])(o["default"],a["a"],a["b"],!1,null,"8f1a0df8",null);e["default"]=s.exports},a459:function(t,e,i){"use strict";var a=i("7dfe"),o=i.n(a);o.a},be57:function(t,e,i){e=t.exports=i("2350")(!1),e.push([t.i,'@charset "UTF-8";\n/*引用样式路径*/\n/* Author XGQ\r\n * 2019-12-12\r\n */.box[data-v-8f1a0df8]{-webkit-align-content:center;align-content:center}.box_top[data-v-8f1a0df8]{width:100%}.box_top uni-image[data-v-8f1a0df8]{width:100%;height:%?540?%}.box_title[data-v-8f1a0df8]{margin:%?10?% %?20?% %?20?% %?20?%;padding:%?35?%;background-color:#fff;border-radius:%?20?%}.top_title[data-v-8f1a0df8]{font-size:%?30?%;margin-bottom:%?10?%}.top_time[data-v-8f1a0df8]{font-size:%?27?%;color:#b9b5b5}.top_price[data-v-8f1a0df8]{font-size:%?35?%;color:#d61b30;margin-top:%?30?%;margin-bottom:%?5?%}.top_foot[data-v-8f1a0df8]{display:-webkit-box;display:-webkit-flex;display:flex}.top_foot_price[data-v-8f1a0df8]{font-size:%?22?%;color:#b9b5b5;width:50%;text-decoration:line-through}.top_foot_qty[data-v-8f1a0df8]{font-size:%?22?%;color:#b9b5b5;width:50%;-webkit-align-content:flex-end;align-content:flex-end;text-align:right}.box_ware[data-v-8f1a0df8]{margin:%?10?% %?20?% %?20?% %?20?%;padding:%?35?%;background-color:#fff;border-radius:%?20?%}.box_ware_title[data-v-8f1a0df8]{font-size:%?35?%;margin:%?5?% %?0?% %?30?% %?0?%}.box_ware_box[data-v-8f1a0df8]{display:-webkit-box;display:-webkit-flex;display:flex;margin:%?10?% %?0?% %?25?% %?0?%}.box_ware_img[data-v-8f1a0df8]{width:30%;height:%?180?%;border:#999 solid %?1?%}.box_ware_img uni-image[data-v-8f1a0df8]{width:100%;height:100%}.box_ware_item[data-v-8f1a0df8]{width:70%;margin-left:%?25?%;position:relative}.box_ware_item_title[data-v-8f1a0df8]{font-size:%?30?%;word-break:break-all;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.box_ware_count[data-v-8f1a0df8]{display:-webkit-box;display:-webkit-flex;display:flex}.box_ware_item_price[data-v-8f1a0df8]{font-size:%?25?%;color:#b9b5b5;position:absolute;bottom:%?60?%;left:0}.box_ware_item_qty[data-v-8f1a0df8]{font-size:%?25?%;position:absolute;bottom:%?15?%;left:0}.box_ware_code[data-v-8f1a0df8]{position:absolute;bottom:%?10?%;right:%?10?%}.box_ware_code uni-image[data-v-8f1a0df8]{width:%?60?%;height:%?60?%}.box_ware_code uni-text[data-v-8f1a0df8]{font-size:%?20?%}.foot_box[data-v-8f1a0df8]{margin:%?10?% %?20?% %?50?% %?20?%;padding:%?35?%;background-color:#fff;border-radius:%?20?%}.foot_box_title[data-v-8f1a0df8]{font-size:%?35?%;margin-bottom:%?30?%}.foot_box_remark[data-v-8f1a0df8]{font-size:%?27?%;line-height:%?40?%}.foot_empty[data-v-8f1a0df8]{height:%?90?%}.foot_button[data-v-8f1a0df8]{display:-webkit-box;display:-webkit-flex;display:flex;margin:%?20?% %?0?% %?0?% %?0?%;padding:%?25?% %?0?%;background:#fff;text-align:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;position:fixed;bottom:0;left:0;width:100%}.foot_button_left[data-v-8f1a0df8]{background:#e4010c;color:#fff;width:%?250?%;height:%?70?%;font-size:%?28?%;line-height:%?70?%;border-radius:%?30?% %?0?% %?0?% %?30?%}.foot_button_right[data-v-8f1a0df8]{background:#ffbb42;color:#fff;width:%?250?%;height:%?70?%;font-size:%?28?%;line-height:%?70?%;border-radius:%?0?% %?30?% %?30?% %?0?%}.foot_button_buy[data-v-8f1a0df8]{background:#e4010c;color:#fff;width:%?400?%;height:%?70?%;font-size:%?28?%;line-height:%?70?%;border-radius:%?30?% %?30?% %?30?% %?30?%}.foot_button_intalge[data-v-8f1a0df8]{background:#ffbb42;color:#fff;width:%?400?%;height:%?70?%;font-size:%?28?%;line-height:%?70?%;border-radius:%?30?% %?30?% %?30?% %?30?%}uni-page-body[data-v-8f1a0df8]{background-color:#e85f93}.foot_box_remark[data-v-8f1a0df8] img{width:100%}.foot_box_remark[data-v-8f1a0df8] .img{line-height:0}body.?%PAGE?%[data-v-8f1a0df8]{background-color:#e85f93}',""])},dc6f:function(t,e,i){"use strict";var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"box"},[i("v-uni-view",{staticClass:"box_top"},[i("v-uni-image",{attrs:{src:this.giftImage}})],1),i("v-uni-view",{staticClass:"box_title"},[i("v-uni-view",{staticClass:"top_title"},[i("v-uni-text",[t._v(t._s(this.giftTitle))])],1),i("v-uni-view",{staticClass:"top_time"},[i("v-uni-text",[t._v("兑换截至时间:"+t._s(this.giftDate))])],1),i("v-uni-view",{staticClass:"top_price"},[this.giftPrice>0?i("v-uni-text",[t._v("¥"+t._s(this.giftPrice))]):t._e(),this.giftPrice>0&&this.giftIntegral>0?i("v-uni-text",[t._v("/")]):t._e(),this.giftIntegral>0?i("v-uni-text",[t._v(t._s(this.giftIntegral)+"积分")]):t._e(),this.giftType>0?i("v-uni-text",[t._v(t._s(this.actTitle))]):t._e()],1),i("v-uni-view",{staticClass:"top_foot"},[i("v-uni-view",{staticClass:"top_foot_price"},[i("v-uni-text",[t._v("原价:"+t._s(this.giftPosPrice)+"元")])],1),i("v-uni-view",{staticClass:"top_foot_qty"},[i("v-uni-text",[t._v("已售:"+t._s(this.giftQty)+"件")])],1)],1)],1),i("v-uni-view",{staticClass:"box_ware"},[i("v-uni-view",{staticClass:"box_ware_title"},[i("v-uni-text",[t._v("礼包内容")])],1),t._l(t.wareCard,function(e,a){return i("v-uni-view",{key:a,staticClass:"box_ware_box"},[i("v-uni-view",{staticClass:"box_ware_img"},[1==e.lbType?i("v-uni-image",{attrs:{src:""==e.wareImage?"../../static/img/kong.png":t.$GetInfo.imgHttp+e.wareImage}}):t._e(),2==e.lbType?i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift05.png"}}):t._e(),3==e.lbType?i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift02.png"}}):t._e(),4==e.lbType?i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift03.png"}}):t._e(),5==e.lbType?i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift04.png"}}):t._e()],1),i("v-uni-view",{staticClass:"box_ware_item"},[i("v-uni-view",{staticClass:"box_ware_item_title"},[i("v-uni-text",[t._v(t._s(e.couponName))])],1),i("v-uni-view",{staticClass:"box_ware_item_price"},[i("v-uni-text")],1),i("v-uni-view",{staticClass:"box_ware_item_qty"},[i("v-uni-text",[t._v("数量:"+t._s(e.num))])],1),i("v-uni-view",{staticClass:"box_ware_code"},[0==t.isBuy&1==e.lbType?i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift06.png"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetQrCode.apply(void 0,arguments)}}}):t._e(),0==t.isBuy&2==e.lbType?i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift06.png"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetWebHttp(0)}}}):t._e(),0==t.isBuy&3==e.lbType?i("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift06.png"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetWebHttp(1)}}}):t._e(),0==t.isBuy&e.lbType>3?i("v-uni-text",[t._v("已自动到账")]):t._e()],1)],1)],1)})],2),i("v-uni-view",{staticClass:"foot_box"},[i("v-uni-view",{staticClass:"foot_box_title"},[i("v-uni-text",[t._v("活动说明")])],1),i("v-uni-view",{staticClass:"foot_box_remark",domProps:{innerHTML:t._s(this.giftRemark)}})],1),i("v-uni-view",{staticClass:"foot_empty"}),1==this.isBuy?i("v-uni-view",{staticClass:"foot_button"},[t.giftPrice>0&&t.giftIntegral>0?i("v-uni-view",{staticClass:"foot_button_left"},[i("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetBuyPrice.apply(void 0,arguments)}}},[t._v("立即购买")])],1):t._e(),t.giftPrice>0&&t.giftIntegral>0?i("v-uni-view",{staticClass:"foot_button_right"},[i("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetBuyIntegral.apply(void 0,arguments)}}},[t._v("立即兑换")])],1):t._e(),t.giftPrice>0&&t.giftIntegral<=0?i("v-uni-view",{staticClass:"foot_button_buy"},[i("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetBuyPrice.apply(void 0,arguments)}}},[t._v("立即购买")])],1):t._e(),t.giftPrice<=0&&t.giftIntegral>0?i("v-uni-view",{staticClass:"foot_button_intalge"},[i("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetBuyIntegral.apply(void 0,arguments)}}},[t._v("立即兑换")])],1):t._e()],1):t._e(),0==this.isBuy?i("v-uni-view",{staticClass:"foot_button"},[i("v-uni-view",{staticClass:"foot_button_buy"},[i("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetQrCode.apply(void 0,arguments)}}},[t._v("立即使用")])],1)],1):t._e()],1)},o=[];i.d(e,"a",function(){return a}),i.d(e,"b",function(){return o})},f0d6:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("a481");var a={data:function(){return{isBuy:0,getGiftID:"",giftImage:"",giftTitle:"",giftDate:"",giftPrice:"",giftIntegral:"",giftPosPrice:"",giftQty:"",giftRemark:"",giftType:"",actTitle:"",getUrl:"",wareCard:[]}},onLoad:function(t){this.isBuy=t.isBuy,this.getStorageID=t.stoid,this.getUserID=t.userid,this.getGiftID=t.id,console.log(this.isBuy+"||"+this.getStorageID+"||"+this.getUserID+"||"+this.getGiftID)},onShow:function(){0==this.isBuy?this.GetMyGiftList():this.GetBuyGiftList(),this.giftRemark=this.giftRemark.replace(/<p><img/gi,"<p class='img'><img")},methods:{GetBuyPrice:function(){var t=this;uni.showModal({title:"",content:"是否确定购买该礼包",success:function(e){e.confirm?(console.log("用户点击确定"),console.log(t.$GetInfo.ApiHttp+"/api/weshop/marketing/buy/receive/gift/record/insert"),console.log('{"actId":"","actType":"","buyType":"1","lbId":"'+this.getGiftID+'","storeId":"1","userId":"5682130"}'),uni.request({url:t.$GetInfo.ApiHttp+"/api/weshop/marketing/buy/receive/gift/record/insert",data:{actId:"",actType:"",buyType:"2",lbId:t.getGiftID,storeId:t.getStorageID,userId:t.getUserID},method:"POST",header:{"Content-Type":"application/json"},success:function(t){console.log(t.data),0==t.data.code?(console.log(t.data.msg),uni.showToast({icon:"none",title:"购买成功!"})):(console.log(t.data.msg),uni.showToast({icon:"none",title:t.data.msg}))}})):e.cancel&&console.log("用户点击取消")}})},GetBuyIntegral:function(){var t=this;uni.showModal({title:"",content:"是否确定兑换该礼包",success:function(e){e.confirm?(console.log("用户点击确定"),console.log(t.$GetInfo.ApiHttp+"/api/weshop/marketing/buy/receive/gift/record/insert"),console.log('{"actId":"","actType":"","buyType":"1","lbId":"'+this.getGiftID+'","storeId":"1","userId":"5682130"}'),uni.request({url:t.$GetInfo.ApiHttp+"/api/weshop/marketing/buy/receive/gift/record/insert",data:{actId:"",actType:"",buyType:"1",lbId:t.getGiftID,storeId:t.getStorageID,userId:t.getUserID},method:"POST",header:{"Content-Type":"application/json"},success:function(t){console.log(t.data),0==t.data.code?(console.log(t.data.msg),uni.showToast({icon:"none",title:"兑换成功!"})):(console.log(t.data.msg),uni.showToast({icon:"none",title:t.data.msg}))}})):e.cancel&&console.log("用户点击取消")}})},GetMyGiftList:function(){var t=this;uni.request({url:this.$GetInfo.ApiHttp+"/api/weshop/marketing/my/giftbag/detail/get",data:{storeId:this.getStorageID,userId:this.getUserID,orderSn:this.getGiftID},method:"GET",header:{"Content-Type":"application/x-www-form-urlencoded"},success:function(e){console.log(e.data),t.giftImage=t.$GetInfo.imgHttp+e.data.data.lbUrl,t.giftTitle=e.data.data.giftTitle,""==e.data.data.giftRemark?t.giftRemark="暂无详情......":t.giftRemark=e.data.data.giftRemark,t.giftDate=e.data.data.endTime,t.giftPosPrice=e.data.data.giftPosPrice,t.giftQty=e.data.data.giftQty,t.giftIntegral=e.data.data.payIntegral,t.giftPrice=e.data.data.payMoney,t.giftType=e.data.data.actType,t.actTitle=e.data.data.actTitle,t.wareCard=e.data.data.wareCard,console.log(e.data.actImg)}})},GetBuyGiftList:function(){var t=this;uni.request({url:this.$GetInfo.ApiHttp+"/api/weshop/marketing/giftbag/detail/get",data:{storeId:this.getStorageID,userId:this.getUserID,giftBagId:this.getGiftID},method:"GET",header:{"Content-Type":"application/x-www-form-urlencoded"},success:function(e){console.log(e.data),t.giftImage=t.$GetInfo.imgHttp+e.data.data.lbUrl,t.giftTitle=e.data.data.giftTitle,""==e.data.data.giftRemark?t.giftRemark="暂无详情......":t.giftRemark=e.data.data.giftRemark,t.giftDate=e.data.data.endTime,t.giftPosPrice=e.data.data.giftPosPrice,t.giftQty=e.data.data.giftQty,t.giftIntegral=e.data.data.payIntegral,t.giftPrice=e.data.data.payMoney,t.giftType=e.data.data.actType,t.actTitle=e.data.data.actTitle,t.wareCard=e.data.data.wareCard,console.log(e.data.actImg)}})},GetQrCode:function(){uni.navigateTo({url:"/pages/MyGiftPack/QrCode?number="+this.getGiftID})},GetWebHttp:function(t){0==t&&(this.getUrl=this.$GetInfo.HtmlHttp+"/index.php/Mobile/User/coupon/stoid/"+this.getStorageID+"/user_id/"+this.getUserID+".html"),1==t&&(this.getUrl=this.$GetInfo.HtmlHttp+"/index.php/Mobile/Yyservice/service_items_list/stoid/"+this.getStorageID+"/user_id/"+this.getUserID+".html"),window.location.href=this.getUrl}}};e.default=a}}]); | |
0 | 2 | \ No newline at end of file | ... | ... |
vip/static/js/pages-MyGiftPack-GiftPackList.6ff2b99f.js deleted
1 | -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-MyGiftPack-GiftPackList"],{1566:function(t,e,i){e=t.exports=i("2350")(!1),e.push([t.i,'@charset "UTF-8";\n/*引用样式路径*/\n/* Author XGQ\r\n * 2019-12-12\r\n */.box[data-v-c551661e]{-webkit-align-content:center;align-content:center}.box_top[data-v-c551661e]{width:100%}.box_top uni-image[data-v-c551661e]{width:100%;height:%?540?%}.box_title[data-v-c551661e]{margin:%?10?% %?20?% %?20?% %?20?%;padding:%?35?%;background-color:#fff;border-radius:%?20?%}.top_title[data-v-c551661e]{font-size:%?30?%;margin-bottom:%?10?%}.top_time[data-v-c551661e]{font-size:%?27?%;color:#b9b5b5}.top_price[data-v-c551661e]{font-size:%?35?%;color:#d61b30;margin-top:%?30?%;margin-bottom:%?5?%}.top_foot[data-v-c551661e]{display:-webkit-box;display:-webkit-flex;display:flex}.top_foot_price[data-v-c551661e]{font-size:%?22?%;color:#b9b5b5;width:50%;text-decoration:line-through}.top_foot_qty[data-v-c551661e]{font-size:%?22?%;color:#b9b5b5;width:50%;-webkit-align-content:flex-end;align-content:flex-end;text-align:right}.box_ware[data-v-c551661e]{margin:%?10?% %?20?% %?20?% %?20?%;padding:%?35?%;background-color:#fff;border-radius:%?20?%}.box_ware_title[data-v-c551661e]{font-size:%?35?%;margin:%?5?% %?0?% %?30?% %?0?%}.box_ware_box[data-v-c551661e]{display:-webkit-box;display:-webkit-flex;display:flex;margin:%?10?% %?0?% %?25?% %?0?%}.box_ware_img[data-v-c551661e]{width:30%;border:#999 solid %?1?%}.box_ware_img uni-image[data-v-c551661e]{width:100%;height:%?170?%}.box_ware_item[data-v-c551661e]{width:70%;margin-left:%?25?%;position:relative}.box_ware_item_title[data-v-c551661e]{font-size:%?30?%;word-break:break-all;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.box_ware_count[data-v-c551661e]{display:-webkit-box;display:-webkit-flex;display:flex}.box_ware_item_price[data-v-c551661e]{font-size:%?25?%;color:#b9b5b5;position:absolute;bottom:%?60?%;left:0}.box_ware_item_qty[data-v-c551661e]{font-size:%?25?%;position:absolute;bottom:%?20?%;left:0}.box_ware_code[data-v-c551661e]{position:absolute;bottom:%?10?%;right:%?10?%}.box_ware_code uni-image[data-v-c551661e]{width:%?60?%;height:%?60?%}.foot_box[data-v-c551661e]{margin:%?10?% %?20?% %?50?% %?20?%;padding:%?35?%;background-color:#fff;border-radius:%?20?%}.foot_box_title[data-v-c551661e]{font-size:%?35?%;margin-bottom:%?30?%}.foot_box_remark[data-v-c551661e]{font-size:%?27?%;line-height:%?40?%}.foot_empty[data-v-c551661e]{height:%?90?%}.foot_button[data-v-c551661e]{display:-webkit-box;display:-webkit-flex;display:flex;margin:%?20?% %?0?% %?0?% %?0?%;padding:%?25?% %?0?%;background:#fff;text-align:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;position:fixed;bottom:0;left:0;width:100%}.foot_button_left[data-v-c551661e]{background:#e4010c;color:#fff;width:%?250?%;height:%?70?%;font-size:%?28?%;line-height:%?70?%;border-radius:%?30?% %?0?% %?0?% %?30?%}.foot_button_right[data-v-c551661e]{background:#ffbb42;color:#fff;width:%?250?%;height:%?70?%;font-size:%?28?%;line-height:%?70?%;border-radius:%?0?% %?30?% %?30?% %?0?%}.foot_button_buy[data-v-c551661e]{background:#e4010c;color:#fff;width:%?400?%;height:%?70?%;font-size:%?28?%;line-height:%?70?%;border-radius:%?30?% %?30?% %?30?% %?30?%}.foot_button_intalge[data-v-c551661e]{background:#ffbb42;color:#fff;width:%?400?%;height:%?70?%;font-size:%?28?%;line-height:%?70?%;border-radius:%?30?% %?30?% %?30?% %?30?%}uni-page-body[data-v-c551661e]{background-color:#e85f93}.foot_box_remark[data-v-c551661e] img{width:100%}.foot_box_remark[data-v-c551661e] .img{line-height:0}body.?%PAGE?%[data-v-c551661e]{background-color:#e85f93}',""])},2350:function(t,e){function i(t,e){var i=t[1]||"",o=t[3];if(!o)return i;if(e&&"function"===typeof btoa){var n=a(o),r=o.sources.map(function(t){return"/*# sourceURL="+o.sourceRoot+t+" */"});return[i].concat(r).concat([n]).join("\n")}return[i].join("\n")}function a(t){var e=btoa(unescape(encodeURIComponent(JSON.stringify(t)))),i="sourceMappingURL=data:application/json;charset=utf-8;base64,"+e;return"/*# "+i+" */"}t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var a=i(e,t);return e[2]?"@media "+e[2]+"{"+a+"}":a}).join("")},e.i=function(t,i){"string"===typeof t&&(t=[[null,t,""]]);for(var a={},o=0;o<this.length;o++){var n=this[o][0];"number"===typeof n&&(a[n]=!0)}for(o=0;o<t.length;o++){var r=t[o];"number"===typeof r[0]&&a[r[0]]||(i&&!r[2]?r[2]=i:i&&(r[2]="("+r[2]+") and ("+i+")"),e.push(r))}},e}},"4f06":function(t,e,i){"use strict";function a(t,e){for(var i=[],a={},o=0;o<e.length;o++){var n=e[o],r=n[0],s=n[1],c=n[2],d=n[3],u={id:t+":"+o,css:s,media:c,sourceMap:d};a[r]?a[r].parts.push(u):i.push(a[r]={id:r,parts:[u]})}return i}i.r(e),i.d(e,"default",function(){return p});var o="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!o)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var n={},r=o&&(document.head||document.getElementsByTagName("head")[0]),s=null,c=0,d=!1,u=function(){},l=null,f="data-vue-ssr-id",g="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function p(t,e,i,o){d=i,l=o||{};var r=a(t,e);return v(r),function(e){for(var i=[],o=0;o<r.length;o++){var s=r[o],c=n[s.id];c.refs--,i.push(c)}e?(r=a(t,e),v(r)):r=[];for(o=0;o<i.length;o++){c=i[o];if(0===c.refs){for(var d=0;d<c.parts.length;d++)c.parts[d]();delete n[c.id]}}}}function v(t){for(var e=0;e<t.length;e++){var i=t[e],a=n[i.id];if(a){a.refs++;for(var o=0;o<a.parts.length;o++)a.parts[o](i.parts[o]);for(;o<i.parts.length;o++)a.parts.push(h(i.parts[o]));a.parts.length>i.parts.length&&(a.parts.length=i.parts.length)}else{var r=[];for(o=0;o<i.parts.length;o++)r.push(h(i.parts[o]));n[i.id]={id:i.id,refs:1,parts:r}}}}function b(){var t=document.createElement("style");return t.type="text/css",r.appendChild(t),t}function h(t){var e,i,a=document.querySelector("style["+f+'~="'+t.id+'"]');if(a){if(d)return u;a.parentNode.removeChild(a)}if(g){var o=c++;a=s||(s=b()),e=_.bind(null,a,o,!1),i=_.bind(null,a,o,!0)}else a=b(),e=w.bind(null,a),i=function(){a.parentNode.removeChild(a)};return e(t),function(a){if(a){if(a.css===t.css&&a.media===t.media&&a.sourceMap===t.sourceMap)return;e(t=a)}else i()}}var m=function(){var t=[];return function(e,i){return t[e]=i,t.filter(Boolean).join("\n")}}();function _(t,e,i,a){var o=i?"":P(a.css);if(t.styleSheet)t.styleSheet.cssText=m(e,o);else{var n=document.createTextNode(o),r=t.childNodes;r[e]&&t.removeChild(r[e]),r.length?t.insertBefore(n,r[e]):t.appendChild(n)}}function w(t,e){var i=P(e.css),a=e.media,o=e.sourceMap;if(a&&t.setAttribute("media",a),l.ssrId&&t.setAttribute(f,e.id),o&&(i+="\n/*# sourceURL="+o.sources[0]+" */",i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),t.styleSheet)t.styleSheet.cssText=i;else{while(t.firstChild)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(i))}}var y=/%\?([+-]?\d+(\.\d+)?)\?%/g,x=/\.\?%PAGE\?%/g,I=/\?%PAGE\?%\[data-v-[a-z0-9]{8}\]/g,k=/uni-page-body\[data-v-[a-z0-9]{8}\]/g,T=/var\(--status-bar-height\)/gi,C=/var\(--window-top\)/gi,G=/var\(--window-bottom\)/gi;function P(t){var e=D();if(!uni.canIUse("css.var")){var i=$();t=t.replace(T,"0px").replace(C,i.top+"px").replace(G,i.bottom+"px")}return t.replace(I,e).replace(x,"").replace(k,"body."+e+" uni-page-body").replace(y,function(t,e){return uni.upx2px(e)+"px"})}function D(){var t=getApp();return t&&t.$route&&t.$route.meta&&t.$route.meta.name||""}function $(){var t=getApp();return t&&t.$route&&t.$route.meta&&t.$route.meta.name?{top:t.$route.meta.windowTop,bottom:t.$route.meta.isTabBar?50:0}:{top:0,bottom:0}}},"699b":function(t,e,i){"use strict";var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"box"},[i("v-uni-view",{staticClass:"box_top"},[i("v-uni-image",{attrs:{src:this.giftImage}})],1),i("v-uni-view",{staticClass:"box_title"},[i("v-uni-view",{staticClass:"top_title"},[i("v-uni-text",[t._v(t._s(this.giftTitle))])],1),i("v-uni-view",{staticClass:"top_time"},[i("v-uni-text",[t._v("兑换截至时间:"+t._s(this.giftDate))])],1),i("v-uni-view",{staticClass:"top_price"},[this.giftPrice>0?i("v-uni-text",[t._v("¥"+t._s(this.giftPrice))]):t._e(),this.giftPrice>0&&this.giftIntegral>0?i("v-uni-text",[t._v("/")]):t._e(),this.giftIntegral>0?i("v-uni-text",[t._v(t._s(this.giftIntegral)+"积分")]):t._e(),this.giftType>0?i("v-uni-text",[t._v(t._s(this.actTitle))]):t._e()],1),i("v-uni-view",{staticClass:"top_foot"},[i("v-uni-view",{staticClass:"top_foot_price"},[i("v-uni-text",[t._v("原价:"+t._s(this.giftPosPrice)+"元")])],1),i("v-uni-view",{staticClass:"top_foot_qty"},[i("v-uni-text",[t._v("已售:"+t._s(this.giftQty)+"件")])],1)],1)],1),i("v-uni-view",{staticClass:"box_ware"},[i("v-uni-view",{staticClass:"box_ware_title"},[i("v-uni-text",[t._v("礼包内容")])],1),t._l(t.wareCard,function(e,a){return i("v-uni-view",{key:a,staticClass:"box_ware_box"},[i("v-uni-view",{staticClass:"box_ware_img"},[1==e.lbType?i("v-uni-image",{attrs:{src:""==e.wareImage?"../../static/img/card03.jpg":t.$GetInfo.imgHttp+e.wareImage}}):t._e(),2==e.lbType?i("v-uni-image",{attrs:{src:"../../static/img/lbTupe2.png"}}):t._e(),e.lbType>2?i("v-uni-image",{attrs:{src:"../../static/img/card02.jpg"}}):t._e()],1),i("v-uni-view",{staticClass:"box_ware_item"},[i("v-uni-view",{staticClass:"box_ware_item_title"},[i("v-uni-text",[t._v(t._s(e.couponName))])],1),i("v-uni-view",{staticClass:"box_ware_item_price"},[i("v-uni-text")],1),i("v-uni-view",{staticClass:"box_ware_item_qty"},[i("v-uni-text",[t._v("数量:"+t._s(e.num))])],1),i("v-uni-view",{staticClass:"box_ware_code"},[0==t.isBuy&1==e.lbType?i("v-uni-image",{attrs:{src:"../../static/img/code1.png"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetQrCode.apply(void 0,arguments)}}}):t._e(),0==t.isBuy&2==e.lbType?i("v-uni-image",{attrs:{src:"../../static/img/code1.png"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetWebHttp(0)}}}):t._e(),0==t.isBuy&3==e.lbType?i("v-uni-image",{attrs:{src:"../../static/img/code1.png"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetWebHttp(1)}}}):t._e()],1)],1)],1)})],2),i("v-uni-view",{staticClass:"foot_box"},[i("v-uni-view",{staticClass:"foot_box_title"},[i("v-uni-text",[t._v("活动说明")])],1),i("v-uni-view",{staticClass:"foot_box_remark",domProps:{innerHTML:t._s(this.giftRemark)}})],1),i("v-uni-view",{staticClass:"foot_empty"}),1==this.isBuy?i("v-uni-view",{staticClass:"foot_button"},[t.giftPrice>0&&t.giftIntegral>0?i("v-uni-view",{staticClass:"foot_button_left"},[i("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetBuyPrice.apply(void 0,arguments)}}},[t._v("立即购买")])],1):t._e(),t.giftPrice>0&&t.giftIntegral>0?i("v-uni-view",{staticClass:"foot_button_right"},[i("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetBuyIntegral.apply(void 0,arguments)}}},[t._v("立即兑换")])],1):t._e(),t.giftPrice>0&&t.giftIntegral<=0?i("v-uni-view",{staticClass:"foot_button_buy"},[i("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetBuyPrice.apply(void 0,arguments)}}},[t._v("立即购买")])],1):t._e(),t.giftPrice<=0&&t.giftIntegral>0?i("v-uni-view",{staticClass:"foot_button_intalge"},[i("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetBuyIntegral.apply(void 0,arguments)}}},[t._v("立即兑换")])],1):t._e()],1):t._e(),0==this.isBuy?i("v-uni-view",{staticClass:"foot_button"},[i("v-uni-view",{staticClass:"foot_button_buy"},[i("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.GetQrCode.apply(void 0,arguments)}}},[t._v("立即使用")])],1)],1):t._e()],1)},o=[];i.d(e,"a",function(){return a}),i.d(e,"b",function(){return o})},7022:function(t,e,i){"use strict";var a=i("abdc"),o=i.n(a);o.a},"916e":function(t,e,i){"use strict";i.r(e);var a=i("f0d6"),o=i.n(a);for(var n in a)"default"!==n&&function(t){i.d(e,t,function(){return a[t]})}(n);e["default"]=o.a},"91fb":function(t,e,i){"use strict";i.r(e);var a=i("699b"),o=i("916e");for(var n in o)"default"!==n&&function(t){i.d(e,t,function(){return o[t]})}(n);i("7022");var r=i("2877"),s=Object(r["a"])(o["default"],a["a"],a["b"],!1,null,"c551661e",null);e["default"]=s.exports},abdc:function(t,e,i){var a=i("1566");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=i("4f06").default;o("50b4eb68",a,!0,{sourceMap:!1,shadowMode:!1})},f0d6:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("a481");var a={data:function(){return{isBuy:0,getGiftID:"",giftImage:"",giftTitle:"",giftDate:"",giftPrice:"",giftIntegral:"",giftPosPrice:"",giftQty:"",giftRemark:"",giftType:"",actTitle:"",wareCard:[]}},onLoad:function(t){this.isBuy=t.isBuy,this.getStorageID=t.stoid,this.getUserID=t.userid,this.getGiftID=t.id,console.log(this.isBuy+"||"+this.getStorageID+"||"+this.getUserID+"||"+this.getGiftID)},onShow:function(){0==this.isBuy?this.GetMyGiftList():this.GetBuyGiftList(),this.giftRemark=this.giftRemark.replace(/<p><img/gi,"<p class='img'><img")},methods:{GetBuyPrice:function(){var t=this;uni.showModal({title:"",content:"是否确定购买该礼包",success:function(e){e.confirm?(console.log("用户点击确定"),console.log(t.$GetInfo.ApiHttp+"/api/weshop/marketing/buy/receive/gift/record/insert"),console.log('{"actId":"","actType":"","buyType":"1","lbId":"'+this.getGiftID+'","storeId":"1","userId":"5682130"}'),uni.request({url:t.$GetInfo.ApiHttp+"/api/weshop/marketing/buy/receive/gift/record/insert",data:{actId:"",actType:"",buyType:"2",lbId:t.getGiftID,storeId:t.getStorageID,userId:t.getUserID},method:"POST",header:{"Content-Type":"application/json"},success:function(t){console.log(t.data),0==t.data.code?(console.log(t.data.msg),uni.showToast({icon:"none",title:"购买成功!"})):(console.log(t.data.msg),uni.showToast({icon:"none",title:t.data.msg}))}})):e.cancel&&console.log("用户点击取消")}})},GetBuyIntegral:function(){var t=this;uni.showModal({title:"",content:"是否确定兑换该礼包",success:function(e){e.confirm?(console.log("用户点击确定"),console.log(t.$GetInfo.ApiHttp+"/api/weshop/marketing/buy/receive/gift/record/insert"),console.log('{"actId":"","actType":"","buyType":"1","lbId":"'+this.getGiftID+'","storeId":"1","userId":"5682130"}'),uni.request({url:t.$GetInfo.ApiHttp+"/api/weshop/marketing/buy/receive/gift/record/insert",data:{actId:"",actType:"",buyType:"1",lbId:t.getGiftID,storeId:t.getStorageID,userId:t.getUserID},method:"POST",header:{"Content-Type":"application/json"},success:function(t){console.log(t.data),0==t.data.code?(console.log(t.data.msg),uni.showToast({icon:"none",title:"兑换成功!"})):(console.log(t.data.msg),uni.showToast({icon:"none",title:t.data.msg}))}})):e.cancel&&console.log("用户点击取消")}})},GetMyGiftList:function(){var t=this;uni.request({url:this.$GetInfo.ApiHttp+"/api/weshop/marketing/my/giftbag/detail/get",data:{storeId:this.getStorageID,userId:this.getUserID,orderSn:this.getGiftID,page:this.page,pageSize:this.pageSize},method:"GET",header:{"Content-Type":"application/x-www-form-urlencoded"},success:function(e){console.log(e.data),t.giftImage=t.$GetInfo.imgHttp+e.data.data.lbUrl,t.giftTitle=e.data.data.giftTitle,""==e.data.data.giftRemark?t.giftRemark="暂无详情......":t.giftRemark=e.data.data.giftRemark,t.giftDate=e.data.data.endTime,t.giftPosPrice=e.data.data.giftPosPrice,t.giftQty=e.data.data.giftQty,t.giftIntegral=e.data.data.payIntegral,t.giftPrice=e.data.data.payMoney,t.giftType=e.data.data.actType,t.actTitle=e.data.data.actTitle,t.wareCard=e.data.data.wareCard,console.log(e.data.actImg)}})},GetBuyGiftList:function(){var t=this;uni.request({url:this.$GetInfo.ApiHttp+"/api/weshop/marketing/giftbag/detail/get",data:{storeId:this.getStorageID,userId:this.getUserID,giftBagId:this.getGiftID,page:this.page,pageSize:this.pageSize},method:"GET",header:{"Content-Type":"application/x-www-form-urlencoded"},success:function(e){console.log(e.data),t.giftImage=t.$GetInfo.imgHttp+e.data.data.lbUrl,t.giftTitle=e.data.data.giftTitle,""==e.data.data.giftRemark?t.giftRemark="暂无详情......":t.giftRemark=e.data.data.giftRemark,t.giftDate=e.data.data.endTime,t.giftPosPrice=e.data.data.giftPosPrice,t.giftQty=e.data.data.giftQty,t.giftIntegral=e.data.data.payIntegral,t.giftPrice=e.data.data.payMoney,t.giftType=e.data.data.actType,t.actTitle=e.data.data.actTitle,t.wareCard=e.data.data.wareCard,console.log(e.data.actImg)}})},GetQrCode:function(){uni.navigateTo({url:"/pages/MyGiftPack/QrCode?number="+this.getGiftID})},GetWebHttp:function(t){uni.navigateTo({url:"/pages/MyGiftPack/OutWeb?type="+t+"&sto="+this.getStorageID+"&user="+this.getUserID})}}};e.default=a}}]); | |
2 | 0 | \ No newline at end of file |
vip/static/js/pages-MyGiftPack-MyGiftPack.14c99dbb.js
0 → 100644
1 | +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-MyGiftPack-MyGiftPack"],{"0a83":function(t,e,a){var n=a("8af0");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("4f06").default;i("1db09160",n,!0,{sourceMap:!1,shadowMode:!1})},2350:function(t,e){function a(t,e){var a=t[1]||"",i=t[3];if(!i)return a;if(e&&"function"===typeof btoa){var o=n(i),r=i.sources.map(function(t){return"/*# sourceURL="+i.sourceRoot+t+" */"});return[a].concat(r).concat([o]).join("\n")}return[a].join("\n")}function n(t){var e=btoa(unescape(encodeURIComponent(JSON.stringify(t)))),a="sourceMappingURL=data:application/json;charset=utf-8;base64,"+e;return"/*# "+a+" */"}t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var n=a(e,t);return e[2]?"@media "+e[2]+"{"+n+"}":n}).join("")},e.i=function(t,a){"string"===typeof t&&(t=[[null,t,""]]);for(var n={},i=0;i<this.length;i++){var o=this[i][0];"number"===typeof o&&(n[o]=!0)}for(i=0;i<t.length;i++){var r=t[i];"number"===typeof r[0]&&n[r[0]]||(a&&!r[2]?r[2]=a:a&&(r[2]="("+r[2]+") and ("+a+")"),e.push(r))}},e}},"32c1":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={name:"uLi-load-more",props:{status:{type:String,default:"loading"},showIcon:{type:Boolean,default:!0},color:{type:String,default:"#777777"},contentText:{type:Object,default:function(){return{contentdown:"上拉显示更多",contentrefresh:"正在加载...",contentnomore:"没有更多数据了"}}}},data:function(){return{}}};e.default=n},"3a9c":function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"uni-load-more"},["loading"===t.status&&t.showIcon?a("v-uni-view",{staticClass:"uni-load-more__img"},[a("v-uni-view",{staticClass:"loadingView",style:{color:t.color}},[t._v("")])],1):t._e(),a("v-uni-text",{staticClass:"uni-load-more__text",style:{color:t.color}},[t._v(t._s("more"===t.status?t.contentText.contentdown:"loading"===t.status?t.contentText.contentrefresh:t.contentText.contentnomore))])],1)},i=[];a.d(e,"a",function(){return n}),a.d(e,"b",function(){return i})},"4f06":function(t,e,a){"use strict";function n(t,e){for(var a=[],n={},i=0;i<e.length;i++){var o=e[i],r=o[0],c=o[1],s=o[2],u=o[3],l={id:t+":"+i,css:c,media:s,sourceMap:u};n[r]?n[r].parts.push(l):a.push(n[r]={id:r,parts:[l]})}return a}a.r(e),a.d(e,"default",function(){return g});var i="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!i)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var o={},r=i&&(document.head||document.getElementsByTagName("head")[0]),c=null,s=0,u=!1,l=function(){},d=null,f="data-vue-ssr-id",b="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function g(t,e,a,i){u=a,d=i||{};var r=n(t,e);return p(r),function(e){for(var a=[],i=0;i<r.length;i++){var c=r[i],s=o[c.id];s.refs--,a.push(s)}e?(r=n(t,e),p(r)):r=[];for(i=0;i<a.length;i++){s=a[i];if(0===s.refs){for(var u=0;u<s.parts.length;u++)s.parts[u]();delete o[s.id]}}}}function p(t){for(var e=0;e<t.length;e++){var a=t[e],n=o[a.id];if(n){n.refs++;for(var i=0;i<n.parts.length;i++)n.parts[i](a.parts[i]);for(;i<a.parts.length;i++)n.parts.push(_(a.parts[i]));n.parts.length>a.parts.length&&(n.parts.length=a.parts.length)}else{var r=[];for(i=0;i<a.parts.length;i++)r.push(_(a.parts[i]));o[a.id]={id:a.id,refs:1,parts:r}}}}function v(){var t=document.createElement("style");return t.type="text/css",r.appendChild(t),t}function _(t){var e,a,n=document.querySelector("style["+f+'~="'+t.id+'"]');if(n){if(u)return l;n.parentNode.removeChild(n)}if(b){var i=s++;n=c||(c=v()),e=h.bind(null,n,i,!1),a=h.bind(null,n,i,!0)}else n=v(),e=x.bind(null,n),a=function(){n.parentNode.removeChild(n)};return e(t),function(n){if(n){if(n.css===t.css&&n.media===t.media&&n.sourceMap===t.sourceMap)return;e(t=n)}else a()}}var m=function(){var t=[];return function(e,a){return t[e]=a,t.filter(Boolean).join("\n")}}();function h(t,e,a,n){var i=a?"":S(n.css);if(t.styleSheet)t.styleSheet.cssText=m(e,i);else{var o=document.createTextNode(i),r=t.childNodes;r[e]&&t.removeChild(r[e]),r.length?t.insertBefore(o,r[e]):t.appendChild(o)}}function x(t,e){var a=S(e.css),n=e.media,i=e.sourceMap;if(n&&t.setAttribute("media",n),d.ssrId&&t.setAttribute(f,e.id),i&&(a+="\n/*# sourceURL="+i.sources[0]+" */",a+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),t.styleSheet)t.styleSheet.cssText=a;else{while(t.firstChild)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(a))}}var w=/%\?([+-]?\d+(\.\d+)?)\?%/g,y=/\.\?%PAGE\?%/g,k=/\?%PAGE\?%\[data-v-[a-z0-9]{8}\]/g,T=/uni-page-body\[data-v-[a-z0-9]{8}\]/g,C=/var\(--status-bar-height\)/gi,D=/var\(--window-top\)/gi,G=/var\(--window-bottom\)/gi;function S(t){var e=I();if(!uni.canIUse("css.var")){var a=z();t=t.replace(C,"0px").replace(D,a.top+"px").replace(G,a.bottom+"px")}return t.replace(k,e).replace(y,"").replace(T,"body."+e+" uni-page-body").replace(w,function(t,e){return uni.upx2px(e)+"px"})}function I(){var t=getApp();return t&&t.$route&&t.$route.meta&&t.$route.meta.name||""}function z(){var t=getApp();return t&&t.$route&&t.$route.meta&&t.$route.meta.name?{top:t.$route.meta.windowTop,bottom:t.$route.meta.isTabBar?50:0}:{top:0,bottom:0}}},"57c6":function(t,e,a){"use strict";a.r(e);var n=a("945b"),i=a("f38c");for(var o in i)"default"!==o&&function(t){a.d(e,t,function(){return i[t]})}(o);a("b4ab");var r=a("2877"),c=Object(r["a"])(i["default"],n["a"],n["b"],!1,null,"ac6bab4e",null);e["default"]=c.exports},"59be":function(t,e,a){var n=a("c9af");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("4f06").default;i("05a1eaa0",n,!0,{sourceMap:!1,shadowMode:!1})},"8af0":function(t,e,a){e=t.exports=a("2350")(!1),e.push([t.i,'@font-face{font-family:iconfont;src:url(https://at.alicdn.com/t/font_1288772_8nmx02hevxl.ttf) format("truetype")}.loadingView[data-v-9a2b4550]{font-family:iconfont;line-height:1;font-size:%?40?%;-webkit-animation:rotate-data-v-9a2b4550 3s linear infinite;animation:rotate-data-v-9a2b4550 3s linear infinite}@-webkit-keyframes rotate-data-v-9a2b4550{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes rotate-data-v-9a2b4550{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.uni-load-more[data-v-9a2b4550]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;height:%?80?%;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.uni-load-more__text[data-v-9a2b4550]{font-size:%?28?%;color:#999}.uni-load-more__img[data-v-9a2b4550]{height:24px;width:24px;margin-right:10px;line-height:1;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}',""])},"8b7c":function(t,e,a){"use strict";a.r(e);var n=a("3a9c"),i=a("aea3");for(var o in i)"default"!==o&&function(t){a.d(e,t,function(){return i[t]})}(o);a("a66d");var r=a("2877"),c=Object(r["a"])(i["default"],n["a"],n["b"],!1,null,"9a2b4550",null);e["default"]=c.exports},"945b":function(t,e,a){"use strict";var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"top_img"},[a("v-uni-view",{staticClass:"top_img"},[a("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift00.jpg"}})],1),a("v-uni-view",{staticClass:"top_title"},[a("v-uni-view",{staticClass:"top_title_box"},[a("v-uni-text",{staticClass:"top_title_blacktext",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.BuyGift.apply(void 0,arguments)}}},[t._v("礼包列表")])],1),a("v-uni-view",{staticClass:"top_title_box_S"}),a("v-uni-view",{staticClass:"top_title_box"},[a("v-uni-text",{staticClass:"top_title_redtext"},[t._v("我的礼包")])],1)],1),t._l(t.wareCard,function(e,n){return a("v-uni-view",{key:n,staticClass:"content_box"},[a("v-uni-view",{staticClass:"content_box_ware"},[a("v-uni-view",{staticClass:"content_box_img",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.GetGiftPackList(e.orderSn,e)}}},[a("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+e.lbUrl}}),0!=e.actType?a("v-uni-view",{class:1==e.actType?"content_box_img_title content_box_img_ground1":2==e.actType?"content_box_img_title content_box_img_ground2":4==e.actType?"content_box_img_title content_box_img_ground3":"content_box_img_title content_box_img_ground4"},[a("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+"/miniapp/images/giftbag/gift01.png"}}),1==e.actType?a("v-uni-text",[t._v("新人有礼")]):t._e(),2==e.actType?a("v-uni-text",[t._v("评价有礼")]):t._e(),3==e.actType?a("v-uni-text",[t._v("节日营销")]):t._e(),4==e.actType?a("v-uni-text",[t._v("生日营销")]):t._e(),5==e.actType?a("v-uni-text",[t._v("助力礼包")]):t._e()],1):t._e()],1),a("v-uni-view",{staticClass:"content_box_title"},[a("v-uni-view",{staticClass:"content_ware_title"},[a("v-uni-text",{on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.GetGiftPackList(e.orderSn,e)}}},[t._v(t._s(e.giftTitle))])],1),a("v-uni-view",{staticClass:"content_ware_type"},[0==e.actType&e.payMoney>0?a("v-uni-text",[t._v("¥"+t._s(e.payMoney))]):t._e(),0==e.actType&e.payIntegral>0?a("v-uni-text",[t._v(t._s(e.payIntegral)+"积分")]):t._e(),1==e.actType?a("v-uni-text",[t._v(t._s(e.actTitle))]):t._e(),2==e.actType?a("v-uni-text",[t._v(t._s(e.actTitle))]):t._e(),3==e.actType?a("v-uni-text",[t._v(t._s(e.actTitle))]):t._e(),4==e.actType?a("v-uni-text",[t._v(t._s(e.actTitle))]):t._e(),5==e.actType?a("v-uni-text",[t._v(t._s(e.actTitle))]):t._e()],1),a("v-uni-view",{staticClass:"content_ware_price"},[a("v-uni-text",[t._v("原价:¥"+t._s(e.giftPosPrice))])],1),a("v-uni-view",{staticClass:"content_ware_time"},[t.getDate>t.DateToTime(e.starTime)?a("v-uni-text",[t._v("兑换截至日期:"+t._s(e.endTime))]):t._e(),t.getDate<t.DateToTime(e.starTime)?a("v-uni-text",[t._v("距兑换开始时间: "+t._s(e.starTime))]):t._e()],1)],1)],1),a("v-uni-view",{staticClass:"content_box_button"},[a("v-uni-button",{on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.GetGiftPackList(e.orderSn,e)}}},[t._v("立即使用")])],1)],1)}),1==this.isEmpty?a("v-uni-view",{staticClass:"foot_empty"},[a("v-uni-view",[a("v-uni-image",{attrs:{src:"../../static/img/gift07.png"}})],1),a("v-uni-view",[a("v-uni-text",[t._v("当前暂无礼包")])],1),a("v-uni-view",{staticClass:"foot_empty_button"},[a("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.BuyGift.apply(void 0,arguments)}}},[t._v("去获取")])],1)],1):t._e(),a("v-uni-view",{staticClass:"foot_box"},[a("v-uni-text",[t._v("———— 到底了 ————")])],1)],2)},i=[];a.d(e,"a",function(){return n}),a.d(e,"b",function(){return i})},a66d:function(t,e,a){"use strict";var n=a("0a83"),i=a.n(n);i.a},aea3:function(t,e,a){"use strict";a.r(e);var n=a("32c1"),i=a.n(n);for(var o in n)"default"!==o&&function(t){a.d(e,t,function(){return n[t]})}(o);e["default"]=i.a},b4ab:function(t,e,a){"use strict";var n=a("59be"),i=a.n(n);i.a},c9af:function(t,e,a){e=t.exports=a("2350")(!1),e.push([t.i,'@charset "UTF-8";\n/*引用样式路径*/\n/* Author XGQ\r\n * 2019-11-12\r\n */.top_img[data-v-ac6bab4e]{-webkit-align-content:center;align-content:center}.top_img uni-image[data-v-ac6bab4e]{width:100%;height:%?660?%}.top_title[data-v-ac6bab4e]{display:-webkit-box;display:-webkit-flex;display:flex;background-color:#fff;height:%?85?%;border-radius:%?10?% %?10?% %?0?% %?0?%;margin:%?0?% %?20?% %?0?% %?20?%;-webkit-align-content:center;align-content:center}.top_title_box[data-v-ac6bab4e]{width:49%;-webkit-align-content:center;align-content:center;text-align:center;padding:%?15?%}.top_title_box_S[data-v-ac6bab4e]{width:1%;-webkit-align-content:center;align-content:center;text-align:center;margin:%?20?% %?0?% %?20?% %?0?%;border-left:#000 solid %?3?%}.top_title_redtext[data-v-ac6bab4e]{font-size:%?30?%;color:#d61b30}.top_title_blacktext[data-v-ac6bab4e]{font-size:%?30?%;color:#000}.content_box[data-v-ac6bab4e]{background-color:#fff;height:%?375?%;margin:%?10?% %?20?% %?0?% %?20?%;border-radius:%?10?%}.content_box_ware[data-v-ac6bab4e]{border-bottom:#f5f5f5 solid %?2?%;display:-webkit-box;display:-webkit-flex;display:flex}.content_box_img[data-v-ac6bab4e]{margin:%?20?% %?20?% %?20?% %?25?%;width:35%;display:-webkit-box;display:-webkit-flex;display:flex;font-size:%?8?%;position:relative}.content_box_img uni-image[data-v-ac6bab4e]{width:100%;height:%?230?%}.content_box_img_title[data-v-ac6bab4e]{position:absolute;background:#d01119;display:-webkit-box;display:-webkit-flex;display:flex;padding:%?8?%;border-radius:%?0?% %?0?% %?10?% %?0?%}.content_box_img_ground1[data-v-ac6bab4e]{background:#fb6451}.content_box_img_ground2[data-v-ac6bab4e]{background:#ffb72d}.content_box_img_ground3[data-v-ac6bab4e]{background:#9be0e5}.content_box_img_ground4[data-v-ac6bab4e]{background:#4784ef}.content_box_img_title uni-image[data-v-ac6bab4e]{width:%?30?%;height:%?30?%}.content_box_img_title uni-text[data-v-ac6bab4e]{font-size:%?20?%;color:#fff;line-height:%?25?%;padding-top:%?5?%}.content_box_title[data-v-ac6bab4e]{width:65%;margin:%?25?% %?25?% %?10?% %?0?%;position:relative}.content_ware_title[data-v-ac6bab4e]{font-size:%?30?%;word-break:break-all;\r\n\t/*属性规定自动换行的处理方法。normal(使用浏览器默认的换行规则。),break-all(允许在单词内换行。),keep-all(只能在半角空格或连字符处换行。)*/text-overflow:ellipsis;display:-webkit-box;\r\n\t/** 对象作为伸缩盒子模型显示 **/-webkit-box-orient:vertical;\r\n\t/** 设置或检索伸缩盒对象的子元素的排列方式 **/-webkit-line-clamp:2;\r\n\t/** 显示的行数 **/overflow:hidden\r\n\t/** 隐藏超出的内容 **/}.content_ware_type[data-v-ac6bab4e]{font-size:%?28?%;color:#c61a34;margin-top:%?10?%;position:absolute;left:0;bottom:%?100?%}.content_ware_price[data-v-ac6bab4e]{font-size:%?20?%;color:#b9b5b5;margin-top:%?2?%;text-decoration:line-through;position:absolute;left:0;bottom:%?70?%}.content_ware_time[data-v-ac6bab4e]{font-size:%?25?%;color:#c61a34;margin-top:%?20?%;position:absolute;left:0;bottom:%?25?%}.content_box_button[data-v-ac6bab4e]{text-align:right;margin:%?20?% %?25?% %?20?% %?20?%}.content_box_button uni-button[data-v-ac6bab4e]{display:inline-block;width:%?160?%;height:%?50?%;font-size:%?25?%;background:#d41c34;color:#fff;line-height:%?50?%}.foot_box[data-v-ac6bab4e]{-webkit-align-content:center;align-content:center;text-align:center;margin-top:%?15?%;margin-bottom:%?50?%}.foot_box uni-text[data-v-ac6bab4e]{font-size:%?25?%;color:#fff}.foot_empty[data-v-ac6bab4e]{background-color:#fff;height:%?375?%;margin:%?10?% %?20?% %?0?% %?20?%;border-radius:%?10?%;text-align:center;padding:%?150?% %?0?% %?300?% %?0?%;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.foot_empty uni-image[data-v-ac6bab4e]{width:%?400?%;height:%?273?%}.foot_empty uni-text[data-v-ac6bab4e]{font-size:%?30?%;color:#999}.foot_empty_button[data-v-ac6bab4e]{background:#ff6363;margin:%?60?% %?230?% %?0?% %?230?%;padding:%?10?%;border-radius:%?70?%;line-height:%?40?%}.foot_empty_button uni-text[data-v-ac6bab4e]{font-size:%?28?%;color:#fff}uni-page-body[data-v-ac6bab4e]{background-color:#fb7454}body.?%PAGE?%[data-v-ac6bab4e]{background-color:#fb7454}',""])},f38c:function(t,e,a){"use strict";a.r(e);var n=a("ff12"),i=a.n(n);for(var o in n)"default"!==o&&function(t){a.d(e,t,function(){return n[t]})}(o);e["default"]=i.a},ff12:function(t,e,a){"use strict";var n=a("288e");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,a("386d"),a("4917"),a("3b2b");var i=n(a("8b7c")),o={data:function(){return{getDate:(new Date).getTime(),getStorageID:"",getUserID:"",wareCard:[],page:0,pageSize:10,isEmpty:!0,loadingType:0,contentText:{contentdown:"加载更多",contentrefresh:"加载中...",contentnomore:"已加载全部"}}},components:{uLiLoadMore:i.default},onLoad:function(t){this.getStorageID=t.stoid,this.getUserID=t.userid},onShow:function(){this.page=1,this.pageSize=10,this.loadingType=0,this.getList()},onReachBottom:function(){0==this.loadingType&&(this.page++,this.getList())},methods:{getQueryString:function(t){var e=new RegExp("(^|&)"+t+"=([^&]*)(&|$)","i"),a=window.location.search.substr(1).match(e);return null!=a?unescape(a[2]):null},BuyGift:function(){uni.reLaunch({url:"/pages/MyGiftPack/GiftPackBuy?stoid="+this.getStorageID+"&userid="+this.getUserID})},GetGiftPackList:function(t,e){uni.navigateTo({url:"/pages/MyGiftPack/GiftPackList?isBuy=0&stoid="+this.getStorageID+"&userid="+this.getUserID+"&id="+t})},getList:function(){var t=this,e=this;if(0!=e.loadingType)return!1;e.loadingType=1,uni.request({url:this.$GetInfo.ApiHttp+"/api/weshop/marketing/my/giftbag/page",data:{storeId:this.getStorageID,userId:this.getUserID,page:this.page,pageSize:this.pageSize},method:"GET",header:{"Content-Type":"application/x-www-form-urlencoded"},success:function(e){if(0==e.data.code)if(console.log(e.data.data),e.data.data.total>0?t.isEmpty=!1:t.isEmpty=!0,0==e.data.data.pageData.length)t.loadingType=2;else{if(console.log(t.wareCard.length),console.log(e.data.data.pageData.length),t.wareCard.length<e.data.data.pageData.length)for(var a=0;a<e.data.data.pageData.length;a++)t.wareCard.push(e.data.data.pageData[a]);t.loadingType=0,console.log(t.wareCard)}else console.log(e.data.msg)}})},TimeToDate:function(t){var e=new Date(1e3*t),a=e.getFullYear(),n=e.getMonth()+1;n=n<10?"0"+n:n;var i=e.getDate();i=i<10?"0"+i:i;var o=e.getHours();o=o<10?"0"+o:o;var r=e.getMinutes();r=r<10?"0"+r:r;var c=e.getSeconds();return c=c<10?"0"+c:c,a+"-"+n+"-"+i+" "+o+":"+r+":"+c},DateToTime:function(t){var e=new Date(t);return e.getTime()/1e3}}};e.default=o}}]); | |
0 | 2 | \ No newline at end of file | ... | ... |
vip/static/js/pages-MyGiftPack-MyGiftPack.556ea885.js deleted
1 | -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-MyGiftPack-MyGiftPack"],{"033d":function(t,e,n){"use strict";var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"top_img"},[n("v-uni-view",{staticClass:"top_img"},[n("v-uni-image",{attrs:{src:"../../static/img/11_01.jpg"}})],1),n("v-uni-view",{staticClass:"top_title"},[n("v-uni-view",{staticClass:"top_title_box"},[n("v-uni-text",{staticClass:"top_title_blacktext",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.BuyGift.apply(void 0,arguments)}}},[t._v("礼包列表")])],1),n("v-uni-view",{staticClass:"top_title_box_S"}),n("v-uni-view",{staticClass:"top_title_box"},[n("v-uni-text",{staticClass:"top_title_redtext"},[t._v("我的礼包")])],1)],1),t._l(t.wareCard,function(e,a){return n("v-uni-view",{key:a,staticClass:"content_box"},[n("v-uni-view",{staticClass:"content_box_ware"},[n("v-uni-view",{staticClass:"content_box_img",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.GetGiftPackList(e.orderSn,e)}}},[n("v-uni-image",{attrs:{src:t.$GetInfo.imgHttp+e.lbUrl}}),0!=e.actType?n("v-uni-view",{class:1==e.actType?"content_box_img_title content_box_img_ground1":2==e.actType?"content_box_img_title content_box_img_ground2":4==e.actType?"content_box_img_title content_box_img_ground3":"content_box_img_title content_box_img_ground4"},[n("v-uni-image",{attrs:{src:"../../static/img/gift01.png"}}),1==e.actType?n("v-uni-text",[t._v("新人有礼")]):t._e(),2==e.actType?n("v-uni-text",[t._v("评价有礼")]):t._e(),3==e.actType?n("v-uni-text",[t._v("节日营销")]):t._e(),4==e.actType?n("v-uni-text",[t._v("生日营销")]):t._e(),5==e.actType?n("v-uni-text",[t._v("助力礼包")]):t._e()],1):t._e()],1),n("v-uni-view",{staticClass:"content_box_title"},[n("v-uni-view",{staticClass:"content_ware_title"},[n("v-uni-text",{on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.GetGiftPackList(e.orderSn,e)}}},[t._v(t._s(e.giftTitle))])],1),n("v-uni-view",{staticClass:"content_ware_type"},[0==e.actType&e.payMoney>0?n("v-uni-text",[t._v("¥"+t._s(e.payMoney))]):t._e(),0==e.actType&e.payIntegral>0?n("v-uni-text",[t._v(t._s(e.payIntegral)+"积分")]):t._e(),1==e.actType?n("v-uni-text",[t._v(t._s(e.actTitle))]):t._e(),2==e.actType?n("v-uni-text",[t._v(t._s(e.actTitle))]):t._e(),3==e.actType?n("v-uni-text",[t._v(t._s(e.actTitle))]):t._e(),4==e.actType?n("v-uni-text",[t._v(t._s(e.actTitle))]):t._e(),5==e.actType?n("v-uni-text",[t._v(t._s(e.actTitle))]):t._e()],1),n("v-uni-view",{staticClass:"content_ware_price"},[n("v-uni-text",[t._v("原价:¥"+t._s(e.giftPosPrice))])],1),n("v-uni-view",{staticClass:"content_ware_time"},[n("v-uni-text",[t._v("兑换截至日期:"+t._s(e.endTime))])],1)],1)],1),n("v-uni-view",{staticClass:"content_box_button"},[n("v-uni-button",{on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.GetGiftPackList(e.orderSn,e)}}},[t._v("立即使用")])],1)],1)}),n("v-uni-view",{staticClass:"foot_box"},[n("v-uni-text",[t._v("———— 到底了 ————")])],1)],2)},i=[];n.d(e,"a",function(){return a}),n.d(e,"b",function(){return i})},"0a83":function(t,e,n){var a=n("8af0");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("4f06").default;i("1db09160",a,!0,{sourceMap:!1,shadowMode:!1})},2350:function(t,e){function n(t,e){var n=t[1]||"",i=t[3];if(!i)return n;if(e&&"function"===typeof btoa){var o=a(i),r=i.sources.map(function(t){return"/*# sourceURL="+i.sourceRoot+t+" */"});return[n].concat(r).concat([o]).join("\n")}return[n].join("\n")}function a(t){var e=btoa(unescape(encodeURIComponent(JSON.stringify(t)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,"+e;return"/*# "+n+" */"}t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var a=n(e,t);return e[2]?"@media "+e[2]+"{"+a+"}":a}).join("")},e.i=function(t,n){"string"===typeof t&&(t=[[null,t,""]]);for(var a={},i=0;i<this.length;i++){var o=this[i][0];"number"===typeof o&&(a[o]=!0)}for(i=0;i<t.length;i++){var r=t[i];"number"===typeof r[0]&&a[r[0]]||(n&&!r[2]?r[2]=n:n&&(r[2]="("+r[2]+") and ("+n+")"),e.push(r))}},e}},"32c1":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={name:"uLi-load-more",props:{status:{type:String,default:"loading"},showIcon:{type:Boolean,default:!0},color:{type:String,default:"#777777"},contentText:{type:Object,default:function(){return{contentdown:"上拉显示更多",contentrefresh:"正在加载...",contentnomore:"没有更多数据了"}}}},data:function(){return{}}};e.default=a},"3a9c":function(t,e,n){"use strict";var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"uni-load-more"},["loading"===t.status&&t.showIcon?n("v-uni-view",{staticClass:"uni-load-more__img"},[n("v-uni-view",{staticClass:"loadingView",style:{color:t.color}},[t._v("")])],1):t._e(),n("v-uni-text",{staticClass:"uni-load-more__text",style:{color:t.color}},[t._v(t._s("more"===t.status?t.contentText.contentdown:"loading"===t.status?t.contentText.contentrefresh:t.contentText.contentnomore))])],1)},i=[];n.d(e,"a",function(){return a}),n.d(e,"b",function(){return i})},"4f06":function(t,e,n){"use strict";function a(t,e){for(var n=[],a={},i=0;i<e.length;i++){var o=e[i],r=o[0],c=o[1],s=o[2],u=o[3],l={id:t+":"+i,css:c,media:s,sourceMap:u};a[r]?a[r].parts.push(l):n.push(a[r]={id:r,parts:[l]})}return n}n.r(e),n.d(e,"default",function(){return b});var i="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!i)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var o={},r=i&&(document.head||document.getElementsByTagName("head")[0]),c=null,s=0,u=!1,l=function(){},d=null,f="data-vue-ssr-id",p="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function b(t,e,n,i){u=n,d=i||{};var r=a(t,e);return g(r),function(e){for(var n=[],i=0;i<r.length;i++){var c=r[i],s=o[c.id];s.refs--,n.push(s)}e?(r=a(t,e),g(r)):r=[];for(i=0;i<n.length;i++){s=n[i];if(0===s.refs){for(var u=0;u<s.parts.length;u++)s.parts[u]();delete o[s.id]}}}}function g(t){for(var e=0;e<t.length;e++){var n=t[e],a=o[n.id];if(a){a.refs++;for(var i=0;i<a.parts.length;i++)a.parts[i](n.parts[i]);for(;i<n.parts.length;i++)a.parts.push(_(n.parts[i]));a.parts.length>n.parts.length&&(a.parts.length=n.parts.length)}else{var r=[];for(i=0;i<n.parts.length;i++)r.push(_(n.parts[i]));o[n.id]={id:n.id,refs:1,parts:r}}}}function v(){var t=document.createElement("style");return t.type="text/css",r.appendChild(t),t}function _(t){var e,n,a=document.querySelector("style["+f+'~="'+t.id+'"]');if(a){if(u)return l;a.parentNode.removeChild(a)}if(p){var i=s++;a=c||(c=v()),e=h.bind(null,a,i,!1),n=h.bind(null,a,i,!0)}else a=v(),e=x.bind(null,a),n=function(){a.parentNode.removeChild(a)};return e(t),function(a){if(a){if(a.css===t.css&&a.media===t.media&&a.sourceMap===t.sourceMap)return;e(t=a)}else n()}}var m=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}();function h(t,e,n,a){var i=n?"":z(a.css);if(t.styleSheet)t.styleSheet.cssText=m(e,i);else{var o=document.createTextNode(i),r=t.childNodes;r[e]&&t.removeChild(r[e]),r.length?t.insertBefore(o,r[e]):t.appendChild(o)}}function x(t,e){var n=z(e.css),a=e.media,i=e.sourceMap;if(a&&t.setAttribute("media",a),d.ssrId&&t.setAttribute(f,e.id),i&&(n+="\n/*# sourceURL="+i.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{while(t.firstChild)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}var w=/%\?([+-]?\d+(\.\d+)?)\?%/g,y=/\.\?%PAGE\?%/g,k=/\?%PAGE\?%\[data-v-[a-z0-9]{8}\]/g,T=/uni-page-body\[data-v-[a-z0-9]{8}\]/g,C=/var\(--status-bar-height\)/gi,G=/var\(--window-top\)/gi,S=/var\(--window-bottom\)/gi;function z(t){var e=M();if(!uni.canIUse("css.var")){var n=I();t=t.replace(C,"0px").replace(G,n.top+"px").replace(S,n.bottom+"px")}return t.replace(k,e).replace(y,"").replace(T,"body."+e+" uni-page-body").replace(w,function(t,e){return uni.upx2px(e)+"px"})}function M(){var t=getApp();return t&&t.$route&&t.$route.meta&&t.$route.meta.name||""}function I(){var t=getApp();return t&&t.$route&&t.$route.meta&&t.$route.meta.name?{top:t.$route.meta.windowTop,bottom:t.$route.meta.isTabBar?50:0}:{top:0,bottom:0}}},"57c6":function(t,e,n){"use strict";n.r(e);var a=n("033d"),i=n("f38c");for(var o in i)"default"!==o&&function(t){n.d(e,t,function(){return i[t]})}(o);n("80d0");var r=n("2877"),c=Object(r["a"])(i["default"],a["a"],a["b"],!1,null,"be37c984",null);e["default"]=c.exports},"5a80":function(t,e,n){var a=n("9f99");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("4f06").default;i("1c890b2e",a,!0,{sourceMap:!1,shadowMode:!1})},"80d0":function(t,e,n){"use strict";var a=n("5a80"),i=n.n(a);i.a},"8af0":function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,'@font-face{font-family:iconfont;src:url(https://at.alicdn.com/t/font_1288772_8nmx02hevxl.ttf) format("truetype")}.loadingView[data-v-9a2b4550]{font-family:iconfont;line-height:1;font-size:%?40?%;-webkit-animation:rotate-data-v-9a2b4550 3s linear infinite;animation:rotate-data-v-9a2b4550 3s linear infinite}@-webkit-keyframes rotate-data-v-9a2b4550{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes rotate-data-v-9a2b4550{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.uni-load-more[data-v-9a2b4550]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;height:%?80?%;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}.uni-load-more__text[data-v-9a2b4550]{font-size:%?28?%;color:#999}.uni-load-more__img[data-v-9a2b4550]{height:24px;width:24px;margin-right:10px;line-height:1;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center}',""])},"8b7c":function(t,e,n){"use strict";n.r(e);var a=n("3a9c"),i=n("aea3");for(var o in i)"default"!==o&&function(t){n.d(e,t,function(){return i[t]})}(o);n("a66d");var r=n("2877"),c=Object(r["a"])(i["default"],a["a"],a["b"],!1,null,"9a2b4550",null);e["default"]=c.exports},"9f99":function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,'@charset "UTF-8";\n/*引用样式路径*/\n/* Author XGQ\r\n * 2019-11-12\r\n */uni-page-body[data-v-be37c984]{background-color:#fb7454}.top_img[data-v-be37c984]{-webkit-align-content:center;align-content:center}.top_img uni-image[data-v-be37c984]{width:100%;height:%?660?%}.top_title[data-v-be37c984]{display:-webkit-box;display:-webkit-flex;display:flex;background-color:#fff;height:%?85?%;border-radius:%?10?% %?10?% %?0?% %?0?%;margin:%?0?% %?20?% %?0?% %?20?%;-webkit-align-content:center;align-content:center}.top_title_box[data-v-be37c984]{width:49%;-webkit-align-content:center;align-content:center;text-align:center;padding:%?15?%}.top_title_box_S[data-v-be37c984]{width:1%;-webkit-align-content:center;align-content:center;text-align:center;margin:%?20?% %?0?% %?20?% %?0?%;border-left:#000 solid %?3?%}.top_title_redtext[data-v-be37c984]{font-size:%?30?%;color:#d61b30}.top_title_blacktext[data-v-be37c984]{font-size:%?30?%;color:#000}.content_box[data-v-be37c984]{background-color:#fff;height:%?375?%;margin:%?10?% %?20?% %?0?% %?20?%;border-radius:%?10?%}.content_box_ware[data-v-be37c984]{border-bottom:#f5f5f5 solid %?2?%;display:-webkit-box;display:-webkit-flex;display:flex}.content_box_img[data-v-be37c984]{margin:%?20?% %?20?% %?20?% %?25?%;width:35%;display:-webkit-box;display:-webkit-flex;display:flex;font-size:%?8?%;position:relative}.content_box_img uni-image[data-v-be37c984]{width:100%;height:%?230?%}.content_box_img_title[data-v-be37c984]{position:absolute;background:#d01119;display:-webkit-box;display:-webkit-flex;display:flex;padding:%?8?%;border-radius:%?0?% %?0?% %?10?% %?0?%}.content_box_img_ground1[data-v-be37c984]{background:#fb6451}.content_box_img_ground2[data-v-be37c984]{background:#ffb72d}.content_box_img_ground3[data-v-be37c984]{background:#9be0e5}.content_box_img_ground4[data-v-be37c984]{background:#4784ef}.content_box_img_title uni-image[data-v-be37c984]{width:%?30?%;height:%?30?%}.content_box_img_title uni-text[data-v-be37c984]{font-size:%?20?%;color:#fff;line-height:%?25?%;padding-top:%?5?%}.content_box_title[data-v-be37c984]{width:65%;margin:%?25?% %?25?% %?10?% %?0?%;position:relative}.content_ware_title[data-v-be37c984]{font-size:%?30?%;word-break:break-all;\r\n\t/*属性规定自动换行的处理方法。normal(使用浏览器默认的换行规则。),break-all(允许在单词内换行。),keep-all(只能在半角空格或连字符处换行。)*/text-overflow:ellipsis;display:-webkit-box;\r\n\t/** 对象作为伸缩盒子模型显示 **/-webkit-box-orient:vertical;\r\n\t/** 设置或检索伸缩盒对象的子元素的排列方式 **/-webkit-line-clamp:2;\r\n\t/** 显示的行数 **/overflow:hidden\r\n\t/** 隐藏超出的内容 **/}.content_ware_type[data-v-be37c984]{font-size:%?28?%;color:#c61a34;margin-top:%?10?%;position:absolute;left:0;bottom:%?100?%}.content_ware_price[data-v-be37c984]{font-size:%?20?%;color:#b9b5b5;margin-top:%?2?%;text-decoration:line-through;position:absolute;left:0;bottom:%?70?%}.content_ware_time[data-v-be37c984]{font-size:%?25?%;color:#c61a34;margin-top:%?20?%;position:absolute;left:0;bottom:%?25?%}.content_box_button[data-v-be37c984]{text-align:right;margin:%?20?% %?25?% %?20?% %?20?%}.content_box_button uni-button[data-v-be37c984]{display:inline-block;width:%?160?%;height:%?50?%;font-size:%?25?%;background:#d41c34;color:#fff;line-height:%?50?%}.foot_box[data-v-be37c984]{-webkit-align-content:center;align-content:center;text-align:center;margin-top:%?15?%;margin-bottom:%?50?%}.foot_box uni-text[data-v-be37c984]{font-size:%?25?%;color:#fff}body.?%PAGE?%[data-v-be37c984]{background-color:#fb7454}',""])},a66d:function(t,e,n){"use strict";var a=n("0a83"),i=n.n(a);i.a},aea3:function(t,e,n){"use strict";n.r(e);var a=n("32c1"),i=n.n(a);for(var o in a)"default"!==o&&function(t){n.d(e,t,function(){return a[t]})}(o);e["default"]=i.a},f38c:function(t,e,n){"use strict";n.r(e);var a=n("ff12"),i=n.n(a);for(var o in a)"default"!==o&&function(t){n.d(e,t,function(){return a[t]})}(o);e["default"]=i.a},ff12:function(t,e,n){"use strict";var a=n("288e");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("386d"),n("4917"),n("3b2b");var i=a(n("8b7c")),o={data:function(){return{getStorageID:"",getUserID:"",wareCard:[],page:0,pageSize:10,loadingType:0,contentText:{contentdown:"加载更多",contentrefresh:"加载中...",contentnomore:"已加载全部"}}},components:{uLiLoadMore:i.default},onLoad:function(t){this.getStorageID=t.stoid,this.getUserID=t.userid},onShow:function(){this.page=1,this.pageSize=10,this.loadingType=0,this.getList()},onReachBottom:function(){0==this.loadingType&&(this.page++,this.getList())},methods:{getQueryString:function(t){var e=new RegExp("(^|&)"+t+"=([^&]*)(&|$)","i"),n=window.location.search.substr(1).match(e);return null!=n?unescape(n[2]):null},BuyGift:function(){uni.reLaunch({url:"/pages/MyGiftPack/GiftPackBuy?stoid=1&userid=5682130"})},GetGiftPackList:function(t,e){uni.navigateTo({url:"/pages/MyGiftPack/GiftPackList?isBuy=0&stoid=1&userid=5682130&id="+t})},getList:function(){var t=this,e=this;if(0!=e.loadingType)return!1;e.loadingType=1,uni.request({url:this.$GetInfo.ApiHttp+"/api/weshop/marketing/my/giftbag/page",data:{storeId:this.getStorageID,userId:this.getUserID,page:this.page,pageSize:this.pageSize},method:"GET",header:{"Content-Type":"application/x-www-form-urlencoded"},success:function(e){if(0==e.data.code)if(0==e.data.data.pageData.length)t.loadingType=2;else{if(console.log(t.wareCard.length),console.log(e.data.data.pageData.length),t.wareCard.length<e.data.data.pageData.length)for(var n=0;n<e.data.data.pageData.length;n++)t.wareCard.push(e.data.data.pageData[n]);t.loadingType=0,console.log(t.wareCard)}}})}}};e.default=o}}]); | |
2 | 0 | \ No newline at end of file |
vip/static/js/pages-MyGiftPack-OutWeb.6890b431.js
0 → 100644
1 | +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-MyGiftPack-OutWeb"],{"04eb":function(t,e,n){"use strict";n.r(e);var r=n("dbcc"),o=n("4156");for(var i in o)"default"!==i&&function(t){n.d(e,t,function(){return o[t]})}(i);n("e892");var s=n("2877"),a=Object(s["a"])(o["default"],r["a"],r["b"],!1,null,"74a6dd83",null);e["default"]=a.exports},2350:function(t,e){function n(t,e){var n=t[1]||"",o=t[3];if(!o)return n;if(e&&"function"===typeof btoa){var i=r(o),s=o.sources.map(function(t){return"/*# sourceURL="+o.sourceRoot+t+" */"});return[n].concat(s).concat([i]).join("\n")}return[n].join("\n")}function r(t){var e=btoa(unescape(encodeURIComponent(JSON.stringify(t)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,"+e;return"/*# "+n+" */"}t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var r=n(e,t);return e[2]?"@media "+e[2]+"{"+r+"}":r}).join("")},e.i=function(t,n){"string"===typeof t&&(t=[[null,t,""]]);for(var r={},o=0;o<this.length;o++){var i=this[o][0];"number"===typeof i&&(r[i]=!0)}for(o=0;o<t.length;o++){var s=t[o];"number"===typeof s[0]&&r[s[0]]||(n&&!s[2]?s[2]=n:n&&(s[2]="("+s[2]+") and ("+n+")"),e.push(s))}},e}},"2a18":function(t,e,n){var r=n("8db9");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var o=n("4f06").default;o("924a3c06",r,!0,{sourceMap:!1,shadowMode:!1})},4156:function(t,e,n){"use strict";n.r(e);var r=n("f3bc"),o=n.n(r);for(var i in r)"default"!==i&&function(t){n.d(e,t,function(){return r[t]})}(i);e["default"]=o.a},"4f06":function(t,e,n){"use strict";function r(t,e){for(var n=[],r={},o=0;o<e.length;o++){var i=e[o],s=i[0],a=i[1],u=i[2],c=i[3],d={id:t+":"+o,css:a,media:u,sourceMap:c};r[s]?r[s].parts.push(d):n.push(r[s]={id:s,parts:[d]})}return n}n.r(e),n.d(e,"default",function(){return h});var o="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!o)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var i={},s=o&&(document.head||document.getElementsByTagName("head")[0]),a=null,u=0,c=!1,d=function(){},l=null,p="data-vue-ssr-id",f="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function h(t,e,n,o){c=n,l=o||{};var s=r(t,e);return v(s),function(e){for(var n=[],o=0;o<s.length;o++){var a=s[o],u=i[a.id];u.refs--,n.push(u)}e?(s=r(t,e),v(s)):s=[];for(o=0;o<n.length;o++){u=n[o];if(0===u.refs){for(var c=0;c<u.parts.length;c++)u.parts[c]();delete i[u.id]}}}}function v(t){for(var e=0;e<t.length;e++){var n=t[e],r=i[n.id];if(r){r.refs++;for(var o=0;o<r.parts.length;o++)r.parts[o](n.parts[o]);for(;o<n.parts.length;o++)r.parts.push(m(n.parts[o]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{var s=[];for(o=0;o<n.parts.length;o++)s.push(m(n.parts[o]));i[n.id]={id:n.id,refs:1,parts:s}}}}function g(){var t=document.createElement("style");return t.type="text/css",s.appendChild(t),t}function m(t){var e,n,r=document.querySelector("style["+p+'~="'+t.id+'"]');if(r){if(c)return d;r.parentNode.removeChild(r)}if(f){var o=u++;r=a||(a=g()),e=y.bind(null,r,o,!1),n=y.bind(null,r,o,!0)}else r=g(),e=w.bind(null,r),n=function(){r.parentNode.removeChild(r)};return e(t),function(r){if(r){if(r.css===t.css&&r.media===t.media&&r.sourceMap===t.sourceMap)return;e(t=r)}else n()}}var b=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}();function y(t,e,n,r){var o=n?"":$(r.css);if(t.styleSheet)t.styleSheet.cssText=b(e,o);else{var i=document.createTextNode(o),s=t.childNodes;s[e]&&t.removeChild(s[e]),s.length?t.insertBefore(i,s[e]):t.appendChild(i)}}function w(t,e){var n=$(e.css),r=e.media,o=e.sourceMap;if(r&&t.setAttribute("media",r),l.ssrId&&t.setAttribute(p,e.id),o&&(n+="\n/*# sourceURL="+o.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{while(t.firstChild)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}var I=/%\?([+-]?\d+(\.\d+)?)\?%/g,x=/\.\?%PAGE\?%/g,U=/\?%PAGE\?%\[data-v-[a-z0-9]{8}\]/g,S=/uni-page-body\[data-v-[a-z0-9]{8}\]/g,D=/var\(--status-bar-height\)/gi,T=/var\(--window-top\)/gi,C=/var\(--window-bottom\)/gi;function $(t){var e=_();if(!uni.canIUse("css.var")){var n=M();t=t.replace(D,"0px").replace(T,n.top+"px").replace(C,n.bottom+"px")}return t.replace(U,e).replace(x,"").replace(S,"body."+e+" uni-page-body").replace(I,function(t,e){return uni.upx2px(e)+"px"})}function _(){var t=getApp();return t&&t.$route&&t.$route.meta&&t.$route.meta.name||""}function M(){var t=getApp();return t&&t.$route&&t.$route.meta&&t.$route.meta.name?{top:t.$route.meta.windowTop,bottom:t.$route.meta.isTabBar?50:0}:{top:0,bottom:0}}},"8db9":function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,".web_count[data-v-74a6dd83]{text-align:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;margin:%?0?%}",""])},dbcc:function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"web_count"},[n("v-uni-web-view",{attrs:{"webview-styles":t.webviewStyles,src:this.getUrl}})],1)},o=[];n.d(e,"a",function(){return r}),n.d(e,"b",function(){return o})},e892:function(t,e,n){"use strict";var r=n("2a18"),o=n.n(r);o.a},f3bc:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={data:function(){return{webviewStyles:{progress:{color:"#FF3333"}},getUrl:"",userID:"",StoID:"",getType:"",ordID:""}},onLoad:function(t){this.getType=t.type,this.StoID=t.sto,this.userID=t.user,this.ordID=t.ord},onShow:function(){console.log(this.getType+"//"+this.userID),0==this.getType&&(this.getUrl=this.$GetInfo.HtmlHttp+"/index.php/Mobile/User/coupon/stoid/"+this.StoID+"/user_id/"+this.userID+".html"),1==this.getType&&(this.getUrl=this.$GetInfo.HtmlHttp+"/index.php/Mobile/Yyservice/service_items_list/stoid/"+this.StoID+"/user_id/"+this.userID+".html"),3==this.getType&&(this.getUrl=this.$GetInfo.HtmlHttp+"/mobile/Payment/get_pay_lb/stoid/"+this.StoID+"/order_sn/"+this.ordID+".html"),4==this.getType&&(this.getUrl=this.$GetInfo.HtmlHttp+"/mobile/index/index/stoid/"+this.StoID+".html"),console.log(this.getUrl)},methods:{}};e.default=r}}]); | |
0 | 2 | \ No newline at end of file | ... | ... |
vip/static/js/pages-MyGiftPack-OutWeb.eafc4c28.js deleted
1 | -(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-MyGiftPack-OutWeb"],{"04eb":function(t,e,i){"use strict";i.r(e);var s=i("e4f9"),n=i("4156");for(var r in n)"default"!==r&&function(t){i.d(e,t,function(){return n[t]})}(r);var o=i("2877"),u=Object(o["a"])(n["default"],s["a"],s["b"],!1,null,"15845998",null);e["default"]=u.exports},4156:function(t,e,i){"use strict";i.r(e);var s=i("f3bc"),n=i.n(s);for(var r in s)"default"!==r&&function(t){i.d(e,t,function(){return s[t]})}(r);e["default"]=n.a},e4f9:function(t,e,i){"use strict";var s=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",[i("v-uni-web-view",{attrs:{"webview-styles":t.webviewStyles,src:this.getUrl}})],1)},n=[];i.d(e,"a",function(){return s}),i.d(e,"b",function(){return n})},f3bc:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var s={data:function(){return{webviewStyles:{progress:{color:"#FF3333"}},getUrl:"",userID:"",StoID:"",getType:""}},onLoad:function(t){this.getType=t.type,this.StoID=t.sto,this.userID=t.user},onShow:function(){console.log(this.getType+"//"+this.userID),0==this.getType&&(this.getUrl=this.$GetInfo.HtmlHttp+"/index.php/Mobile/User/coupon/stoid/"+this.StoID+"/user_id/"+this.userID+".html"),1==this.getType&&(this.getUrl=this.$GetInfo.HtmlHttp+"/index.php/Mobile/Yyservice/service_items_list/stoid/"+this.StoID+"/user_id/"+this.userID+".html"),console.log(this.getUrl)},methods:{}};e.default=s}}]); | |
2 | 0 | \ No newline at end of file |