jufubao-base 1.0.168 → 1.0.169-beta10

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/JfbBaseLogin/Attr.js +1147 -510
  3. package/src/components/JfbBaseLogin/JfbBaseLogin.vue +364 -63
  4. package/src/components/JfbBaseMapSearch/MapSearchMp.vue +1 -1
  5. package/src/components/JfbBaseOrderDetail/Api.js +12 -7
  6. package/src/components/JfbBaseOrderDetail/Attr.js +28 -14
  7. package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +68 -18
  8. package/src/components/JfbBaseOrderDetail/Mock.js +3 -1
  9. package/src/components/JfbBaseTfkCardBind/Api.js +49 -30
  10. package/src/components/JfbBaseTfkCardBind/Attr.js +635 -38
  11. package/src/components/JfbBaseTfkCardBind/JfbBaseTfkCardBind.vue +617 -22
  12. package/src/components/JfbBaseTfkCardBind/Mock.js +19 -9
  13. package/src/components/JfbBaseTfkCardDetail/Api.js +19 -32
  14. package/src/components/JfbBaseTfkCardDetail/Attr.js +692 -33
  15. package/src/components/JfbBaseTfkCardDetail/JfbBaseTfkCardDetail.vue +630 -23
  16. package/src/components/JfbBaseTfkCardDetail/Mock.js +151 -11
  17. package/src/components/JfbBaseTfkCardLogin/Api.js +19 -34
  18. package/src/components/JfbBaseTfkCardLogin/Attr.js +898 -33
  19. package/src/components/JfbBaseTfkCardLogin/JfbBaseTfkCardLogin.vue +741 -17
  20. package/src/components/JfbBaseTfkCardLogin/Mock.js +677 -11
  21. package/src/components/JfbBaseTfkCardLogin/XdCouponItem.vue +271 -0
  22. package/src/components/JfbBaseTfkSearch/AllList.vue +232 -0
  23. package/src/components/JfbBaseTfkSearch/Api.js +11 -42
  24. package/src/components/JfbBaseTfkSearch/Attr.js +225 -33
  25. package/src/components/JfbBaseTfkSearch/ContentCinema.vue +157 -0
  26. package/src/components/JfbBaseTfkSearch/ContentFilm.vue +179 -0
  27. package/src/components/JfbBaseTfkSearch/ContentProduct.vue +308 -0
  28. package/src/components/JfbBaseTfkSearch/ContentShop.vue +184 -0
  29. package/src/components/JfbBaseTfkSearch/CusAttr.js +213 -0
  30. package/src/components/JfbBaseTfkSearch/CustomList.vue +402 -0
  31. package/src/components/JfbBaseTfkSearch/JfbBaseTfkSearch.vue +230 -26
  32. package/src/components/JfbBaseTfkSearch/Mock.js +90 -11
  33. package/src/components/JfbBaseTfkSearch/SkeletonCinema.vue +45 -0
  34. package/src/components/JfbBaseTfkSearch/SkeletonFilm.vue +109 -0
  35. package/src/components/JfbBaseTfkSearch/SkeletonProduct.vue +246 -0
  36. package/src/components/JfbBaseTfkSearch/SkeletonShop.vue +81 -0
  37. package/src/components/JfbBaseTfkSearch/handleKeyword.js +24 -0
  38. package/src/components/JfbBaseTfkSearch/listMixins.js +153 -0
  39. package/src/components/JfbBaseTfkSearch/search.js +293 -0
  40. package/src/mixins/colorCardMixins.js +71 -9
  41. package/src/mixins/componentsMixins.js +346 -23
@@ -8,49 +8,646 @@ export default {
8
8
  content: (data) => {
9
9
  return [
10
10
  {
11
- label: '背景颜色:',
12
- 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: '选中路径:',
27
- ele: 'xd-select-pages-path',
28
- valueKey: 'select-pages-path',
29
- value: data['select-pages-path'] || null,
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,
30
115
  setting: {
31
- router: XdBus.getParentApi('getPagesTree')
116
+ type: 'padding',
32
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: "表单边框颜色:",
140
+ ele: 'xd-color',
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',
33
190
  },
34
- data.bgcolor && {
35
- label: '高度:',
191
+ data.inputStyle === 'linear' && {
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: "标签宽度:",
36
209
  ele: 'el-input',
37
- type: 'number',
38
- valueKey: 'height',
39
- value: data.height || 100,
40
- placeholder: '请输入占位框高度,单位像素,默认:10px',
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
+ {
219
+ label: "标签文字是否显示:",
220
+ ele: 'xd-radio',
221
+ valueKey: 'labelShow',
222
+ value: data.labelShow || "Y",
223
+ groupKey:'style',
224
+ placeholder: "请选择标签文字是否显示",
225
+ multiple: false,
41
226
  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',
227
+ list: [
228
+ {label: '显示', value: "Y"},
229
+ {label: '不显示', value: "N"},
230
+ ],
231
+ hidden: data.previewCurrent !== 'ticket',
232
+ },
233
+ data.labelShow === 'Y' && {
234
+ label: "标签字体样式设置:",
235
+ ele: "xd-font",
236
+ valueKey: "labelFont",
237
+ value: data.labelFont || {},
238
+ groupKey:'style',
239
+ setting: {
240
+ align: false,
241
+ lineHeight: false,
242
+ },
243
+ handleCustom({action, data}) {
244
+ XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_font_size'})
245
+ .then(res => {
246
+ data.cb(res.list)
247
+ })
248
+ .catch(error => {
249
+ data.cb([])
250
+ console.error(error);
251
+ });
252
+ },
253
+ inline: false,
254
+ notice: '填充设置,单位:<span style="color: red">像素</span>。默认值:<span style="color: red">20</span> 像素',
255
+ hidden: data.previewCurrent !== 'ticket',
256
+ },
257
+ {
258
+ label: "占位符字体样式设置:",
259
+ ele: "xd-font",
260
+ valueKey: "placeholderFont",
261
+ value: data.placeholderFont || {
262
+ color: '#d4d4d4',
263
+ fontSize: '24rpx',
264
+ fontWeight: "normal",
265
+ },
266
+ groupKey:'style',
267
+ setting: {
268
+ align: false,
269
+ lineHeight: false,
270
+ },
271
+ handleCustom({action, data}) {
272
+ XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_font_size'})
273
+ .then(res => {
274
+ data.cb(res.list)
275
+ })
276
+ .catch(error => {
277
+ data.cb([])
278
+ console.error(error);
279
+ });
280
+ },
281
+ inline: false,
282
+ notice: '填充设置,单位:<span style="color: red">像素</span>。默认值:<span style="color: red">20</span> 像素',
283
+ hidden: data.previewCurrent !== 'ticket',
284
+ },
285
+ {
286
+ label: "内容字体样式设置:",
287
+ ele: "xd-font",
288
+ valueKey: "contentFont",
289
+ value: data.contentFont || {},
290
+ groupKey:'style',
291
+ setting: {
292
+ align: false,
293
+ lineHeight: false,
294
+ },
295
+ handleCustom({action, data}) {
296
+ XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_font_size'})
297
+ .then(res => {
298
+ data.cb(res.list)
299
+ })
300
+ .catch(error => {
301
+ data.cb([])
302
+ console.error(error);
303
+ });
304
+ },
305
+ inline: false,
306
+ notice: '填充设置,单位:<span style="color: red">像素</span>。默认值:<span style="color: red">20</span> 像素',
307
+ hidden: data.previewCurrent !== 'ticket',
308
+ },
309
+ {
310
+ label: "票券号码图标:",
311
+ ele: "xd-font",
312
+ valueKey: "ticketIcon",
313
+ value: data.ticketIcon || {},
314
+ groupKey:'style',
315
+ setting: {
316
+ align: false,
317
+ lineHeight: false,
318
+ icon: true,
319
+ weight: false,
320
+ },
321
+ handleCustom({action, data}) {
322
+ XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_font_size'})
323
+ .then(res => {
324
+ data.cb(res.list)
325
+ })
326
+ .catch(error => {
327
+ data.cb([])
328
+ console.error(error);
329
+ });
330
+ },
331
+ inline: false,
332
+ notice: '填充设置,单位:<span style="color: red">像素</span>。默认值:<span style="color: red">20</span> 像素',
333
+ hidden: data.previewCurrent !== 'ticket',
334
+ },
335
+ {
336
+ label: "票券密码图标:",
337
+ ele: "xd-font",
338
+ valueKey: "passwordIcon",
339
+ value: data.passwordIcon || {},
340
+ groupKey:'style',
341
+ setting: {
342
+ align: false,
343
+ lineHeight: false,
344
+ icon: true,
345
+ weight: false,
346
+ },
347
+ handleCustom({action, data}) {
348
+ XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_font_size'})
349
+ .then(res => {
350
+ data.cb(res.list)
351
+ })
352
+ .catch(error => {
353
+ data.cb([])
354
+ console.error(error);
355
+ });
356
+ },
357
+ inline: false,
358
+ notice: '填充设置,单位:<span style="color: red">像素</span>。默认值:<span style="color: red">20</span> 像素',
359
+ hidden: data.previewCurrent !== 'ticket',
360
+ },
361
+ {
362
+ label: "验证码图标:",
363
+ ele: "xd-font",
364
+ valueKey: "validCodeIcon",
365
+ value: data.validCodeIcon || {},
366
+ groupKey:'style',
367
+ setting: {
368
+ align: false,
369
+ lineHeight: false,
370
+ icon: true,
371
+ weight: false,
372
+ },
373
+ handleCustom({action, data}) {
374
+ XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_font_size'})
375
+ .then(res => {
376
+ data.cb(res.list)
377
+ })
378
+ .catch(error => {
379
+ data.cb([])
380
+ console.error(error);
381
+ });
382
+ },
383
+ inline: false,
384
+ notice: '填充设置,单位:<span style="color: red">像素</span>。默认值:<span style="color: red">20</span> 像素',
385
+ hidden: data.previewCurrent !== 'ticket',
386
+ },
387
+ {
388
+ ele: 'title',
389
+ label: '表单右侧图标',
390
+ size: 'small',
391
+ groupKey: 'style',
392
+ hidden: data.previewCurrent !== 'ticket',
393
+ },
394
+ {
395
+ label: "扫码图标:",
396
+ ele: "xd-font",
397
+ valueKey: "scanIcon",
398
+ value: data.scanIcon || {},
399
+ groupKey:'style',
400
+ setting: {
401
+ align: false,
402
+ lineHeight: false,
403
+ icon: true,
404
+ weight: false,
405
+ },
406
+ handleCustom({action, data}) {
407
+ XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_font_size'})
408
+ .then(res => {
409
+ data.cb(res.list)
410
+ })
411
+ .catch(error => {
412
+ data.cb([])
413
+ console.error(error);
414
+ });
415
+ },
416
+ inline: false,
417
+ notice: '填充设置,单位:<span style="color: red">像素</span>。默认值:<span style="color: red">20</span> 像素',
418
+ hidden: data.previewCurrent !== 'ticket',
419
+ },
420
+ {
421
+ ele: 'title',
422
+ label: '按钮样式配置',
423
+ size: 'small',
424
+ groupKey: 'style',
425
+ },
426
+ {
427
+ label: "按钮外边距设置",
428
+ groupKey:'style',
429
+ ele: 'xd-margin-padding',
430
+ valueKey: 'btnMargin',
431
+ value: data.btnMargin || {
432
+ top: 20,
433
+ left: 20,
434
+ right: 20,
435
+ bottom: 20
436
+ },
437
+ setting: {
438
+ type: 'padding',
439
+ },
440
+ placeholder: '请设置边距',
441
+ inline: false,
442
+ notice: '设置内边距,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
443
+ hidden: data.previewCurrent !== 'ticket',
444
+ },
445
+ {
446
+ label: "按钮圆角 - 通用",
447
+ ele: 'xd-site-select-list',
448
+ valueKey: 'btnRadius',
449
+ value: data['btnRadius'] || '',
450
+ groupKey:'style',
451
+ placeholder: '请选择内容圆角设置',
452
+ multiple: false,
453
+ className: 'input80',
454
+ handleCustom({ action, data }) {
455
+ XdBus.getParentApi('getOptionsSettingList')({ setting_id: 'edtix_style_radius' })
456
+ .then(res => {
457
+ data.cb(res.list)
458
+ })
459
+ .catch(error => {
460
+ console.error(error);
461
+ });
462
+ },
463
+ },
464
+ {
465
+ label: "按钮图标设置 - 通用",
466
+ ele: "xd-font",
467
+ valueKey: "btnIcon",
468
+ value: data.btnIcon || {},
469
+ groupKey:'style',
470
+ setting: {
471
+ align: false,
472
+ lineHeight: false,
473
+ icon: true,
474
+ weight: false,
475
+ },
476
+ handleCustom({action, data}) {
477
+ XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_font_size'})
478
+ .then(res => {
479
+ data.cb(res.list)
480
+ })
481
+ .catch(error => {
482
+ data.cb([])
483
+ console.error(error);
484
+ });
485
+ },
486
+ inline: false,
487
+ notice: '填充设置,单位:<span style="color: red">像素</span>。默认值:<span style="color: red">20</span> 像素',
488
+ },
489
+ {
490
+ ele: 'title',
491
+ label: '电子码表单样式配置',
492
+ size: 'small',
493
+ groupKey: 'style',
494
+ hidden: data.previewCurrent !== 'code',
495
+ },
496
+ {
497
+ label: "电子码表单外边距设置",
498
+ groupKey:'style',
499
+ ele: 'xd-margin-padding',
500
+ valueKey: 'digitalFormMargin',
501
+ value: data.digitalFormMargin || {
502
+ top: 20,
503
+ left: 20,
504
+ right: 20,
505
+ bottom: 20
506
+ },
507
+ setting: {
508
+ type: 'padding',
509
+ },
510
+ placeholder: '请设置边距',
511
+ inline: false,
512
+ notice: '设置内边距,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
513
+ hidden: data.previewCurrent !== 'code',
514
+ },
515
+ {
516
+ label: "电子码按钮边距设置",
517
+ groupKey:'style',
518
+ ele: 'xd-margin-padding',
519
+ valueKey: 'digitalBtnMargin',
520
+ value: data.digitalBtnMargin || {
521
+ top: 40,
522
+ left: 20,
523
+ right: 20,
524
+ bottom: 10
525
+ },
526
+ setting: {
527
+ type: 'padding',
528
+ },
529
+ placeholder: '请设置边距',
530
+ inline: false,
531
+ notice: '设置内边距,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
532
+ hidden: data.previewCurrent !== 'code',
533
+ },
534
+ {
535
+ label: "电子码票券号图标设置",
536
+ ele: "xd-font",
537
+ valueKey: "digitalCodeIcon",
538
+ value: data.digitalCodeIcon || {},
539
+ groupKey:'style',
540
+ setting: {
541
+ align: false,
542
+ lineHeight: false,
543
+ icon: true,
544
+ weight: false,
545
+ },
546
+ handleCustom({action, data}) {
547
+ XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_font_size'})
548
+ .then(res => {
549
+ data.cb(res.list)
550
+ })
551
+ .catch(error => {
552
+ data.cb([])
553
+ console.error(error);
554
+ });
555
+ },
556
+ inline: false,
557
+ notice: '填充设置,单位:<span style="color: red">像素</span>。默认值:<span style="color: red">20</span> 像素',
558
+ hidden: data.previewCurrent !== 'code',
559
+ },
560
+ {
561
+ label: "电子码标签宽度设置",
562
+ ele: "el-input",
563
+ valueKey: "digitalCodeLabelWidth",
564
+ value: data.digitalCodeLabelWidth || 100,
565
+ groupKey:'style',
566
+ type: "number",
567
+ hidden: data.previewCurrent !== 'code',
568
+ },
569
+ {
570
+ label: "电子码输入框颜色设置",
571
+ ele: "xd-color",
572
+ valueKey: "digitalCodeColor",
573
+ value: data.digitalCodeColor || "#dddddd",
574
+ groupKey:'style',
575
+ hidden: data.previewCurrent !== 'code',
576
+ },
577
+ {
578
+ label: '电子码输入框圆角设置:',
579
+ ele: 'xd-site-select-list',
580
+ valueKey: 'digitalCodeRadius',
581
+ value: data.digitalCodeRadius ||'',
582
+ groupKey:'style',
583
+ placeholder: '请选择边框圆角设置',
584
+ multiple: false,
585
+ className: 'input80',
586
+ handleCustom({ action, data }) {
587
+ XdBus.getParentApi('getOptionsSettingList')({ setting_id: 'edtix_style_radius' })
588
+ .then(res => {
589
+ data.cb(res.list)
590
+ })
591
+ .catch(error => {
592
+ console.error(error);
593
+ });
594
+ },
595
+ hidden: data.previewCurrent !== 'code',
596
+ },
597
+ {
598
+ ele: 'title',
599
+ label: '温馨提示样式配置 - 通用',
600
+ size: 'small',
601
+ groupKey: 'style',
602
+ },
603
+ {
604
+ label: "背景颜色",
605
+ ele: "xd-color",
606
+ valueKey: "tipBgColor",
607
+ value: data.tipBgColor || "#fff",
608
+ groupKey:'style',
609
+ },
610
+ {
611
+ label: "内边距设置",
612
+ groupKey:'style',
613
+ ele: 'xd-margin-padding',
614
+ valueKey: 'tipPadding',
615
+ value: data.tipPadding || {
616
+ top: 10,
617
+ left: 20,
618
+ right: 20,
619
+ bottom: 10
620
+ },
621
+ setting: {
622
+ type: 'padding',
623
+ },
624
+ placeholder: '请设置边距',
625
+ inline: false,
626
+ notice: '设置内边距,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
627
+ },
628
+ {
629
+ label: '我的票券跳转地址:',
630
+ ele: 'xd-select-pages-path',
631
+ valueKey: 'my_card_url',
632
+ groupKey: 'advanced',
633
+ placeholder: '请选择我的票券跳转地址',
634
+ value: null,
635
+ setting: {
636
+ router: XdBus.getParentApi('getPagesTree'),
637
+ },
638
+ inline: false,
639
+ },
640
+ {
641
+ label: '卡绑定成功回跳地址:',
642
+ ele: 'xd-select-pages-path',
643
+ valueKey: 'back_url',
644
+ groupKey: 'advanced',
645
+ placeholder: '请选择卡绑定成功回跳地址',
646
+ value: null,
647
+ setting: {
648
+ router: XdBus.getParentApi('getPagesTree'),
649
+ },
650
+ inline: false,
54
651
  },
55
652
  ].filter(i=>i)
56
653
  },