jufubao-base 1.0.169-beta2 → 1.0.169-beta4

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jufubao-base",
3
- "version": "1.0.169-beta2",
3
+ "version": "1.0.169-beta4",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -29,6 +29,7 @@ export default {
29
29
  value: data.authLoginBtnText ||"",
30
30
  groupKey: "content",
31
31
  className: "input70",
32
+ hidden: data.previewCurrent !== "auth",
32
33
  },
33
34
  {
34
35
  label: "授权登录按钮前缀图标:",
@@ -37,6 +38,7 @@ export default {
37
38
  value: data.authLoginBtnIcon || "",
38
39
  groupKey: "content",
39
40
  className: "input70",
41
+ hidden: data.previewCurrent !== "auth",
40
42
  },
41
43
  {
42
44
  label: "账号登录按钮文案:",
@@ -45,6 +47,7 @@ export default {
45
47
  value: data.accountLoginBtnText ||"",
46
48
  groupKey: "content",
47
49
  className: "input70",
50
+ hidden: data.previewCurrent !== "auth",
48
51
  },
49
52
  {
50
53
  label: "账号登录按钮前缀图标:",
@@ -53,6 +56,7 @@ export default {
53
56
  value: data.accountLoginBtnIcon || "",
54
57
  groupKey: "content",
55
58
  className: "input70",
59
+ hidden: data.previewCurrent !== "auth",
56
60
  },
57
61
  {
58
62
  label: "手机号登录按钮文案:",
@@ -61,6 +65,7 @@ export default {
61
65
  value: data.phoneLoginBtnText || "登录",
62
66
  groupKey: "content",
63
67
  className: "input70",
68
+ hidden: data.previewCurrent !== "account",
64
69
  },
65
70
  {
66
71
  label: "手机号登录按钮前缀图标:",
@@ -69,10 +74,11 @@ export default {
69
74
  value: data.phoneLoginBtnIcon || "",
70
75
  groupKey: "content",
71
76
  className: "input70",
77
+ hidden: data.previewCurrent !== "account",
72
78
  },
73
79
  {
74
80
  ele: 'title',
75
- label: '协议内容配置',
81
+ label: '协议内容配置 - 通用',
76
82
  size: 'small',
77
83
  groupKey: 'content',
78
84
  },
@@ -544,6 +550,7 @@ export default {
544
550
  label: '账号登录内容配置',
545
551
  size: 'small',
546
552
  groupKey: 'content',
553
+ hidden: data.previewCurrent !== "account",
547
554
  },
548
555
  {
549
556
  label: "手机号自定义提示语:",
@@ -553,6 +560,7 @@ export default {
553
560
  groupKey:'content',
554
561
  placeholder: "请输入手机号自定义提示语",
555
562
  className: 'input80',
563
+ hidden: data.previewCurrent !== "account",
556
564
  },
557
565
  {
558
566
  label: "验证码自定义提示语:",
@@ -562,6 +570,13 @@ export default {
562
570
  groupKey:'content',
563
571
  placeholder: "请输入验证码自定义提示语",
564
572
  className: 'input80',
573
+ hidden: data.previewCurrent !== "account",
574
+ },
575
+ {
576
+ ele: 'title',
577
+ label: '其他',
578
+ size: 'small',
579
+ groupKey: 'content',
565
580
  },
566
581
  {
567
582
  label: '是否使用体验码功能:',
@@ -582,6 +597,7 @@ export default {
582
597
  label: 'logo样式配置',
583
598
  size: 'small',
584
599
  groupKey: 'style',
600
+ hidden: data.previewCurrent !== "auth",
585
601
  },
586
602
  {
587
603
  label: "logo区域高度:",
@@ -592,6 +608,7 @@ export default {
592
608
  groupKey:'style',
593
609
  placeholder: "请输入logo区域高度",
594
610
  className: 'input60',
611
+ hidden: data.previewCurrent !== "auth",
595
612
  },
596
613
  {
597
614
  label: "logo图片高度:",
@@ -602,6 +619,7 @@ export default {
602
619
  groupKey:'style',
603
620
  placeholder: "请输入logo图片高度",
604
621
  className: 'input60',
622
+ hidden: data.previewCurrent !== "auth",
605
623
  },
606
624
  {
607
625
  label: 'logo圆角设置:',
@@ -621,12 +639,14 @@ export default {
621
639
  console.error(error);
622
640
  });
623
641
  },
642
+ hidden: data.previewCurrent !== "auth",
624
643
  },
625
644
  {
626
645
  ele: "title",
627
646
  label: "表单样式配置",
628
647
  size: "small",
629
648
  groupKey: "style",
649
+ hidden: data.previewCurrent !== "account",
630
650
  },
631
651
  {
632
652
  label: "输入框样式:",
@@ -640,7 +660,8 @@ export default {
640
660
  list: [
641
661
  {label: '线性', value: "linear"},
642
662
  {label: '面性', value: "face"},
643
- ]
663
+ ],
664
+ hidden: data.previewCurrent !== "account",
644
665
  },
645
666
  data.inputStyle === 'linear' && {
646
667
  label: "表单边框颜色:",
@@ -649,6 +670,7 @@ export default {
649
670
  value: data.formBorderColor || "#F9F9F9",
650
671
  groupKey:'style',
651
672
  placeholder: "请选择表单边框颜色",
673
+ hidden: data.previewCurrent !== "account",
652
674
  },
653
675
  data.inputStyle === 'linear' && {
654
676
  label: "表单边框宽度:",
@@ -659,6 +681,7 @@ export default {
659
681
  groupKey:'style',
660
682
  placeholder: "请输入表单边框宽度",
661
683
  className: 'input60',
684
+ hidden: data.previewCurrent !== "account",
662
685
  },
663
686
  {
664
687
  label: "表单背景颜色:",
@@ -667,6 +690,7 @@ export default {
667
690
  value: data.formBgColor || "#FFFFFF",
668
691
  groupKey:'style',
669
692
  placeholder: "请选择表单背景颜色",
693
+ hidden: data.previewCurrent !== "account",
670
694
  },
671
695
  {
672
696
  label: '表单容器设置内边距:',
@@ -680,12 +704,14 @@ export default {
680
704
  placeholder: '请设置边距',
681
705
  inline: false,
682
706
  notice: '设置内边距,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
707
+ hidden: data.previewCurrent !== "account",
683
708
  },
684
709
  {
685
710
  ele: 'title',
686
711
  label: '标签样式配置',
687
712
  size: 'small',
688
713
  groupKey: 'style',
714
+ hidden: data.previewCurrent !== "account",
689
715
  },
690
716
  data.inputStyle === 'linear' && {
691
717
  label: "标签文字对齐方式:",
@@ -700,7 +726,8 @@ export default {
700
726
  {label: '左对齐', value: "left"},
701
727
  {label: '右对齐', value: "right"},
702
728
  {label: '居中', value: "center"},
703
- ]
729
+ ],
730
+ hidden: data.previewCurrent !== "account",
704
731
  },
705
732
  data.inputStyle === 'linear' && {
706
733
  label: "标签位置:",
@@ -714,7 +741,8 @@ export default {
714
741
  list: [
715
742
  {label: '居左', value: "left"},
716
743
  {label: '居上', value: "top"},
717
- ]
744
+ ],
745
+ hidden: data.previewCurrent !== "account",
718
746
  },
719
747
  data.inputStyle === 'linear' && {
720
748
  label: "标签宽度:",
@@ -725,6 +753,7 @@ export default {
725
753
  groupKey:'style',
726
754
  placeholder: "请输入标签宽度",
727
755
  className: 'input60',
756
+ hidden: data.previewCurrent !== "account",
728
757
  },
729
758
  {
730
759
  label: "手机号图标:",
@@ -734,6 +763,7 @@ export default {
734
763
  groupKey:'style',
735
764
  placeholder: "请输入手机号图标",
736
765
  className: "input70",
766
+ hidden: data.previewCurrent !== "account",
737
767
  },
738
768
  {
739
769
  label: "验证码图标:",
@@ -743,6 +773,7 @@ export default {
743
773
  groupKey:'style',
744
774
  placeholder: "请输入验证码图标",
745
775
  className: "input70",
776
+ hidden: data.previewCurrent !== "account",
746
777
  },
747
778
  {
748
779
  label: "标签字体样式设置:",
@@ -753,13 +784,6 @@ export default {
753
784
  setting: {
754
785
  align: false,
755
786
  lineHeight: false,
756
- //color:true, //颜色
757
- //fontSize: true, //字体大小
758
- //style:true, //字体:nomarl|italic
759
- //align:true, //左,中,右
760
- //weight: true, //粗细
761
- //lineHeight: true, //行高
762
- //decoration: true, //样式,none |underline |line-through | overline
763
787
  },
764
788
  handleCustom({action, data}) {
765
789
  XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_font_size'})
@@ -773,12 +797,14 @@ export default {
773
797
  },
774
798
  inline: false,
775
799
  notice: '填充设置,单位:<span style="color: red">像素</span>。默认值:<span style="color: red">20</span> 像素',
800
+ hidden: data.previewCurrent !== "account",
776
801
  },
777
802
  {
778
803
  ele: 'title',
779
804
  label: '输入框设置',
780
805
  size: 'small',
781
806
  groupKey: 'style',
807
+ hidden: data.previewCurrent !== "account",
782
808
  },
783
809
  {
784
810
  label: "占位符字体样式设置:",
@@ -806,6 +832,7 @@ export default {
806
832
  },
807
833
  inline: false,
808
834
  notice: '填充设置,单位:<span style="color: red">像素</span>。默认值:<span style="color: red">20</span> 像素',
835
+ hidden: data.previewCurrent !== "account",
809
836
  },
810
837
  {
811
838
  label: "内容字体样式设置:",
@@ -829,12 +856,14 @@ export default {
829
856
  },
830
857
  inline: false,
831
858
  notice: '填充设置,单位:<span style="color: red">像素</span>。默认值:<span style="color: red">20</span> 像素',
859
+ hidden: data.previewCurrent !== "account",
832
860
  },
833
861
  {
834
862
  ele: 'title',
835
863
  label: '获取验证码',
836
864
  size: 'small',
837
865
  groupKey: 'style',
866
+ hidden: data.previewCurrent !== "account",
838
867
  },
839
868
  {
840
869
  label: "获取验证码字体样式设置:",
@@ -862,6 +891,7 @@ export default {
862
891
  },
863
892
  inline: false,
864
893
  notice: '填充设置,单位:<span style="color: red">像素</span>。默认值:<span style="color: red">20</span> 像素',
894
+ hidden: data.previewCurrent !== "account",
865
895
  },
866
896
  {
867
897
  label: "获取验证码展示方式:",
@@ -874,7 +904,8 @@ export default {
874
904
  list: [
875
905
  {label: '文字', value: 'text'},
876
906
  {label: '按钮', value: 'button'},
877
- ]
907
+ ],
908
+ hidden: data.previewCurrent !== "account",
878
909
  },
879
910
  {
880
911
  ele: 'title',
@@ -908,9 +939,10 @@ export default {
908
939
  placeholder: '请设置边距',
909
940
  inline: false,
910
941
  notice: '设置内边距,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
942
+ hidden: data.previewCurrent !== "account",
911
943
  },
912
944
  {
913
- label: "按钮圆角",
945
+ label: "按钮圆角 - 通用",
914
946
  ele: 'xd-site-select-list',
915
947
  valueKey: 'btnRadius',
916
948
  value: data['btnRadius'] || '',
@@ -930,7 +962,7 @@ export default {
930
962
  },
931
963
  {
932
964
  ele: 'title',
933
- label: '条款协议',
965
+ label: '条款协议 - 通用',
934
966
  size: 'small',
935
967
  groupKey: 'style',
936
968
  },
@@ -999,7 +1031,7 @@ export default {
999
1031
  ]
1000
1032
  },
1001
1033
  {
1002
- label: "外边距设置:",
1034
+ label: "条款协议外边距设置 - 账号登录",
1003
1035
  groupKey:'style',
1004
1036
  ele: 'xd-margin-padding',
1005
1037
  valueKey: 'agreePadding',
@@ -1015,12 +1047,14 @@ export default {
1015
1047
  placeholder: '请设置边距',
1016
1048
  inline: false,
1017
1049
  notice: '设置内边距,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
1050
+ hidden: data.previewCurrent !== "account"
1018
1051
  },
1019
1052
  {
1020
1053
  ele: "title",
1021
1054
  label: "授权登录页设置",
1022
1055
  size: "small",
1023
1056
  groupKey: "style",
1057
+ hidden: data.previewCurrent !== "auth"
1024
1058
  },
1025
1059
  {
1026
1060
  label: "授权登录按钮组边距设置:",
@@ -1034,6 +1068,7 @@ export default {
1034
1068
  placeholder: '请设置边距',
1035
1069
  inline: false,
1036
1070
  notice: '设置内边距,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
1071
+ hidden: data.previewCurrent !== "auth"
1037
1072
  },
1038
1073
  {
1039
1074
  label: "隐私协议外边距设置:",
@@ -1047,6 +1082,7 @@ export default {
1047
1082
  placeholder: '请设置边距',
1048
1083
  inline: false,
1049
1084
  notice: '设置内边距,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
1085
+ hidden: data.previewCurrent !== "auth"
1050
1086
  },
1051
1087
  {
1052
1088
  ele: 'title',
@@ -1066,7 +1102,8 @@ export default {
1066
1102
  list: [
1067
1103
  {label: '显示', value: "Y"},
1068
1104
  {label: '隐藏', value: "N"},
1069
- ]
1105
+ ],
1106
+ hidden: data.previewCurrent !== "auth"
1070
1107
  },
1071
1108
  {
1072
1109
  label: '站点名称颜色:',
@@ -1076,6 +1113,7 @@ export default {
1076
1113
  groupKey:'style',
1077
1114
  placeholder: '请选择站点名称颜色',
1078
1115
  classNmae: 'input60',
1116
+ hidden: data.previewCurrent !== "auth"
1079
1117
  },
1080
1118
  {
1081
1119
  label: '快速授权失败访问地址:', //label
@@ -19,7 +19,7 @@ export default {
19
19
  ],
20
20
  },
21
21
  {
22
- label: "温馨提示文案:",
22
+ label: "温馨提示文案 - 通用:",
23
23
  ele: "xd-tinymce",
24
24
  valueKey: "tips",
25
25
  value: data.tips || null,
@@ -27,7 +27,7 @@ export default {
27
27
  },
28
28
  {
29
29
  ele: "title",
30
- label: "标题菜单配置",
30
+ label: "标题菜单配置 - 通用",
31
31
  size: "small",
32
32
  groupKey: "style",
33
33
  },
@@ -104,6 +104,7 @@ export default {
104
104
  label: "实体券表单样式配置",
105
105
  size: "small",
106
106
  groupKey: "style",
107
+ hidden: data.previewCurrent !== 'ticket',
107
108
  },
108
109
  {
109
110
  label: '表单容器设外边距:',
@@ -117,6 +118,7 @@ export default {
117
118
  placeholder: '请设置边距',
118
119
  inline: false,
119
120
  notice: '设置内边距,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
121
+ hidden: data.previewCurrent !== 'ticket',
120
122
  },
121
123
  {
122
124
  label: "输入框样式:",
@@ -130,7 +132,8 @@ export default {
130
132
  list: [
131
133
  {label: '线性', value: "linear"},
132
134
  {label: '面性', value: "face"},
133
- ]
135
+ ],
136
+ hidden: data.previewCurrent !== 'ticket',
134
137
  },
135
138
  data.inputStyle === 'linear' && {
136
139
  label: "表单边框颜色:",
@@ -139,6 +142,7 @@ export default {
139
142
  value: data.formBorderColor || "#F9F9F9",
140
143
  groupKey:'style',
141
144
  placeholder: "请选择表单边框颜色",
145
+ hidden: data.previewCurrent !== 'ticket',
142
146
  },
143
147
  data.inputStyle === 'linear' && {
144
148
  label: "表单边框宽度:",
@@ -149,6 +153,7 @@ export default {
149
153
  groupKey:'style',
150
154
  placeholder: "请输入表单边框宽度",
151
155
  className: 'input60',
156
+ hidden: data.previewCurrent !== 'ticket',
152
157
  },
153
158
  {
154
159
  label: "输入框间隔距离:",
@@ -159,12 +164,14 @@ export default {
159
164
  type: "number",
160
165
  placeholder: "请输入输入框间隔距离",
161
166
  className: 'input60',
167
+ hidden: data.previewCurrent !== 'ticket',
162
168
  },
163
169
  {
164
170
  ele: 'title',
165
171
  label: '实体券标签样式配置',
166
172
  size: 'small',
167
173
  groupKey: 'style',
174
+ hidden: data.previewCurrent !== 'ticket',
168
175
  },
169
176
  data.inputStyle === 'linear' && {
170
177
  label: "标签位置:",
@@ -178,7 +185,8 @@ export default {
178
185
  list: [
179
186
  {label: '居左', value: "left"},
180
187
  {label: '居上', value: "top"},
181
- ]
188
+ ],
189
+ hidden: data.previewCurrent !== 'ticket',
182
190
  },
183
191
  data.inputStyle === 'linear' && {
184
192
  label: "标签文字对齐方式:",
@@ -193,7 +201,8 @@ export default {
193
201
  {label: '左对齐', value: "left"},
194
202
  {label: '右对齐', value: "right"},
195
203
  {label: '居中', value: "center"},
196
- ]
204
+ ],
205
+ hidden: data.previewCurrent !== 'ticket',
197
206
  },
198
207
  {
199
208
  label: "标签宽度:",
@@ -204,6 +213,7 @@ export default {
204
213
  groupKey:'style',
205
214
  placeholder: "请输入标签宽度",
206
215
  className: 'input60',
216
+ hidden: data.previewCurrent !== 'ticket',
207
217
  },
208
218
  {
209
219
  label: "标签文字是否显示:",
@@ -217,7 +227,8 @@ export default {
217
227
  list: [
218
228
  {label: '显示', value: "Y"},
219
229
  {label: '不显示', value: "N"},
220
- ]
230
+ ],
231
+ hidden: data.previewCurrent !== 'ticket',
221
232
  },
222
233
  data.labelShow === 'Y' && {
223
234
  label: "标签字体样式设置:",
@@ -241,6 +252,7 @@ export default {
241
252
  },
242
253
  inline: false,
243
254
  notice: '填充设置,单位:<span style="color: red">像素</span>。默认值:<span style="color: red">20</span> 像素',
255
+ hidden: data.previewCurrent !== 'ticket',
244
256
  },
245
257
  {
246
258
  label: "占位符字体样式设置:",
@@ -268,6 +280,7 @@ export default {
268
280
  },
269
281
  inline: false,
270
282
  notice: '填充设置,单位:<span style="color: red">像素</span>。默认值:<span style="color: red">20</span> 像素',
283
+ hidden: data.previewCurrent !== 'ticket',
271
284
  },
272
285
  {
273
286
  label: "内容字体样式设置:",
@@ -291,6 +304,7 @@ export default {
291
304
  },
292
305
  inline: false,
293
306
  notice: '填充设置,单位:<span style="color: red">像素</span>。默认值:<span style="color: red">20</span> 像素',
307
+ hidden: data.previewCurrent !== 'ticket',
294
308
  },
295
309
  {
296
310
  label: "票券号码图标:",
@@ -316,6 +330,7 @@ export default {
316
330
  },
317
331
  inline: false,
318
332
  notice: '填充设置,单位:<span style="color: red">像素</span>。默认值:<span style="color: red">20</span> 像素',
333
+ hidden: data.previewCurrent !== 'ticket',
319
334
  },
320
335
  {
321
336
  label: "票券密码图标:",
@@ -341,6 +356,7 @@ export default {
341
356
  },
342
357
  inline: false,
343
358
  notice: '填充设置,单位:<span style="color: red">像素</span>。默认值:<span style="color: red">20</span> 像素',
359
+ hidden: data.previewCurrent !== 'ticket',
344
360
  },
345
361
  {
346
362
  label: "验证码图标:",
@@ -366,12 +382,14 @@ export default {
366
382
  },
367
383
  inline: false,
368
384
  notice: '填充设置,单位:<span style="color: red">像素</span>。默认值:<span style="color: red">20</span> 像素',
385
+ hidden: data.previewCurrent !== 'ticket',
369
386
  },
370
387
  {
371
388
  ele: 'title',
372
389
  label: '表单右侧图标',
373
390
  size: 'small',
374
391
  groupKey: 'style',
392
+ hidden: data.previewCurrent !== 'ticket',
375
393
  },
376
394
  {
377
395
  label: "扫码图标:",
@@ -397,6 +415,7 @@ export default {
397
415
  },
398
416
  inline: false,
399
417
  notice: '填充设置,单位:<span style="color: red">像素</span>。默认值:<span style="color: red">20</span> 像素',
418
+ hidden: data.previewCurrent !== 'ticket',
400
419
  },
401
420
  {
402
421
  ele: 'title',
@@ -421,9 +440,10 @@ export default {
421
440
  placeholder: '请设置边距',
422
441
  inline: false,
423
442
  notice: '设置内边距,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
443
+ hidden: data.previewCurrent !== 'ticket',
424
444
  },
425
445
  {
426
- label: "按钮圆角",
446
+ label: "按钮圆角 - 通用",
427
447
  ele: 'xd-site-select-list',
428
448
  valueKey: 'btnRadius',
429
449
  value: data['btnRadius'] || '',
@@ -442,7 +462,7 @@ export default {
442
462
  },
443
463
  },
444
464
  {
445
- label: "按钮图标设置",
465
+ label: "按钮图标设置 - 通用",
446
466
  ele: "xd-font",
447
467
  valueKey: "btnIcon",
448
468
  value: data.btnIcon || {},
@@ -471,6 +491,7 @@ export default {
471
491
  label: '电子码表单样式配置',
472
492
  size: 'small',
473
493
  groupKey: 'style',
494
+ hidden: data.previewCurrent !== 'code',
474
495
  },
475
496
  {
476
497
  label: "电子码表单外边距设置",
@@ -489,6 +510,7 @@ export default {
489
510
  placeholder: '请设置边距',
490
511
  inline: false,
491
512
  notice: '设置内边距,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
513
+ hidden: data.previewCurrent !== 'code',
492
514
  },
493
515
  {
494
516
  label: "电子码按钮边距设置",
@@ -507,6 +529,7 @@ export default {
507
529
  placeholder: '请设置边距',
508
530
  inline: false,
509
531
  notice: '设置内边距,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
532
+ hidden: data.previewCurrent !== 'code',
510
533
  },
511
534
  {
512
535
  label: "电子码票券号图标设置",
@@ -532,6 +555,7 @@ export default {
532
555
  },
533
556
  inline: false,
534
557
  notice: '填充设置,单位:<span style="color: red">像素</span>。默认值:<span style="color: red">20</span> 像素',
558
+ hidden: data.previewCurrent !== 'code',
535
559
  },
536
560
  {
537
561
  label: "电子码标签宽度设置",
@@ -540,6 +564,7 @@ export default {
540
564
  value: data.digitalCodeLabelWidth || 100,
541
565
  groupKey:'style',
542
566
  type: "number",
567
+ hidden: data.previewCurrent !== 'code',
543
568
  },
544
569
  {
545
570
  label: "电子码输入框颜色设置",
@@ -547,6 +572,7 @@ export default {
547
572
  valueKey: "digitalCodeColor",
548
573
  value: data.digitalCodeColor || "#dddddd",
549
574
  groupKey:'style',
575
+ hidden: data.previewCurrent !== 'code',
550
576
  },
551
577
  {
552
578
  label: '电子码输入框圆角设置:',
@@ -566,10 +592,11 @@ export default {
566
592
  console.error(error);
567
593
  });
568
594
  },
595
+ hidden: data.previewCurrent !== 'code',
569
596
  },
570
597
  {
571
598
  ele: 'title',
572
- label: '温馨提示样式配置',
599
+ label: '温馨提示样式配置 - 通用',
573
600
  size: 'small',
574
601
  groupKey: 'style',
575
602
  },
@@ -139,7 +139,7 @@
139
139
  :iconColor="digitalCodeIcon.color"
140
140
  content-align="left"
141
141
  >
142
- <xd-form-input placeholder="请输入票券号" v-model="form.code" />
142
+ <xd-form-input prefixIcon="1" placeholder="请输入票券号" v-model="form.code" />
143
143
  </xd-form-item>
144
144
  </xd-form>
145
145
  <view :style="digitalBtnWrapStyle">
@@ -29,6 +29,7 @@ export default {
29
29
  { label: "隐藏业务线", value: "N" },
30
30
  { label: "展示业务线", value: "Y" }
31
31
  ],
32
+ hidden: data.previewCurrent !== 'main'
32
33
  },
33
34
  {
34
35
  label: '票券背景图:',
@@ -49,6 +50,7 @@ export default {
49
50
  action: 'action',
50
51
  sort: true,
51
52
  maxlen: 100,
53
+ hidden: data.previewCurrent !== 'main'
52
54
  },
53
55
  {
54
56
  label: "票券使用规则",
@@ -279,6 +281,7 @@ export default {
279
281
  ele: "title",
280
282
  size: "small",
281
283
  groupKey: 'style',
284
+ hidden: data.previewCurrent !== 'main'
282
285
  },
283
286
  {
284
287
  label: "字体颜色",
@@ -286,6 +289,7 @@ export default {
286
289
  valueKey: 'cardFontColor',
287
290
  value: data.cardFontColor || '#303133',
288
291
  groupKey:'style',
292
+ hidden: data.previewCurrent !== 'main'
289
293
  },
290
294
  {
291
295
  label: "外边距设置",
@@ -304,6 +308,7 @@ export default {
304
308
  placeholder: '请设置边距',
305
309
  inline: false,
306
310
  notice: '设置内边距,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
311
+ hidden: data.previewCurrent !== 'main'
307
312
  },
308
313
  {
309
314
  label: "内边距设置",
@@ -322,6 +327,7 @@ export default {
322
327
  placeholder: '请设置内边距',
323
328
  inline: false,
324
329
  notice: '设置内边距,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
330
+ hidden: data.previewCurrent !== 'main'
325
331
  },
326
332
  {
327
333
  label: "票券高度",
@@ -331,6 +337,7 @@ export default {
331
337
  type: 'number',
332
338
  groupKey:'style',
333
339
  placeholder: "请输入票券高度",
340
+ hidden: data.previewCurrent !== 'main'
334
341
  },
335
342
  {
336
343
  label: "票券圆角",
@@ -350,12 +357,14 @@ export default {
350
357
  console.error(error);
351
358
  });
352
359
  },
360
+ hidden: data.previewCurrent !== 'main'
353
361
  },
354
362
  {
355
363
  label: "业务板块样式配置",
356
364
  ele: 'title',
357
365
  size: 'small',
358
366
  groupKey: 'style',
367
+ hidden: data.previewCurrent !== 'main'
359
368
  },
360
369
  {
361
370
  label: "业务板块外边距",
@@ -374,6 +383,7 @@ export default {
374
383
  placeholder: '请设置内边距',
375
384
  inline: false,
376
385
  notice: '设置内边距,<span style="color: red">单位:像素</span>。',
386
+ hidden: data.previewCurrent !== 'main'
377
387
  },
378
388
  {
379
389
  label: "业务板块容器内边距",
@@ -392,13 +402,15 @@ export default {
392
402
  placeholder: '请设置内边距',
393
403
  inline: false,
394
404
  notice: '设置内边距,<span style="color: red">单位:像素</span>。',
405
+ hidden: data.previewCurrent !== 'main'
395
406
  },
396
407
  {
397
408
  label: "业务板块背景色",
398
409
  groupKey:'style',
399
410
  ele: 'xd-color',
400
411
  valueKey: 'bussTempBgColor',
401
- value: data.bussTempBgColor || '#ffffff',
412
+ value: data.bussTempBgColor || '',
413
+ hidden: data.previewCurrent !== 'main'
402
414
  },
403
415
  {
404
416
  label: "单项业务外边距",
@@ -417,6 +429,7 @@ export default {
417
429
  placeholder: '请设置外边距',
418
430
  inline: false,
419
431
  notice: '设置外边距,<span style="color: red">单位:像素</span>。',
432
+ hidden: data.previewCurrent !== 'main' || data.showBusinessList !== 'Y'
420
433
  },
421
434
  {
422
435
  label: "单项业务宽度",
@@ -427,12 +440,14 @@ export default {
427
440
  type: "number",
428
441
  className: 'input70',
429
442
  placeholder: "请输入单项业务宽度",
443
+ hidden: data.previewCurrent !== 'main' || data.showBusinessList !== 'Y'
430
444
  },
431
445
  {
432
446
  label: "使用规则、提货码样式配置",
433
447
  ele: 'title',
434
448
  size: 'small',
435
449
  groupKey:'style',
450
+ hidden: data.previewCurrent !== 'main'
436
451
  },
437
452
  {
438
453
  label: "外边距",
@@ -451,6 +466,7 @@ export default {
451
466
  placeholder: '请设置外边距',
452
467
  inline: false,
453
468
  notice: '设置外边距,<span style="color: red">单位:像素</span>。',
469
+ hidden: data.previewCurrent !== 'main'
454
470
  },
455
471
  {
456
472
  label: "单项内边距",
@@ -468,7 +484,8 @@ export default {
468
484
  },
469
485
  placeholder: '请设置内边距',
470
486
  inline: false,
471
- notice: '设置内边距,<span style="color: red">单位:像素</span>。'
487
+ notice: '设置内边距,<span style="color: red">单位:像素</span>。',
488
+ hidden: data.previewCurrent !== 'main'
472
489
  },
473
490
  {
474
491
  label: "单项间隔距离",
@@ -479,12 +496,14 @@ export default {
479
496
  type: "number",
480
497
  className: 'input70',
481
498
  placeholder: "请输入间隔距离",
499
+ hidden: data.previewCurrent !== 'main'
482
500
  },
483
501
  {
484
502
  label: "提货码详情样式配置",
485
503
  ele: 'title',
486
504
  size: 'small',
487
505
  groupKey:'style',
506
+ hidden: data.previewCurrent !== 'pickup'
488
507
  },
489
508
  {
490
509
  label: "提货码详情外边距",
@@ -502,7 +521,8 @@ export default {
502
521
  },
503
522
  placeholder: '请设置外边距',
504
523
  inline: false,
505
- notice: '设置外边距,<span style="color: red">单位:像素</span>'
524
+ notice: '设置外边距,<span style="color: red">单位:像素</span>',
525
+ hidden: data.previewCurrent !== 'pickup'
506
526
  },
507
527
  {
508
528
  label: "提货码详情内边距",
@@ -520,7 +540,8 @@ export default {
520
540
  },
521
541
  placeholder: '请设置内边距',
522
542
  inline: false,
523
- notice: '设置外边距,<span style="color: red">单位:像素</span>'
543
+ notice: '设置外边距,<span style="color: red">单位:像素</span>',
544
+ hidden: data.previewCurrent !== 'pickup'
524
545
  },
525
546
  {
526
547
  label: "提货码详情背景色",
@@ -528,6 +549,7 @@ export default {
528
549
  ele: 'xd-color',
529
550
  valueKey: 'codeDetailBgColor',
530
551
  value: data.codeDetailBgColor || '#ffffff',
552
+ hidden: data.previewCurrent !== 'pickup'
531
553
  },
532
554
  {
533
555
  label: "二维码长宽设置",
@@ -538,6 +560,7 @@ export default {
538
560
  type: "number",
539
561
  className: 'input70',
540
562
  placeholder: "请输入二维码长宽",
563
+ hidden: data.previewCurrent !== 'pickup'
541
564
  },
542
565
  {
543
566
  label: "向商家付款前置图标配置",
@@ -548,6 +571,7 @@ export default {
548
571
  type: "text",
549
572
  className: 'input70',
550
573
  placeholder: "请输入图标代码",
574
+ hidden: data.previewCurrent !== 'pickup'
551
575
  },
552
576
  {
553
577
  label: "刷新二维码图标配置",
@@ -558,12 +582,14 @@ export default {
558
582
  type: "text",
559
583
  className: 'input70',
560
584
  placeholder: "请输入图标代码",
585
+ hidden: data.previewCurrent !== 'pickup'
561
586
  },
562
587
  {
563
588
  label: "规则详情样式配置",
564
589
  ele: 'title',
565
590
  size: 'small',
566
591
  groupKey:'style',
592
+ hidden: data.previewCurrent !== 'rule'
567
593
  },
568
594
  {
569
595
  label: "规则详情外边距",
@@ -581,7 +607,8 @@ export default {
581
607
  },
582
608
  placeholder: '请设置外边距',
583
609
  inline: false,
584
- notice: '设置外边距,<span style="color: red">单位:像素</span>'
610
+ notice: '设置外边距,<span style="color: red">单位:像素</span>',
611
+ hidden: data.previewCurrent !== 'rule'
585
612
  },
586
613
  {
587
614
  label: "规则详情内边距",
@@ -599,7 +626,8 @@ export default {
599
626
  },
600
627
  placeholder: '请设置内边距',
601
628
  inline: false,
602
- notice: '设置外边距,<span style="color: red">单位:像素</span>'
629
+ notice: '设置外边距,<span style="color: red">单位:像素</span>',
630
+ hidden: data.previewCurrent !== 'rule'
603
631
  },
604
632
  {
605
633
  label: "规则详情背景色",
@@ -607,6 +635,7 @@ export default {
607
635
  ele: 'xd-color',
608
636
  valueKey: 'ruleDetailBgColor',
609
637
  value: data.ruleDetailBgColor || '#ffffff',
638
+ hidden: data.previewCurrent !== 'rule'
610
639
  }
611
640
  ].filter(i=>i)
612
641
  },
@@ -323,7 +323,7 @@
323
323
  this.bussPadding = getContainerPropsValue(value, 'content.bussPadding', {top: 20, left: 20, right: 20, bottom: 20});
324
324
  this.bussMargin = getContainerPropsValue(value, 'content.bussMargin', {top: 20, left: 20, right: 20, bottom: 20});
325
325
  this.bussTempMargin = getContainerPropsValue(value, 'content.bussTempMargin', {top: 20, left: 20, right: 20, bottom: 20});
326
- this.bussTempBgColor = getContainerPropsValue(value, 'content.bussTempBgColor', '#fff');
326
+ this.bussTempBgColor = getContainerPropsValue(value, 'content.bussTempBgColor', 'transparent');
327
327
  this.listColMargin = getContainerPropsValue(value, 'content.listColMargin', {top: 20, left: 20, right: 20, bottom: 20});
328
328
  this.listColPadding = getContainerPropsValue(value, 'content.listColPadding', {top: 20, left: 20, right: 20, bottom: 20});
329
329
  this.listColSpace = getContainerPropsValue(value, 'content.listColSpace', 10);
@@ -18,6 +18,12 @@ export default {
18
18
  { label: '我的优惠券', value: 'coupon' },
19
19
  ],
20
20
  },
21
+ {
22
+ ele: "title",
23
+ label: "公告内容配置 - 通用",
24
+ size: "small",
25
+ groupKey: "content",
26
+ },
21
27
  {
22
28
  label: '公告内容:',
23
29
  ele: 'xd-site-news',
@@ -247,6 +253,7 @@ export default {
247
253
  label: "我的票券包内容配置",
248
254
  size: "small",
249
255
  groupKey: "content",
256
+ hidden: data.previewCurrent !== 'card'
250
257
  },
251
258
  {
252
259
  label: '票券背景图:',
@@ -267,12 +274,14 @@ export default {
267
274
  action: 'action',
268
275
  sort: true,
269
276
  maxlen: 100,
277
+ hidden: data.previewCurrent !== 'card'
270
278
  },
271
279
  {
272
280
  ele: "title",
273
281
  label: "我的优惠券内容配置",
274
282
  size: "small",
275
283
  groupKey: "content",
284
+ hidden: data.previewCurrent !== 'coupon'
276
285
  },
277
286
  {
278
287
  label: '优惠券背景图:',
@@ -293,10 +302,11 @@ export default {
293
302
  action: 'action',
294
303
  sort: true,
295
304
  maxlen: 100,
305
+ hidden: data.previewCurrent !== 'coupon'
296
306
  },
297
307
  {
298
308
  ele: "title",
299
- label: "列表容器配置",
309
+ label: "列表容器配置 - 通用",
300
310
  size: "small",
301
311
  groupKey: "style",
302
312
  },
@@ -327,7 +337,7 @@ export default {
327
337
  },
328
338
  {
329
339
  ele: "title",
330
- label: "标题菜单配置",
340
+ label: "标题菜单配置 - 通用",
331
341
  size: "small",
332
342
  groupKey: "style",
333
343
  },
@@ -362,7 +372,7 @@ export default {
362
372
  groupKey:'style',
363
373
  ele: 'el-input',
364
374
  valueKey: 'menuItemMargin',
365
- value: data.menuItemMargin || 20,
375
+ value: data.menuItemMargin || 40,
366
376
  type: "number",
367
377
  className: "input40",
368
378
  placeholder: '请输入菜单间距',
@@ -425,11 +435,83 @@ export default {
425
435
  inline: false,
426
436
  notice: '填充设置,单位:<span style="color: red">像素</span>。默认值:<span style="color: red">20</span> 像素',
427
437
  },
438
+ {
439
+ ele: "title",
440
+ label: "公告样式配置 - 通用",
441
+ size: "small",
442
+ groupKey: "style",
443
+ },
444
+ {
445
+ label: "外边距设置:",
446
+ groupKey:'style',
447
+ ele: 'xd-margin-padding',
448
+ valueKey: 'noticeMargin',
449
+ value: data.noticeMargin || {
450
+ top: 20,
451
+ right: 0,
452
+ bottom: 20,
453
+ left:20
454
+ },
455
+ setting: {
456
+ type: 'margin',
457
+ },
458
+ placeholder: '请设置边距',
459
+ inline: false,
460
+ notice: '设置外边距,<span style="color: red">单位:像素</span>。',
461
+ },
462
+ {
463
+ label: "内边距设置:",
464
+ groupKey:'style',
465
+ ele: 'xd-margin-padding',
466
+ valueKey: 'noticePadding',
467
+ value: data.noticePadding || null,
468
+ setting: {
469
+ type: 'padding',
470
+ },
471
+ placeholder: '请设置边距',
472
+ inline: false,
473
+ notice: '设置内边距,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
474
+ },
475
+ {
476
+ label: "背景色设置:",
477
+ ele: "xd-color",
478
+ groupKey:'style',
479
+ valueKey: "noticeBgColor",
480
+ value: data.noticeBgColor || null,
481
+ setting: {
482
+ showAlpha: true,
483
+ isAlpha: true
484
+ }
485
+ },
486
+ {
487
+ label: "文字设置:",
488
+ ele: "xd-font",
489
+ valueKey: "noticeFont",
490
+ value: data.noticeFont || {},
491
+ groupKey:'style',
492
+ setting: {
493
+ align: false,
494
+ lineHeight: false,
495
+ },
496
+ handleCustom({action, data}) {
497
+ XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_font_size'})
498
+ .then(res => {
499
+ data.cb(res.list)
500
+ })
501
+ .catch(error => {
502
+ data.cb([])
503
+ console.error(error);
504
+ });
505
+ },
506
+ inline: false,
507
+ notice: '填充设置,单位:<span style="color: red">像素</span>。默认值:<span style="color: red">20</span> 像素',
508
+ },
428
509
  {
429
510
  ele: "title",
430
511
  label: "我的票券包样式配置",
431
512
  size: "small",
432
513
  groupKey: "style",
514
+ hidden: data.previewCurrent !== 'card'
433
515
  },
434
516
  {
435
517
  label: "单项内边距设置:",
@@ -443,6 +525,7 @@ export default {
443
525
  placeholder: '请设置边距',
444
526
  inline: false,
445
527
  notice: '设置内边距,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
528
+ hidden: data.previewCurrent !== 'card'
446
529
  },
447
530
  {
448
531
  label: "圆角设置",
@@ -462,6 +545,7 @@ export default {
462
545
  console.error(error);
463
546
  });
464
547
  },
548
+ hidden: data.previewCurrent !== 'card'
465
549
  },
466
550
  {
467
551
  label: "登录按钮文字背景色设置:",
@@ -485,6 +569,7 @@ export default {
485
569
  data.cb([])
486
570
  });
487
571
  },
572
+ hidden: data.previewCurrent !== 'card'
488
573
  },
489
574
  {
490
575
  label: "登录按钮圆角设置",
@@ -504,6 +589,7 @@ export default {
504
589
  console.error(error);
505
590
  });
506
591
  },
592
+ hidden: data.previewCurrent !== 'card'
507
593
  },
508
594
  {
509
595
  label: "登录按钮内边距设置:",
@@ -517,12 +603,14 @@ export default {
517
603
  placeholder: '请设置边距',
518
604
  inline: false,
519
605
  notice: '设置内边距,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
606
+ hidden: data.previewCurrent !== 'card'
520
607
  },
521
608
  {
522
609
  ele: "title",
523
610
  label: "我的优惠券样式配置",
524
611
  size: "small",
525
612
  groupKey: "style",
613
+ hidden: data.previewCurrent !== 'coupon'
526
614
  },
527
615
  {
528
616
  label: "优惠券左侧背景色设置:",
@@ -530,6 +618,7 @@ export default {
530
618
  valueKey: "couponLeftBgColor",
531
619
  value: data.couponLeftBgColor || 'linear-gradient(180deg, #FFA852 0%, #FF5733 100%)',
532
620
  groupKey:'style',
621
+ hidden: data.previewCurrent !== 'coupon'
533
622
  },
534
623
  {
535
624
  label: "圆角设置",
@@ -549,6 +638,7 @@ export default {
549
638
  console.error(error);
550
639
  });
551
640
  },
641
+ hidden: data.previewCurrent !== 'coupon'
552
642
  },
553
643
  {
554
644
  label: "优惠券标题背景颜色设置:",
@@ -559,7 +649,8 @@ export default {
559
649
  setting: {
560
650
  showAlpha: true,
561
651
  isAlpha: true
562
- }
652
+ },
653
+ hidden: data.previewCurrent !== 'coupon'
563
654
  },
564
655
  {
565
656
  label: "去使用按钮文字背景色设置: ",
@@ -583,6 +674,7 @@ export default {
583
674
  data.cb([])
584
675
  });
585
676
  },
677
+ hidden: data.previewCurrent !== 'coupon'
586
678
  },
587
679
  {
588
680
  label: "按钮内边距设置:",
@@ -596,6 +688,7 @@ export default {
596
688
  placeholder: '请设置边距',
597
689
  inline: false,
598
690
  notice: '设置内边距,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
691
+ hidden: data.previewCurrent !== 'coupon'
599
692
  },
600
693
  {
601
694
  label: "按钮圆角设置",
@@ -615,6 +708,7 @@ export default {
615
708
  console.error(error);
616
709
  });
617
710
  },
711
+ hidden: data.previewCurrent !== 'coupon'
618
712
  },
619
713
  {
620
714
  label: '票券绑定跳转路径:', //label
@@ -39,17 +39,18 @@
39
39
  <view class="JfbBaseNotice">
40
40
  <!--notice-->
41
41
  <view class="jfb-base-tfk-card-login__body-line" v-if="!notice"></view>
42
- <view :style="{marginTop: '0rpx'}" class="jfb-base-tfk-card-login__body-notice" v-if="notice">
42
+ <view class="jfb-base-tfk-card-login__body-notice" :style="noticeWrapBoxStyle" v-if="notice">
43
43
  <view
44
44
  class="jfb-base-tfk-card-login__body-notice-in"
45
- :style="{ background: noticeBackgroundColor }"
45
+ :style="noticeBoxStyle"
46
46
  >
47
47
  <xd-notice-bar
48
48
  style="width: 100%"
49
+ :color="noticeFont.color"
49
50
  :showIcon="true"
50
51
  :scrollable="true"
51
52
  :speed="20"
52
- :fontSize="24"
53
+ :fontSize="noticeFont.size"
53
54
  :height="70"
54
55
  :is-no-bgc="false"
55
56
  >
@@ -59,15 +60,14 @@
59
60
  </xd-notice-bar>
60
61
  </view>
61
62
  </view>
62
- <view class="jfb-base-tfk-card-login__body-notice" v-if="noticeStatus && isPreview && notice === ''">
63
+ <view class="jfb-base-tfk-card-login__body-notice" :style="noticeWrapBoxStyle" v-if="noticeStatus && isPreview && notice === ''">
63
64
  <view
64
65
  class="jfb-base-tfk-card-login__body-notice-in"
65
- :style="{
66
- background: noticeBackgroundColor,
66
+ :style="[noticeBoxStyle, {
67
67
  textAlign: 'center',
68
68
  color: dangerColor,
69
69
  fontSize: 26 + 'rpx',
70
- }">该组件未配置数据,因此改模块在正式环境将不显示</view>
70
+ }]">该组件未配置数据,因此改模块在正式环境将不显示</view>
71
71
  </view>
72
72
  <!--notice end-->
73
73
  </view>
@@ -200,6 +200,10 @@
200
200
  couponUseBtnPadding: {},
201
201
  couponBtnRadius: 16,
202
202
  couponLeftBgColor: "",
203
+ noticeBgColor: "",
204
+ noticeMargin: {},
205
+ noticePadding: {},
206
+ noticeFont: {},
203
207
  }
204
208
  },
205
209
  computed: {
@@ -348,6 +352,26 @@
348
352
  borderRadius: this.couponRadius + 'rpx',
349
353
  })
350
354
  },
355
+ noticeWrapBoxStyle(){
356
+ let padding = `${this.checkValue(this.noticeMargin.top, 20)}rpx`;
357
+ padding = `${padding} ${this.checkValue(this.noticeMargin.right, 20)}rpx`;
358
+ padding = `${padding} ${this.checkValue(this.noticeMargin.bottom, 20)}rpx`;
359
+ padding = `${padding} ${this.checkValue(this.noticeMargin.left, 20)}rpx`;
360
+
361
+ return this.styleObjectToString({
362
+ padding: padding,
363
+ })
364
+ },
365
+ noticeBoxStyle(){
366
+ let padding = `${this.checkValue(this.noticePadding.top, 20)}rpx`;
367
+ padding = `${padding} ${this.checkValue(this.noticePadding.right, 20)}rpx`;
368
+ padding = `${padding} ${this.checkValue(this.noticePadding.bottom, 20)}rpx`;
369
+ padding = `${padding} ${this.checkValue(this.noticePadding.left, 20)}rpx`;
370
+ return this.styleObjectToString({
371
+ padding: padding,
372
+ background: this.noticeBgColor
373
+ })
374
+ }
351
375
  },
352
376
  watch: {
353
377
  container(value, oldValue) {
@@ -393,8 +417,12 @@
393
417
  this.couponUseBtnPadding = getContainerPropsValue(value, "content.couponUseBtnPadding", {top: 20, left: 20, right: 20, bottom: 20});
394
418
  this.couponBtnRadius = getContainerPropsValue(value, "content.couponBtnRadius", 16);
395
419
  this.couponLeftBgColor = getContainerPropsValue(value, "content.couponLeftBgColor", "");
420
+ this.noticeBgColor = getContainerPropsValue(value, "content.noticeBgColor", "");
421
+ this.noticeMargin = getContainerPropsValue(value, "content.noticeMargin", {top: 20, left: 20, right: 20, bottom: 20});
422
+ this.noticePadding = getContainerPropsValue(value, "content.noticePadding", {top: 20, left: 20, right: 20, bottom: 20});
423
+ this.noticeFont = getContainerPropsValue(value, "content.noticeFont", {});
396
424
 
397
- console.log(this.couponLeftBgColor, 'couponLeftBgColor')
425
+ console.log(this.noticeFont, 'noticeFont')
398
426
 
399
427
  if(this.$configProject.isPreview){
400
428
  this.menuType = this.previewCurrent;
@@ -472,19 +500,12 @@
472
500
  }
473
501
  &-notice {
474
502
  width: 100%;
475
- margin-top: unit(30, rpx);
476
- height: unit(80, rpx);
477
- position: relative;
503
+ box-sizing: border-box;
478
504
  &-in {
479
- position: absolute;
480
- left: unit(-30, rpx);
481
- top: unit(0, rpx);
482
- right: unit(-30, rpx);
483
- bottom: 0;
484
505
  display: flex;
485
- padding: 0 unit(30, rpx);
486
506
  overflow: hidden;
487
507
  align-items: center;
508
+ box-sizing: border-box;
488
509
  }
489
510
 
490
511
  }
@@ -569,7 +590,11 @@
569
590
  }
570
591
  }
571
592
  }
572
- .coupon_list{}
593
+ .coupon_list{
594
+ ::v-deep .xd-coupon_item{
595
+ margin: var(--card-list-margin) 0;
596
+ }
597
+ }
573
598
  .no_more_card{
574
599
  text-align: center;
575
600
  padding: 20rpx 0;