jufubao-base 1.0.186 → 1.0.187-beta3

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 (34) hide show
  1. package/package.json +1 -1
  2. package/src/ICONS.js +1128 -0
  3. package/src/components/JfbBaseAddress/Attr.js +109 -1
  4. package/src/components/JfbBaseAddress/JfbBaseAddress.vue +153 -77
  5. package/src/components/JfbBaseAddress/XdTfkItem.vue +117 -0
  6. package/src/components/JfbBaseCardDetailEntry/JfbBaseCardDetailEntry.vue +4 -1
  7. package/src/components/JfbBaseCardEntry/JfbBaseCardEntry.vue +17 -5
  8. package/src/components/JfbBaseFastLink/Attr.js +22 -6
  9. package/src/components/JfbBaseFastLink/JfbBaseFastLink.vue +35 -20
  10. package/src/components/JfbBaseFastLink/XdFastNav.vue +1 -2
  11. package/src/components/JfbBaseFooter/Attr.js +141 -75
  12. package/src/components/JfbBaseFooter/JfbBaseFooter.vue +50 -15
  13. package/src/components/JfbBaseOrderDetail/Api.js +1 -0
  14. package/src/components/JfbBaseOrderDetail/Attr.js +201 -65
  15. package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +168 -57
  16. package/src/components/JfbBaseOrderList/Attr.js +59 -2
  17. package/src/components/JfbBaseOrderList/JfbBaseOrderList.vue +139 -92
  18. package/src/components/JfbBaseOrderList/Mock.js +3 -0
  19. package/src/components/JfbBaseOrderList/XdTfkOrderItem.vue +267 -0
  20. package/src/components/JfbBasePhoneCollect/Attr.js +945 -411
  21. package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollect.vue +307 -27
  22. package/src/components/JfbBasePhoneLogin/Attr.js +893 -405
  23. package/src/components/JfbBasePhoneLogin/JfbBasePhoneLogin.vue +609 -253
  24. package/src/components/JfbBaseSuccess/Attr.js +1 -1
  25. package/src/components/JfbBaseTfkCardDetail/JfbBaseTfkCardDetail.vue +4 -1
  26. package/src/components/JfbBaseTfkCardLogin/JfbBaseTfkCardLogin.vue +0 -1
  27. package/src/components/JfbBaseUserCenter/Attr.js +240 -48
  28. package/src/components/JfbBaseUserCenter/JfbBaseUserCenter.vue +101 -30
  29. package/src/components/JfbBaseUserInfo/Attr.js +179 -30
  30. package/src/components/JfbBaseUserInfo/JfbBaseUserInfo.vue +80 -44
  31. package/src/components/JfbBaseUserOrder/Attr.js +291 -25
  32. package/src/components/JfbBaseUserOrder/JfbBaseUserOrder.vue +172 -54
  33. package/src/components/JfbBaseWallet/Attr.js +344 -3
  34. package/src/components/JfbBaseWallet/JfbBaseWallet.vue +173 -49
@@ -332,48 +332,50 @@ export default {
332
332
  notice: '间距设置,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
333
333
  },
334
334
  {
335
- ele: 'title',
336
- label: '投影设置',
337
- size: 'small',
335
+ label: "主体信息行间距:",
336
+ ele: 'el-input',
337
+ type: 'number',
338
+ valueKey: 'lineHeight',
338
339
  groupKey:'style',
340
+ value: data['lineHeight'] || 20,
341
+ placeholder: '请输入主体信息行间距',
342
+ className: 'input80',
339
343
  },
340
344
  {
341
- label: '是否有投影:',
342
- ele: 'xd-radio',
345
+ label: '投影设置:',
346
+ ele: "xd-shadow",
347
+ valueKey: "sectionShadow",
348
+ value: data.sectionShadow || {},
343
349
  groupKey:'style',
344
- valueKey: 'is_shadow',
345
- value: data['is_shadow'] || 'N',
346
- placeholder: '请选择是否投影',
347
- multiple: false,
348
- className: 'input80',
349
- list: [
350
- { label: '是', value: 'Y' },
351
- { label: '否', value: 'N' },
352
- ]
350
+ handleCustom({action, data}) {
351
+ XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_radius'})
352
+ .then(res => {
353
+ data.cb(res.list)
354
+ })
355
+ .catch(error => {
356
+ console.error(error);
357
+ data.cb([])
358
+ });
359
+ },
353
360
  },
354
- data['is_shadow'] === 'Y' && {
355
- label: '投影颜色:',
356
- ele: 'xd-color',
361
+ {
362
+ label: "边框设置:",
363
+ ele: "xd-border",
364
+ valueKey: "sectionBorder",
365
+ value: data.sectionBorder || {},
357
366
  groupKey:'style',
358
- valueKey: 'is_shadow_bg',
359
- value: data['is_shadow_bg'] || '',
360
- placeholder: '请选择投影颜色',
361
- classNmae: 'input80',
362
367
  },
363
- data['is_shadow'] === 'Y' && {
364
- label: '投影范围:',
368
+ {
369
+ label: '内容圆角设置:',
365
370
  ele: 'xd-site-select-list',
366
- valueKey: 'is_shadow_w',
371
+ valueKey: 'radius',
367
372
  groupKey:'style',
368
- value: data['is_shadow_w'] || '10',
369
- placeholder: '请选择投影范围',
373
+ value: data['radius'] || '',
374
+ placeholder: '请选择内容圆角设置',
370
375
  multiple: false,
371
376
  className: 'input80',
372
377
  handleCustom({ action, data }) {
373
- XdBus.getParentApi('getOptionsSettingList')({
374
- setting_id: 'edtix_style_radius',
375
- key: Date.now()
376
- })
378
+ XdBus.getParentApi('getOptionsSettingList')({ setting_id: 'edtix_style_radius' })
377
379
  .then(res => {
378
380
  data.cb(res.list)
379
381
  })
@@ -383,50 +385,45 @@ export default {
383
385
  },
384
386
  },
385
387
  {
386
- ele: 'title',
387
- label: '边框设置',
388
- size: 'small',
389
- groupKey:'style',
388
+ label: "底部按钮配置",
389
+ ele: "title",
390
+ groupKey: "style",
391
+ size: "small"
390
392
  },
391
393
  {
392
- label: '是否有边框:',
393
- ele: 'xd-radio',
394
- valueKey: 'is_border',
395
- value: data['is_border'] || 'N',
394
+ label: "容器内边距:",
395
+ ele: 'xd-margin-padding',
396
+ valueKey: 'bottomPadding',
397
+ value: data['bottomPadding'] || null,
396
398
  groupKey:'style',
397
- placeholder: '请选择是否有边框',
398
- multiple: false,
399
- className: 'input80',
400
- list: [
401
- { label: '是', value: 'Y' },
402
- { label: '否', value: 'N' },
403
- ]
399
+ setting: {
400
+ type: 'padding',
401
+ },
402
+ placeholder: '请设置容器内边距',
404
403
  },
405
- data['is_border'] === 'Y' && {
406
- label: '边框颜色:',
407
- ele: 'xd-color',
408
- groupKey:'style',
409
- valueKey: 'is_border_c',
410
- value: data['is_border_c'] || '',
411
- placeholder: '请选择边框颜色',
412
- classNmae: 'input80',
404
+ {
405
+ label: "容器背景颜色:",
406
+ ele: "xd-color",
407
+ valueKey: "bottomBgColor",
408
+ value: data.bottomBgColor || null,
409
+ groupKey: "style",
413
410
  },
414
- data['is_border'] === 'Y' && {
415
- label: '边框大小:',
416
- groupKey:'style',
417
- ele: 'el-input',
411
+ {
412
+ label: "按钮高度:",
413
+ ele: "el-input",
418
414
  type: 'number',
419
- valueKey: 'is_border_w',
420
- value: data['is_border_w'] || '',
421
- placeholder: '请输入边框颜色',
415
+ valueKey: "bottomBtnHeight",
416
+ groupKey:'style',
417
+ value: data['bottomBtnHeight'] || 60,
418
+ placeholder: '请输入按钮高度',
422
419
  className: 'input80',
423
420
  },
424
421
  {
425
- label: '内容圆角设置:',
426
- ele: 'xd-site-select-list',
427
- valueKey: 'radius',
422
+ label: '按钮圆角:',
423
+ ele: "xd-site-select-list",
424
+ valueKey: "bottomBtnRadius",
425
+ value: data['bottomBtnRadius'] || '',
428
426
  groupKey:'style',
429
- value: data['radius'] || '',
430
427
  placeholder: '请选择内容圆角设置',
431
428
  multiple: false,
432
429
  className: 'input80',
@@ -440,7 +437,6 @@ export default {
440
437
  });
441
438
  },
442
439
  },
443
-
444
440
  {
445
441
  label: '查看品牌路径:',
446
442
  ele: 'xd-select-pages-path',
@@ -489,6 +485,146 @@ export default {
489
485
  },
490
486
  inline: false,
491
487
  },
488
+
489
+ // 废弃 - 隐藏
490
+ {
491
+ label: '是否有投影:',
492
+ ele: 'xd-radio',
493
+ groupKey:'style',
494
+ valueKey: 'is_shadow',
495
+ value: data['is_shadow'] || 'N',
496
+ placeholder: '请选择是否投影',
497
+ multiple: false,
498
+ className: 'input80',
499
+ list: [
500
+ { label: '是', value: 'Y' },
501
+ { label: '否', value: 'N' },
502
+ ],
503
+ hidden: true,
504
+ },
505
+ data['is_shadow'] === 'Y' && {
506
+ label: '投影颜色:',
507
+ ele: 'xd-color',
508
+ groupKey:'style',
509
+ valueKey: 'is_shadow_bg',
510
+ value: data['is_shadow_bg'] || '',
511
+ placeholder: '请选择投影颜色',
512
+ classNmae: 'input80',
513
+ hidden: true,
514
+ },
515
+ data['is_shadow'] === 'Y' && {
516
+ label: '投影范围:',
517
+ ele: 'xd-site-select-list',
518
+ valueKey: 'is_shadow_w',
519
+ groupKey:'style',
520
+ value: data['is_shadow_w'] || '10',
521
+ placeholder: '请选择投影范围',
522
+ multiple: false,
523
+ className: 'input80',
524
+ handleCustom({ action, data }) {
525
+ XdBus.getParentApi('getOptionsSettingList')({
526
+ setting_id: 'edtix_style_radius',
527
+ key: Date.now()
528
+ })
529
+ .then(res => {
530
+ data.cb(res.list)
531
+ })
532
+ .catch(error => {
533
+ console.error(error);
534
+ });
535
+ },
536
+ hidden: true,
537
+ },
538
+ {
539
+ label: '是否有边框:',
540
+ ele: 'xd-radio',
541
+ valueKey: 'is_border',
542
+ value: data['is_border'] || 'N',
543
+ groupKey:'style',
544
+ placeholder: '请选择是否有边框',
545
+ multiple: false,
546
+ className: 'input80',
547
+ list: [
548
+ { label: '是', value: 'Y' },
549
+ { label: '否', value: 'N' },
550
+ ],
551
+ hidden: true,
552
+ },
553
+ data['is_border'] === 'Y' && {
554
+ label: '边框颜色:',
555
+ ele: 'xd-color',
556
+ groupKey:'style',
557
+ valueKey: 'is_border_c',
558
+ value: data['is_border_c'] || '',
559
+ placeholder: '请选择边框颜色',
560
+ className: 'input80',
561
+ hidden: true,
562
+ },
563
+ data['is_border'] === 'Y' && {
564
+ label: '边框大小:',
565
+ groupKey:'style',
566
+ ele: 'el-input',
567
+ type: 'number',
568
+ valueKey: 'is_border_w',
569
+ value: data['is_border_w'] || '',
570
+ placeholder: '请输入边框颜色',
571
+ className: 'input80',
572
+ hidden: true,
573
+ },
574
+ {
575
+ label: '是否展开票券信息:',
576
+ ele: 'xd-radio',
577
+ valueKey: 'is_open',
578
+ value: data['is_open'] || 'N',
579
+ groupKey:'content',
580
+ placeholder: '请选择是否展开票券信息',
581
+ multiple: false,
582
+ className: 'input80',
583
+ list: [
584
+ { label: '展开', value: 'Y' },
585
+ { label: '收起', value: 'N' },
586
+ ]
587
+ },
588
+ {
589
+ label: '是否显示商品信息:',
590
+ ele: 'xd-radio',
591
+ valueKey: 'is_show_product',
592
+ groupKey:'content',
593
+ value:data['is_show_product'] || 'Y',
594
+ placeholder: '请选择',
595
+ list: [
596
+ {"label": "是", "value": "Y"},
597
+ {"label": "否", "value": "N"},
598
+ ],
599
+ },
600
+ {
601
+ label: '是否展开商品详情:',
602
+ ele: 'xd-radio',
603
+ valueKey: 'is_show_all_detail',
604
+ value: data['is_show_all_detail'] || 'N',
605
+ groupKey:'content',
606
+ placeholder: '请选择是否展开商品详情',
607
+ multiple: false,
608
+ className: 'input80',
609
+ list: [
610
+ { label: '展开', value: 'Y' },
611
+ { label: '收起', value: 'N' },
612
+ ]
613
+ },
614
+ {
615
+ label: '提货码展示/隐藏:',
616
+ ele: 'xd-radio',
617
+ valueKey: 'is_show',
618
+ value: data['is_show'] || '1',
619
+ groupKey:'content',
620
+ placeholder: '请选择提货码展示/隐藏',
621
+ multiple: false,
622
+ className: 'input80',
623
+ list: [
624
+ { label: '显示', value: '1' },
625
+ { label: '隐藏', value: '0' },
626
+ ]
627
+ },
492
628
  ].filter(i=>i)
493
629
  },
494
630
  }