jufubao-base 1.0.159-beta2 → 1.0.159-beta20
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/JfbBaseAfterOrderDetail/Attr.js +9 -0
- package/src/components/JfbBaseAfterOrderDetail/JfbBaseAfterOrderDetail.vue +40 -75
- package/src/components/JfbBaseAfterOrderDetail/Mock.js +3 -2
- package/src/components/JfbBaseAfterOrderList/Attr.js +9 -0
- package/src/components/JfbBaseAfterOrderList/JfbBaseAfterOrderList.vue +63 -83
- package/src/components/JfbBaseAfterOrderList/Mock.js +8 -0
- package/src/components/JfbBaseCard/Attr.js +220 -194
- package/src/components/JfbBaseCard/JfbBaseCard.vue +47 -18
- package/src/components/JfbBaseCard/Mock.js +7 -6
- package/src/components/JfbBaseCardBind/JfbBaseCardBind.vue +2 -0
- package/src/components/JfbBaseCardDetailEntry/JfbBaseCardDetailEntry.vue +39 -6
- package/src/components/JfbBaseCardDisabled/JfbBaseCardDisabled.vue +3 -3
- package/src/components/JfbBaseCardDisabledEntry/JfbBaseCardDisabledEntry.vue +2 -2
- package/src/components/JfbBaseCardEntry/Attr.js +12 -0
- package/src/components/JfbBaseCardEntry/JfbBaseCardEntry.vue +50 -9
- package/src/components/JfbBaseCardEntry/Mock.js +1 -0
- package/src/components/JfbBaseCardInfo/JfbBaseCardInfo.vue +33 -29
- package/src/components/JfbBaseCardInfoEntry/Attr.js +22 -0
- package/src/components/JfbBaseCardInfoEntry/JfbBaseCardInfoEntry.vue +291 -259
- package/src/components/JfbBaseCardSweepInfo/JfbBaseCardSweepInfo.vue +2 -3
- package/src/components/JfbBaseCardV2/Attr.js +39 -2
- package/src/components/JfbBaseCardV2/JfbBaseCardV2.vue +46 -24
- package/src/components/JfbBaseCardV2/Mock.js +12 -11
- package/src/components/JfbBaseCardV3/Attr.js +13 -1
- package/src/components/JfbBaseCardV3/JfbBaseCardV3.vue +5 -1
- package/src/components/JfbBaseCardV3/Mock.js +1 -1
- package/src/components/JfbBaseConList/JfbBaseConList.vue +1 -3
- package/src/components/JfbBaseEntry/JfbBaseEntry.vue +4 -4
- package/src/components/JfbBaseFastLink/JfbBaseFastLink.vue +2 -2
- package/src/components/JfbBaseLogin/JfbBaseLogin.vue +12 -5
- package/src/components/JfbBaseLoginSetPwd/JfbBaseLoginSetPwd.vue +3 -0
- package/src/components/JfbBaseMultipleExpress/Attr.js +9 -0
- package/src/components/JfbBaseMultipleExpress/JfbBaseMultipleExpress.vue +20 -28
- package/src/components/JfbBaseMultipleExpress/Mock.js +10 -0
- package/src/components/JfbBaseOrderDetail/Attr.js +23 -0
- package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +72 -164
- package/src/components/JfbBaseOrderDetail/bizMock.js +4 -2
- package/src/components/JfbBaseOrderList/Attr.js +9 -0
- package/src/components/JfbBaseOrderList/JfbBaseOrderList.vue +38 -91
- package/src/components/JfbBaseOrderList/Mock.js +27 -5
- package/src/components/JfbBasePhoneCollect/Attr.js +11 -0
- package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollect.vue +13 -0
- package/src/components/JfbBasePhoneLogin/JfbBasePhoneLogin.vue +10 -0
- package/src/components/JfbBasePoster/Attr.js +1 -0
- package/src/components/JfbBasePosterBigSmall/Attr.js +4 -1
- package/src/components/JfbBasePosterType/Attr.js +35 -25
- package/src/components/JfbBasePosterType/FourScreen.vue +18 -19
- package/src/components/JfbBasePosterType/JfbBasePosterType.vue +12 -0
- package/src/components/JfbBaseSuccess/JfbBaseSuccess.vue +5 -5
|
@@ -260,6 +260,20 @@ export default {
|
|
|
260
260
|
}
|
|
261
261
|
},
|
|
262
262
|
},
|
|
263
|
+
{
|
|
264
|
+
label: "是否展示可用门店:",
|
|
265
|
+
ele: 'xd-radio',
|
|
266
|
+
valueKey: "is_show_support_shop",
|
|
267
|
+
value: data['is_show_support_shop'] || 'N',
|
|
268
|
+
groupKey:'content',
|
|
269
|
+
placeholder: '请选择是否展示可用门店',
|
|
270
|
+
multiple: false,
|
|
271
|
+
className: 'input80',
|
|
272
|
+
list: [
|
|
273
|
+
{ label: '是', value: 'Y' },
|
|
274
|
+
{ label: '否', value: 'N' },
|
|
275
|
+
]
|
|
276
|
+
},
|
|
263
277
|
{
|
|
264
278
|
label: '外填充:',
|
|
265
279
|
ele: 'xd-margin-padding',
|
|
@@ -273,6 +287,15 @@ export default {
|
|
|
273
287
|
inline: false,
|
|
274
288
|
notice: '设置外填充,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
|
|
275
289
|
},
|
|
290
|
+
{
|
|
291
|
+
label: '品牌文字颜色:',
|
|
292
|
+
ele: 'xd-color',
|
|
293
|
+
valueKey: 'brandTextColor',
|
|
294
|
+
groupKey:'style',
|
|
295
|
+
value: data['brandTextColor'] || null,
|
|
296
|
+
placeholder: '请选择品牌文字颜色',
|
|
297
|
+
classNmae: 'input80',
|
|
298
|
+
},
|
|
276
299
|
{
|
|
277
300
|
label: '背景颜色:',
|
|
278
301
|
ele: 'xd-color',
|
|
@@ -13,9 +13,7 @@
|
|
|
13
13
|
:class="{ editx: isEditx && active }"
|
|
14
14
|
v-if="isEditx && active && !noBorder"
|
|
15
15
|
>
|
|
16
|
-
<view class="jfb-base-order-detail__edit-icon" @click="delEdit"
|
|
17
|
-
>删除</view
|
|
18
|
-
>
|
|
16
|
+
<view class="jfb-base-order-detail__edit-icon" @click="delEdit">删除</view>
|
|
19
17
|
</view>
|
|
20
18
|
<!-- #endif -->
|
|
21
19
|
<view class="jfb-base-order-detail__body" v-if="info && info !== null">
|
|
@@ -50,11 +48,8 @@
|
|
|
50
48
|
<view
|
|
51
49
|
v-if="info.status.loading_timeout != '-1'"
|
|
52
50
|
:style="{ marginLeft: '40rpx' }"
|
|
53
|
-
|
|
54
|
-
>
|
|
55
|
-
<view v-else :style="{ marginLeft: '40rpx' }">
|
|
56
|
-
{{ info.status.status_name }}
|
|
57
|
-
</view>
|
|
51
|
+
>{{ info.status.status_name }}:{{ timeMsg }}</view>
|
|
52
|
+
<view v-else :style="{ marginLeft: '40rpx' }">{{ info.status.status_name }}</view>
|
|
58
53
|
</view>
|
|
59
54
|
<view style="height: 90rpx;"></view>
|
|
60
55
|
</view>
|
|
@@ -80,11 +75,8 @@
|
|
|
80
75
|
mode="scaleToFill"
|
|
81
76
|
:src="info.film_show.thumb"
|
|
82
77
|
></xd-jfb-image>
|
|
83
|
-
|
|
84
78
|
<view class="jfb-base-order-detail__body-no-delivery-info-right">
|
|
85
|
-
<view
|
|
86
|
-
class="jfb-base-order-detail__body-no-delivery-info-right-name"
|
|
87
|
-
>
|
|
79
|
+
<view class="jfb-base-order-detail__body-no-delivery-info-right-name">
|
|
88
80
|
<view>{{ info.film_show.name }}</view>
|
|
89
81
|
</view>
|
|
90
82
|
<view
|
|
@@ -118,9 +110,7 @@
|
|
|
118
110
|
v-if="info.film_show.seat_name"
|
|
119
111
|
>
|
|
120
112
|
<view>座位:</view>
|
|
121
|
-
<view :style="{ color: mainColor, fontWeight: 700 }">{{
|
|
122
|
-
info.film_show.seat_name
|
|
123
|
-
}}</view>
|
|
113
|
+
<view :style="{ color: mainColor, fontWeight: 700 }">{{info.film_show.seat_name }}</view>
|
|
124
114
|
</view>
|
|
125
115
|
<view
|
|
126
116
|
class="jfb-base-order-detail__body-no-delivery-info-right-item"
|
|
@@ -134,9 +124,7 @@
|
|
|
134
124
|
class="jfb-base-order-detail__body-delivery-bottom"
|
|
135
125
|
v-if="info.film_show.detail && info.film_show.detail !== null"
|
|
136
126
|
>
|
|
137
|
-
<view class="jfb-base-order-detail__body-delivery-bottom-title">{{
|
|
138
|
-
info.film_show.detail.title
|
|
139
|
-
}}</view>
|
|
127
|
+
<view class="jfb-base-order-detail__body-delivery-bottom-title">{{info.film_show.detail.title }}</view>
|
|
140
128
|
<view
|
|
141
129
|
v-for="(Ditem, Dindex) in info.film_show.detail.items"
|
|
142
130
|
:key="Dindex"
|
|
@@ -165,9 +153,7 @@
|
|
|
165
153
|
>
|
|
166
154
|
<view class="jfb-base-order-detail__body-delivery-title">
|
|
167
155
|
<view>子订单号:{{ item.sub_order_id }}</view>
|
|
168
|
-
<view :style="{ color: mainColor }">{{
|
|
169
|
-
item.status.status_name
|
|
170
|
-
}}</view>
|
|
156
|
+
<view :style="{ color: mainColor }">{{item.status.status_name}}</view>
|
|
171
157
|
</view>
|
|
172
158
|
<view
|
|
173
159
|
style="border-bottom: 1px solid #eeeeee"
|
|
@@ -185,18 +171,13 @@
|
|
|
185
171
|
:src="Sitem.product_thumb"
|
|
186
172
|
></xd-jfb-image>
|
|
187
173
|
<view class="jfb-base-order-detail__body-delivery-content-info">
|
|
188
|
-
<view
|
|
189
|
-
|
|
190
|
-
>{{ Sitem.product_name }}</view
|
|
191
|
-
>
|
|
174
|
+
<view class="jfb-base-order-detail__body-delivery-content-info-name">{{ Sitem.product_name }}</view>
|
|
175
|
+
<view v-if="Sitem.brand_name" class="brand-name" :style="{color:brandTextColor}">{{ Sitem.brand_name }}</view>
|
|
192
176
|
<view
|
|
193
177
|
v-if="Sitem.product_sku_name"
|
|
194
178
|
class="jfb-base-order-detail__body-delivery-content-info-sku"
|
|
195
|
-
|
|
196
|
-
>
|
|
197
|
-
<view
|
|
198
|
-
class="jfb-base-order-detail__body-delivery-content-info-price"
|
|
199
|
-
>
|
|
179
|
+
>规格:{{ Sitem.product_sku_name }}</view>
|
|
180
|
+
<view class="jfb-base-order-detail__body-delivery-content-info-price">
|
|
200
181
|
<view :style="{ fontSize: '32rpx', color: mainColor }">
|
|
201
182
|
<xd-unit
|
|
202
183
|
:price="Sitem.sale_price"
|
|
@@ -205,15 +186,12 @@
|
|
|
205
186
|
v-if="biz_code !== 'gift' || info.is_show_gift_price"
|
|
206
187
|
></xd-unit>
|
|
207
188
|
</view>
|
|
208
|
-
<view
|
|
209
|
-
style="
|
|
189
|
+
<view style="
|
|
210
190
|
font-size: 28rpx;
|
|
211
191
|
color: #999999;
|
|
212
192
|
display: flex;
|
|
213
193
|
align-items: center;
|
|
214
|
-
"
|
|
215
|
-
>x {{ Sitem.product_num }}</view
|
|
216
|
-
>
|
|
194
|
+
">x {{ Sitem.product_num }}</view>
|
|
217
195
|
</view>
|
|
218
196
|
</view>
|
|
219
197
|
</view>
|
|
@@ -264,9 +242,7 @@
|
|
|
264
242
|
v-for="(item, index) in info.settle_tag_info.settle_tag_info_list"
|
|
265
243
|
:key="index"
|
|
266
244
|
class="jfb-base-order-detail__body-settle-list"
|
|
267
|
-
>
|
|
268
|
-
{{ item.label }}:{{ item.value }}
|
|
269
|
-
</view>
|
|
245
|
+
>{{ item.label }}:{{ item.value }}</view>
|
|
270
246
|
</view>
|
|
271
247
|
<view v-if="info.codes && info.codes.length > 0">
|
|
272
248
|
<view
|
|
@@ -297,7 +273,7 @@
|
|
|
297
273
|
</view>
|
|
298
274
|
|
|
299
275
|
<view v-if="info.codes[0].can_read_password" class="jfb-base-order-detail__body-cashier-password" @click="showPassword = true">
|
|
300
|
-
{{ showPassword ? info.codes[0].can_read_code : "
|
|
276
|
+
{{ showPassword ? info.codes[0].can_read_code : "查看" }}
|
|
301
277
|
</view>
|
|
302
278
|
<view v-else class="jfb-base-order-detail__body-cashier-text">
|
|
303
279
|
{{ info.codes[0].can_read_code }}
|
|
@@ -313,9 +289,7 @@
|
|
|
313
289
|
color: mainColor,
|
|
314
290
|
background: bgColor,
|
|
315
291
|
}"
|
|
316
|
-
>
|
|
317
|
-
{{ info.codes[0].code_end_time }}
|
|
318
|
-
</view>
|
|
292
|
+
>{{ info.codes[0].code_end_time }}</view>
|
|
319
293
|
</view>
|
|
320
294
|
<view v-else>
|
|
321
295
|
<view
|
|
@@ -329,8 +303,7 @@
|
|
|
329
303
|
v-for="(item, index) in info.codes"
|
|
330
304
|
:key="index"
|
|
331
305
|
>
|
|
332
|
-
<view
|
|
333
|
-
style="
|
|
306
|
+
<view style="
|
|
334
307
|
color: #999;
|
|
335
308
|
background: #eee;
|
|
336
309
|
border-radius: 20rpx;
|
|
@@ -340,9 +313,7 @@
|
|
|
340
313
|
font-size: 24rpx;
|
|
341
314
|
padding: 10rpx 0;
|
|
342
315
|
margin: 32rpx 0 32rpx 32rpx;
|
|
343
|
-
"
|
|
344
|
-
>{{info.codes.length > 10 ? index + 1 : `0${index + 1}` }}</view
|
|
345
|
-
>
|
|
316
|
+
">{{info.codes.length > 10 ? index + 1 : `0${index + 1}` }}</view>
|
|
346
317
|
<view
|
|
347
318
|
class="jfb-base-order-detail__body-card jfb-base-order-detail__body-num"
|
|
348
319
|
v-if="item.show_type === 'text' && !item.password"
|
|
@@ -353,8 +324,7 @@
|
|
|
353
324
|
<view
|
|
354
325
|
class="jfb-base-order-detail__body-num-info-copy"
|
|
355
326
|
@click="copy(item.code)"
|
|
356
|
-
|
|
357
|
-
>
|
|
327
|
+
>复制</view>
|
|
358
328
|
<view
|
|
359
329
|
v-if="item.code_end_time"
|
|
360
330
|
class="jfb-base-order-detail__body-cashier-code"
|
|
@@ -363,9 +333,7 @@
|
|
|
363
333
|
color: mainColor,
|
|
364
334
|
background: bgColor,
|
|
365
335
|
}"
|
|
366
|
-
>
|
|
367
|
-
{{ item.code_end_time }}
|
|
368
|
-
</view>
|
|
336
|
+
>{{ item.code_end_time }}</view>
|
|
369
337
|
</view>
|
|
370
338
|
|
|
371
339
|
<view
|
|
@@ -385,8 +353,7 @@
|
|
|
385
353
|
<view
|
|
386
354
|
class="jfb-base-order-detail__body-num-info-copy"
|
|
387
355
|
@click="copy(item.code)"
|
|
388
|
-
|
|
389
|
-
>
|
|
356
|
+
>复制</view>
|
|
390
357
|
</view>
|
|
391
358
|
<view
|
|
392
359
|
class="jfb-base-order-detail__body-num"
|
|
@@ -397,9 +364,7 @@
|
|
|
397
364
|
</view>
|
|
398
365
|
<view
|
|
399
366
|
class="jfb-base-order-detail__body-num-info-copy"
|
|
400
|
-
@click="copy(item.password)"
|
|
401
|
-
>复制</view
|
|
402
|
-
>
|
|
367
|
+
@click="copy(item.password)">复制</view>
|
|
403
368
|
<view
|
|
404
369
|
v-if="item.code_end_time"
|
|
405
370
|
class="jfb-base-order-detail__body-cashier-code"
|
|
@@ -408,12 +373,9 @@
|
|
|
408
373
|
color: mainColor,
|
|
409
374
|
background: bgColor,
|
|
410
375
|
}"
|
|
411
|
-
>
|
|
412
|
-
{{ item.code_end_time }}
|
|
413
|
-
</view>
|
|
376
|
+
>{{ item.code_end_time }}</view>
|
|
414
377
|
</view>
|
|
415
378
|
</view>
|
|
416
|
-
|
|
417
379
|
<view
|
|
418
380
|
class="jfb-base-order-detail__body-card"
|
|
419
381
|
v-if="item.show_type === 'qrcode'"
|
|
@@ -425,7 +387,7 @@
|
|
|
425
387
|
<view
|
|
426
388
|
class="jfb-base-order-detail__body-num-info-copy"
|
|
427
389
|
style="margin-top: 0;"
|
|
428
|
-
@click="handleShowCode(item)"
|
|
390
|
+
@click="handleShowCode(item)">查看二维码和{{ item.password_title }}</view>
|
|
429
391
|
<view
|
|
430
392
|
v-if="item.code_end_time"
|
|
431
393
|
class="jfb-base-order-detail__body-cashier-code"
|
|
@@ -434,9 +396,7 @@
|
|
|
434
396
|
color: mainColor,
|
|
435
397
|
background: bgColor,
|
|
436
398
|
}"
|
|
437
|
-
>
|
|
438
|
-
{{ item.code_end_time }}
|
|
439
|
-
</view>
|
|
399
|
+
>{{ item.code_end_time }}</view>
|
|
440
400
|
</view>
|
|
441
401
|
</view>
|
|
442
402
|
|
|
@@ -460,9 +420,7 @@
|
|
|
460
420
|
color: mainColor,
|
|
461
421
|
background: bgColor,
|
|
462
422
|
}"
|
|
463
|
-
>
|
|
464
|
-
{{ item.code_end_time }}
|
|
465
|
-
</view>
|
|
423
|
+
>{{ item.code_end_time }}</view>
|
|
466
424
|
</view>
|
|
467
425
|
</view>
|
|
468
426
|
|
|
@@ -477,8 +435,7 @@
|
|
|
477
435
|
<view
|
|
478
436
|
class="jfb-base-order-detail__body-num-info-copy"
|
|
479
437
|
@click="handleToJump(item.code)"
|
|
480
|
-
|
|
481
|
-
>
|
|
438
|
+
>访问</view>
|
|
482
439
|
<view
|
|
483
440
|
class="jfb-base-order-detail__body-num-info-copy"
|
|
484
441
|
@click="copy(item.code)"
|
|
@@ -492,14 +449,12 @@
|
|
|
492
449
|
color: mainColor,
|
|
493
450
|
background: bgColor,
|
|
494
451
|
}"
|
|
495
|
-
>
|
|
496
|
-
{{ item.code_end_time }}
|
|
497
|
-
</view>
|
|
452
|
+
>{{ item.code_end_time }}</view>
|
|
498
453
|
</view>
|
|
499
454
|
</view>
|
|
500
455
|
</view>
|
|
501
456
|
</view>
|
|
502
|
-
<view v-if="info.support_shops">
|
|
457
|
+
<view v-if="info.support_shops && is_show_support_shop === 'Y'">
|
|
503
458
|
<view
|
|
504
459
|
class="jfb-base-order-detail__body-card jfb-base-order-detail__body-jump"
|
|
505
460
|
:style="{
|
|
@@ -535,16 +490,12 @@
|
|
|
535
490
|
>
|
|
536
491
|
<view class="jfb-base-order-detail__body-shop-title">
|
|
537
492
|
<view :style="{ background: mainColor }"></view>
|
|
538
|
-
<view>
|
|
539
|
-
{{ info.shop.layer_name }}
|
|
540
|
-
</view>
|
|
493
|
+
<view>{{ info.shop.layer_name }}</view>
|
|
541
494
|
</view>
|
|
542
495
|
<view class="jfb-base-order-detail__body-shop-name">
|
|
543
496
|
{{ info.shop.shop_name }}
|
|
544
497
|
</view>
|
|
545
|
-
<view class="jfb-base-order-detail__body-shop-address"
|
|
546
|
-
>地址: {{ info.shop.shop_address }}
|
|
547
|
-
</view>
|
|
498
|
+
<view class="jfb-base-order-detail__body-shop-address">地址: {{ info.shop.shop_address }}</view>
|
|
548
499
|
</view>
|
|
549
500
|
<view
|
|
550
501
|
:style="{
|
|
@@ -574,8 +525,7 @@
|
|
|
574
525
|
v-if="item.type === 'copy'"
|
|
575
526
|
class="jfb-base-order-detail__body-order-copy"
|
|
576
527
|
@click="copy(item.value)"
|
|
577
|
-
>复制</view
|
|
578
|
-
>
|
|
528
|
+
>复制</view>
|
|
579
529
|
</view>
|
|
580
530
|
</view>
|
|
581
531
|
<view
|
|
@@ -659,9 +609,7 @@
|
|
|
659
609
|
v-for="(item, index) in info.contacts"
|
|
660
610
|
:key="index"
|
|
661
611
|
>
|
|
662
|
-
<view class="jfb-base-order-detail__body-link-title">{{
|
|
663
|
-
item.title
|
|
664
|
-
}}</view>
|
|
612
|
+
<view class="jfb-base-order-detail__body-link-title">{{item.title }}</view>
|
|
665
613
|
<view v-for="(Sitem, Sindex) in item.data" :key="Sindex">
|
|
666
614
|
<view class="jfb-base-order-detail__body-link-item">
|
|
667
615
|
<view v-html="Sitem.label"></view>
|
|
@@ -741,14 +689,17 @@
|
|
|
741
689
|
radius="40rpx"
|
|
742
690
|
:bg-color="mainColor"
|
|
743
691
|
@click="handleAction(item)"
|
|
744
|
-
>
|
|
745
|
-
{{ item.text }}
|
|
746
|
-
</xd-button>
|
|
692
|
+
>{{ item.text }}</xd-button>
|
|
747
693
|
</view>
|
|
748
694
|
</view>
|
|
749
695
|
</view>
|
|
750
696
|
</view>
|
|
751
|
-
<xd-dailog
|
|
697
|
+
<xd-dailog
|
|
698
|
+
:show.sync="showCode"
|
|
699
|
+
:cancel="false"
|
|
700
|
+
:confirm="false"
|
|
701
|
+
title="提示"
|
|
702
|
+
>
|
|
752
703
|
<view
|
|
753
704
|
:style="{
|
|
754
705
|
display: 'flex',
|
|
@@ -770,9 +721,7 @@
|
|
|
770
721
|
</image>
|
|
771
722
|
</view>
|
|
772
723
|
</view>
|
|
773
|
-
<view v-if="dialogPassword" class="dialog_password">
|
|
774
|
-
{{ dialogPassword }}
|
|
775
|
-
</view>
|
|
724
|
+
<view v-if="dialogPassword" class="dialog_password">{{ dialogPassword }}</view>
|
|
776
725
|
</xd-dailog>
|
|
777
726
|
</view>
|
|
778
727
|
</template>
|
|
@@ -807,6 +756,7 @@ export default {
|
|
|
807
756
|
mixins: [componentsMixins, extsMixins, JfbBaseOrderDetailMixin],
|
|
808
757
|
data() {
|
|
809
758
|
return {
|
|
759
|
+
|
|
810
760
|
info: null,
|
|
811
761
|
brandPath: "", //查看品牌路径
|
|
812
762
|
showPayCard: false,
|
|
@@ -825,6 +775,8 @@ export default {
|
|
|
825
775
|
isPreview: false, //是否预览
|
|
826
776
|
biz_code: "",
|
|
827
777
|
is_not_show_price: "",
|
|
778
|
+
brandTextColor:'',
|
|
779
|
+
is_show_support_shop: "",
|
|
828
780
|
|
|
829
781
|
showPassword: false,
|
|
830
782
|
dialogPassword: "",
|
|
@@ -1080,80 +1032,28 @@ export default {
|
|
|
1080
1032
|
*/
|
|
1081
1033
|
init(container) {
|
|
1082
1034
|
this.bgColor = this.$colorChange(this.mainColor).alpha(0.1).toString();
|
|
1083
|
-
this.brandPath = getContainerPropsValue(container, "content.brandPath", {
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1087
|
-
|
|
1088
|
-
}).value;
|
|
1089
|
-
|
|
1090
|
-
// container,
|
|
1091
|
-
// "content.logisticsPath",
|
|
1092
|
-
// { value: "" }
|
|
1093
|
-
// ).value;
|
|
1094
|
-
this.packageListPath = getContainerPropsValue(
|
|
1095
|
-
container,
|
|
1096
|
-
"content.packageListPath",
|
|
1097
|
-
{ value: "" }
|
|
1098
|
-
).value;
|
|
1099
|
-
this.webViewPath = getContainerPropsValue(
|
|
1100
|
-
container,
|
|
1101
|
-
"content.webViewPath",
|
|
1102
|
-
{
|
|
1103
|
-
value: "",
|
|
1104
|
-
}
|
|
1105
|
-
).value;
|
|
1106
|
-
this.margin = getContainerPropsValue(container, "content.margin", {
|
|
1107
|
-
top: 0,
|
|
1108
|
-
left: 0,
|
|
1109
|
-
right: 0,
|
|
1110
|
-
bottom: 0,
|
|
1111
|
-
});
|
|
1035
|
+
this.brandPath = getContainerPropsValue(container, "content.brandPath", {value: "",}).value;
|
|
1036
|
+
this.payPath = getContainerPropsValue(container, "content.payPath", {value: "",}).value;
|
|
1037
|
+
|
|
1038
|
+
|
|
1039
|
+
this.packageListPath = getContainerPropsValue(container, "content.packageListPath", { value: "" }).value;
|
|
1040
|
+
this.webViewPath = getContainerPropsValue(container, "content.webViewPath", {value: "",}).value;
|
|
1041
|
+
this.margin = getContainerPropsValue(container, "content.margin", {top: 0, left: 0, right: 0, bottom: 0,});
|
|
1112
1042
|
this.radius = getContainerPropsValue(container, "content.radius", 0);
|
|
1113
|
-
this.backgroundColor = getContainerPropsValue(
|
|
1114
|
-
|
|
1115
|
-
"content.backgroundColor",
|
|
1116
|
-
"#f8f8f8"
|
|
1117
|
-
);
|
|
1043
|
+
this.backgroundColor = getContainerPropsValue(container, "content.backgroundColor", "#f8f8f8");
|
|
1044
|
+
this.brandTextColor = getContainerPropsValue(container, "content.brandTextColor", this.mainColor);
|
|
1118
1045
|
this.padding = getContainerPropsValue(container, "content.padding", 20);
|
|
1119
1046
|
|
|
1120
|
-
this.is_shadow = getContainerPropsValue(
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
);
|
|
1125
|
-
this.is_shadow_bg = getContainerPropsValue(
|
|
1126
|
-
container,
|
|
1127
|
-
"content.is_shadow_bg",
|
|
1128
|
-
"#fff"
|
|
1129
|
-
);
|
|
1130
|
-
this.is_shadow_w = getContainerPropsValue(
|
|
1131
|
-
container,
|
|
1132
|
-
"content.is_shadow_w",
|
|
1133
|
-
"10"
|
|
1134
|
-
);
|
|
1135
|
-
|
|
1136
|
-
this.is_border = getContainerPropsValue(
|
|
1137
|
-
container,
|
|
1138
|
-
"content.is_border",
|
|
1139
|
-
"N"
|
|
1140
|
-
);
|
|
1047
|
+
this.is_shadow = getContainerPropsValue(container, "content.is_shadow", "N");
|
|
1048
|
+
this.is_shadow_bg = getContainerPropsValue(container, "content.is_shadow_bg", "#fff");
|
|
1049
|
+
this.is_shadow_w = getContainerPropsValue(container, "content.is_shadow_w", "10");
|
|
1050
|
+
|
|
1051
|
+
this.is_border = getContainerPropsValue(container, "content.is_border", "N");
|
|
1141
1052
|
this.is_hot = getContainerPropsValue(container, "content.is_hot", "Y");
|
|
1142
|
-
this.is_border_c = getContainerPropsValue(
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
);
|
|
1147
|
-
this.is_border_w = getContainerPropsValue(
|
|
1148
|
-
container,
|
|
1149
|
-
"content.is_border_w",
|
|
1150
|
-
2
|
|
1151
|
-
);
|
|
1152
|
-
this.viewStatus = getContainerPropsValue(
|
|
1153
|
-
container,
|
|
1154
|
-
"content.viewStatus",
|
|
1155
|
-
"mall"
|
|
1156
|
-
);
|
|
1053
|
+
this.is_border_c = getContainerPropsValue(container, "content.is_border_c", "#fff");
|
|
1054
|
+
this.is_border_w = getContainerPropsValue(container, "content.is_border_w", 2);
|
|
1055
|
+
this.viewStatus = getContainerPropsValue(container, "content.viewStatus", "mall");
|
|
1056
|
+
this.is_show_support_shop = getContainerPropsValue(container, "content.is_show_support_shop", "N");
|
|
1157
1057
|
},
|
|
1158
1058
|
getCountDown() {
|
|
1159
1059
|
this.timer = setInterval(() => {
|
|
@@ -1310,6 +1210,14 @@ export default {
|
|
|
1310
1210
|
|
|
1311
1211
|
.jfb-base-order-detail {
|
|
1312
1212
|
&__body {
|
|
1213
|
+
.brand-name {
|
|
1214
|
+
padding-top: 5rpx;
|
|
1215
|
+
font-size: 24rpx;
|
|
1216
|
+
margin-bottom: 6rpx;
|
|
1217
|
+
.uni-max-cut(2, 64);
|
|
1218
|
+
line-height: 32rpx;
|
|
1219
|
+
}
|
|
1220
|
+
|
|
1313
1221
|
color: #333;
|
|
1314
1222
|
.logo-icon {
|
|
1315
1223
|
width: unit(80, rpx) !important;
|
|
@@ -1449,7 +1357,7 @@ export default {
|
|
|
1449
1357
|
flex-direction: column;
|
|
1450
1358
|
justify-content: space-between;
|
|
1451
1359
|
margin-left: unit(28, rpx);
|
|
1452
|
-
height: unit(160, rpx);
|
|
1360
|
+
min-height: unit(160, rpx);
|
|
1453
1361
|
|
|
1454
1362
|
&-name {
|
|
1455
1363
|
font-size: unit(32, rpx);
|
|
@@ -1465,7 +1373,7 @@ export default {
|
|
|
1465
1373
|
|
|
1466
1374
|
&-sku {
|
|
1467
1375
|
color: #999999;
|
|
1468
|
-
font-size: unit(
|
|
1376
|
+
font-size: unit(24, rpx);
|
|
1469
1377
|
.uni-max-cut(2, 80);
|
|
1470
1378
|
}
|
|
1471
1379
|
|
|
@@ -32,12 +32,14 @@ export default {
|
|
|
32
32
|
"loading_timeout": 0
|
|
33
33
|
},
|
|
34
34
|
"products": [{
|
|
35
|
+
'brand_id': 2,
|
|
36
|
+
'brand_name': "北京味多美蛋糕叔叔/HEYTEA/喜茶/凯蒂猫/Quange/全格",
|
|
35
37
|
"product_id": 60006948,
|
|
36
|
-
"product_name": "
|
|
38
|
+
"product_name": "动物奶油】ins小清新动物奶油生日蛋糕",
|
|
37
39
|
"product_sku_id": "0",
|
|
38
40
|
"product_sku_name": "草莓",
|
|
39
41
|
"product_type": "good",
|
|
40
|
-
"product_num":
|
|
42
|
+
"product_num": 8,
|
|
41
43
|
"product_thumb": "\/\/sandbox-img.jufubao.cn\/uploads\/20230406\/0b890cd5a947d9c5724b412d34cd4000.png",
|
|
42
44
|
"sale_price": 1549,
|
|
43
45
|
"product_form_data": [{"label": "祝福语", "value": "心想事成!"}]
|
|
@@ -52,6 +52,15 @@ export default {
|
|
|
52
52
|
placeholder: '请选择背景颜色',
|
|
53
53
|
classNmae: 'input80',
|
|
54
54
|
},
|
|
55
|
+
{
|
|
56
|
+
label: '品牌文字颜色:',
|
|
57
|
+
ele: 'xd-color',
|
|
58
|
+
valueKey: 'brandTextColor',
|
|
59
|
+
groupKey:'style',
|
|
60
|
+
value: data['brandTextColor'] || null,
|
|
61
|
+
placeholder: '请选择品牌文字颜色',
|
|
62
|
+
classNmae: 'input80',
|
|
63
|
+
},
|
|
55
64
|
{
|
|
56
65
|
label: '间距:',
|
|
57
66
|
ele: 'el-input',
|