jufubao-base 1.0.169-beta3 → 1.0.169-beta5

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 (25) hide show
  1. package/package.json +1 -1
  2. package/src/components/JfbBaseLogin/Attr.js +54 -16
  3. package/src/components/JfbBaseMapSearch/MapSearchMp.vue +1 -1
  4. package/src/components/JfbBaseOrderDetail/Api.js +12 -7
  5. package/src/components/JfbBaseOrderDetail/Attr.js +28 -14
  6. package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +66 -18
  7. package/src/components/JfbBaseOrderDetail/Mock.js +3 -1
  8. package/src/components/JfbBaseTfkCardBind/Attr.js +36 -9
  9. package/src/components/JfbBaseTfkCardBind/JfbBaseTfkCardBind.vue +1 -1
  10. package/src/components/JfbBaseTfkCardDetail/Attr.js +35 -6
  11. package/src/components/JfbBaseTfkCardDetail/JfbBaseTfkCardDetail.vue +1 -1
  12. package/src/components/JfbBaseTfkCardLogin/Attr.js +98 -4
  13. package/src/components/JfbBaseTfkCardLogin/JfbBaseTfkCardLogin.vue +43 -18
  14. package/src/components/JfbBaseTfkSearch/Attr.js +24 -37
  15. package/src/components/JfbBaseTfkSearch/ContentCinema.vue +147 -0
  16. package/src/components/JfbBaseTfkSearch/ContentItem.vue +165 -0
  17. package/src/components/JfbBaseTfkSearch/CusAttr.js +201 -0
  18. package/src/components/JfbBaseTfkSearch/CustomList.vue +229 -0
  19. package/src/components/JfbBaseTfkSearch/JfbBaseTfkSearch.vue +46 -14
  20. package/src/components/JfbBaseTfkSearch/SkeletonCinema.vue +46 -0
  21. package/src/components/JfbBaseTfkSearch/SkeletonFilm.vue +109 -0
  22. package/src/components/JfbBaseTfkSearch/SkeletonProduct.vue +111 -0
  23. package/src/components/JfbBaseTfkSearch/SkeletonShop.vue +81 -0
  24. package/src/components/JfbBaseTfkSearch/listMixins.js +76 -0
  25. package/src/components/JfbBaseTfkSearch/search.js +175 -0
@@ -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);