jufubao-base 1.0.181-beta9 → 1.0.182-beta1

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/JfbBaseAddress/Attr.js +50 -1
  3. package/src/components/JfbBaseAddress/JfbBaseAddress.vue +120 -68
  4. package/src/components/JfbBaseAddress/XdTfkItem.vue +117 -0
  5. package/src/components/JfbBaseCardDelay/Api.js +30 -19
  6. package/src/components/JfbBaseCardDelay/Attr.js +35 -237
  7. package/src/components/JfbBaseCardDelay/JfbBaseCardDelay.vue +78 -279
  8. package/src/components/JfbBaseCardDetailEntry/Attr.js +0 -12
  9. package/src/components/JfbBaseCardDetailEntry/JfbBaseCardDetailEntry.vue +0 -14
  10. package/src/components/JfbBaseCardDetailEntry/Mock.js +1 -1
  11. package/src/components/JfbBaseCardEntry/Attr.js +0 -121
  12. package/src/components/JfbBaseCardEntry/JfbBaseCardEntry.vue +29 -206
  13. package/src/components/JfbBaseCardGive/Api.js +34 -18
  14. package/src/components/JfbBaseCardGive/Attr.js +32 -40
  15. package/src/components/JfbBaseCardGive/JfbBaseCardGive.vue +79 -502
  16. package/src/components/JfbBaseCardGive/Mock.js +9 -2
  17. package/src/components/JfbBaseCardReceive/Api.js +36 -10
  18. package/src/components/JfbBaseCardReceive/Attr.js +39 -9
  19. package/src/components/JfbBaseCardReceive/JfbBaseCardReceive.vue +80 -403
  20. package/src/components/JfbBaseCardReceive/Mock.js +7 -1
  21. package/src/components/JfbBaseCardReceiveCover/Api.js +43 -5
  22. package/src/components/JfbBaseCardReceiveCover/Attr.js +30 -119
  23. package/src/components/JfbBaseCardReceiveCover/JfbBaseCardReceiveCover.vue +82 -189
  24. package/src/components/JfbBaseCardReceiveCover/Mock.js +9 -1
  25. package/src/components/JfbBaseFastLink/JfbBaseFastLink.vue +1 -1
  26. package/src/components/JfbBaseOrderDetail/Attr.js +10 -0
  27. package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +16 -97
  28. package/src/components/JfbBaseOrderDetail/Mock.js +0 -5
  29. package/src/components/JfbBaseOrderList/Attr.js +23 -0
  30. package/src/components/JfbBaseOrderList/JfbBaseOrderList.vue +117 -86
  31. package/src/components/JfbBaseOrderList/XdTfkOrderItem.vue +246 -0
  32. package/src/components/JfbBasePay/Attr.js +0 -12
  33. package/src/components/JfbBasePay/JfbBasePay.vue +12 -18
  34. package/src/components/JfbBasePosterType/JfbBasePosterType.vue +1 -0
  35. package/src/components/JfbBaseRechargeOrder/Api.js +0 -11
  36. package/src/components/JfbBaseRechargeOrder/JfbBaseRechargeOrder.vue +27 -46
  37. package/src/components/JfbBaseRechargeOrderDetail/Api.js +0 -11
  38. package/src/components/JfbBaseRechargeOrderDetail/JfbBaseRechargeOrderDetail.vue +13 -142
  39. package/src/components/JfbBaseRechargeSuccess/Api.js +0 -11
  40. package/src/components/JfbBaseRechargeSuccess/Attr.js +1 -1
  41. package/src/components/JfbBaseRechargeSuccess/JfbBaseRechargeSuccess.vue +3 -6
@@ -6,37 +6,53 @@
6
6
  */
7
7
  module.exports = [
8
8
  {
9
- mapFnName: 'getBaseByIdCardDetailGive',
9
+ //设置方法名字当别忘记加上【模块名字】:Card
10
+ mapFnName: 'getCardByIdFilmSquate',
11
+ title: '获取电影广场列表',
12
+ path: '/api/account/film/list-film-square',
10
13
  isRule: false,
11
- title: '获得绑定的卡详情',
12
- prefix: 'detal',
13
- path: '/card/v1/card-transfer/get-bind-card',
14
14
  params: {
15
- card_number: ['卡号', 'String', '必选'],
15
+ last_key: ['当前页', 'Number', '必选'],
16
+ page_size: ['每页数量', 'Number', '必选'],
16
17
  },
18
+ isConsole: true,
17
19
  disabled: true,
18
20
  },
19
21
  {
20
- mapFnName: 'confirmGiveCard',
22
+ //设置方法名字当别忘记加上【模块名字】:Card
23
+ mapFnName: 'updateCardFilmPaiqiDate',
24
+ title: '更新排期',
25
+ path: '/api/account/film/paiqi-date',
21
26
  isRule: false,
22
- title: '确认赠送',
23
- prefix: 'detal',
24
- path: '/card/v1/card-transfer/create',
25
- data: {
26
- card_number: ['卡号', 'String', '必选'],
27
- greeting: ['祝福语', 'String', '必选'],
27
+ params: {
28
+ film_id: ['电影id', 'Number', '必选'],
29
+ cinema_id: ['影院id', 'Number', '必选'],
30
+ },
31
+ isConsole: true,
32
+ disabled: true,
33
+ },
34
+ {
35
+ //设置方法名字当别忘记加上【模块名字】:Card
36
+ mapFnName: 'removeCardFilmAddress',
37
+ title: '删除我的配送地址',
38
+ path: '/api/account/film/paiqi-date',
39
+ isRule: false,
40
+ params: {
41
+ film_id: ['电影id', 'Number', '必选'],
28
42
  },
43
+ isConsole: true,
29
44
  disabled: true,
30
45
  },
31
46
  {
32
- mapFnName: 'cancelGiveCard',
47
+ //设置方法名字当别忘记加上【模块名字】:Card
48
+ mapFnName: 'addCardFilmcart',
49
+ title: '添加购物车',
50
+ path: '/api/account/film/paiqi-date',
33
51
  isRule: false,
34
- title: '取消赠送',
35
- prefix: 'detal',
36
- path: '/card/v1/card-transfer/cancel',
37
- data: {
38
- transfer_auth_code: ['授权码', 'String', '必选'],
52
+ params: {
53
+ film_id: ['电影id', 'Number', '必选'],
39
54
  },
55
+ isConsole: true,
40
56
  disabled: true,
41
57
  },
42
58
  ];
@@ -8,57 +8,49 @@ export default {
8
8
  content: (data) => {
9
9
  return [
10
10
  {
11
- label: '领取地址:',
12
- ele: 'xd-select-pages-path',
13
- valueKey: 'get_url',
14
- groupKey:'advanced',
15
- placeholder: '请选择领取地址',
16
- value: data['get_url']||null,
17
- setting: {
18
- router: XdBus.getParentApi('getPagesTree'),
19
- },
20
- inline: false,
11
+ label: '背景颜色:',
12
+ ele: 'xd-color',
13
+ valueKey: 'bgcolor',
14
+ value: data.bgcolor || '',
15
+ placeholder: '请输入占位框背景颜色',
16
+ classNmae: 'input80',
21
17
  rules: [
22
- { required: true, message: '请选择领取地址', trigger: ['blur', 'change'] },
18
+ {
19
+ required: true,
20
+ message: '请输入占位框背景颜色',
21
+ trigger: 'blur'
22
+ },
23
23
  ]
24
24
  },
25
25
  {
26
- label: '返回地址:',
26
+ label: '选中路径:',
27
27
  ele: 'xd-select-pages-path',
28
- valueKey: 'back_url',
29
- groupKey:'advanced',
30
- placeholder: '请选择返回地址',
31
- value: data['back_url']||null,
28
+ valueKey: 'select-pages-path',
29
+ value: data['select-pages-path'] || null,
32
30
  setting: {
33
- router: XdBus.getParentApi('getPagesTree'),
31
+ router: XdBus.getParentApi('getPagesTree')
34
32
  },
35
- inline: false,
33
+ },
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',
36
42
  rules: [
37
- { required: true, message: '请选择领取地址', trigger: ['blur', 'change'] },
43
+ {
44
+ required: true,
45
+ message: '请输入占位框高度',
46
+ trigger: 'blur'
47
+ },
38
48
  ]
39
49
  },
40
50
  {
41
- label: '分享图片:', //label
42
- ele: 'xd-upload', //package 名称
43
- valueKey: 'shareImage', //form[valueKey]
44
- value: data.shareImage || null, //v-model
45
- defaultValue: data.shareImage || null, //默认图片对象
46
- groupKey: "style",
47
- slot: true, //按钮是否使用slot
48
- oneWidth: 200, //单个图片显示宽度
49
- oneHeight: 200, //单个图片显示高度
50
- elinputClassName: 'input40',
51
- tipsformet: '上传文件格式:@imageType@,不超过@size@MB.',
52
- type: ['jpg', 'png', 'jpeg'],
53
- styleType: 'one', //其值:one=>单文件上传 auth=>证件正反面上传 list=>多文件上传
54
- uploadType: 'aliyun', //''=>API服务上传 qiniu=>七牛云OSS上传 aliyun=> 阿里云OSS上传
55
- size: 5, //5M
56
- action: 'aliyun',
57
- sort: true, //当上传图片列表时候,是否启用排序
58
- maxlen: 100, //当上传图片列表时候,最大数量数量
59
- rules: [
60
- { required: true, message: '请上传图片', trigger: ['blur', 'change'] },
61
- ]
51
+ label: '', //label
52
+ ele: 'slot', //package 名称
53
+ slot: 'is_reference',
62
54
  },
63
55
  ].filter(i=>i)
64
56
  },