jufubao-base 1.0.198-beta1 → 1.0.199
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/commands.js +1 -1
- package/package.json +1 -1
- package/src/ICONS.js +1128 -0
- package/src/components/JfbBaseAddress/Attr.js +109 -1
- package/src/components/JfbBaseAddress/JfbBaseAddress.vue +152 -77
- package/src/components/JfbBaseAddress/XdTfkItem.vue +117 -0
- package/src/components/JfbBaseConDialog/JfbBaseConDialog.vue +13 -41
- package/src/components/JfbBaseFastLink/Attr.js +24 -8
- package/src/components/JfbBaseFastLink/JfbBaseFastLink.vue +37 -21
- package/src/components/JfbBaseFooter/Attr.js +141 -75
- package/src/components/JfbBaseFooter/JfbBaseFooter.vue +50 -15
- package/src/components/JfbBaseOrderDetail/Attr.js +147 -65
- package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +96 -46
- package/src/components/JfbBaseOrderList/Attr.js +59 -2
- package/src/components/JfbBaseOrderList/JfbBaseOrderList.vue +139 -92
- package/src/components/JfbBaseOrderList/Mock.js +3 -0
- package/src/components/JfbBaseOrderList/XdTfkOrderItem.vue +267 -0
- package/src/components/JfbBaseUserCenter/Attr.js +297 -52
- package/src/components/JfbBaseUserCenter/JfbBaseUserCenter.vue +135 -44
- package/src/components/JfbBaseUserInfo/Attr.js +212 -37
- package/src/components/JfbBaseUserInfo/JfbBaseUserInfo.vue +89 -60
- package/src/components/JfbBaseUserOrder/Attr.js +332 -30
- package/src/components/JfbBaseUserOrder/JfbBaseUserOrder.vue +183 -55
- package/src/components/JfbBaseWallet/Attr.js +376 -8
- package/src/components/JfbBaseWallet/JfbBaseWallet.vue +185 -49
- package/src/mixins/componentsMixins.js +210 -35
|
@@ -332,48 +332,50 @@ export default {
|
|
|
332
332
|
notice: '间距设置,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
|
|
333
333
|
},
|
|
334
334
|
{
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
335
|
+
label: "主体信息行间距:",
|
|
336
|
+
ele: 'el-input',
|
|
337
|
+
type: 'number',
|
|
338
|
+
valueKey: 'lineHeight',
|
|
338
339
|
groupKey:'style',
|
|
340
|
+
value: data['lineHeight'] || 20,
|
|
341
|
+
placeholder: '请输入主体信息行间距',
|
|
342
|
+
className: 'input80',
|
|
339
343
|
},
|
|
340
344
|
{
|
|
341
|
-
label: '
|
|
342
|
-
ele:
|
|
345
|
+
label: '投影设置:',
|
|
346
|
+
ele: "xd-shadow",
|
|
347
|
+
valueKey: "sectionShadow",
|
|
348
|
+
value: data.sectionShadow || {},
|
|
343
349
|
groupKey:'style',
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
350
|
+
handleCustom({action, data}) {
|
|
351
|
+
XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_radius'})
|
|
352
|
+
.then(res => {
|
|
353
|
+
data.cb(res.list)
|
|
354
|
+
})
|
|
355
|
+
.catch(error => {
|
|
356
|
+
console.error(error);
|
|
357
|
+
data.cb([])
|
|
358
|
+
});
|
|
359
|
+
},
|
|
353
360
|
},
|
|
354
|
-
|
|
355
|
-
label:
|
|
356
|
-
ele:
|
|
361
|
+
{
|
|
362
|
+
label: "边框设置:",
|
|
363
|
+
ele: "xd-border",
|
|
364
|
+
valueKey: "sectionBorder",
|
|
365
|
+
value: data.sectionBorder || {},
|
|
357
366
|
groupKey:'style',
|
|
358
|
-
valueKey: 'is_shadow_bg',
|
|
359
|
-
value: data['is_shadow_bg'] || '',
|
|
360
|
-
placeholder: '请选择投影颜色',
|
|
361
|
-
classNmae: 'input80',
|
|
362
367
|
},
|
|
363
|
-
|
|
364
|
-
label: '
|
|
368
|
+
{
|
|
369
|
+
label: '内容圆角设置:',
|
|
365
370
|
ele: 'xd-site-select-list',
|
|
366
|
-
valueKey: '
|
|
371
|
+
valueKey: 'radius',
|
|
367
372
|
groupKey:'style',
|
|
368
|
-
value: data['
|
|
369
|
-
placeholder: '
|
|
373
|
+
value: data['radius'] || '',
|
|
374
|
+
placeholder: '请选择内容圆角设置',
|
|
370
375
|
multiple: false,
|
|
371
376
|
className: 'input80',
|
|
372
377
|
handleCustom({ action, data }) {
|
|
373
|
-
XdBus.getParentApi('getOptionsSettingList')({
|
|
374
|
-
setting_id: 'edtix_style_radius',
|
|
375
|
-
key: Date.now()
|
|
376
|
-
})
|
|
378
|
+
XdBus.getParentApi('getOptionsSettingList')({ setting_id: 'edtix_style_radius' })
|
|
377
379
|
.then(res => {
|
|
378
380
|
data.cb(res.list)
|
|
379
381
|
})
|
|
@@ -383,50 +385,45 @@ export default {
|
|
|
383
385
|
},
|
|
384
386
|
},
|
|
385
387
|
{
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
388
|
+
label: "底部按钮配置",
|
|
389
|
+
ele: "title",
|
|
390
|
+
groupKey: "style",
|
|
391
|
+
size: "small"
|
|
390
392
|
},
|
|
391
393
|
{
|
|
392
|
-
label:
|
|
393
|
-
ele: 'xd-
|
|
394
|
-
valueKey: '
|
|
395
|
-
value: data['
|
|
394
|
+
label: "容器内边距:",
|
|
395
|
+
ele: 'xd-margin-padding',
|
|
396
|
+
valueKey: 'bottomPadding',
|
|
397
|
+
value: data['bottomPadding'] || null,
|
|
396
398
|
groupKey:'style',
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
{ label: '是', value: 'Y' },
|
|
402
|
-
{ label: '否', value: 'N' },
|
|
403
|
-
]
|
|
399
|
+
setting: {
|
|
400
|
+
type: 'padding',
|
|
401
|
+
},
|
|
402
|
+
placeholder: '请设置容器内边距',
|
|
404
403
|
},
|
|
405
|
-
|
|
406
|
-
label:
|
|
407
|
-
ele:
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
placeholder: '请选择边框颜色',
|
|
412
|
-
classNmae: 'input80',
|
|
404
|
+
{
|
|
405
|
+
label: "容器背景颜色:",
|
|
406
|
+
ele: "xd-color",
|
|
407
|
+
valueKey: "bottomBgColor",
|
|
408
|
+
value: data.bottomBgColor || null,
|
|
409
|
+
groupKey: "style",
|
|
413
410
|
},
|
|
414
|
-
|
|
415
|
-
label:
|
|
416
|
-
|
|
417
|
-
ele: 'el-input',
|
|
411
|
+
{
|
|
412
|
+
label: "按钮高度:",
|
|
413
|
+
ele: "el-input",
|
|
418
414
|
type: 'number',
|
|
419
|
-
valueKey:
|
|
420
|
-
|
|
421
|
-
|
|
415
|
+
valueKey: "bottomBtnHeight",
|
|
416
|
+
groupKey:'style',
|
|
417
|
+
value: data['bottomBtnHeight'] || 60,
|
|
418
|
+
placeholder: '请输入按钮高度',
|
|
422
419
|
className: 'input80',
|
|
423
420
|
},
|
|
424
421
|
{
|
|
425
|
-
label: '
|
|
426
|
-
ele:
|
|
427
|
-
valueKey:
|
|
422
|
+
label: '按钮圆角:',
|
|
423
|
+
ele: "xd-site-select-list",
|
|
424
|
+
valueKey: "bottomBtnRadius",
|
|
425
|
+
value: data['bottomBtnRadius'] || '',
|
|
428
426
|
groupKey:'style',
|
|
429
|
-
value: data['radius'] || '',
|
|
430
427
|
placeholder: '请选择内容圆角设置',
|
|
431
428
|
multiple: false,
|
|
432
429
|
className: 'input80',
|
|
@@ -440,7 +437,6 @@ export default {
|
|
|
440
437
|
});
|
|
441
438
|
},
|
|
442
439
|
},
|
|
443
|
-
|
|
444
440
|
{
|
|
445
441
|
label: '查看品牌路径:',
|
|
446
442
|
ele: 'xd-select-pages-path',
|
|
@@ -489,7 +485,93 @@ export default {
|
|
|
489
485
|
},
|
|
490
486
|
inline: false,
|
|
491
487
|
},
|
|
488
|
+
|
|
489
|
+
// 废弃 - 隐藏
|
|
490
|
+
{
|
|
491
|
+
label: '是否有投影:',
|
|
492
|
+
ele: 'xd-radio',
|
|
493
|
+
groupKey:'style',
|
|
494
|
+
valueKey: 'is_shadow',
|
|
495
|
+
value: data['is_shadow'] || 'N',
|
|
496
|
+
placeholder: '请选择是否投影',
|
|
497
|
+
multiple: false,
|
|
498
|
+
className: 'input80',
|
|
499
|
+
list: [
|
|
500
|
+
{ label: '是', value: 'Y' },
|
|
501
|
+
{ label: '否', value: 'N' },
|
|
502
|
+
],
|
|
503
|
+
hidden: true,
|
|
504
|
+
},
|
|
505
|
+
data['is_shadow'] === 'Y' && {
|
|
506
|
+
label: '投影颜色:',
|
|
507
|
+
ele: 'xd-color',
|
|
508
|
+
groupKey:'style',
|
|
509
|
+
valueKey: 'is_shadow_bg',
|
|
510
|
+
value: data['is_shadow_bg'] || '',
|
|
511
|
+
placeholder: '请选择投影颜色',
|
|
512
|
+
classNmae: 'input80',
|
|
513
|
+
hidden: true,
|
|
514
|
+
},
|
|
515
|
+
data['is_shadow'] === 'Y' && {
|
|
516
|
+
label: '投影范围:',
|
|
517
|
+
ele: 'xd-site-select-list',
|
|
518
|
+
valueKey: 'is_shadow_w',
|
|
519
|
+
groupKey:'style',
|
|
520
|
+
value: data['is_shadow_w'] || '10',
|
|
521
|
+
placeholder: '请选择投影范围',
|
|
522
|
+
multiple: false,
|
|
523
|
+
className: 'input80',
|
|
524
|
+
handleCustom({ action, data }) {
|
|
525
|
+
XdBus.getParentApi('getOptionsSettingList')({
|
|
526
|
+
setting_id: 'edtix_style_radius',
|
|
527
|
+
key: Date.now()
|
|
528
|
+
})
|
|
529
|
+
.then(res => {
|
|
530
|
+
data.cb(res.list)
|
|
531
|
+
})
|
|
532
|
+
.catch(error => {
|
|
533
|
+
console.error(error);
|
|
534
|
+
});
|
|
535
|
+
},
|
|
536
|
+
hidden: true,
|
|
537
|
+
},
|
|
492
538
|
{
|
|
539
|
+
label: '是否有边框:',
|
|
540
|
+
ele: 'xd-radio',
|
|
541
|
+
valueKey: 'is_border',
|
|
542
|
+
value: data['is_border'] || 'N',
|
|
543
|
+
groupKey:'style',
|
|
544
|
+
placeholder: '请选择是否有边框',
|
|
545
|
+
multiple: false,
|
|
546
|
+
className: 'input80',
|
|
547
|
+
list: [
|
|
548
|
+
{ label: '是', value: 'Y' },
|
|
549
|
+
{ label: '否', value: 'N' },
|
|
550
|
+
],
|
|
551
|
+
hidden: true,
|
|
552
|
+
},
|
|
553
|
+
data['is_border'] === 'Y' && {
|
|
554
|
+
label: '边框颜色:',
|
|
555
|
+
ele: 'xd-color',
|
|
556
|
+
groupKey:'style',
|
|
557
|
+
valueKey: 'is_border_c',
|
|
558
|
+
value: data['is_border_c'] || '',
|
|
559
|
+
placeholder: '请选择边框颜色',
|
|
560
|
+
className: 'input80',
|
|
561
|
+
hidden: true,
|
|
562
|
+
},
|
|
563
|
+
data['is_border'] === 'Y' && {
|
|
564
|
+
label: '边框大小:',
|
|
565
|
+
groupKey:'style',
|
|
566
|
+
ele: 'el-input',
|
|
567
|
+
type: 'number',
|
|
568
|
+
valueKey: 'is_border_w',
|
|
569
|
+
value: data['is_border_w'] || '',
|
|
570
|
+
placeholder: '请输入边框颜色',
|
|
571
|
+
className: 'input80',
|
|
572
|
+
hidden: true,
|
|
573
|
+
},
|
|
574
|
+
{
|
|
493
575
|
label: '是否展开票券信息:',
|
|
494
576
|
ele: 'xd-radio',
|
|
495
577
|
valueKey: 'is_open',
|
|
@@ -129,6 +129,9 @@
|
|
|
129
129
|
v-for="(Ditem, Dindex) in info.film_show.detail.items"
|
|
130
130
|
:key="Dindex"
|
|
131
131
|
class="jfb-base-order-detail__body-delivery-bottom-item"
|
|
132
|
+
:style="{
|
|
133
|
+
marginBottom: lineHeight + 'rpx'
|
|
134
|
+
}"
|
|
132
135
|
>
|
|
133
136
|
<view style="width: 130rpx"
|
|
134
137
|
>{{ Ditem.label }} <span v-if="Ditem.label">:</span>
|
|
@@ -214,6 +217,9 @@
|
|
|
214
217
|
v-for="(Ditem, Dindex) in item.info"
|
|
215
218
|
:key="Dindex"
|
|
216
219
|
class="jfb-base-order-detail__body-delivery-bottom-item"
|
|
220
|
+
:style="{
|
|
221
|
+
marginBottom: lineHeight + 'rpx'
|
|
222
|
+
}"
|
|
217
223
|
>
|
|
218
224
|
<view style="width: 130rpx;display: flex;">
|
|
219
225
|
<view v-html="Ditem.label"></view>
|
|
@@ -510,6 +516,9 @@
|
|
|
510
516
|
v-for="(item, index) in info.detail"
|
|
511
517
|
:key="index"
|
|
512
518
|
class="jfb-base-order-detail__body-order"
|
|
519
|
+
:style="{
|
|
520
|
+
marginBottom: lineHeight + 'rpx'
|
|
521
|
+
}"
|
|
513
522
|
>
|
|
514
523
|
<view :style="{ fontWeight: item.style }">
|
|
515
524
|
<view style="display: flex;">
|
|
@@ -541,6 +550,9 @@
|
|
|
541
550
|
<view
|
|
542
551
|
v-if="item.type !== 'line'"
|
|
543
552
|
class="jfb-base-order-detail__body-price"
|
|
553
|
+
:style="{
|
|
554
|
+
marginBottom: lineHeight + 'rpx'
|
|
555
|
+
}"
|
|
544
556
|
>
|
|
545
557
|
<view :style="{ fontWeight: item.style }">{{ item.label }}</view>
|
|
546
558
|
<xd-unit
|
|
@@ -699,41 +711,51 @@
|
|
|
699
711
|
:style="prod_bottom"
|
|
700
712
|
v-if="info.buttons && info.buttons.length > 0"
|
|
701
713
|
>
|
|
702
|
-
<view
|
|
703
|
-
<view
|
|
704
|
-
style="display: flex; align-items: center"
|
|
705
|
-
v-if="item.action === 'pay'"
|
|
706
|
-
>
|
|
714
|
+
<view :style="[bottomBoxStyle]" class="btn_wrap">
|
|
715
|
+
<view v-for="(item, index) in info.buttons" :key="index">
|
|
707
716
|
<view
|
|
708
|
-
style="display: flex; align-items: center
|
|
709
|
-
v-if="
|
|
717
|
+
style="display: flex; align-items: center"
|
|
718
|
+
v-if="item.action === 'pay'"
|
|
710
719
|
>
|
|
711
|
-
<
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
720
|
+
<view
|
|
721
|
+
style="display: flex; align-items: center; margin-right: 30rpx"
|
|
722
|
+
v-if="biz_code !== 'gift' || info.is_show_gift_price"
|
|
723
|
+
>
|
|
724
|
+
<text>应付:</text>
|
|
725
|
+
<xd-unit
|
|
726
|
+
:price="info.pay_info.real_pay_amount"
|
|
727
|
+
:font-size="36"
|
|
728
|
+
:iocn-size="0.45"
|
|
729
|
+
></xd-unit>
|
|
730
|
+
</view>
|
|
731
|
+
<view>
|
|
732
|
+
<xd-button
|
|
733
|
+
@click="handleToPay"
|
|
734
|
+
size="small"
|
|
735
|
+
type="primary"
|
|
736
|
+
:style="{
|
|
737
|
+
height: bottomBtnHeight + 'rpx',
|
|
738
|
+
lineHeight: bottomBtnHeight + 'rpx',
|
|
739
|
+
}"
|
|
740
|
+
:radius="bottomBtnRadius + 'rpx'"
|
|
741
|
+
:bg-color="mainColor"
|
|
742
|
+
>{{ item.text }}
|
|
743
|
+
</xd-button>
|
|
744
|
+
</view>
|
|
717
745
|
</view>
|
|
718
|
-
<view>
|
|
746
|
+
<view v-else>
|
|
719
747
|
<xd-button
|
|
720
|
-
@click="handleToPay"
|
|
721
748
|
size="small"
|
|
722
|
-
type="primary"
|
|
723
|
-
radius="
|
|
724
|
-
:
|
|
725
|
-
|
|
726
|
-
|
|
749
|
+
:type="item.type !== undefined ? item.type: 'primary'"
|
|
750
|
+
:radius="bottomBtnRadius + 'rpx'"
|
|
751
|
+
:style="{
|
|
752
|
+
height: bottomBtnHeight + 'rpx',
|
|
753
|
+
lineHeight: bottomBtnHeight + 'rpx',
|
|
754
|
+
}"
|
|
755
|
+
@click="handleAction(item)"
|
|
756
|
+
>{{ item.text }}</xd-button>
|
|
727
757
|
</view>
|
|
728
758
|
</view>
|
|
729
|
-
<view v-else>
|
|
730
|
-
<xd-button
|
|
731
|
-
size="small"
|
|
732
|
-
:type="item.type !== undefined ? item.type: 'primary'"
|
|
733
|
-
radius="40rpx"
|
|
734
|
-
@click="handleAction(item)"
|
|
735
|
-
>{{ item.text }}</xd-button>
|
|
736
|
-
</view>
|
|
737
759
|
</view>
|
|
738
760
|
</view>
|
|
739
761
|
</view>
|
|
@@ -840,17 +862,20 @@ export default {
|
|
|
840
862
|
is_border_w: 0,
|
|
841
863
|
is_border_c: "",
|
|
842
864
|
|
|
865
|
+
|
|
843
866
|
//其他
|
|
844
|
-
margin: {
|
|
845
|
-
top: 0,
|
|
846
|
-
left: 0,
|
|
847
|
-
right: 0,
|
|
848
|
-
bottom: 0,
|
|
849
|
-
},
|
|
867
|
+
margin: {},
|
|
850
868
|
is_hot: "Y",
|
|
851
869
|
logo: "",
|
|
870
|
+
lineHeight: 20,
|
|
852
871
|
|
|
853
872
|
noticeBgc:'',
|
|
873
|
+
sectionShadow: "",
|
|
874
|
+
sectionBorder: "",
|
|
875
|
+
bottomBtnRadius: 0,
|
|
876
|
+
bottomPadding: "",
|
|
877
|
+
bottomBgColor: "",
|
|
878
|
+
bottomBtnHeight: "",
|
|
854
879
|
is_open: '',
|
|
855
880
|
is_show: '',
|
|
856
881
|
showAllProductDetail: false,
|
|
@@ -895,15 +920,21 @@ export default {
|
|
|
895
920
|
return str
|
|
896
921
|
},
|
|
897
922
|
shadowBox() {
|
|
898
|
-
|
|
899
|
-
return `0 0 ${this.is_shadow_w}rpx ${this.is_shadow_bg}`;
|
|
900
|
-
else return "0 0 0 rgba(0,0,0,0)";
|
|
923
|
+
return this.sectionShadow;
|
|
901
924
|
},
|
|
902
925
|
borderBox() {
|
|
903
|
-
|
|
904
|
-
return `${this.is_border_w}rpx solid ${this.is_border_c}`;
|
|
905
|
-
else return "0";
|
|
926
|
+
return this.sectionBorder;
|
|
906
927
|
},
|
|
928
|
+
bottomBoxStyle(){
|
|
929
|
+
let padding = `${this.checkValue(this.bottomPadding.top, 20)}rpx`;
|
|
930
|
+
padding = `${padding} ${this.checkValue(this.bottomPadding.right, 20)}rpx`;
|
|
931
|
+
padding = `${padding} ${this.checkValue(this.bottomPadding.bottom, 20)}rpx`;
|
|
932
|
+
padding = `${padding} ${this.checkValue(this.bottomPadding.left, 20)}rpx`;
|
|
933
|
+
return {
|
|
934
|
+
padding: padding,
|
|
935
|
+
backgroundColor: this.bottomBgColor,
|
|
936
|
+
}
|
|
937
|
+
}
|
|
907
938
|
},
|
|
908
939
|
created() {
|
|
909
940
|
this.noticeBgc = Color(this.warningColor).alpha(0.2).toString();
|
|
@@ -1143,12 +1174,30 @@ export default {
|
|
|
1143
1174
|
this.is_shadow_w = getContainerPropsValue(container, "content.is_shadow_w", "10");
|
|
1144
1175
|
|
|
1145
1176
|
this.is_border = getContainerPropsValue(container, "content.is_border", "N");
|
|
1146
|
-
this.is_hot = getContainerPropsValue(container, "content.is_hot", "Y");
|
|
1147
1177
|
this.is_border_c = getContainerPropsValue(container, "content.is_border_c", "#fff");
|
|
1148
1178
|
this.is_border_w = getContainerPropsValue(container, "content.is_border_w", 2);
|
|
1179
|
+
|
|
1180
|
+
this.is_hot = getContainerPropsValue(container, "content.is_hot", "Y");
|
|
1149
1181
|
this.viewStatus = getContainerPropsValue(container, "content.viewStatus", "mall");
|
|
1150
1182
|
this.is_show_support_shop = getContainerPropsValue(container, "content.is_show_support_shop", "N");
|
|
1151
1183
|
this.is_show_delete_order = getContainerPropsValue(container, "content.is_show_delete_order", "N");
|
|
1184
|
+
this.lineHeight = getContainerPropsValue(container, "content.lineHeight", 20);
|
|
1185
|
+
let sectionShadow = getContainerPropsValue(container, "content.sectionShadow", "");
|
|
1186
|
+
this.sectionShadow = this.getShadowCompatibleOldStyle(sectionShadow, {
|
|
1187
|
+
type: this.is_shadow,
|
|
1188
|
+
width: this.is_shadow_w,
|
|
1189
|
+
color: this.is_shadow_bg,
|
|
1190
|
+
})
|
|
1191
|
+
let sectionBorder = getContainerPropsValue(container, "content.sectionBorder", "");
|
|
1192
|
+
this.sectionBorder = this.getBorderCompatibleOldStyle(sectionBorder, {
|
|
1193
|
+
type: this.is_border,
|
|
1194
|
+
width: this.is_border_w,
|
|
1195
|
+
color: this.is_border_c,
|
|
1196
|
+
})
|
|
1197
|
+
this.bottomBtnRadius = getContainerPropsValue(container, "content.bottomBtnRadius", 0);
|
|
1198
|
+
this.bottomPadding = getContainerPropsValue(container, "content.bottomPadding", {});
|
|
1199
|
+
this.bottomBgColor = getContainerPropsValue(container, "content.bottomBgColor", "#ffffff");
|
|
1200
|
+
this.bottomBtnHeight = getContainerPropsValue(container, "content.bottomBtnHeight", 60);
|
|
1152
1201
|
this.is_open = getContainerPropsValue(container, "content.is_open", "N");
|
|
1153
1202
|
this.is_show = getContainerPropsValue(container, "content.is_show", '1');
|
|
1154
1203
|
this.showPayCard = this.is_open==='Y'
|
|
@@ -1801,8 +1850,6 @@ export default {
|
|
|
1801
1850
|
position: fixed;
|
|
1802
1851
|
left: 0;
|
|
1803
1852
|
right: 0;
|
|
1804
|
-
height: unit(100, rpx);
|
|
1805
|
-
padding: 0 unit(30, rpx);
|
|
1806
1853
|
box-shadow: 0 0 unit(10, rpx) rgba(0, 0, 0, 0.15);
|
|
1807
1854
|
background: #fff;
|
|
1808
1855
|
z-index: 3000;
|
|
@@ -1810,9 +1857,12 @@ export default {
|
|
|
1810
1857
|
justify-content: flex-end;
|
|
1811
1858
|
align-items: center;
|
|
1812
1859
|
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1860
|
+
.btn_wrap{
|
|
1861
|
+
display: flex;
|
|
1862
|
+
& > view {
|
|
1863
|
+
margin-left: unit(20, rpx);
|
|
1864
|
+
font-size: @xd-font-size-lg;
|
|
1865
|
+
}
|
|
1816
1866
|
}
|
|
1817
1867
|
}
|
|
1818
1868
|
|
|
@@ -4,6 +4,17 @@ export default {
|
|
|
4
4
|
style: [],
|
|
5
5
|
content: (data)=>{
|
|
6
6
|
return [
|
|
7
|
+
{
|
|
8
|
+
label: "布局样式配置",
|
|
9
|
+
ele: "xd-radio",
|
|
10
|
+
valueKey: "layout_style",
|
|
11
|
+
value: data.layout_style || 'old',
|
|
12
|
+
list: [
|
|
13
|
+
{label: '布局1', value: 'old'},
|
|
14
|
+
{label: '布局2', value: 'tfk'},
|
|
15
|
+
],
|
|
16
|
+
groupKey: "style",
|
|
17
|
+
},
|
|
7
18
|
{
|
|
8
19
|
label: '设置订单状态:',
|
|
9
20
|
ele: 'xd-order-setting',
|
|
@@ -30,6 +41,18 @@ export default {
|
|
|
30
41
|
{required: true, message: '设置订单配置错误!请检查配置', trigger: 'change'},
|
|
31
42
|
],
|
|
32
43
|
},
|
|
44
|
+
{
|
|
45
|
+
label: "是否展示订单号:",
|
|
46
|
+
ele: 'xd-radio',
|
|
47
|
+
valueKey: 'isShowOrderNo',
|
|
48
|
+
value: data['isShowOrderNo'] || 'Y',
|
|
49
|
+
groupKey:'style',
|
|
50
|
+
list: [
|
|
51
|
+
{label: '是', value: 'Y'},
|
|
52
|
+
{label: '否', value: 'N'},
|
|
53
|
+
],
|
|
54
|
+
hidden: data.layout_style !== 'tfk'
|
|
55
|
+
},
|
|
33
56
|
{
|
|
34
57
|
label: '外填充:',
|
|
35
58
|
ele: 'xd-margin-padding',
|
|
@@ -73,11 +96,38 @@ export default {
|
|
|
73
96
|
inline: false,
|
|
74
97
|
notice: '间距设置,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
|
|
75
98
|
},
|
|
99
|
+
{
|
|
100
|
+
label: "投影设置:",
|
|
101
|
+
ele: "xd-shadow",
|
|
102
|
+
valueKey: "sectionShadow",
|
|
103
|
+
value: data.sectionShadow || {},
|
|
104
|
+
groupKey:'style',
|
|
105
|
+
handleCustom({action, data}) {
|
|
106
|
+
XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_radius'})
|
|
107
|
+
.then(res => {
|
|
108
|
+
data.cb(res.list)
|
|
109
|
+
})
|
|
110
|
+
.catch(error => {
|
|
111
|
+
console.error(error);
|
|
112
|
+
data.cb([])
|
|
113
|
+
});
|
|
114
|
+
},
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
label: '边框设置:',
|
|
118
|
+
ele: 'xd-border',
|
|
119
|
+
valueKey: 'sectionBorder',
|
|
120
|
+
groupKey:'style',
|
|
121
|
+
value: data.sectionBorder || {},
|
|
122
|
+
placeholder: '请选择边框设置',
|
|
123
|
+
inline: false,
|
|
124
|
+
},
|
|
76
125
|
{
|
|
77
126
|
ele: 'title',
|
|
78
127
|
label: '投影设置',
|
|
79
128
|
size: 'small',
|
|
80
129
|
groupKey:'style',
|
|
130
|
+
hidden: true,
|
|
81
131
|
},
|
|
82
132
|
{
|
|
83
133
|
label: '是否有投影:',
|
|
@@ -91,7 +141,8 @@ export default {
|
|
|
91
141
|
list: [
|
|
92
142
|
{label: '是', value: 'Y'},
|
|
93
143
|
{label: '否', value: 'N'},
|
|
94
|
-
]
|
|
144
|
+
],
|
|
145
|
+
hidden: true,
|
|
95
146
|
},
|
|
96
147
|
data['is_shadow'] === 'Y' && {
|
|
97
148
|
label: '投影颜色:',
|
|
@@ -101,6 +152,7 @@ export default {
|
|
|
101
152
|
value: data['is_shadow_bg'] || '',
|
|
102
153
|
placeholder: '请选择投影颜色',
|
|
103
154
|
classNmae: 'input80',
|
|
155
|
+
hidden: true,
|
|
104
156
|
},
|
|
105
157
|
data['is_shadow'] === 'Y' && {
|
|
106
158
|
label: '投影范围:',
|
|
@@ -123,12 +175,14 @@ export default {
|
|
|
123
175
|
console.error(error);
|
|
124
176
|
});
|
|
125
177
|
},
|
|
178
|
+
hidden: true,
|
|
126
179
|
},
|
|
127
180
|
{
|
|
128
181
|
ele: 'title',
|
|
129
182
|
label: '边框设置',
|
|
130
183
|
size: 'small',
|
|
131
184
|
groupKey:'style',
|
|
185
|
+
hidden: true,
|
|
132
186
|
},
|
|
133
187
|
{
|
|
134
188
|
label: '是否有边框:',
|
|
@@ -142,7 +196,8 @@ export default {
|
|
|
142
196
|
list: [
|
|
143
197
|
{label: '是', value: 'Y'},
|
|
144
198
|
{label: '否', value: 'N'},
|
|
145
|
-
]
|
|
199
|
+
],
|
|
200
|
+
hidden: true,
|
|
146
201
|
},
|
|
147
202
|
data['is_border'] === 'Y' && {
|
|
148
203
|
label: '边框颜色:',
|
|
@@ -152,6 +207,7 @@ export default {
|
|
|
152
207
|
value: data['is_border_c'] || '',
|
|
153
208
|
placeholder: '请选择边框颜色',
|
|
154
209
|
classNmae: 'input80',
|
|
210
|
+
hidden: true,
|
|
155
211
|
},
|
|
156
212
|
data['is_border'] === 'Y' && {
|
|
157
213
|
label: '边框大小:',
|
|
@@ -162,6 +218,7 @@ export default {
|
|
|
162
218
|
value: data['is_border_w'] || '',
|
|
163
219
|
placeholder: '请输入边框大小',
|
|
164
220
|
className: 'input80',
|
|
221
|
+
hidden: true,
|
|
165
222
|
},
|
|
166
223
|
{
|
|
167
224
|
label: '内容圆角设置:',
|