jufubao-base 1.0.169 → 1.0.171

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 (41) hide show
  1. package/package.json +1 -1
  2. package/src/components/JfbBaseHeader/JfbBaseHeader.vue +2 -2
  3. package/src/components/JfbBaseLogin/Attr.js +1133 -491
  4. package/src/components/JfbBaseLogin/JfbBaseLogin.vue +369 -63
  5. package/src/components/JfbBaseMapSearch/MapSearchMp.vue +1 -1
  6. package/src/components/JfbBaseNotice/JfbBaseNotice.vue +2 -2
  7. package/src/components/JfbBaseTfkCardBind/Api.js +49 -30
  8. package/src/components/JfbBaseTfkCardBind/Attr.js +708 -38
  9. package/src/components/JfbBaseTfkCardBind/JfbBaseTfkCardBind.vue +688 -22
  10. package/src/components/JfbBaseTfkCardBind/Mock.js +19 -9
  11. package/src/components/JfbBaseTfkCardDetail/Api.js +19 -32
  12. package/src/components/JfbBaseTfkCardDetail/Attr.js +740 -33
  13. package/src/components/JfbBaseTfkCardDetail/JfbBaseTfkCardDetail.vue +639 -23
  14. package/src/components/JfbBaseTfkCardDetail/Mock.js +151 -11
  15. package/src/components/JfbBaseTfkCardLogin/Api.js +19 -34
  16. package/src/components/JfbBaseTfkCardLogin/Attr.js +1094 -32
  17. package/src/components/JfbBaseTfkCardLogin/JfbBaseTfkCardLogin.vue +775 -17
  18. package/src/components/JfbBaseTfkCardLogin/Mock.js +191 -11
  19. package/src/components/JfbBaseTfkCardLogin/XdCouponItem.vue +275 -0
  20. package/src/components/JfbBaseTfkCardLogin/XdNotice.vue +550 -0
  21. package/src/components/JfbBaseTfkSearch/AllList.vue +337 -0
  22. package/src/components/JfbBaseTfkSearch/Api.js +11 -42
  23. package/src/components/JfbBaseTfkSearch/Attr.js +344 -32
  24. package/src/components/JfbBaseTfkSearch/ContentCinema.vue +157 -0
  25. package/src/components/JfbBaseTfkSearch/ContentFilm.vue +218 -0
  26. package/src/components/JfbBaseTfkSearch/ContentProduct.vue +317 -0
  27. package/src/components/JfbBaseTfkSearch/ContentShop.vue +186 -0
  28. package/src/components/JfbBaseTfkSearch/CusAttr.js +213 -0
  29. package/src/components/JfbBaseTfkSearch/CustomList.vue +453 -0
  30. package/src/components/JfbBaseTfkSearch/JfbBaseTfkSearch.vue +286 -35
  31. package/src/components/JfbBaseTfkSearch/Mock.js +242 -11
  32. package/src/components/JfbBaseTfkSearch/SkeletonCinema.vue +45 -0
  33. package/src/components/JfbBaseTfkSearch/SkeletonFilm.vue +109 -0
  34. package/src/components/JfbBaseTfkSearch/SkeletonProduct.vue +246 -0
  35. package/src/components/JfbBaseTfkSearch/SkeletonShop.vue +81 -0
  36. package/src/components/JfbBaseTfkSearch/handleKeyword.js +24 -0
  37. package/src/components/JfbBaseTfkSearch/listMixins.js +187 -0
  38. package/src/components/JfbBaseUserInfo/JfbBaseUserInfo.vue +2 -1
  39. package/src/mixins/colorCardMixins.js +71 -9
  40. package/src/mixins/componentsMixins.js +376 -23
  41. package/src/mixins/posterMixins.js +122 -0
@@ -8,49 +8,719 @@ export default {
8
8
  content: (data) => {
9
9
  return [
10
10
  {
11
- label: '背景颜色:',
11
+ label: "当前展示项(预览调试样式):",
12
+ ele: 'xd-radio',
13
+ valueKey: "previewCurrent",
14
+ value: data.previewCurrent || "ticket",
15
+ groupKey: "content",
16
+ list: [
17
+ { label: '实体券', value: 'ticket' },
18
+ { label: '电子码', value: 'code' },
19
+ ],
20
+ },
21
+ {
22
+ label: "温馨提示文案 - 通用:",
23
+ ele: "xd-tinymce",
24
+ valueKey: "tips",
25
+ value: data.tips || null,
26
+ groupKey: "content",
27
+ },
28
+ {
29
+ ele: "title",
30
+ label: "标题菜单配置 - 通用",
31
+ size: "small",
32
+ groupKey: "style",
33
+ },
34
+ {
35
+ label: '展示方式:',
36
+ ele: 'xd-radio',
37
+ valueKey: 'menuShowType',
38
+ value: data.menuShowType || 'text',
39
+ groupKey:'style',
40
+ list: [
41
+ { label: '文字展示', value: 'text' },
42
+ { label: '按钮展示', value: 'button' },
43
+ ],
44
+ },
45
+ {
46
+ label: "菜单底部横线粗细:",
47
+ ele: "el-input",
48
+ valueKey: "menuBorderWidth",
49
+ value: data.menuBorderWidth || 1,
50
+ groupKey: "style",
51
+ type: "number",
52
+ },
53
+ {
54
+ label: '菜单单项内边距设置:',
55
+ groupKey:'style',
56
+ ele: 'xd-margin-padding',
57
+ valueKey: 'menuBtnPadding',
58
+ value: data.menuBtnPadding || null,
59
+ setting: {
60
+ type: 'padding',
61
+ },
62
+ placeholder: '请设置边距',
63
+ inline: false,
64
+ notice: '设置内边距,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
65
+ },
66
+ {
67
+ label: '文字背景颜色设置:',
68
+ ele: 'xd-text-and-bgc',
69
+ groupKey:'style',
70
+ valueKey: 'menuTabColor',
71
+ value: data['menuTabColor'] || null,
72
+ setting: {
73
+ fontSize: true, //字体大小选择
74
+ color: true, //文字颜色选项
75
+ bgColor: true, //背景选项
76
+ weight: true, //文字粗细
77
+ },
78
+ handleCustom({action, data}) {
79
+ XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_font_size'})
80
+ .then(res => {
81
+ data.cb(res.list)
82
+ })
83
+ .catch(error => {
84
+ console.error(error);
85
+ data.cb([])
86
+ });
87
+ },
88
+ },
89
+ {
90
+ label: '菜单外边距:',
91
+ groupKey:'style',
92
+ ele: 'xd-margin-padding',
93
+ valueKey: 'menuPadding',
94
+ value: data.menuPadding || null,
95
+ setting: {
96
+ type: 'padding',
97
+ },
98
+ placeholder: '请设置边距',
99
+ inline: false,
100
+ notice: '设置内边距,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
101
+ },
102
+ {
103
+ ele: "title",
104
+ label: "实体券表单样式配置",
105
+ size: "small",
106
+ groupKey: "style",
107
+ hidden: data.previewCurrent !== 'ticket',
108
+ },
109
+ {
110
+ label: '表单容器设外边距:',
111
+ groupKey:'style',
112
+ ele: 'xd-margin-padding',
113
+ valueKey: 'formPadding',
114
+ value: data.formPadding || null,
115
+ setting: {
116
+ type: 'padding',
117
+ },
118
+ placeholder: '请设置边距',
119
+ inline: false,
120
+ notice: '设置内边距,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
121
+ hidden: data.previewCurrent !== 'ticket',
122
+ },
123
+ {
124
+ label: "输入框样式:",
125
+ ele: 'xd-radio',
126
+ valueKey: 'inputStyle',
127
+ value: data.inputStyle || "linear",
128
+ groupKey:'style',
129
+ placeholder: "请选择输入框样式",
130
+ multiple: false,
131
+ className: 'input80',
132
+ list: [
133
+ {label: '线性', value: "linear"},
134
+ {label: '面性', value: "face"},
135
+ ],
136
+ hidden: data.previewCurrent !== 'ticket',
137
+ },
138
+ data.inputStyle === 'linear' && {
139
+ label: "表单边框颜色:",
12
140
  ele: 'xd-color',
13
- valueKey: 'bgcolor',
14
- value: data.bgcolor || '',
15
- placeholder: '请输入占位框背景颜色',
16
- classNmae: 'input80',
17
- rules: [
18
- {
19
- required: true,
20
- message: '请输入占位框背景颜色',
21
- trigger: 'blur'
22
- },
23
- ]
24
- },
25
- {
26
- label: '选中路径:',
141
+ valueKey: 'formBorderColor',
142
+ value: data.formBorderColor || "#F9F9F9",
143
+ groupKey:'style',
144
+ placeholder: "请选择表单边框颜色",
145
+ hidden: data.previewCurrent !== 'ticket',
146
+ },
147
+ data.inputStyle === 'linear' && {
148
+ label: "表单边框宽度:",
149
+ ele: 'el-input',
150
+ valueKey: 'formBorderWidth',
151
+ value: data.formBorderWidth || "1",
152
+ type: "number",
153
+ groupKey:'style',
154
+ placeholder: "请输入表单边框宽度",
155
+ className: 'input60',
156
+ hidden: data.previewCurrent !== 'ticket',
157
+ },
158
+ {
159
+ label: "输入框间隔距离:",
160
+ ele: 'el-input',
161
+ valueKey: 'inputPadding',
162
+ value: data.inputPadding || "10",
163
+ groupKey:'style',
164
+ type: "number",
165
+ placeholder: "请输入输入框间隔距离",
166
+ className: 'input60',
167
+ hidden: data.previewCurrent !== 'ticket',
168
+ },
169
+ {
170
+ ele: 'title',
171
+ label: '实体券标签样式配置',
172
+ size: 'small',
173
+ groupKey: 'style',
174
+ hidden: data.previewCurrent !== 'ticket',
175
+ },
176
+ data.inputStyle === 'linear' && {
177
+ label: "标签位置:",
178
+ ele: "xd-radio",
179
+ valueKey: "labelPosition",
180
+ value: data.labelPosition || "left",
181
+ groupKey:'style',
182
+ placeholder: "请选择标签对齐方式",
183
+ multiple: false,
184
+ className: 'input80',
185
+ list: [
186
+ {label: '居左', value: "left"},
187
+ {label: '居上', value: "top"},
188
+ ],
189
+ hidden: data.previewCurrent !== 'ticket',
190
+ },
191
+ {
192
+ label: "标签文字对齐方式:",
193
+ ele: 'xd-radio',
194
+ valueKey: 'labelAlign',
195
+ value: data.labelAlign || "right",
196
+ groupKey:'style',
197
+ placeholder: "请选择标签对齐方式",
198
+ multiple: false,
199
+ className: 'input80',
200
+ list: [
201
+ {label: '左对齐', value: "left"},
202
+ {label: '右对齐', value: "right"},
203
+ {label: '居中', value: "center"},
204
+ ],
205
+ hidden: data.previewCurrent !== 'ticket',
206
+ },
207
+ {
208
+ label: "标签宽度:",
209
+ ele: 'el-input',
210
+ type: "number",
211
+ valueKey: 'labelWidth',
212
+ value: data.labelWidth || "180",
213
+ groupKey:'style',
214
+ placeholder: "请输入标签宽度",
215
+ className: 'input60',
216
+ hidden: data.previewCurrent !== 'ticket',
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
+ },
238
+ {
239
+ label: "标签文字是否显示:",
240
+ ele: 'xd-radio',
241
+ valueKey: 'labelShow',
242
+ value: data.labelShow || "Y",
243
+ groupKey:'style',
244
+ placeholder: "请选择标签文字是否显示",
245
+ multiple: false,
246
+ className: 'input80',
247
+ list: [
248
+ {label: '显示', value: "Y"},
249
+ {label: '不显示', value: "N"},
250
+ ],
251
+ hidden: data.previewCurrent !== 'ticket',
252
+ },
253
+ data.labelShow === 'Y' && {
254
+ label: "标签字体样式设置:",
255
+ ele: "xd-font",
256
+ valueKey: "labelFont",
257
+ value: data.labelFont || {},
258
+ groupKey:'style',
259
+ setting: {
260
+ align: false,
261
+ lineHeight: false,
262
+ },
263
+ handleCustom({action, data}) {
264
+ XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_font_size'})
265
+ .then(res => {
266
+ data.cb(res.list)
267
+ })
268
+ .catch(error => {
269
+ data.cb([])
270
+ console.error(error);
271
+ });
272
+ },
273
+ inline: false,
274
+ notice: '填充设置,单位:<span style="color: red">像素</span>。默认值:<span style="color: red">20</span> 像素',
275
+ hidden: data.previewCurrent !== 'ticket',
276
+ },
277
+ {
278
+ label: "占位符字体样式设置:",
279
+ ele: "xd-font",
280
+ valueKey: "placeholderFont",
281
+ value: data.placeholderFont || {
282
+ color: '#d4d4d4',
283
+ fontSize: '24rpx',
284
+ fontWeight: "normal",
285
+ },
286
+ groupKey:'style',
287
+ setting: {
288
+ align: false,
289
+ lineHeight: false,
290
+ },
291
+ handleCustom({action, data}) {
292
+ XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_font_size'})
293
+ .then(res => {
294
+ data.cb(res.list)
295
+ })
296
+ .catch(error => {
297
+ data.cb([])
298
+ console.error(error);
299
+ });
300
+ },
301
+ inline: false,
302
+ notice: '填充设置,单位:<span style="color: red">像素</span>。默认值:<span style="color: red">20</span> 像素',
303
+ hidden: data.previewCurrent !== 'ticket',
304
+ },
305
+ {
306
+ label: "内容字体样式设置:",
307
+ ele: "xd-font",
308
+ valueKey: "contentFont",
309
+ value: data.contentFont || {},
310
+ groupKey:'style',
311
+ setting: {
312
+ align: false,
313
+ lineHeight: false,
314
+ },
315
+ handleCustom({action, data}) {
316
+ XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_font_size'})
317
+ .then(res => {
318
+ data.cb(res.list)
319
+ })
320
+ .catch(error => {
321
+ data.cb([])
322
+ console.error(error);
323
+ });
324
+ },
325
+ inline: false,
326
+ notice: '填充设置,单位:<span style="color: red">像素</span>。默认值:<span style="color: red">20</span> 像素',
327
+ hidden: data.previewCurrent !== 'ticket',
328
+ },
329
+
330
+ {
331
+ label: "票券号码图标:",
332
+ ele: "xd-font",
333
+ valueKey: "ticketIcon",
334
+ value: data.ticketIcon || {},
335
+ groupKey:'style',
336
+ setting: {
337
+ align: false,
338
+ lineHeight: false,
339
+ icon: true,
340
+ weight: false,
341
+ },
342
+ handleCustom({action, data}) {
343
+ XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_font_size'})
344
+ .then(res => {
345
+ data.cb(res.list)
346
+ })
347
+ .catch(error => {
348
+ data.cb([])
349
+ console.error(error);
350
+ });
351
+ },
352
+ inline: false,
353
+ notice: '填充设置,单位:<span style="color: red">像素</span>。默认值:<span style="color: red">20</span> 像素',
354
+ hidden: data.previewCurrent !== 'ticket',
355
+ },
356
+ {
357
+ label: "票券密码图标:",
358
+ ele: "xd-font",
359
+ valueKey: "passwordIcon",
360
+ value: data.passwordIcon || {},
361
+ groupKey:'style',
362
+ setting: {
363
+ align: false,
364
+ lineHeight: false,
365
+ icon: true,
366
+ weight: false,
367
+ },
368
+ handleCustom({action, data}) {
369
+ XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_font_size'})
370
+ .then(res => {
371
+ data.cb(res.list)
372
+ })
373
+ .catch(error => {
374
+ data.cb([])
375
+ console.error(error);
376
+ });
377
+ },
378
+ inline: false,
379
+ notice: '填充设置,单位:<span style="color: red">像素</span>。默认值:<span style="color: red">20</span> 像素',
380
+ hidden: data.previewCurrent !== 'ticket',
381
+ },
382
+ {
383
+ label: "验证码图标:",
384
+ ele: "xd-font",
385
+ valueKey: "validCodeIcon",
386
+ value: data.validCodeIcon || {},
387
+ groupKey:'style',
388
+ setting: {
389
+ align: false,
390
+ lineHeight: false,
391
+ icon: true,
392
+ weight: false,
393
+ },
394
+ handleCustom({action, data}) {
395
+ XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_font_size'})
396
+ .then(res => {
397
+ data.cb(res.list)
398
+ })
399
+ .catch(error => {
400
+ data.cb([])
401
+ console.error(error);
402
+ });
403
+ },
404
+ inline: false,
405
+ notice: '填充设置,单位:<span style="color: red">像素</span>。默认值:<span style="color: red">20</span> 像素',
406
+ hidden: data.previewCurrent !== 'ticket',
407
+ },
408
+ {
409
+ ele: 'title',
410
+ label: '表单右侧图标',
411
+ size: 'small',
412
+ groupKey: 'style',
413
+ hidden: data.previewCurrent !== 'ticket',
414
+ },
415
+ {
416
+ label: "扫码图标:",
417
+ ele: "xd-font",
418
+ valueKey: "scanIcon",
419
+ value: data.scanIcon || {},
420
+ groupKey:'style',
421
+ setting: {
422
+ align: false,
423
+ lineHeight: false,
424
+ icon: true,
425
+ weight: false,
426
+ },
427
+ handleCustom({action, data}) {
428
+ XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_font_size'})
429
+ .then(res => {
430
+ data.cb(res.list)
431
+ })
432
+ .catch(error => {
433
+ data.cb([])
434
+ console.error(error);
435
+ });
436
+ },
437
+ inline: false,
438
+ notice: '填充设置,单位:<span style="color: red">像素</span>。默认值:<span style="color: red">20</span> 像素',
439
+ hidden: data.previewCurrent !== 'ticket',
440
+ },
441
+ {
442
+ ele: 'title',
443
+ label: '按钮样式配置',
444
+ size: 'small',
445
+ groupKey: 'style',
446
+ },
447
+ {
448
+ label: "按钮外边距设置",
449
+ groupKey:'style',
450
+ ele: 'xd-margin-padding',
451
+ valueKey: 'btnMargin',
452
+ value: data.btnMargin || {
453
+ top: 20,
454
+ left: 20,
455
+ right: 20,
456
+ bottom: 20
457
+ },
458
+ setting: {
459
+ type: 'padding',
460
+ },
461
+ placeholder: '请设置边距',
462
+ inline: false,
463
+ notice: '设置内边距,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
464
+ hidden: data.previewCurrent !== 'ticket',
465
+ },
466
+ {
467
+ label: "按钮圆角 - 通用",
468
+ ele: 'xd-site-select-list',
469
+ valueKey: 'btnRadius',
470
+ value: data['btnRadius'] || '',
471
+ groupKey:'style',
472
+ placeholder: '请选择内容圆角设置',
473
+ multiple: false,
474
+ className: 'input80',
475
+ handleCustom({ action, data }) {
476
+ XdBus.getParentApi('getOptionsSettingList')({ setting_id: 'edtix_style_radius' })
477
+ .then(res => {
478
+ data.cb(res.list)
479
+ })
480
+ .catch(error => {
481
+ console.error(error);
482
+ });
483
+ },
484
+ },
485
+ {
486
+ label: "按钮图标设置 - 通用",
487
+ ele: "xd-font",
488
+ valueKey: "btnIcon",
489
+ value: data.btnIcon || {},
490
+ groupKey:'style',
491
+ setting: {
492
+ align: false,
493
+ lineHeight: false,
494
+ icon: true,
495
+ weight: false,
496
+ },
497
+ handleCustom({action, data}) {
498
+ XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_font_size'})
499
+ .then(res => {
500
+ data.cb(res.list)
501
+ })
502
+ .catch(error => {
503
+ data.cb([])
504
+ console.error(error);
505
+ });
506
+ },
507
+ inline: false,
508
+ notice: '填充设置,单位:<span style="color: red">像素</span>。默认值:<span style="color: red">20</span> 像素',
509
+ },
510
+ {
511
+ ele: 'title',
512
+ label: '电子码表单样式配置',
513
+ size: 'small',
514
+ groupKey: 'style',
515
+ hidden: data.previewCurrent !== 'code',
516
+ },
517
+ {
518
+ label: "电子码表单外边距设置",
519
+ groupKey:'style',
520
+ ele: 'xd-margin-padding',
521
+ valueKey: 'digitalFormMargin',
522
+ value: data.digitalFormMargin || {
523
+ top: 20,
524
+ left: 20,
525
+ right: 20,
526
+ bottom: 20
527
+ },
528
+ setting: {
529
+ type: 'padding',
530
+ },
531
+ placeholder: '请设置边距',
532
+ inline: false,
533
+ notice: '设置内边距,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
534
+ hidden: data.previewCurrent !== 'code',
535
+ },
536
+ {
537
+ label: "电子码按钮边距设置",
538
+ groupKey:'style',
539
+ ele: 'xd-margin-padding',
540
+ valueKey: 'digitalBtnMargin',
541
+ value: data.digitalBtnMargin || {
542
+ top: 40,
543
+ left: 20,
544
+ right: 20,
545
+ bottom: 10
546
+ },
547
+ setting: {
548
+ type: 'padding',
549
+ },
550
+ placeholder: '请设置边距',
551
+ inline: false,
552
+ notice: '设置内边距,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
553
+ hidden: data.previewCurrent !== 'code',
554
+ },
555
+ {
556
+ label: "电子码票券号图标设置",
557
+ ele: "xd-font",
558
+ valueKey: "digitalCodeIcon",
559
+ value: data.digitalCodeIcon || {},
560
+ groupKey:'style',
561
+ setting: {
562
+ align: false,
563
+ lineHeight: false,
564
+ icon: true,
565
+ weight: false,
566
+ },
567
+ handleCustom({action, data}) {
568
+ XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_font_size'})
569
+ .then(res => {
570
+ data.cb(res.list)
571
+ })
572
+ .catch(error => {
573
+ data.cb([])
574
+ console.error(error);
575
+ });
576
+ },
577
+ inline: false,
578
+ notice: '填充设置,单位:<span style="color: red">像素</span>。默认值:<span style="color: red">20</span> 像素',
579
+ hidden: data.previewCurrent !== 'code',
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
+ // },
633
+ {
634
+ label: "电子码标签宽度设置",
635
+ ele: "el-input",
636
+ valueKey: "digitalCodeLabelWidth",
637
+ value: data.digitalCodeLabelWidth || 100,
638
+ groupKey:'style',
639
+ type: "number",
640
+ hidden: data.previewCurrent !== 'code',
641
+ },
642
+ data.digitalInputStyle === 'linear' && {
643
+ label: "电子码输入框边框颜色设置",
644
+ ele: "xd-color",
645
+ valueKey: "digitalCodeColor",
646
+ value: data.digitalCodeColor || "#F9F9F9",
647
+ groupKey:'style',
648
+ hidden: data.previewCurrent !== 'code',
649
+ },
650
+ data.digitalInputStyle === 'face' && {
651
+ label: '电子码输入框圆角设置:',
652
+ ele: 'xd-site-select-list',
653
+ valueKey: 'digitalCodeRadius',
654
+ value: data.digitalCodeRadius ||'',
655
+ groupKey:'style',
656
+ placeholder: '请选择边框圆角设置',
657
+ multiple: false,
658
+ className: 'input80',
659
+ handleCustom({ action, data }) {
660
+ XdBus.getParentApi('getOptionsSettingList')({ setting_id: 'edtix_style_radius' })
661
+ .then(res => {
662
+ data.cb(res.list)
663
+ })
664
+ .catch(error => {
665
+ console.error(error);
666
+ });
667
+ },
668
+ hidden: data.previewCurrent !== 'code',
669
+ },
670
+ {
671
+ ele: 'title',
672
+ label: '温馨提示样式配置 - 通用',
673
+ size: 'small',
674
+ groupKey: 'style',
675
+ },
676
+ {
677
+ label: "背景颜色",
678
+ ele: "xd-color",
679
+ valueKey: "tipBgColor",
680
+ value: data.tipBgColor || "#fff",
681
+ groupKey:'style',
682
+ },
683
+ {
684
+ label: "内边距设置",
685
+ groupKey:'style',
686
+ ele: 'xd-margin-padding',
687
+ valueKey: 'tipPadding',
688
+ value: data.tipPadding || {
689
+ top: 10,
690
+ left: 20,
691
+ right: 20,
692
+ bottom: 10
693
+ },
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: '我的票券跳转地址:',
27
703
  ele: 'xd-select-pages-path',
28
- valueKey: 'select-pages-path',
29
- value: data['select-pages-path'] || null,
704
+ valueKey: 'my_card_url',
705
+ groupKey: 'advanced',
706
+ placeholder: '请选择我的票券跳转地址',
707
+ value: data.my_card_url || null,
30
708
  setting: {
31
- router: XdBus.getParentApi('getPagesTree')
709
+ router: XdBus.getParentApi('getPagesTree'),
32
710
  },
711
+ inline: false,
33
712
  },
34
- data.bgcolor && {
35
- label: '高度:',
36
- ele: 'el-input',
37
- type: 'number',
38
- valueKey: 'height',
39
- value: data.height || 100,
40
- placeholder: '请输入占位框高度,单位像素,默认:10px',
41
- className: 'input80',
42
- rules: [
43
- {
44
- required: true,
45
- message: '请输入占位框高度',
46
- trigger: 'blur'
47
- },
48
- ]
49
- },
50
- {
51
- label: '', //label
52
- ele: 'slot', //package 名称
53
- slot: 'is_reference',
713
+ {
714
+ label: '卡绑定成功回跳地址:',
715
+ ele: 'xd-select-pages-path',
716
+ valueKey: 'back_url',
717
+ groupKey: 'advanced',
718
+ placeholder: '请选择卡绑定成功回跳地址',
719
+ value: data.back_url || null,
720
+ setting: {
721
+ router: XdBus.getParentApi('getPagesTree'),
722
+ },
723
+ inline: false,
54
724
  },
55
725
  ].filter(i=>i)
56
726
  },