jufubao-base 1.0.169-beta9 → 1.0.170
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/JfbBaseHeader/JfbBaseHeader.vue +2 -2
- package/src/components/JfbBaseLogin/Attr.js +10 -0
- package/src/components/JfbBaseLogin/JfbBaseLogin.vue +6 -1
- package/src/components/JfbBaseNotice/JfbBaseNotice.vue +2 -2
- package/src/components/JfbBaseTfkCardBind/Attr.js +80 -7
- package/src/components/JfbBaseTfkCardBind/JfbBaseTfkCardBind.vue +112 -13
- package/src/components/JfbBaseTfkCardDetail/Attr.js +49 -1
- package/src/components/JfbBaseTfkCardDetail/JfbBaseTfkCardDetail.vue +18 -9
- package/src/components/JfbBaseTfkCardLogin/Attr.js +223 -13
- package/src/components/JfbBaseTfkCardLogin/JfbBaseTfkCardLogin.vue +118 -73
- package/src/components/JfbBaseTfkCardLogin/Mock.js +5 -535
- package/src/components/JfbBaseTfkCardLogin/XdCouponItem.vue +10 -6
- package/src/components/JfbBaseTfkCardLogin/XdNotice.vue +550 -0
- package/src/components/JfbBaseTfkSearch/AllList.vue +241 -135
- package/src/components/JfbBaseTfkSearch/Api.js +1 -1
- package/src/components/JfbBaseTfkSearch/Attr.js +203 -1
- package/src/components/JfbBaseTfkSearch/ContentFilm.vue +127 -88
- package/src/components/JfbBaseTfkSearch/ContentProduct.vue +14 -5
- package/src/components/JfbBaseTfkSearch/ContentShop.vue +2 -0
- package/src/components/JfbBaseTfkSearch/CusAttr.js +10 -0
- package/src/components/JfbBaseTfkSearch/CustomList.vue +130 -78
- package/src/components/JfbBaseTfkSearch/JfbBaseTfkSearch.vue +164 -62
- package/src/components/JfbBaseTfkSearch/Mock.js +184 -32
- package/src/components/JfbBaseTfkSearch/listMixins.js +111 -75
- package/src/components/JfbBaseUserInfo/JfbBaseUserInfo.vue +2 -1
- package/src/mixins/componentsMixins.js +33 -3
- package/src/mixins/posterMixins.js +122 -0
- package/src/components/JfbBaseTfkSearch/search.js +0 -293
|
@@ -270,6 +270,31 @@ export default {
|
|
|
270
270
|
}
|
|
271
271
|
},
|
|
272
272
|
},
|
|
273
|
+
{
|
|
274
|
+
label: "显示样式:",
|
|
275
|
+
ele: 'xd-radio',
|
|
276
|
+
valueKey: 'noticeStyle',
|
|
277
|
+
value: data['noticeStyle'] || '1',
|
|
278
|
+
groupKey:'content',
|
|
279
|
+
list: [
|
|
280
|
+
{"label": "静态显示", "value": '1'},
|
|
281
|
+
{"label": "滚动显示", "value": '2'},
|
|
282
|
+
{"label": "弹窗显示", "value": '3'},
|
|
283
|
+
],
|
|
284
|
+
},
|
|
285
|
+
data.noticeStyle == 3 &&{
|
|
286
|
+
label: '是否隐藏弹框(仅预览模式生效):',
|
|
287
|
+
ele: 'xd-radio',
|
|
288
|
+
valueKey: 'notice_is_hide_dailog',
|
|
289
|
+
groupKey: 'content',
|
|
290
|
+
value: data['notice_is_hide_dailog'] || 'N',
|
|
291
|
+
placeholder: '请选择是否隐藏弹框',
|
|
292
|
+
className: 'input60',
|
|
293
|
+
list: [
|
|
294
|
+
{ label: '是', value: 'Y' },
|
|
295
|
+
{ label: '否', value: 'N' },
|
|
296
|
+
]
|
|
297
|
+
},
|
|
273
298
|
{
|
|
274
299
|
ele: "title",
|
|
275
300
|
label: "我的票券包内容配置",
|
|
@@ -309,6 +334,7 @@ export default {
|
|
|
309
334
|
{label: '铺满背景,裁剪掉多余', value: 'cover'},
|
|
310
335
|
{label: '图像缩放成适合背景区域的最大大小', value: 'contain'}
|
|
311
336
|
],
|
|
337
|
+
hidden: data.previewCurrent !== 'card'
|
|
312
338
|
},
|
|
313
339
|
{
|
|
314
340
|
ele: "title",
|
|
@@ -339,7 +365,7 @@ export default {
|
|
|
339
365
|
hidden: data.previewCurrent !== 'coupon'
|
|
340
366
|
},
|
|
341
367
|
{
|
|
342
|
-
label: '顶部菜单配置 -
|
|
368
|
+
label: '顶部菜单配置 - 通用',
|
|
343
369
|
ele: "title",
|
|
344
370
|
size: "small",
|
|
345
371
|
groupKey: "content",
|
|
@@ -390,6 +416,18 @@ export default {
|
|
|
390
416
|
size: "small",
|
|
391
417
|
groupKey: "style",
|
|
392
418
|
},
|
|
419
|
+
{
|
|
420
|
+
label: "展示方式设置:",
|
|
421
|
+
ele: "xd-radio",
|
|
422
|
+
valueKey: "menuShowType",
|
|
423
|
+
groupKey:'style',
|
|
424
|
+
value: data.menuShowType || 'text',
|
|
425
|
+
className: "input70",
|
|
426
|
+
list: [
|
|
427
|
+
{label: '文本', value: 'text'},
|
|
428
|
+
{label: '按钮', value: 'button'}
|
|
429
|
+
],
|
|
430
|
+
},
|
|
393
431
|
{
|
|
394
432
|
label: '菜单容器内边距设置:',
|
|
395
433
|
groupKey:'style',
|
|
@@ -460,7 +498,7 @@ export default {
|
|
|
460
498
|
type: "number",
|
|
461
499
|
},
|
|
462
500
|
{
|
|
463
|
-
label: "顶部菜单右侧配置 -
|
|
501
|
+
label: "顶部菜单右侧配置 - 通用",
|
|
464
502
|
ele: "title",
|
|
465
503
|
size: "small",
|
|
466
504
|
groupKey: "style",
|
|
@@ -551,6 +589,84 @@ export default {
|
|
|
551
589
|
size: "small",
|
|
552
590
|
groupKey: "style",
|
|
553
591
|
},
|
|
592
|
+
// data.noticeStyle === '1' && {
|
|
593
|
+
// label: '是否显示标题:',
|
|
594
|
+
// ele: 'xd-switch',
|
|
595
|
+
// valueKey: 'noticeIsTitle',
|
|
596
|
+
// value: data['noticeIsTitle'],
|
|
597
|
+
// groupKey:'style',
|
|
598
|
+
// list: ['否', '是'],
|
|
599
|
+
// backValueType: 2,
|
|
600
|
+
// },
|
|
601
|
+
// data.noticeStyle === '1' && data['noticeIsTitle'] && {
|
|
602
|
+
// label: '标题对齐方式:',
|
|
603
|
+
// ele: 'xd-select-list',
|
|
604
|
+
// valueKey: 'noticeTextAlign',
|
|
605
|
+
// groupKey:'style',
|
|
606
|
+
// className: 'input80',
|
|
607
|
+
// value: data['noticeTextAlign'] || '',
|
|
608
|
+
// list: [
|
|
609
|
+
// {"label": "左", "value": 'left'},
|
|
610
|
+
// {"label": "中", "value": 'center'},
|
|
611
|
+
// {"label": "右", "value": 'right'},
|
|
612
|
+
// ]
|
|
613
|
+
// },
|
|
614
|
+
{
|
|
615
|
+
label: '内容圆角设置:',
|
|
616
|
+
ele: 'xd-site-select-list',
|
|
617
|
+
valueKey: 'noticeRadius',
|
|
618
|
+
value: data['noticeRadius'],
|
|
619
|
+
groupKey:'style',
|
|
620
|
+
placeholder: '请选择内容圆角设置',
|
|
621
|
+
multiple: false,
|
|
622
|
+
className: 'input80',
|
|
623
|
+
handleCustom({action, data}) {
|
|
624
|
+
XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_radius'})
|
|
625
|
+
.then(res => {
|
|
626
|
+
data.cb(res.list)
|
|
627
|
+
})
|
|
628
|
+
.catch(error => {
|
|
629
|
+
console.error(error);
|
|
630
|
+
});
|
|
631
|
+
},
|
|
632
|
+
},
|
|
633
|
+
{
|
|
634
|
+
label: '内容背景颜色:',
|
|
635
|
+
ele: 'xd-color',
|
|
636
|
+
valueKey: 'noticeBgc',
|
|
637
|
+
groupKey:'style',
|
|
638
|
+
value: data.noticeBgc || '',
|
|
639
|
+
placeholder: '请选择内容背景颜色',
|
|
640
|
+
className: 'input80',
|
|
641
|
+
},
|
|
642
|
+
// {
|
|
643
|
+
// label: '内文字颜色:',
|
|
644
|
+
// ele: 'xd-color',
|
|
645
|
+
// groupKey:'style',
|
|
646
|
+
// valueKey: 'noticeTextColor',
|
|
647
|
+
// value: data.noticeTextColor || '',
|
|
648
|
+
// placeholder: '请选择内文字颜色',
|
|
649
|
+
// className: 'input80',
|
|
650
|
+
// },
|
|
651
|
+
// {
|
|
652
|
+
// label: '内容文字大小:',
|
|
653
|
+
// ele: 'xd-site-select-list',
|
|
654
|
+
// valueKey: 'noticeFontSize',
|
|
655
|
+
// value: data['noticeFontSize'],
|
|
656
|
+
// groupKey:'style',
|
|
657
|
+
// placeholder: '请选择内容文字大小',
|
|
658
|
+
// multiple: false,
|
|
659
|
+
// className: 'input80',
|
|
660
|
+
// handleCustom({action, data}) {
|
|
661
|
+
// XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_font_size'})
|
|
662
|
+
// .then(res => {
|
|
663
|
+
// data.cb(res.list)
|
|
664
|
+
// })
|
|
665
|
+
// .catch(error => {
|
|
666
|
+
// console.error(error);
|
|
667
|
+
// });
|
|
668
|
+
// },
|
|
669
|
+
// },
|
|
554
670
|
{
|
|
555
671
|
label: "外边距设置:",
|
|
556
672
|
groupKey:'style',
|
|
@@ -582,26 +698,51 @@ export default {
|
|
|
582
698
|
inline: false,
|
|
583
699
|
notice: '设置内边距,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
|
|
584
700
|
},
|
|
701
|
+
// {
|
|
702
|
+
// label: "背景色设置:",
|
|
703
|
+
// ele: "xd-color",
|
|
704
|
+
// groupKey:'style',
|
|
705
|
+
// valueKey: "noticeBgColor",
|
|
706
|
+
// value: data.noticeBgColor || null,
|
|
707
|
+
// setting: {
|
|
708
|
+
// showAlpha: true,
|
|
709
|
+
// isAlpha: false
|
|
710
|
+
// }
|
|
711
|
+
// },
|
|
585
712
|
{
|
|
586
|
-
label: "
|
|
587
|
-
ele: "xd-
|
|
713
|
+
label: "内容字体设置:",
|
|
714
|
+
ele: "xd-font",
|
|
715
|
+
valueKey: "noticeFont",
|
|
716
|
+
value: data.noticeFont || {},
|
|
588
717
|
groupKey:'style',
|
|
589
|
-
valueKey: "noticeBgColor",
|
|
590
|
-
value: data.noticeBgColor || null,
|
|
591
718
|
setting: {
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
719
|
+
align: false,
|
|
720
|
+
lineHeight: false,
|
|
721
|
+
weight: false,
|
|
722
|
+
},
|
|
723
|
+
handleCustom({action, data}) {
|
|
724
|
+
XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_font_size'})
|
|
725
|
+
.then(res => {
|
|
726
|
+
data.cb(res.list)
|
|
727
|
+
})
|
|
728
|
+
.catch(error => {
|
|
729
|
+
data.cb([])
|
|
730
|
+
console.error(error);
|
|
731
|
+
});
|
|
732
|
+
},
|
|
733
|
+
inline: false,
|
|
734
|
+
notice: '填充设置,单位:<span style="color: red">像素</span>。默认值:<span style="color: red">20</span> 像素',
|
|
595
735
|
},
|
|
596
736
|
{
|
|
597
|
-
label: "
|
|
737
|
+
label: "【更多】字体设置:",
|
|
598
738
|
ele: "xd-font",
|
|
599
|
-
valueKey: "
|
|
600
|
-
value: data.
|
|
739
|
+
valueKey: "noticeMoreFont",
|
|
740
|
+
value: data.noticeMoreFont || {},
|
|
601
741
|
groupKey:'style',
|
|
602
742
|
setting: {
|
|
603
743
|
align: false,
|
|
604
744
|
lineHeight: false,
|
|
745
|
+
weight: false,
|
|
605
746
|
},
|
|
606
747
|
handleCustom({action, data}) {
|
|
607
748
|
XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_font_size'})
|
|
@@ -616,6 +757,55 @@ export default {
|
|
|
616
757
|
inline: false,
|
|
617
758
|
notice: '填充设置,单位:<span style="color: red">像素</span>。默认值:<span style="color: red">20</span> 像素',
|
|
618
759
|
},
|
|
760
|
+
{
|
|
761
|
+
label: '显示条数:',
|
|
762
|
+
ele: 'el-input',
|
|
763
|
+
groupKey:'style',
|
|
764
|
+
type: 'number',
|
|
765
|
+
valueKey: 'noticeNum',
|
|
766
|
+
value: data.noticeNum,
|
|
767
|
+
placeholder: '请输入滚动显示条数,默认:1',
|
|
768
|
+
className: 'input80',
|
|
769
|
+
unit: '条'
|
|
770
|
+
},
|
|
771
|
+
data.noticeStyle == 2 && {
|
|
772
|
+
label: '滚动速度值:',
|
|
773
|
+
ele: 'el-input',
|
|
774
|
+
type: 'number',
|
|
775
|
+
groupKey:'style',
|
|
776
|
+
valueKey: 'noticeSpeed',
|
|
777
|
+
value: data.noticeSpeed,
|
|
778
|
+
placeholder: '请输入滚动速度值,默认:20',
|
|
779
|
+
className: 'input80',
|
|
780
|
+
inline: false,
|
|
781
|
+
notice: '滚动速度值,建议取值:20-60, 值越大越快',
|
|
782
|
+
},
|
|
783
|
+
// {
|
|
784
|
+
// label: '边距设置:',
|
|
785
|
+
// ele: 'xd-margin-padding',
|
|
786
|
+
// groupKey:'style',
|
|
787
|
+
// valueKey: 'noticeScrollMargin',
|
|
788
|
+
// value: data.noticeScrollMargin || null,
|
|
789
|
+
// setting: {
|
|
790
|
+
// type: 'margin',
|
|
791
|
+
// },
|
|
792
|
+
// placeholder: '请设置内容边距设置',
|
|
793
|
+
// inline: false,
|
|
794
|
+
// notice: '内容边距设置,<span style="color: red">单位:像素</span>。默认值:0像素',
|
|
795
|
+
// },
|
|
796
|
+
data.noticeStyle == 3 && {
|
|
797
|
+
label: '弹窗间隔:',
|
|
798
|
+
ele: 'el-input',
|
|
799
|
+
type: 'text',
|
|
800
|
+
groupKey:'style',
|
|
801
|
+
valueKey: 'noticeTime',
|
|
802
|
+
value: data.noticeTime || '',
|
|
803
|
+
className: 'input80',
|
|
804
|
+
inline: false,
|
|
805
|
+
notice: '弹窗间隔,单位:小时。默认值:<span style="color: red">3</span>小时',
|
|
806
|
+
},
|
|
807
|
+
|
|
808
|
+
|
|
619
809
|
{
|
|
620
810
|
ele: "title",
|
|
621
811
|
label: "我的票券包样式配置",
|
|
@@ -657,7 +847,15 @@ export default {
|
|
|
657
847
|
groupKey:'style',
|
|
658
848
|
placeholder: '请输入票券高度',
|
|
659
849
|
inline: false,
|
|
660
|
-
notice: '设置票券高度,<span style="color: red">单位:像素</span
|
|
850
|
+
notice: '设置票券高度,<span style="color: red">单位:像素</span>。',
|
|
851
|
+
hidden: data.previewCurrent !== 'card'
|
|
852
|
+
},
|
|
853
|
+
{
|
|
854
|
+
label: "票券字体颜色设置:",
|
|
855
|
+
ele: "xd-color",
|
|
856
|
+
groupKey:'style',
|
|
857
|
+
valueKey: "cardFontColor",
|
|
858
|
+
value: data.cardFontColor || "#333",
|
|
661
859
|
hidden: data.previewCurrent !== 'card'
|
|
662
860
|
},
|
|
663
861
|
{
|
|
@@ -892,6 +1090,18 @@ export default {
|
|
|
892
1090
|
},
|
|
893
1091
|
inline: false,
|
|
894
1092
|
},
|
|
1093
|
+
{
|
|
1094
|
+
label: '失效卡列表地址:',
|
|
1095
|
+
ele: 'xd-select-pages-path',
|
|
1096
|
+
valueKey: 'disabledPath',
|
|
1097
|
+
groupKey:'advanced',
|
|
1098
|
+
placeholder: '请选择失效卡列表地址',
|
|
1099
|
+
value: data.disabledPath || null,
|
|
1100
|
+
setting: {
|
|
1101
|
+
router: XdBus.getParentApi('getPagesTree'),
|
|
1102
|
+
},
|
|
1103
|
+
inline: false,
|
|
1104
|
+
},
|
|
895
1105
|
{
|
|
896
1106
|
label: '综合福利入口页:',
|
|
897
1107
|
ele: 'xd-select-pages-path',
|