jufubao-base 1.0.159-beta9 → 1.0.160-beta1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/components/JfbBaseCardEntry/JfbBaseCardEntry.vue +2 -2
- package/src/components/JfbBaseCardInfo/JfbBaseCardInfo.vue +5 -6
- package/src/components/JfbBaseCardInfoEntry/Attr.js +22 -0
- package/src/components/JfbBaseCardInfoEntry/JfbBaseCardInfoEntry.vue +278 -258
- package/src/components/JfbBaseConDialog/Api.js +13 -1
- package/src/components/JfbBaseConDialog/JfbBaseConDialog.vue +79 -20
- package/src/components/JfbBaseConDialog/XdCouCardBind.vue +223 -133
- package/src/components/JfbBaseConList/Api.js +13 -1
- package/src/components/JfbBaseConList/Attr.js +11 -0
- package/src/components/JfbBaseConList/JfbBaseConList.vue +352 -120
- package/src/components/JfbBaseConList/Mock.js +1 -1
- package/src/components/JfbBaseEntry/JfbBaseEntry.vue +4 -4
- package/src/components/JfbBaseFastLink/JfbBaseFastLink.vue +2 -2
- package/src/components/JfbBasePosterBigSmall/Attr.js +1 -1
|
@@ -10,18 +10,14 @@
|
|
|
10
10
|
:class="{ editx: isEditx && active }"
|
|
11
11
|
v-if="isEditx && active"
|
|
12
12
|
>
|
|
13
|
-
<view class="jfb-base-card-info-entry__edit-icon" @click="delEdit"
|
|
14
|
-
>删除</view
|
|
15
|
-
>
|
|
13
|
+
<view class="jfb-base-card-info-entry__edit-icon" @click="delEdit">删除</view>
|
|
16
14
|
</view>
|
|
17
15
|
<!-- #endif -->
|
|
18
16
|
<view class="jfb-base-card-info-entry__body" :style="{minHeight: layoutInfo.bodyMinHeightRpx + 'rpx'}">
|
|
19
17
|
<view v-if="!qrcode && showForm">
|
|
20
18
|
<view>
|
|
21
19
|
<view class="jfb-base-card-info-entry__body-form">
|
|
22
|
-
<view class="jfb-base-card-info-entry__body-form-label"
|
|
23
|
-
>票券号码</view
|
|
24
|
-
>
|
|
20
|
+
<view class="jfb-base-card-info-entry__body-form-label">票券号码</view>
|
|
25
21
|
<input
|
|
26
22
|
type="number"
|
|
27
23
|
max="32"
|
|
@@ -30,45 +26,56 @@
|
|
|
30
26
|
/>
|
|
31
27
|
</view>
|
|
32
28
|
<view class="jfb-base-card-info-entry__body-form">
|
|
33
|
-
<view class="jfb-base-card-info-entry__body-form-label"
|
|
34
|
-
>票券密码</view
|
|
35
|
-
>
|
|
29
|
+
<view class="jfb-base-card-info-entry__body-form-label">票券密码</view>
|
|
36
30
|
<input
|
|
37
31
|
max="18"
|
|
38
32
|
:password="isPassword"
|
|
39
33
|
v-model="card_password"
|
|
40
34
|
:placeholder="card_pwd_placeholder"
|
|
41
35
|
/>
|
|
36
|
+
<!--#ifdef H5-->
|
|
42
37
|
<xd-font-icon
|
|
43
|
-
@click="
|
|
38
|
+
@click="handleIcon()"
|
|
44
39
|
:icon="isPassword ? 'iconbiyan' : 'iconchakan'"
|
|
45
40
|
></xd-font-icon>
|
|
41
|
+
<!--#endif-->
|
|
42
|
+
<!--#ifdef MP-WEIXIN-->
|
|
43
|
+
<xd-font-icon
|
|
44
|
+
:width="72"
|
|
45
|
+
:height="72"
|
|
46
|
+
@click="handleIcon()"
|
|
47
|
+
:icon="isPassword ? 'iconbiyan' : 'iconchakan'"
|
|
48
|
+
></xd-font-icon>
|
|
49
|
+
<!--#endif-->
|
|
46
50
|
</view>
|
|
47
51
|
</view>
|
|
48
52
|
<view :style="{ height: '100rpx' }"></view>
|
|
49
53
|
<view class="fixe_bottom" :style="prod_bottom">
|
|
50
|
-
<
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
54
|
+
<view>
|
|
55
|
+
<xd-button
|
|
56
|
+
type="primary"
|
|
57
|
+
width="460rpx"
|
|
58
|
+
@click="handleGetInfo"
|
|
59
|
+
>确认</xd-button>
|
|
60
|
+
</view>
|
|
56
61
|
</view>
|
|
57
62
|
</view>
|
|
58
63
|
|
|
59
64
|
<view v-if="showInfo && info !== null">
|
|
60
|
-
<view
|
|
65
|
+
<view
|
|
66
|
+
class="card-list"
|
|
67
|
+
:style="{
|
|
61
68
|
background: headerBg['color'],
|
|
62
69
|
backgroundSize: '100%'
|
|
63
70
|
}">
|
|
64
|
-
|
|
71
|
+
<view class="card-list-warp" :style="{backgroundImage: `url(${headerBg['image']})`}">
|
|
65
72
|
<view class="card-list__title"><view>{{info['card_type_name']}}</view></view>
|
|
66
|
-
<
|
|
73
|
+
<view class="card-list__content">
|
|
67
74
|
<view>
|
|
68
75
|
<text>券号:</text>
|
|
69
76
|
<text>{{info.card_number}}</text>
|
|
70
77
|
</view>
|
|
71
|
-
</
|
|
78
|
+
</view>
|
|
72
79
|
<view class="card-list__date">
|
|
73
80
|
<text>有效期:</text>
|
|
74
81
|
<text>{{info.end_time}}</text>
|
|
@@ -86,16 +93,8 @@
|
|
|
86
93
|
v-if="info.site_entry_settings && info.site_entry_settings.length > 0"
|
|
87
94
|
class="jfb-base-card-info-entry__body-business"
|
|
88
95
|
>
|
|
89
|
-
<view class="jfb-base-card-info-entry__body-business-title">
|
|
90
|
-
|
|
91
|
-
</view>
|
|
92
|
-
<view
|
|
93
|
-
style="
|
|
94
|
-
display: flex;
|
|
95
|
-
align-content: center;
|
|
96
|
-
justify-content: flex-start;
|
|
97
|
-
"
|
|
98
|
-
>
|
|
96
|
+
<view class="jfb-base-card-info-entry__body-business-title">支持业务板块</view>
|
|
97
|
+
<view style="display: flex;align-content: center;justify-content: flex-start;">
|
|
99
98
|
<view class="jfb-base-card-info-entry__body-business-content">
|
|
100
99
|
<view
|
|
101
100
|
class="jfb-base-card-info-entry__body-business-content-item"
|
|
@@ -110,12 +109,13 @@
|
|
|
110
109
|
</view>
|
|
111
110
|
<view :style="{ height: '100rpx' }"></view>
|
|
112
111
|
<view class="fixe_bottom" :style="prod_bottom">
|
|
113
|
-
<
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
112
|
+
<view>
|
|
113
|
+
<xd-button
|
|
114
|
+
type="primary"
|
|
115
|
+
width="460rpx"
|
|
116
|
+
@click="handleToLink"
|
|
117
|
+
>立即绑定</xd-button>
|
|
118
|
+
</view>
|
|
119
119
|
</view>
|
|
120
120
|
</view>
|
|
121
121
|
</view>
|
|
@@ -142,7 +142,7 @@ export default {
|
|
|
142
142
|
XdButton,
|
|
143
143
|
},
|
|
144
144
|
mixins: [
|
|
145
|
-
|
|
145
|
+
componentsMixins, extsMixins, JfbBaseCardInfoEntryMixin,colorCardMixins
|
|
146
146
|
],
|
|
147
147
|
data() {
|
|
148
148
|
return {
|
|
@@ -152,8 +152,8 @@ export default {
|
|
|
152
152
|
isPassword: true,
|
|
153
153
|
card_num_placeholder: "",
|
|
154
154
|
card_pwd_placeholder: "",
|
|
155
|
-
|
|
156
155
|
showInfo: false,
|
|
156
|
+
entryGroupId: '',//加载入口数据组别
|
|
157
157
|
|
|
158
158
|
qrcode: "", //二维码
|
|
159
159
|
showForm: true,
|
|
@@ -177,17 +177,23 @@ export default {
|
|
|
177
177
|
prod_bottom() {
|
|
178
178
|
return this.fixedStyle({ height: 0, zIndex: 111 });
|
|
179
179
|
},
|
|
180
|
+
|
|
180
181
|
isShowBalance(){
|
|
181
|
-
if(this.info.is_expired === "Y"){
|
|
182
|
+
if(this.info && this.info.is_expired === "Y"){
|
|
182
183
|
return this.is_show_balance === "Y";
|
|
183
184
|
}
|
|
184
185
|
return true;
|
|
185
|
-
}
|
|
186
|
+
},
|
|
187
|
+
},
|
|
188
|
+
created() {
|
|
189
|
+
this.init(this.container);
|
|
186
190
|
},
|
|
187
|
-
|
|
191
|
+
|
|
188
192
|
methods: {
|
|
193
|
+
handleIcon(){
|
|
194
|
+
this.isPassword = !this.isPassword
|
|
195
|
+
},
|
|
189
196
|
toShowCouponDialog(){
|
|
190
|
-
// jfbRootFnExec(this, 'onCustomEvent')("@showBaseConDialog", {user_card_number: "10001000001133"})
|
|
191
197
|
if(this.info){
|
|
192
198
|
jfbRootFnExec(this, 'onCustomEvent')("@showBaseConDialog", {user_card_number: this.info.card_number})
|
|
193
199
|
}
|
|
@@ -196,15 +202,15 @@ export default {
|
|
|
196
202
|
if(this.info.card_point===0) {
|
|
197
203
|
this.$xdConfirm({
|
|
198
204
|
styles: this.styles,
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
205
|
+
content: "票券余额为0,是否确认绑定?",
|
|
206
|
+
width: "80%",
|
|
207
|
+
success: (res) => {
|
|
208
|
+
if (res.confirm) {
|
|
209
|
+
this.handleToBind()
|
|
210
|
+
}
|
|
211
|
+
},
|
|
212
|
+
});
|
|
213
|
+
return
|
|
208
214
|
}
|
|
209
215
|
this.handleToBind()
|
|
210
216
|
},
|
|
@@ -239,7 +245,6 @@ export default {
|
|
|
239
245
|
}
|
|
240
246
|
},
|
|
241
247
|
handlerAfterBindCard(res){
|
|
242
|
-
|
|
243
248
|
if(res.pop_info && res.pop_info.pop_code === '1001'){
|
|
244
249
|
this.handleBindConfirm();
|
|
245
250
|
return;
|
|
@@ -287,31 +292,24 @@ export default {
|
|
|
287
292
|
}
|
|
288
293
|
})
|
|
289
294
|
},
|
|
290
|
-
init() {
|
|
291
|
-
this.backUrl = getContainerPropsValue(
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
)
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
"content.card_num_placeholder",
|
|
299
|
-
"请输入券号(电子券除外)"
|
|
300
|
-
);
|
|
301
|
-
this.card_pwd_placeholder = getContainerPropsValue(
|
|
302
|
-
this.container,
|
|
303
|
-
"content.card_pwd_placeholder",
|
|
304
|
-
"请输入密码"
|
|
305
|
-
);
|
|
306
|
-
this.my_card_url = getContainerPropsValue(this.container, 'content.my_card_url', { value: "" }).value;
|
|
307
|
-
this.is_show_balance = getContainerPropsValue(this.container, 'content.is_show_balance', "N");
|
|
295
|
+
init(container) {
|
|
296
|
+
this.backUrl = getContainerPropsValue(container, "content.back_url", { value: "/pages/card/card" }).value;
|
|
297
|
+
this.card_num_placeholder = getContainerPropsValue(container, "content.card_num_placeholder", "请输入券号(电子券除外)");
|
|
298
|
+
this.card_pwd_placeholder = getContainerPropsValue(container, "content.card_pwd_placeholder", "请输入密码");
|
|
299
|
+
this.my_card_url = getContainerPropsValue(container, 'content.my_card_url', { value: "" }).value;
|
|
300
|
+
this.is_show_balance = getContainerPropsValue(container, 'content.is_show_balance', "N");
|
|
301
|
+
//'wechat_mini_program|default'
|
|
302
|
+
this.entryGroupId = getContainerPropsValue(container,"content.entryGroupId","default");
|
|
308
303
|
},
|
|
309
304
|
onJfbLoad(options) {
|
|
310
|
-
this.init();
|
|
311
305
|
this.qrcode = options.qrcode;
|
|
306
|
+
|
|
312
307
|
//#ifdef MP-WEIXIN
|
|
313
|
-
|
|
308
|
+
if(options.qrcode) {
|
|
309
|
+
this.qrcode = decodeURIComponent(options.qrcode);
|
|
310
|
+
}
|
|
314
311
|
//#endif
|
|
312
|
+
|
|
315
313
|
if(options.inCallback) {
|
|
316
314
|
this.inCallbackUrlOrg = options.inCallback;
|
|
317
315
|
}
|
|
@@ -320,12 +318,12 @@ export default {
|
|
|
320
318
|
vm: this,
|
|
321
319
|
data: {
|
|
322
320
|
card_qrcode: decodeURIComponent(this.qrcode),
|
|
323
|
-
is_show_entry_settings: "Y"
|
|
321
|
+
is_show_entry_settings: "Y",
|
|
322
|
+
group_id: this.entryGroupId
|
|
324
323
|
},
|
|
325
324
|
})
|
|
326
325
|
.then((res) => {
|
|
327
|
-
res.is_exchange_name =
|
|
328
|
-
res.is_exchange === "Y" ? "可转换" : "不可转换";
|
|
326
|
+
res.is_exchange_name = res.is_exchange === "Y" ? "可转换" : "不可转换";
|
|
329
327
|
let temp = {};
|
|
330
328
|
Object.keys(res).map((key) => {
|
|
331
329
|
if (key === "card_point" || key === "other_card_point") {
|
|
@@ -339,12 +337,19 @@ export default {
|
|
|
339
337
|
temp[key] = res[key];
|
|
340
338
|
}
|
|
341
339
|
});
|
|
342
|
-
|
|
340
|
+
|
|
341
|
+
//过滤入口配置
|
|
342
|
+
if(res && res.site_entry_settings && res.site_entry_settings.length > 0) {
|
|
343
|
+
res['site_entry_settings'] = this.filterNotSupportEntry(res['site_entry_settings']);
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
|
|
347
|
+
if(res && res.site_entry_settings && res.site_entry_settings.length > 0) {
|
|
343
348
|
temp.site_entry_settings = res.site_entry_settings.filter(item=>{
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
349
|
+
item['image_url'] = getServiceUrl(item['image_url'])
|
|
350
|
+
return res.business_codes.includes(item.business_code)
|
|
351
|
+
})
|
|
352
|
+
}
|
|
348
353
|
|
|
349
354
|
this.headerBg = this.getCardThemes(res.card_type_name);
|
|
350
355
|
this.showInfo = true;
|
|
@@ -390,10 +395,7 @@ export default {
|
|
|
390
395
|
.catch();
|
|
391
396
|
},
|
|
392
397
|
isEmpty(str) {
|
|
393
|
-
|
|
394
|
-
return true;
|
|
395
|
-
}
|
|
396
|
-
return false;
|
|
398
|
+
return str === null || str === "";
|
|
397
399
|
},
|
|
398
400
|
handleGetInfo() {
|
|
399
401
|
if (this.isEmpty(this.card_password)) {
|
|
@@ -430,6 +432,7 @@ export default {
|
|
|
430
432
|
&__body {
|
|
431
433
|
color: #333;
|
|
432
434
|
padding: unit(26, rpx);
|
|
435
|
+
|
|
433
436
|
&-form {
|
|
434
437
|
display: flex;
|
|
435
438
|
align-items: center;
|
|
@@ -446,6 +449,14 @@ export default {
|
|
|
446
449
|
text-align: center;
|
|
447
450
|
}
|
|
448
451
|
|
|
452
|
+
& .mp {
|
|
453
|
+
display: flex;
|
|
454
|
+
justify-content: center;
|
|
455
|
+
align-items: center;
|
|
456
|
+
width: 72rpx;
|
|
457
|
+
height: 72rpx
|
|
458
|
+
}
|
|
459
|
+
|
|
449
460
|
input {
|
|
450
461
|
font-size: unit(24, rpx);
|
|
451
462
|
}
|
|
@@ -474,215 +485,215 @@ export default {
|
|
|
474
485
|
transform: translate(-50rpx, -50rpx);
|
|
475
486
|
}
|
|
476
487
|
.card-list {
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
&:last-child {
|
|
482
|
-
margin-bottom: 0;
|
|
483
|
-
}
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
&__title {
|
|
487
|
-
height: unit(56, rpx);
|
|
488
|
-
display: flex;
|
|
489
|
-
justify-content: flex-start;
|
|
490
|
-
align-items: center;
|
|
488
|
+
overflow: hidden;
|
|
489
|
+
border-radius: unit(16, rpx);
|
|
490
|
+
margin-bottom: unit(30, rpx);
|
|
491
491
|
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
line-height: unit(56, rpx);
|
|
496
|
-
background: rgba(102, 102, 102, 0.4);
|
|
497
|
-
color: #fff;
|
|
498
|
-
border-radius: 0 0 unit(16, rpx) 0;
|
|
499
|
-
}
|
|
492
|
+
&:last-child {
|
|
493
|
+
margin-bottom: 0;
|
|
494
|
+
}
|
|
500
495
|
|
|
501
|
-
}
|
|
502
496
|
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
align-items: center;
|
|
509
|
-
|
|
510
|
-
& > view:first-child {
|
|
511
|
-
font-size: unit(36, rpx);
|
|
512
|
-
line-height: unit(86, rpx);
|
|
513
|
-
color: #fff;
|
|
514
|
-
font-weight: 700;
|
|
515
|
-
}
|
|
497
|
+
&__title {
|
|
498
|
+
height: unit(56, rpx);
|
|
499
|
+
display: flex;
|
|
500
|
+
justify-content: flex-start;
|
|
501
|
+
align-items: center;
|
|
516
502
|
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
}
|
|
526
|
-
}
|
|
503
|
+
& > view {
|
|
504
|
+
padding: 0 unit(80, rpx);
|
|
505
|
+
font-size: unit(24, rpx);
|
|
506
|
+
line-height: unit(56, rpx);
|
|
507
|
+
background: rgba(102, 102, 102, 0.4);
|
|
508
|
+
color: #fff;
|
|
509
|
+
border-radius: 0 0 unit(16, rpx) 0;
|
|
510
|
+
}
|
|
527
511
|
|
|
528
|
-
|
|
529
|
-
padding: 0 unit(40, rpx);
|
|
530
|
-
font-size: unit(28, rpx);
|
|
531
|
-
line-height: unit(32, rpx);
|
|
532
|
-
color: #fff;
|
|
533
|
-
}
|
|
512
|
+
}
|
|
534
513
|
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
514
|
+
&__content {
|
|
515
|
+
padding: unit(10, rpx) unit(40, rpx) 0;
|
|
516
|
+
height: unit(86, rpx);
|
|
517
|
+
display: flex;
|
|
518
|
+
justify-content: space-between;
|
|
519
|
+
align-items: center;
|
|
540
520
|
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
521
|
+
& > view:first-child {
|
|
522
|
+
font-size: unit(36, rpx);
|
|
523
|
+
line-height: unit(86, rpx);
|
|
524
|
+
color: #fff;
|
|
525
|
+
font-weight: 700;
|
|
526
|
+
}
|
|
545
527
|
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
height: unit(48, rpx);
|
|
557
|
-
line-height: unit(48, rpx);
|
|
558
|
-
display: flex;
|
|
559
|
-
justify-content: flex-start;
|
|
560
|
-
align-items: center;
|
|
561
|
-
font-weight: 400;
|
|
562
|
-
font-size: unit(24, rpx);
|
|
563
|
-
padding: 0 unit(20, rpx);
|
|
564
|
-
color: #fff;
|
|
565
|
-
}
|
|
528
|
+
& > view:nth-child(2) {
|
|
529
|
+
font-size: unit(24, rpx);
|
|
530
|
+
display: flex;
|
|
531
|
+
justify-content: space-between;
|
|
532
|
+
align-items: center;
|
|
533
|
+
flex-flow: wrap;
|
|
534
|
+
flex-direction: column;
|
|
535
|
+
color: #fff;
|
|
536
|
+
}
|
|
537
|
+
}
|
|
566
538
|
|
|
539
|
+
&__date {
|
|
540
|
+
padding: 0 unit(40, rpx);
|
|
541
|
+
font-size: unit(28, rpx);
|
|
542
|
+
line-height: unit(32, rpx);
|
|
543
|
+
color: #fff;
|
|
544
|
+
}
|
|
567
545
|
|
|
568
|
-
|
|
546
|
+
&__yue {
|
|
547
|
+
padding: unit(10, rpx) unit(40, rpx) 0;
|
|
548
|
+
font-size: unit(28, rpx);
|
|
549
|
+
line-height: unit(32, rpx);
|
|
550
|
+
color: #fff;
|
|
569
551
|
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
font-size: unit(28, rpx);
|
|
575
|
-
}
|
|
552
|
+
& > text:nth-child(2) {
|
|
553
|
+
font-weight: 700;
|
|
554
|
+
}
|
|
555
|
+
}
|
|
576
556
|
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
border-radius: unit(32, rpx);
|
|
584
|
-
background: rgba(255, 255, 255, 1);
|
|
585
|
-
box-shadow: 0 unit(4, rpx) unit(8, rpx) rgba(156, 62, 0, 0.11);
|
|
586
|
-
font-weight: 500;
|
|
587
|
-
}
|
|
588
|
-
}
|
|
557
|
+
&__other {
|
|
558
|
+
display: flex;
|
|
559
|
+
justify-content: flex-start;
|
|
560
|
+
align-items: center;
|
|
561
|
+
padding: unit(20, rpx) unit(40, rpx) 0;
|
|
562
|
+
margin-top: unit(0, rpx);
|
|
589
563
|
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
564
|
+
& > view {
|
|
565
|
+
border-radius:unit(8, rpx);
|
|
566
|
+
background: rgba(255, 255, 255, 0.2);
|
|
567
|
+
height: unit(48, rpx);
|
|
568
|
+
line-height: unit(48, rpx);
|
|
569
|
+
display: flex;
|
|
570
|
+
justify-content: flex-start;
|
|
571
|
+
align-items: center;
|
|
572
|
+
font-weight: 400;
|
|
573
|
+
font-size: unit(24, rpx);
|
|
574
|
+
padding: 0 unit(20, rpx);
|
|
575
|
+
color: #fff;
|
|
576
|
+
}
|
|
596
577
|
|
|
597
|
-
&-title {
|
|
598
|
-
display: flex;
|
|
599
|
-
justify-content: space-between;
|
|
600
|
-
align-items: center;
|
|
601
578
|
|
|
579
|
+
}
|
|
602
580
|
|
|
603
|
-
&
|
|
581
|
+
&__nodata {
|
|
582
|
+
padding: unit(20, rpx) unit(40, rpx) 0;
|
|
583
|
+
margin-top: unit(0, rpx);
|
|
584
|
+
color: #fff;
|
|
604
585
|
font-size: unit(28, rpx);
|
|
605
|
-
font-weight: 500;
|
|
606
|
-
flex: 1;
|
|
607
586
|
}
|
|
608
587
|
|
|
609
|
-
&
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
588
|
+
&__entry {
|
|
589
|
+
padding: unit(20, rpx) unit(40, rpx) 0;
|
|
590
|
+
& > view {
|
|
591
|
+
line-height: unit(64, rpx);
|
|
592
|
+
text-align: center;
|
|
593
|
+
font-size: unit(26, rpx);
|
|
594
|
+
border-radius: unit(32, rpx);
|
|
595
|
+
background: rgba(255, 255, 255, 1);
|
|
596
|
+
box-shadow: 0 unit(4, rpx) unit(8, rpx) rgba(156, 62, 0, 0.11);
|
|
597
|
+
font-weight: 500;
|
|
598
|
+
}
|
|
616
599
|
}
|
|
617
|
-
}
|
|
618
600
|
|
|
619
|
-
|
|
601
|
+
&__entrys {
|
|
602
|
+
margin: unit(20, rpx) unit(20, rpx) 0;
|
|
603
|
+
padding: unit(30, rpx);
|
|
604
|
+
border-radius: unit(16, rpx);
|
|
605
|
+
background: rgba(255, 255, 255, 1);
|
|
606
|
+
box-shadow: 0 unit(4, rpx) unit(8, rpx) rgba(156, 62, 0, 0.11);
|
|
620
607
|
|
|
621
|
-
|
|
608
|
+
&-title {
|
|
609
|
+
display: flex;
|
|
610
|
+
justify-content: space-between;
|
|
611
|
+
align-items: center;
|
|
622
612
|
|
|
623
|
-
&-item {
|
|
624
|
-
display: flex;
|
|
625
|
-
justify-content: flex-start;
|
|
626
|
-
align-items: center;
|
|
627
|
-
flex-flow: nowrap;
|
|
628
|
-
margin-left: unit(-14, rpx);
|
|
629
|
-
padding-top: unit(20, rpx);
|
|
630
613
|
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
justify-content: center;
|
|
637
|
-
flex-direction: column;
|
|
638
|
-
align-items: center;
|
|
639
|
-
|
|
640
|
-
& > view:first-child {
|
|
641
|
-
width: unit(76, rpx);
|
|
642
|
-
height: unit(76, rpx);
|
|
643
|
-
overflow: hidden;
|
|
614
|
+
& > view:first-child {
|
|
615
|
+
font-size: unit(28, rpx);
|
|
616
|
+
font-weight: 500;
|
|
617
|
+
flex: 1;
|
|
618
|
+
}
|
|
644
619
|
|
|
645
|
-
& >
|
|
646
|
-
|
|
647
|
-
|
|
620
|
+
& > view:nth-child(2) {
|
|
621
|
+
display: flex;
|
|
622
|
+
justify-content: flex-start;
|
|
623
|
+
align-items: center;
|
|
624
|
+
flex-shrink: 0;
|
|
625
|
+
font-size: unit(20, rpx);
|
|
626
|
+
color: #999;
|
|
648
627
|
}
|
|
649
628
|
}
|
|
650
629
|
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
font-size: unit(24, rpx);
|
|
654
|
-
line-height: unit(36, rpx);
|
|
655
|
-
margin-bottom: unit(10, rpx);
|
|
630
|
+
&-scroll {
|
|
631
|
+
|
|
656
632
|
}
|
|
657
633
|
|
|
658
|
-
|
|
634
|
+
&-item {
|
|
659
635
|
display: flex;
|
|
660
636
|
justify-content: flex-start;
|
|
661
637
|
align-items: center;
|
|
662
|
-
flex-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
}
|
|
638
|
+
flex-flow: nowrap;
|
|
639
|
+
margin-left: unit(-14, rpx);
|
|
640
|
+
padding-top: unit(20, rpx);
|
|
666
641
|
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
642
|
+
& > view {
|
|
643
|
+
width: unit(120, rpx);
|
|
644
|
+
margin-right: unit(10, rpx);
|
|
645
|
+
flex-shrink: 0;
|
|
646
|
+
display: flex;
|
|
647
|
+
justify-content: center;
|
|
648
|
+
flex-direction: column;
|
|
649
|
+
align-items: center;
|
|
670
650
|
|
|
671
|
-
|
|
651
|
+
& > view:first-child {
|
|
652
|
+
width: unit(76, rpx);
|
|
653
|
+
height: unit(76, rpx);
|
|
654
|
+
overflow: hidden;
|
|
672
655
|
|
|
656
|
+
& > image {
|
|
657
|
+
height: 100%;
|
|
658
|
+
width: 100%;
|
|
659
|
+
}
|
|
660
|
+
}
|
|
673
661
|
|
|
674
|
-
|
|
675
|
-
|
|
662
|
+
& > view:nth-child(2) {
|
|
663
|
+
margin-top: unit(10, rpx);
|
|
664
|
+
font-size: unit(24, rpx);
|
|
665
|
+
line-height: unit(36, rpx);
|
|
666
|
+
margin-bottom: unit(10, rpx);
|
|
667
|
+
}
|
|
676
668
|
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
669
|
+
& > view:nth-child(3) {
|
|
670
|
+
display: flex;
|
|
671
|
+
justify-content: flex-start;
|
|
672
|
+
align-items: center;
|
|
673
|
+
flex-shrink: 0;
|
|
674
|
+
font-size: unit(20, rpx);
|
|
675
|
+
color: #999;
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
&:last-child {
|
|
679
|
+
margin-right: 0;
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
}
|
|
683
|
+
|
|
684
|
+
|
|
685
|
+
}
|
|
686
|
+
}
|
|
687
|
+
|
|
688
|
+
&-warp {
|
|
689
|
+
width: unit(700, rpx);
|
|
690
|
+
// min-height: unit(290, rpx);
|
|
691
|
+
position: relative;
|
|
692
|
+
border-radius: unit(16, rpx);
|
|
693
|
+
background-size: 100%;
|
|
694
|
+
padding-bottom: unit(20, rpx);
|
|
695
|
+
}
|
|
696
|
+
}
|
|
686
697
|
|
|
687
698
|
&-qrcode {
|
|
688
699
|
text-align: center;
|
|
@@ -788,6 +799,7 @@ export default {
|
|
|
788
799
|
font-size: unit(24, rpx);
|
|
789
800
|
line-height: unit(36, rpx);
|
|
790
801
|
margin-bottom: unit(10, rpx);
|
|
802
|
+
.uni-cut(1,36);
|
|
791
803
|
}
|
|
792
804
|
|
|
793
805
|
& > view:nth-child(3) {
|
|
@@ -807,13 +819,21 @@ export default {
|
|
|
807
819
|
}
|
|
808
820
|
|
|
809
821
|
.fixe_bottom {
|
|
810
|
-
display: flex;
|
|
811
|
-
align-items: center;
|
|
812
|
-
justify-content: space-between;
|
|
813
822
|
height: unit(100, rpx);
|
|
814
823
|
padding: 0 unit(40, rpx);
|
|
815
824
|
background: #fff;
|
|
816
825
|
box-shadow: 0 0 unit(16, rpx) rgba(0, 0, 0, 0.05);
|
|
826
|
+
display: flex;
|
|
827
|
+
align-items: center;
|
|
828
|
+
justify-content: center;
|
|
829
|
+
|
|
830
|
+
& > view {
|
|
831
|
+
width: 100%;
|
|
832
|
+
display: flex;
|
|
833
|
+
align-items: center;
|
|
834
|
+
justify-content: center;
|
|
835
|
+
height: 100%;
|
|
836
|
+
}
|
|
817
837
|
.flex_l {
|
|
818
838
|
display: flex;
|
|
819
839
|
align-items: center;
|