jufubao-base 1.0.169-beta13 → 1.0.169-beta14
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/JfbBaseTfkCardBind/Attr.js +78 -5
- package/src/components/JfbBaseTfkCardBind/JfbBaseTfkCardBind.vue +41 -10
- package/src/components/JfbBaseTfkCardDetail/Attr.js +48 -0
- package/src/components/JfbBaseTfkCardDetail/JfbBaseTfkCardDetail.vue +9 -0
- package/src/components/JfbBaseTfkCardLogin/Attr.js +210 -13
- package/src/components/JfbBaseTfkCardLogin/JfbBaseTfkCardLogin.vue +99 -65
- package/src/components/JfbBaseTfkCardLogin/JfbNotice.vue +550 -0
- package/src/components/JfbBaseTfkCardLogin/Mock.js +4 -490
- package/src/components/JfbBaseTfkCardLogin/XdCouponItem.vue +2 -2
- package/src/components/JfbBaseTfkSearch/Api.js +1 -1
- package/src/components/JfbBaseTfkSearch/CustomList.vue +16 -11
package/package.json
CHANGED
|
@@ -188,7 +188,7 @@ export default {
|
|
|
188
188
|
],
|
|
189
189
|
hidden: data.previewCurrent !== 'ticket',
|
|
190
190
|
},
|
|
191
|
-
|
|
191
|
+
{
|
|
192
192
|
label: "标签文字对齐方式:",
|
|
193
193
|
ele: 'xd-radio',
|
|
194
194
|
valueKey: 'labelAlign',
|
|
@@ -215,6 +215,26 @@ export default {
|
|
|
215
215
|
className: 'input60',
|
|
216
216
|
hidden: data.previewCurrent !== 'ticket',
|
|
217
217
|
},
|
|
218
|
+
data.inputStyle === 'face' && {
|
|
219
|
+
label: '面性输入框圆角设置:',
|
|
220
|
+
ele: 'xd-site-select-list',
|
|
221
|
+
valueKey: 'formBorderRadius',
|
|
222
|
+
value: data.formBorderRadius ||'',
|
|
223
|
+
groupKey:'style',
|
|
224
|
+
placeholder: '请选择边框圆角设置',
|
|
225
|
+
multiple: false,
|
|
226
|
+
className: 'input80',
|
|
227
|
+
handleCustom({ action, data }) {
|
|
228
|
+
XdBus.getParentApi('getOptionsSettingList')({ setting_id: 'edtix_style_radius' })
|
|
229
|
+
.then(res => {
|
|
230
|
+
data.cb(res.list)
|
|
231
|
+
})
|
|
232
|
+
.catch(error => {
|
|
233
|
+
console.error(error);
|
|
234
|
+
});
|
|
235
|
+
},
|
|
236
|
+
hidden: data.previewCurrent !== 'ticket',
|
|
237
|
+
},
|
|
218
238
|
{
|
|
219
239
|
label: "标签文字是否显示:",
|
|
220
240
|
ele: 'xd-radio',
|
|
@@ -306,6 +326,7 @@ export default {
|
|
|
306
326
|
notice: '填充设置,单位:<span style="color: red">像素</span>。默认值:<span style="color: red">20</span> 像素',
|
|
307
327
|
hidden: data.previewCurrent !== 'ticket',
|
|
308
328
|
},
|
|
329
|
+
|
|
309
330
|
{
|
|
310
331
|
label: "票券号码图标:",
|
|
311
332
|
ele: "xd-font",
|
|
@@ -557,6 +578,58 @@ export default {
|
|
|
557
578
|
notice: '填充设置,单位:<span style="color: red">像素</span>。默认值:<span style="color: red">20</span> 像素',
|
|
558
579
|
hidden: data.previewCurrent !== 'code',
|
|
559
580
|
},
|
|
581
|
+
{
|
|
582
|
+
label: "输入框样式设置",
|
|
583
|
+
ele: "xd-radio",
|
|
584
|
+
valueKey: "digitalInputStyle",
|
|
585
|
+
value: data.digitalInputStyle || 'linear',
|
|
586
|
+
groupKey:'style',
|
|
587
|
+
list: [
|
|
588
|
+
{ label: "线性", value: "linear" },
|
|
589
|
+
{ label: "面性", value: "face"}
|
|
590
|
+
],
|
|
591
|
+
hidden: data.previewCurrent !== 'code',
|
|
592
|
+
},
|
|
593
|
+
data.digitalInputStyle === 'linear' && {
|
|
594
|
+
label: "标签位置:",
|
|
595
|
+
ele: "xd-radio",
|
|
596
|
+
valueKey: "digitalLabelPosition",
|
|
597
|
+
value: data.digitalLabelPosition || "left",
|
|
598
|
+
groupKey:'style',
|
|
599
|
+
placeholder: "请选择标签对齐方式",
|
|
600
|
+
multiple: false,
|
|
601
|
+
className: 'input80',
|
|
602
|
+
list: [
|
|
603
|
+
{label: '居左', value: "left"},
|
|
604
|
+
{label: '居上', value: "top"},
|
|
605
|
+
],
|
|
606
|
+
hidden: data.previewCurrent !== 'code',
|
|
607
|
+
},
|
|
608
|
+
{
|
|
609
|
+
label: "标签文字对齐方式:",
|
|
610
|
+
ele: 'xd-radio',
|
|
611
|
+
valueKey: 'digitalLabelAlign',
|
|
612
|
+
value: data.digitalLabelAlign || "right",
|
|
613
|
+
groupKey:'style',
|
|
614
|
+
placeholder: "请选择标签对齐方式",
|
|
615
|
+
multiple: false,
|
|
616
|
+
className: 'input80',
|
|
617
|
+
list: [
|
|
618
|
+
{label: '左对齐', value: "left"},
|
|
619
|
+
{label: '右对齐', value: "right"},
|
|
620
|
+
{label: '居中', value: "center"},
|
|
621
|
+
],
|
|
622
|
+
hidden: data.previewCurrent !== 'code',
|
|
623
|
+
},
|
|
624
|
+
// {
|
|
625
|
+
// label: "电子码标签文案",
|
|
626
|
+
// ele: "el-input",
|
|
627
|
+
// valueKey: "digitalCodeLabel",
|
|
628
|
+
// value: data.digitalCodeLabel || '',
|
|
629
|
+
// groupKey:'style',
|
|
630
|
+
// type: "string",
|
|
631
|
+
// hidden: data.previewCurrent !== 'code',
|
|
632
|
+
// },
|
|
560
633
|
{
|
|
561
634
|
label: "电子码标签宽度设置",
|
|
562
635
|
ele: "el-input",
|
|
@@ -566,15 +639,15 @@ export default {
|
|
|
566
639
|
type: "number",
|
|
567
640
|
hidden: data.previewCurrent !== 'code',
|
|
568
641
|
},
|
|
569
|
-
{
|
|
570
|
-
label: "
|
|
642
|
+
data.digitalInputStyle === 'linear' && {
|
|
643
|
+
label: "电子码输入框边框颜色设置",
|
|
571
644
|
ele: "xd-color",
|
|
572
645
|
valueKey: "digitalCodeColor",
|
|
573
|
-
value: data.digitalCodeColor || "#
|
|
646
|
+
value: data.digitalCodeColor || "#F9F9F9",
|
|
574
647
|
groupKey:'style',
|
|
575
648
|
hidden: data.previewCurrent !== 'code',
|
|
576
649
|
},
|
|
577
|
-
{
|
|
650
|
+
data.digitalInputStyle === 'face' && {
|
|
578
651
|
label: '电子码输入框圆角设置:',
|
|
579
652
|
ele: 'xd-site-select-list',
|
|
580
653
|
valueKey: 'digitalCodeRadius',
|
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
<view class="jfb-base-tfk-card-bind__body" :style="{
|
|
17
17
|
'--form-border-color': formBorderColor,
|
|
18
18
|
'--form-border-width': formBorderWidth + 'px',
|
|
19
|
+
'--form-border-radius': ($rpxNum * Number(formBorderRadius)) + 'px',
|
|
19
20
|
'--form-input-padding': inputPadding + 'px',
|
|
20
21
|
'--label-font-size': ($rpxNum * parseInt(labelFont.fontSize)) + 'px',
|
|
21
22
|
'--label-font-color': labelFont.color,
|
|
@@ -128,13 +129,14 @@
|
|
|
128
129
|
</view>
|
|
129
130
|
<view v-else class="form_wrap" :style="digitalFormStyle">
|
|
130
131
|
<xd-form :key="formRenderKey"
|
|
131
|
-
label-align="
|
|
132
|
-
labelPosition="
|
|
132
|
+
:label-align="digitalLabelAlign"
|
|
133
|
+
:labelPosition="digitalLabelPosition"
|
|
133
134
|
:border="true"
|
|
134
135
|
paddingBetween="0"
|
|
135
136
|
>
|
|
136
137
|
<xd-form-item class="form-item digital_item"
|
|
137
|
-
|
|
138
|
+
:class="[digitalInputStyle]"
|
|
139
|
+
:label="digitalCodeLabel"
|
|
138
140
|
:labelWidth="digitalCodeLabelWidth"
|
|
139
141
|
:leftIcon="digitalCodeIcon.icon"
|
|
140
142
|
:iconColor="digitalCodeIcon.color"
|
|
@@ -202,7 +204,9 @@
|
|
|
202
204
|
tips: "",
|
|
203
205
|
labelWidth: 180,
|
|
204
206
|
labelAlign: "left",
|
|
207
|
+
digitalLabelAlign: "left",
|
|
205
208
|
labelPosition: "left",
|
|
209
|
+
digitalLabelPosition: "left",
|
|
206
210
|
inputStyle: "linear", //输入框样式 linear:线性 face: 面性
|
|
207
211
|
formBorderColor: "#F9F9F9", //
|
|
208
212
|
formBorderWidth: 1, //表单边框宽度
|
|
@@ -258,6 +262,9 @@
|
|
|
258
262
|
digitalCodeColor: "",
|
|
259
263
|
my_card_url: "",
|
|
260
264
|
backUrl: "",
|
|
265
|
+
digitalInputStyle: "",
|
|
266
|
+
digitalCodeLabel: "",
|
|
267
|
+
formBorderRadius: 16,
|
|
261
268
|
}
|
|
262
269
|
},
|
|
263
270
|
computed: {
|
|
@@ -424,14 +431,23 @@
|
|
|
424
431
|
this.digitalCodeLabelWidth = getContainerPropsValue(value, "content.digitalCodeLabelWidth", '100');
|
|
425
432
|
this.digitalCodeRadius = getContainerPropsValue(value, "content.digitalCodeRadius", '0');
|
|
426
433
|
this.digitalCodeColor = getContainerPropsValue(value, "content.digitalCodeColor", '#dddddd');
|
|
434
|
+
this.digitalInputStyle = getContainerPropsValue(value, "content.digitalInputStyle", 'linear');
|
|
427
435
|
this.my_card_url = getContainerPropsValue(this.container, 'content.my_card_url', { value: "" }).value;
|
|
428
436
|
this.backUrl = getContainerPropsValue(this.container, 'content.back_url', { value: "" }).value;
|
|
437
|
+
this.digitalLabelPosition = getContainerPropsValue(value, "content.digitalLabelPosition", 'left');
|
|
438
|
+
this.digitalLabelAlign = getContainerPropsValue(value, "content.digitalLabelAlign", 'left');
|
|
439
|
+
this.digitalCodeLabel = getContainerPropsValue(value, "content.digitalCodeLabel", '');
|
|
440
|
+
this.formBorderRadius = getContainerPropsValue(value, "content.formBorderRadius", 16);
|
|
429
441
|
|
|
430
442
|
console.log(this.digitalCodeRadius, "digitalCodeRadius");
|
|
431
443
|
|
|
432
444
|
if(this.inputStyle === 'face'){
|
|
433
445
|
this.labelPosition = 'left';
|
|
434
|
-
this.labelAlign = 'left';
|
|
446
|
+
// this.labelAlign = 'left';
|
|
447
|
+
}
|
|
448
|
+
if(this.digitalInputStyle === 'face'){
|
|
449
|
+
this.digitalLabelPosition = 'left';
|
|
450
|
+
// this.digitalLabelAlign = 'left';
|
|
435
451
|
}
|
|
436
452
|
if(this.$configProject.isPreview){
|
|
437
453
|
this.menuType = this.previewCurrent;
|
|
@@ -617,6 +633,9 @@
|
|
|
617
633
|
&__body{
|
|
618
634
|
.form-item {
|
|
619
635
|
::v-deep &.uni-forms-item {
|
|
636
|
+
.is-required{
|
|
637
|
+
display: none;
|
|
638
|
+
}
|
|
620
639
|
.uni-input-input{
|
|
621
640
|
font-size: var(--content-font-size);
|
|
622
641
|
color: var(--content-font-color);
|
|
@@ -638,14 +657,16 @@
|
|
|
638
657
|
}
|
|
639
658
|
&.linear{
|
|
640
659
|
::v-deep &.uni-forms-item--border{
|
|
641
|
-
border-color: var(--form-border-color) !important;
|
|
642
|
-
border-width: var(--form-border-width) !important;
|
|
660
|
+
// border-color: var(--form-border-color) !important;
|
|
661
|
+
// border-width: var(--form-border-width) !important;
|
|
662
|
+
border-top: none !important;
|
|
663
|
+
border-bottom: var(--form-border-width) solid var(--form-border-color) !important;
|
|
643
664
|
}
|
|
644
665
|
}
|
|
645
666
|
&.face{
|
|
646
667
|
::v-deep .uni-forms-item__box{
|
|
647
668
|
background: #F7F7F7;
|
|
648
|
-
border-radius:
|
|
669
|
+
border-radius: var(--form-border-radius);
|
|
649
670
|
padding-right: 20rpx;
|
|
650
671
|
}
|
|
651
672
|
::v-deep &.uni-forms-item--border{
|
|
@@ -668,13 +689,23 @@
|
|
|
668
689
|
}
|
|
669
690
|
}
|
|
670
691
|
&.digital_item{
|
|
692
|
+
&.linear{
|
|
693
|
+
::v-deep &.uni-forms-item--border{
|
|
694
|
+
border-color: var(--digital-border-color) !important;
|
|
695
|
+
}
|
|
696
|
+
}
|
|
697
|
+
&.face{
|
|
698
|
+
::v-deep .uni-forms-item__box{
|
|
699
|
+
border-radius: var(--digital-border-radius);
|
|
700
|
+
}
|
|
701
|
+
}
|
|
671
702
|
::v-deep .label-icon{
|
|
672
703
|
font-size: var(--digital-icon-size) !important;
|
|
673
704
|
}
|
|
674
705
|
::v-deep .uni-forms-item__inner{
|
|
675
|
-
padding-bottom: 0% !important;
|
|
676
|
-
border: 1px solid var(--digital-border-color);
|
|
677
|
-
border-radius: var(--digital-border-radius);
|
|
706
|
+
// padding-bottom: 0% !important;
|
|
707
|
+
// border: 1px solid var(--digital-border-color);
|
|
708
|
+
// border-radius: var(--digital-border-radius);
|
|
678
709
|
}
|
|
679
710
|
}
|
|
680
711
|
}
|
|
@@ -412,6 +412,26 @@ export default {
|
|
|
412
412
|
value: data.bussTempBgColor || '',
|
|
413
413
|
hidden: data.previewCurrent !== 'main'
|
|
414
414
|
},
|
|
415
|
+
{
|
|
416
|
+
label: "业务板块圆角",
|
|
417
|
+
ele: 'xd-site-select-list',
|
|
418
|
+
valueKey: 'bussTempRadius',
|
|
419
|
+
value: data['bussTempRadius'] || 16,
|
|
420
|
+
groupKey:'style',
|
|
421
|
+
placeholder: '请选择内容圆角设置',
|
|
422
|
+
multiple: false,
|
|
423
|
+
className: 'input80',
|
|
424
|
+
handleCustom({ action, data }) {
|
|
425
|
+
XdBus.getParentApi('getOptionsSettingList')({ setting_id: 'edtix_style_radius' })
|
|
426
|
+
.then(res => {
|
|
427
|
+
data.cb(res.list)
|
|
428
|
+
})
|
|
429
|
+
.catch(error => {
|
|
430
|
+
console.error(error);
|
|
431
|
+
});
|
|
432
|
+
},
|
|
433
|
+
hidden: data.previewCurrent !== 'main'
|
|
434
|
+
},
|
|
415
435
|
{
|
|
416
436
|
label: "单项业务外边距",
|
|
417
437
|
groupKey:'style',
|
|
@@ -498,6 +518,34 @@ export default {
|
|
|
498
518
|
placeholder: "请输入间隔距离",
|
|
499
519
|
hidden: data.previewCurrent !== 'main'
|
|
500
520
|
},
|
|
521
|
+
{
|
|
522
|
+
label: "单项背景色",
|
|
523
|
+
groupKey:'style',
|
|
524
|
+
ele: 'xd-color',
|
|
525
|
+
valueKey: 'listColBgColor',
|
|
526
|
+
value: data.listColBgColor || '#ffffff',
|
|
527
|
+
hidden: data.previewCurrent !== 'main'
|
|
528
|
+
},
|
|
529
|
+
{
|
|
530
|
+
label: "单项圆角",
|
|
531
|
+
ele: 'xd-site-select-list',
|
|
532
|
+
valueKey: 'listColRadius',
|
|
533
|
+
value: data['listColRadius'] || 16,
|
|
534
|
+
groupKey:'style',
|
|
535
|
+
placeholder: '请选择内容圆角设置',
|
|
536
|
+
multiple: false,
|
|
537
|
+
className: 'input80',
|
|
538
|
+
handleCustom({ action, data }) {
|
|
539
|
+
XdBus.getParentApi('getOptionsSettingList')({ setting_id: 'edtix_style_radius' })
|
|
540
|
+
.then(res => {
|
|
541
|
+
data.cb(res.list)
|
|
542
|
+
})
|
|
543
|
+
.catch(error => {
|
|
544
|
+
console.error(error);
|
|
545
|
+
});
|
|
546
|
+
},
|
|
547
|
+
hidden: data.previewCurrent !== 'main'
|
|
548
|
+
},
|
|
501
549
|
{
|
|
502
550
|
label: "提货码详情样式配置",
|
|
503
551
|
ele: 'title',
|
|
@@ -172,6 +172,9 @@
|
|
|
172
172
|
codeDetailShadow: {},
|
|
173
173
|
ruleDetailFontColor: "",
|
|
174
174
|
ruleDetailRadius: 0,
|
|
175
|
+
bussTempRadius: 16,
|
|
176
|
+
listColBgColor: "",
|
|
177
|
+
listColRadius: 16,
|
|
175
178
|
}
|
|
176
179
|
},
|
|
177
180
|
computed: {
|
|
@@ -204,6 +207,7 @@
|
|
|
204
207
|
margin: margin,
|
|
205
208
|
padding: padding,
|
|
206
209
|
backgroundColor: this.bussTempBgColor,
|
|
210
|
+
borderRadius: this.bussTempRadius + 'rpx',
|
|
207
211
|
})
|
|
208
212
|
},
|
|
209
213
|
|
|
@@ -264,6 +268,8 @@
|
|
|
264
268
|
return this.styleObjectToString({
|
|
265
269
|
padding,
|
|
266
270
|
marginBottom: this.listColSpace + 'rpx',
|
|
271
|
+
backgroundColor: this.listColBgColor,
|
|
272
|
+
borderRadius: this.listColRadius + 'rpx',
|
|
267
273
|
})
|
|
268
274
|
},
|
|
269
275
|
ruleDetailBoxStyle(){
|
|
@@ -371,6 +377,9 @@
|
|
|
371
377
|
this.codeDetailShadow = getContainerPropsValue(value, 'content.codeDetailShadow', {});
|
|
372
378
|
this.ruleDetailFontColor = getContainerPropsValue(value, 'content.ruleDetailFontColor', '');
|
|
373
379
|
this.ruleDetailRadius = getContainerPropsValue(value, 'content.ruleDetailRadius', 0);
|
|
380
|
+
this.bussTempRadius = getContainerPropsValue(value, 'content.bussTempRadius', 16);
|
|
381
|
+
this.listColBgColor = getContainerPropsValue(value, 'content.listColBgColor', '#fff');
|
|
382
|
+
this.listColRadius = getContainerPropsValue(value, 'content.listColRadius', 16);
|
|
374
383
|
|
|
375
384
|
console.log(this.codeDetailBorder, 'codeDetailBorder')
|
|
376
385
|
|
|
@@ -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: "我的票券包内容配置",
|
|
@@ -340,7 +365,7 @@ export default {
|
|
|
340
365
|
hidden: data.previewCurrent !== 'coupon'
|
|
341
366
|
},
|
|
342
367
|
{
|
|
343
|
-
label: '顶部菜单配置 -
|
|
368
|
+
label: '顶部菜单配置 - 通用',
|
|
344
369
|
ele: "title",
|
|
345
370
|
size: "small",
|
|
346
371
|
groupKey: "content",
|
|
@@ -391,6 +416,18 @@ export default {
|
|
|
391
416
|
size: "small",
|
|
392
417
|
groupKey: "style",
|
|
393
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
|
+
},
|
|
394
431
|
{
|
|
395
432
|
label: '菜单容器内边距设置:',
|
|
396
433
|
groupKey:'style',
|
|
@@ -461,7 +498,7 @@ export default {
|
|
|
461
498
|
type: "number",
|
|
462
499
|
},
|
|
463
500
|
{
|
|
464
|
-
label: "顶部菜单右侧配置 -
|
|
501
|
+
label: "顶部菜单右侧配置 - 通用",
|
|
465
502
|
ele: "title",
|
|
466
503
|
size: "small",
|
|
467
504
|
groupKey: "style",
|
|
@@ -552,6 +589,84 @@ export default {
|
|
|
552
589
|
size: "small",
|
|
553
590
|
groupKey: "style",
|
|
554
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
|
+
// },
|
|
555
670
|
{
|
|
556
671
|
label: "外边距设置:",
|
|
557
672
|
groupKey:'style',
|
|
@@ -583,26 +698,51 @@ export default {
|
|
|
583
698
|
inline: false,
|
|
584
699
|
notice: '设置内边距,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
|
|
585
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
|
+
// },
|
|
586
712
|
{
|
|
587
|
-
label: "
|
|
588
|
-
ele: "xd-
|
|
713
|
+
label: "内容字体设置:",
|
|
714
|
+
ele: "xd-font",
|
|
715
|
+
valueKey: "noticeFont",
|
|
716
|
+
value: data.noticeFont || {},
|
|
589
717
|
groupKey:'style',
|
|
590
|
-
valueKey: "noticeBgColor",
|
|
591
|
-
value: data.noticeBgColor || null,
|
|
592
718
|
setting: {
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
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> 像素',
|
|
596
735
|
},
|
|
597
736
|
{
|
|
598
|
-
label: "
|
|
737
|
+
label: "【更多】字体设置:",
|
|
599
738
|
ele: "xd-font",
|
|
600
|
-
valueKey: "
|
|
601
|
-
value: data.
|
|
739
|
+
valueKey: "noticeMoreFont",
|
|
740
|
+
value: data.noticeMoreFont || {},
|
|
602
741
|
groupKey:'style',
|
|
603
742
|
setting: {
|
|
604
743
|
align: false,
|
|
605
744
|
lineHeight: false,
|
|
745
|
+
weight: false,
|
|
606
746
|
},
|
|
607
747
|
handleCustom({action, data}) {
|
|
608
748
|
XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_font_size'})
|
|
@@ -617,6 +757,55 @@ export default {
|
|
|
617
757
|
inline: false,
|
|
618
758
|
notice: '填充设置,单位:<span style="color: red">像素</span>。默认值:<span style="color: red">20</span> 像素',
|
|
619
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
|
+
|
|
620
809
|
{
|
|
621
810
|
ele: "title",
|
|
622
811
|
label: "我的票券包样式配置",
|
|
@@ -658,7 +847,15 @@ export default {
|
|
|
658
847
|
groupKey:'style',
|
|
659
848
|
placeholder: '请输入票券高度',
|
|
660
849
|
inline: false,
|
|
661
|
-
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",
|
|
662
859
|
hidden: data.previewCurrent !== 'card'
|
|
663
860
|
},
|
|
664
861
|
{
|