jufubao-base 1.0.169-beta2 → 1.0.169-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.
Files changed (42) hide show
  1. package/package.json +1 -1
  2. package/src/components/JfbBaseHeader/JfbBaseHeader.vue +2 -2
  3. package/src/components/JfbBaseLogin/Attr.js +54 -16
  4. package/src/components/JfbBaseLogin/JfbBaseLogin.vue +3 -1
  5. package/src/components/JfbBaseMapSearch/MapSearchMp.vue +1 -1
  6. package/src/components/JfbBaseNotice/JfbBaseNotice.vue +2 -2
  7. package/src/components/JfbBaseOrderDetail/Api.js +12 -7
  8. package/src/components/JfbBaseOrderDetail/Attr.js +28 -14
  9. package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +68 -18
  10. package/src/components/JfbBaseOrderDetail/Mock.js +3 -1
  11. package/src/components/JfbBaseTfkCardBind/Api.js +49 -30
  12. package/src/components/JfbBaseTfkCardBind/Attr.js +139 -15
  13. package/src/components/JfbBaseTfkCardBind/JfbBaseTfkCardBind.vue +217 -19
  14. package/src/components/JfbBaseTfkCardBind/Mock.js +19 -9
  15. package/src/components/JfbBaseTfkCardDetail/Api.js +11 -0
  16. package/src/components/JfbBaseTfkCardDetail/Attr.js +158 -7
  17. package/src/components/JfbBaseTfkCardDetail/JfbBaseTfkCardDetail.vue +159 -17
  18. package/src/components/JfbBaseTfkCardLogin/Attr.js +490 -4
  19. package/src/components/JfbBaseTfkCardLogin/JfbBaseTfkCardLogin.vue +393 -106
  20. package/src/components/JfbBaseTfkCardLogin/Mock.js +6 -536
  21. package/src/components/JfbBaseTfkCardLogin/XdCouponItem.vue +75 -19
  22. package/src/components/JfbBaseTfkCardLogin/XdNotice.vue +550 -0
  23. package/src/components/JfbBaseTfkSearch/AllList.vue +350 -0
  24. package/src/components/JfbBaseTfkSearch/Api.js +11 -42
  25. package/src/components/JfbBaseTfkSearch/Attr.js +344 -32
  26. package/src/components/JfbBaseTfkSearch/ContentCinema.vue +157 -0
  27. package/src/components/JfbBaseTfkSearch/ContentFilm.vue +218 -0
  28. package/src/components/JfbBaseTfkSearch/ContentProduct.vue +317 -0
  29. package/src/components/JfbBaseTfkSearch/ContentShop.vue +186 -0
  30. package/src/components/JfbBaseTfkSearch/CusAttr.js +213 -0
  31. package/src/components/JfbBaseTfkSearch/CustomList.vue +453 -0
  32. package/src/components/JfbBaseTfkSearch/JfbBaseTfkSearch.vue +286 -35
  33. package/src/components/JfbBaseTfkSearch/Mock.js +242 -11
  34. package/src/components/JfbBaseTfkSearch/SkeletonCinema.vue +45 -0
  35. package/src/components/JfbBaseTfkSearch/SkeletonFilm.vue +109 -0
  36. package/src/components/JfbBaseTfkSearch/SkeletonProduct.vue +246 -0
  37. package/src/components/JfbBaseTfkSearch/SkeletonShop.vue +81 -0
  38. package/src/components/JfbBaseTfkSearch/handleKeyword.js +24 -0
  39. package/src/components/JfbBaseTfkSearch/listMixins.js +187 -0
  40. package/src/mixins/colorCardMixins.js +71 -9
  41. package/src/mixins/componentsMixins.js +376 -23
  42. package/src/mixins/posterMixins.js +122 -0
@@ -18,6 +18,34 @@ export default {
18
18
  { label: '我的优惠券', value: 'coupon' },
19
19
  ],
20
20
  },
21
+ // {
22
+ // label: '选择综合入口类型:',
23
+ // ele: 'xd-site-select-list',
24
+ // valueKey: 'entryGroupId',
25
+ // value: data.entryGroupId || 'default',
26
+ // placeholder: '请选择综合入口类型',
27
+ // multiple: false,
28
+ // groupKey:'content',
29
+ // className: 'input50',
30
+ // rules: [
31
+ // {required: true, message: '请选择综合入口类型', trigger: ['blur', 'change']}
32
+ // ],
33
+ // handleCustom({action, data}) {
34
+ // XdBus.getParentApi('getEntryGroupOption')({key: Date.now()})
35
+ // .then(res => {
36
+ // data.cb(res.list)
37
+ // })
38
+ // .catch(error => {
39
+ // console.error(error);
40
+ // });
41
+ // },
42
+ // },
43
+ {
44
+ ele: "title",
45
+ label: "公告内容配置 - 通用",
46
+ size: "small",
47
+ groupKey: "content",
48
+ },
21
49
  {
22
50
  label: '公告内容:',
23
51
  ele: 'xd-site-news',
@@ -242,11 +270,37 @@ export default {
242
270
  }
243
271
  },
244
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
+ },
245
298
  {
246
299
  ele: "title",
247
300
  label: "我的票券包内容配置",
248
301
  size: "small",
249
302
  groupKey: "content",
303
+ hidden: data.previewCurrent !== 'card'
250
304
  },
251
305
  {
252
306
  label: '票券背景图:',
@@ -267,12 +321,27 @@ export default {
267
321
  action: 'action',
268
322
  sort: true,
269
323
  maxlen: 100,
324
+ hidden: data.previewCurrent !== 'card'
325
+ },
326
+ {
327
+ label: "背景图裁剪、缩放模式:",
328
+ ele: "xd-select-list",
329
+ valueKey: "cardImageMode",
330
+ groupKey:'content',
331
+ value: data.cardImageMode || '',
332
+ className: "input70",
333
+ list: [
334
+ {label: '铺满背景,裁剪掉多余', value: 'cover'},
335
+ {label: '图像缩放成适合背景区域的最大大小', value: 'contain'}
336
+ ],
337
+ hidden: data.previewCurrent !== 'card'
270
338
  },
271
339
  {
272
340
  ele: "title",
273
341
  label: "我的优惠券内容配置",
274
342
  size: "small",
275
343
  groupKey: "content",
344
+ hidden: data.previewCurrent !== 'coupon'
276
345
  },
277
346
  {
278
347
  label: '优惠券背景图:',
@@ -293,10 +362,26 @@ export default {
293
362
  action: 'action',
294
363
  sort: true,
295
364
  maxlen: 100,
365
+ hidden: data.previewCurrent !== 'coupon'
366
+ },
367
+ {
368
+ label: '顶部菜单配置 - 通用',
369
+ ele: "title",
370
+ size: "small",
371
+ groupKey: "content",
372
+ },
373
+ {
374
+ label: "顶部菜单右侧文案:",
375
+ ele: "el-input",
376
+ valueKey: "bindCardText",
377
+ value: data.bindCardText || "",
378
+ placeholder: "请输入内容",
379
+ groupKey:'content',
380
+ className: "input70",
296
381
  },
297
382
  {
298
383
  ele: "title",
299
- label: "列表容器配置",
384
+ label: "列表容器配置 - 通用",
300
385
  size: "small",
301
386
  groupKey: "style",
302
387
  },
@@ -327,10 +412,22 @@ export default {
327
412
  },
328
413
  {
329
414
  ele: "title",
330
- label: "标题菜单配置",
415
+ label: "标题菜单配置 - 通用",
331
416
  size: "small",
332
417
  groupKey: "style",
333
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
+ },
334
431
  {
335
432
  label: '菜单容器内边距设置:',
336
433
  groupKey:'style',
@@ -362,7 +459,7 @@ export default {
362
459
  groupKey:'style',
363
460
  ele: 'el-input',
364
461
  valueKey: 'menuItemMargin',
365
- value: data.menuItemMargin || 20,
462
+ value: data.menuItemMargin || 40,
366
463
  type: "number",
367
464
  className: "input40",
368
465
  placeholder: '请输入菜单间距',
@@ -400,6 +497,67 @@ export default {
400
497
  groupKey: "style",
401
498
  type: "number",
402
499
  },
500
+ {
501
+ label: "顶部菜单右侧配置 - 通用",
502
+ ele: "title",
503
+ size: "small",
504
+ groupKey: "style",
505
+ },
506
+ {
507
+ label: "展示方式:",
508
+ ele: "xd-radio",
509
+ valueKey: "bindCardShowType",
510
+ value: data.bindCardShowType || 'text',
511
+ groupKey:'style',
512
+ list: [
513
+ {label: '文本', value: 'text'},
514
+ {label: '按钮', value: 'button'}
515
+ ],
516
+ },
517
+ {
518
+ label: "按钮圆角",
519
+ ele: 'xd-site-select-list',
520
+ valueKey: 'bindCardBtnRadius',
521
+ value: data['bindCardBtnRadius'] || 16,
522
+ groupKey:'style',
523
+ placeholder: '请选择内容圆角设置',
524
+ multiple: false,
525
+ className: 'input80',
526
+ handleCustom({ action, data }) {
527
+ XdBus.getParentApi('getOptionsSettingList')({ setting_id: 'edtix_style_radius' })
528
+ .then(res => {
529
+ data.cb(res.list)
530
+ })
531
+ .catch(error => {
532
+ console.error(error);
533
+ });
534
+ },
535
+ hidden: data.bindCardShowType !== 'button'
536
+ },
537
+ {
538
+ label: "右侧文案字体样式:",
539
+ ele: "xd-font",
540
+ valueKey: "bindCardTextStyle",
541
+ value: data.bindCardTextStyle || {},
542
+ groupKey:'style',
543
+ setting: {
544
+ align: false,
545
+ lineHeight: false,
546
+ },
547
+ handleCustom({action, data}) {
548
+ XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_font_size'})
549
+ .then(res => {
550
+ data.cb(res.list)
551
+ })
552
+ .catch(error => {
553
+ data.cb([])
554
+ console.error(error);
555
+ });
556
+ },
557
+ inline: false,
558
+ notice: '填充设置,单位:<span style="color: red">像素</span>。默认值:<span style="color: red">20</span> 像素',
559
+ hidden: data.bindCardText === ''
560
+ },
403
561
  {
404
562
  label: "右侧图标(跳转票券绑定):",
405
563
  ele: "xd-font",
@@ -425,11 +583,280 @@ export default {
425
583
  inline: false,
426
584
  notice: '填充设置,单位:<span style="color: red">像素</span>。默认值:<span style="color: red">20</span> 像素',
427
585
  },
586
+ {
587
+ ele: "title",
588
+ label: "公告样式配置 - 通用",
589
+ size: "small",
590
+ groupKey: "style",
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
+ // },
670
+ {
671
+ label: "外边距设置:",
672
+ groupKey:'style',
673
+ ele: 'xd-margin-padding',
674
+ valueKey: 'noticeMargin',
675
+ value: data.noticeMargin || {
676
+ top: 20,
677
+ right: 0,
678
+ bottom: 20,
679
+ left:20
680
+ },
681
+ setting: {
682
+ type: 'margin',
683
+ },
684
+ placeholder: '请设置边距',
685
+ inline: false,
686
+ notice: '设置外边距,<span style="color: red">单位:像素</span>。',
687
+ },
688
+ {
689
+ label: "内边距设置:",
690
+ groupKey:'style',
691
+ ele: 'xd-margin-padding',
692
+ valueKey: 'noticePadding',
693
+ value: data.noticePadding || null,
694
+ setting: {
695
+ type: 'padding',
696
+ },
697
+ placeholder: '请设置边距',
698
+ inline: false,
699
+ notice: '设置内边距,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
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
+ // },
712
+ {
713
+ label: "内容字体设置:",
714
+ ele: "xd-font",
715
+ valueKey: "noticeFont",
716
+ value: data.noticeFont || {},
717
+ groupKey:'style',
718
+ setting: {
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> 像素',
735
+ },
736
+ {
737
+ label: "【更多】字体设置:",
738
+ ele: "xd-font",
739
+ valueKey: "noticeMoreFont",
740
+ value: data.noticeMoreFont || {},
741
+ groupKey:'style',
742
+ setting: {
743
+ align: false,
744
+ lineHeight: false,
745
+ weight: false,
746
+ },
747
+ handleCustom({action, data}) {
748
+ XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_font_size'})
749
+ .then(res => {
750
+ data.cb(res.list)
751
+ })
752
+ .catch(error => {
753
+ data.cb([])
754
+ console.error(error);
755
+ });
756
+ },
757
+ inline: false,
758
+ notice: '填充设置,单位:<span style="color: red">像素</span>。默认值:<span style="color: red">20</span> 像素',
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
+
428
809
  {
429
810
  ele: "title",
430
811
  label: "我的票券包样式配置",
431
812
  size: "small",
432
813
  groupKey: "style",
814
+ hidden: data.previewCurrent !== 'card'
815
+ },
816
+ {
817
+ label: "边框设置:",
818
+ ele: "xd-border",
819
+ groupKey:'style',
820
+ valueKey: "cardBorder",
821
+ value: data.cardBorder || null,
822
+ hidden: data.previewCurrent !== 'card'
823
+ },
824
+ {
825
+ label: "边框阴影设置:",
826
+ ele: "xd-shadow",
827
+ groupKey:'style',
828
+ valueKey: "cardShadow",
829
+ value: data.cardShadow || null,
830
+ handleCustom({action, data}) {
831
+ XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_radius'})
832
+ .then(res => {
833
+ data.cb(res.list)
834
+ })
835
+ .catch(error => {
836
+ console.error(error);
837
+ data.cb([])
838
+ });
839
+ },
840
+ hidden: data.previewCurrent !== 'card'
841
+ },
842
+ {
843
+ label: "票券高度设置:",
844
+ ele: "el-input",
845
+ valueKey: "cardHeight",
846
+ value: data.cardHeight || 270,
847
+ groupKey:'style',
848
+ placeholder: '请输入票券高度',
849
+ inline: false,
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",
859
+ hidden: data.previewCurrent !== 'card'
433
860
  },
434
861
  {
435
862
  label: "单项内边距设置:",
@@ -443,6 +870,7 @@ export default {
443
870
  placeholder: '请设置边距',
444
871
  inline: false,
445
872
  notice: '设置内边距,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
873
+ hidden: data.previewCurrent !== 'card'
446
874
  },
447
875
  {
448
876
  label: "圆角设置",
@@ -462,6 +890,18 @@ export default {
462
890
  console.error(error);
463
891
  });
464
892
  },
893
+ hidden: data.previewCurrent !== 'card'
894
+ },
895
+ {
896
+ label: "按钮最小宽度设置:",
897
+ ele: "el-input",
898
+ valueKey: "cardBtnMinWidth",
899
+ value: data.cardBtnMinWidth || 100,
900
+ groupKey:'style',
901
+ placeholder: '请输入按钮最小宽度',
902
+ inline: false,
903
+ notice: '设置按钮最小宽度,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">100</span> 像素',
904
+ hidden: data.previewCurrent !== 'card'
465
905
  },
466
906
  {
467
907
  label: "登录按钮文字背景色设置:",
@@ -485,6 +925,7 @@ export default {
485
925
  data.cb([])
486
926
  });
487
927
  },
928
+ hidden: data.previewCurrent !== 'card'
488
929
  },
489
930
  {
490
931
  label: "登录按钮圆角设置",
@@ -504,6 +945,7 @@ export default {
504
945
  console.error(error);
505
946
  });
506
947
  },
948
+ hidden: data.previewCurrent !== 'card'
507
949
  },
508
950
  {
509
951
  label: "登录按钮内边距设置:",
@@ -517,12 +959,14 @@ export default {
517
959
  placeholder: '请设置边距',
518
960
  inline: false,
519
961
  notice: '设置内边距,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
962
+ hidden: data.previewCurrent !== 'card'
520
963
  },
521
964
  {
522
965
  ele: "title",
523
966
  label: "我的优惠券样式配置",
524
967
  size: "small",
525
968
  groupKey: "style",
969
+ hidden: data.previewCurrent !== 'coupon'
526
970
  },
527
971
  {
528
972
  label: "优惠券左侧背景色设置:",
@@ -530,6 +974,7 @@ export default {
530
974
  valueKey: "couponLeftBgColor",
531
975
  value: data.couponLeftBgColor || 'linear-gradient(180deg, #FFA852 0%, #FF5733 100%)',
532
976
  groupKey:'style',
977
+ hidden: data.previewCurrent !== 'coupon'
533
978
  },
534
979
  {
535
980
  label: "圆角设置",
@@ -549,6 +994,7 @@ export default {
549
994
  console.error(error);
550
995
  });
551
996
  },
997
+ hidden: data.previewCurrent !== 'coupon'
552
998
  },
553
999
  {
554
1000
  label: "优惠券标题背景颜色设置:",
@@ -559,7 +1005,8 @@ export default {
559
1005
  setting: {
560
1006
  showAlpha: true,
561
1007
  isAlpha: true
562
- }
1008
+ },
1009
+ hidden: data.previewCurrent !== 'coupon'
563
1010
  },
564
1011
  {
565
1012
  label: "去使用按钮文字背景色设置: ",
@@ -583,6 +1030,7 @@ export default {
583
1030
  data.cb([])
584
1031
  });
585
1032
  },
1033
+ hidden: data.previewCurrent !== 'coupon'
586
1034
  },
587
1035
  {
588
1036
  label: "按钮内边距设置:",
@@ -596,6 +1044,7 @@ export default {
596
1044
  placeholder: '请设置边距',
597
1045
  inline: false,
598
1046
  notice: '设置内边距,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
1047
+ hidden: data.previewCurrent !== 'coupon'
599
1048
  },
600
1049
  {
601
1050
  label: "按钮圆角设置",
@@ -615,6 +1064,7 @@ export default {
615
1064
  console.error(error);
616
1065
  });
617
1066
  },
1067
+ hidden: data.previewCurrent !== 'coupon'
618
1068
  },
619
1069
  {
620
1070
  label: '票券绑定跳转路径:', //label
@@ -628,6 +1078,42 @@ export default {
628
1078
  },
629
1079
  inline: false,
630
1080
  },
1081
+ {
1082
+ label: '票券详情地址:',
1083
+ ele: 'xd-select-pages-path',
1084
+ valueKey: 'cardDetailPath',
1085
+ groupKey:'advanced',
1086
+ placeholder: '请选择票券详情地址',
1087
+ value: data.cardDetailPath || null,
1088
+ setting: {
1089
+ router: XdBus.getParentApi('getPagesTree'),
1090
+ },
1091
+ inline: false,
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
+ },
1105
+ {
1106
+ label: '综合福利入口页:',
1107
+ ele: 'xd-select-pages-path',
1108
+ valueKey: 'allEntryPath',
1109
+ groupKey: 'advanced',
1110
+ placeholder: '请选择综合福利入口页',
1111
+ value: data.allEntryPath || null,
1112
+ setting: {
1113
+ router: XdBus.getParentApi('getPagesTree'),
1114
+ },
1115
+ inline: false,
1116
+ },
631
1117
  ].filter(i=>i)
632
1118
  },
633
1119
  advanced: [],