jufubao-base 1.0.166 → 1.0.167-beta2

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 (67) hide show
  1. package/package.json +1 -1
  2. package/src/components/JfbBaseAfterOrderDetail/Attr.js +9 -0
  3. package/src/components/JfbBaseAfterOrderDetail/JfbBaseAfterOrderDetail.vue +42 -81
  4. package/src/components/JfbBaseAfterOrderDetail/Mock.js +3 -2
  5. package/src/components/JfbBaseAfterOrderList/Attr.js +9 -0
  6. package/src/components/JfbBaseAfterOrderList/JfbBaseAfterOrderList.vue +63 -83
  7. package/src/components/JfbBaseAfterOrderList/Mock.js +11 -3
  8. package/src/components/JfbBaseCard/Attr.js +220 -194
  9. package/src/components/JfbBaseCard/JfbBaseCard.vue +50 -17
  10. package/src/components/JfbBaseCard/Mock.js +7 -6
  11. package/src/components/JfbBaseCardBind/JfbBaseCardBind.vue +2 -0
  12. package/src/components/JfbBaseCardDisabled/JfbBaseCardDisabled.vue +3 -3
  13. package/src/components/JfbBaseCardDisabledEntry/JfbBaseCardDisabledEntry.vue +2 -2
  14. package/src/components/JfbBaseCardEntry/Attr.js +12 -0
  15. package/src/components/JfbBaseCardEntry/JfbBaseCardEntry.vue +35 -2
  16. package/src/components/JfbBaseCardEntry/Mock.js +1 -0
  17. package/src/components/JfbBaseCardInfo/JfbBaseCardInfo.vue +43 -32
  18. package/src/components/JfbBaseCardInfoEntry/JfbBaseCardInfoEntry.vue +27 -8
  19. package/src/components/JfbBaseCardShift/JfbBaseCardShift.vue +32 -13
  20. package/src/components/JfbBaseCardSweepInfo/JfbBaseCardSweepInfo.vue +2 -3
  21. package/src/components/JfbBaseCardV2/Attr.js +39 -2
  22. package/src/components/JfbBaseCardV2/JfbBaseCardV2.vue +46 -24
  23. package/src/components/JfbBaseCardV2/Mock.js +12 -11
  24. package/src/components/JfbBaseCardV3/Attr.js +13 -1
  25. package/src/components/JfbBaseCardV3/JfbBaseCardV3.vue +5 -1
  26. package/src/components/JfbBaseCardV3/Mock.js +1 -1
  27. package/src/components/JfbBaseMultipleExpress/Attr.js +9 -0
  28. package/src/components/JfbBaseMultipleExpress/JfbBaseMultipleExpress.vue +20 -28
  29. package/src/components/JfbBaseMultipleExpress/Mock.js +10 -0
  30. package/src/components/JfbBaseOrderDetail/Attr.js +23 -0
  31. package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +57 -137
  32. package/src/components/JfbBaseOrderDetail/bizMock.js +4 -2
  33. package/src/components/JfbBaseOrderList/Attr.js +9 -0
  34. package/src/components/JfbBaseOrderList/JfbBaseOrderList.vue +37 -90
  35. package/src/components/JfbBaseOrderList/Mock.js +27 -5
  36. package/src/components/JfbBasePhoneCollect/Attr.js +11 -0
  37. package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollect.vue +3 -0
  38. package/src/components/JfbBasePoster/Attr.js +1 -0
  39. package/src/components/JfbBasePosterBigSmall/Attr.js +3 -0
  40. package/src/components/JfbBasePosterType/Attr.js +35 -25
  41. package/src/components/JfbBasePosterType/FourScreen.vue +18 -19
  42. package/src/components/JfbBasePosterType/JfbBasePosterType.vue +12 -0
  43. package/src/components/JfbBaseSuccess/JfbBaseSuccess.vue +2 -2
  44. package/src/components/JfbBaseTfkCardBind/Api.js +58 -0
  45. package/src/components/JfbBaseTfkCardBind/Attr.js +58 -0
  46. package/src/components/JfbBaseTfkCardBind/JfbBaseTfkCardBind.vue +111 -0
  47. package/src/components/JfbBaseTfkCardBind/JfbBaseTfkCardBindLess.less +79 -0
  48. package/src/components/JfbBaseTfkCardBind/JfbBaseTfkCardBindMixin.js +30 -0
  49. package/src/components/JfbBaseTfkCardBind/Mock.js +13 -0
  50. package/src/components/JfbBaseTfkCardDetail/Api.js +58 -0
  51. package/src/components/JfbBaseTfkCardDetail/Attr.js +58 -0
  52. package/src/components/JfbBaseTfkCardDetail/JfbBaseTfkCardDetail.vue +111 -0
  53. package/src/components/JfbBaseTfkCardDetail/JfbBaseTfkCardDetailLess.less +79 -0
  54. package/src/components/JfbBaseTfkCardDetail/JfbBaseTfkCardDetailMixin.js +30 -0
  55. package/src/components/JfbBaseTfkCardDetail/Mock.js +13 -0
  56. package/src/components/JfbBaseTfkCardLogin/Api.js +58 -0
  57. package/src/components/JfbBaseTfkCardLogin/Attr.js +58 -0
  58. package/src/components/JfbBaseTfkCardLogin/JfbBaseTfkCardLogin.vue +111 -0
  59. package/src/components/JfbBaseTfkCardLogin/JfbBaseTfkCardLoginLess.less +79 -0
  60. package/src/components/JfbBaseTfkCardLogin/JfbBaseTfkCardLoginMixin.js +30 -0
  61. package/src/components/JfbBaseTfkCardLogin/Mock.js +13 -0
  62. package/src/components/JfbBaseTfkSearch/Api.js +58 -0
  63. package/src/components/JfbBaseTfkSearch/Attr.js +58 -0
  64. package/src/components/JfbBaseTfkSearch/JfbBaseTfkSearch.vue +111 -0
  65. package/src/components/JfbBaseTfkSearch/JfbBaseTfkSearchLess.less +79 -0
  66. package/src/components/JfbBaseTfkSearch/JfbBaseTfkSearchMixin.js +30 -0
  67. package/src/components/JfbBaseTfkSearch/Mock.js +13 -0
@@ -13,6 +13,8 @@ module.exports = {
13
13
  "biz_code_name": "蛋糕(勿改)订单",
14
14
  "biz_code_icon": "icondangao-01",
15
15
  "products": [{
16
+ 'brand_id': 2,
17
+ 'brand_name': "味多美",
16
18
  "product_id": 60007286,
17
19
  "product_name": "多规格商品测试",
18
20
  "product_sku_id": "70015608",
@@ -34,6 +36,8 @@ module.exports = {
34
36
  "biz_code_name": "礼包(勿改)订单",
35
37
  "biz_code_icon": "icondalibao-01",
36
38
  "products": [{
39
+ 'brand_id': 2,
40
+ 'brand_name': "味多美",
37
41
  "product_id": 60006975,
38
42
  "product_name": "大碗茶001",
39
43
  "product_sku_id": "0",
@@ -43,6 +47,8 @@ module.exports = {
43
47
  "product_thumb": "\/\/sandbox-img.jufubao.cn\/uploads\/20230411\/c9376f60c446efe811edd5b8b874ceb3.png",
44
48
  "sale_price": 1950
45
49
  }, {
50
+ 'brand_id': 2,
51
+ 'brand_name': "味多美",
46
52
  "product_id": 60007126,
47
53
  "product_name": "牛肉干",
48
54
  "product_sku_id": "0",
@@ -52,6 +58,8 @@ module.exports = {
52
58
  "product_thumb": "\/\/sandbox-img.jufubao.cn\/uploads\/20230421\/0a2b0fd8c7b3395fd9f286d332ae4171.png",
53
59
  "sale_price": 3250
54
60
  }, {
61
+ 'brand_id': 2,
62
+ 'brand_name': "味多美",
55
63
  "product_id": 60007126,
56
64
  "product_name": "牛肉干",
57
65
  "product_sku_id": "0",
@@ -61,8 +69,10 @@ module.exports = {
61
69
  "product_thumb": "\/\/sandbox-img.jufubao.cn\/uploads\/20230421\/0a2b0fd8c7b3395fd9f286d332ae4171.png",
62
70
  "sale_price": 3250
63
71
  }, {
72
+ 'brand_id': 2,
73
+ 'brand_name': "味多美",
64
74
  "product_id": 60007091,
65
- "product_name": "选品规则指定商品001",
75
+ "product_name": "冷冻千丝万缕面线虾 250g*2件共20只",
66
76
  "product_sku_id": "0",
67
77
  "product_sku_name": "",
68
78
  "product_type": "good",
@@ -70,8 +80,10 @@ module.exports = {
70
80
  "product_thumb": "\/\/sandbox-img.jufubao.cn\/uploads\/20230418\/5a7a974454ea4258edd50e89960dacb5.png",
71
81
  "sale_price": 1300
72
82
  }, {
83
+ 'brand_id': 2,
84
+ 'brand_name': "味多美",
73
85
  "product_id": 60007091,
74
- "product_name": "选品规则指定商品001",
86
+ "product_name": "【动物奶油】你的眼里有星河冰淇淋",
75
87
  "product_sku_id": "0",
76
88
  "product_sku_name": "",
77
89
  "product_type": "good",
@@ -79,6 +91,8 @@ module.exports = {
79
91
  "product_thumb": "\/\/sandbox-img.jufubao.cn\/uploads\/20230418\/5a7a974454ea4258edd50e89960dacb5.png",
80
92
  "sale_price": 1300
81
93
  }, {
94
+ 'brand_id': 2,
95
+ 'brand_name': "味多美",
82
96
  "product_id": 60007097,
83
97
  "product_name": "小吊梨汤榴莲蛋糕",
84
98
  "product_sku_id": "70004316",
@@ -100,8 +114,10 @@ module.exports = {
100
114
  "biz_code_name": "礼包(勿改)订单",
101
115
  "biz_code_icon": "icondalibao-01",
102
116
  "products": [{
117
+ 'brand_id': 20167,
118
+ 'brand_name': "派悦坊",
103
119
  "product_id": 60007217,
104
- "product_name": "001号商品",
120
+ "product_name": "仙桃盛宴”祝寿定制蛋糕",
105
121
  "product_sku_id": "0",
106
122
  "product_sku_name": "",
107
123
  "product_type": "good",
@@ -121,8 +137,10 @@ module.exports = {
121
137
  "biz_code_name": "电影(勿改)订单",
122
138
  "biz_code_icon": "icondianying-01",
123
139
  "products": [{
140
+ 'brand_id': 20001,
141
+ 'brand_name': "维尔纳斯",
124
142
  "product_id": 581,
125
- "product_name": "聚福宝-万里归途",
143
+ "product_name": "动物奶油】ins小清新动物奶油生日蛋糕",
126
144
  "product_sku_id": "F7-9218531180-1306340102#02#09",
127
145
  "product_sku_name": "6厅(需自备3D眼镜)-2排9列",
128
146
  "product_type": "virtual",
@@ -142,6 +160,8 @@ module.exports = {
142
160
  "biz_code_name": "蛋糕(勿改)订单",
143
161
  "biz_code_icon": "icondangao-01",
144
162
  "products": [{
163
+ 'brand_id': 2,
164
+ 'brand_name': "北京味多美蛋糕叔叔/HEYTEA/喜茶/凯蒂猫/Quange/全格",
145
165
  "product_id": 60007126,
146
166
  "product_name": "牛肉干",
147
167
  "product_sku_id": "0",
@@ -151,8 +171,10 @@ module.exports = {
151
171
  "product_thumb": "\/\/sandbox-img.jufubao.cn\/uploads\/20230421\/0a2b0fd8c7b3395fd9f286d332ae4171.png",
152
172
  "sale_price": 3250
153
173
  }, {
174
+ 'brand_id': 2,
175
+ 'brand_name': "北京味多美蛋糕叔叔/HEYTEA/喜茶/凯蒂猫/Quange/全格",
154
176
  "product_id": 60006975,
155
- "product_name": "大碗茶001",
177
+ "product_name": "满庭芳”杨梅荔枝红丝绒蛋糕",
156
178
  "product_sku_id": "0",
157
179
  "product_sku_name": "",
158
180
  "product_type": "good",
@@ -456,5 +456,16 @@ export default {
456
456
  inline: false,
457
457
  notice: '',
458
458
  },
459
+ {
460
+ label: "是否展示[跳过]功能",
461
+ ele: "xd-radio",
462
+ valueKey: "is_show_skip",
463
+ value: "",
464
+ groupKey: "content",
465
+ list: [
466
+ { label: '展示', value: 'Y' },
467
+ { label: '隐藏', value: 'N' },
468
+ ]
469
+ }
459
470
  ]
460
471
  }
@@ -74,6 +74,7 @@
74
74
  >
75
75
  </view>
76
76
  <view
77
+ v-if="is_show_skip === 'Y'"
77
78
  class="jump_collect"
78
79
  @click="jumpCollect"
79
80
  >跳过</view>
@@ -127,6 +128,7 @@ export default {
127
128
  interval: null,
128
129
  provider_id: "",
129
130
  callback_url: "",
131
+ is_show_skip: "",
130
132
  };
131
133
  },
132
134
  computed: {
@@ -174,6 +176,7 @@ export default {
174
176
  init(container) {
175
177
  //this.bgcolor = getContainerPropsValue(container, 'content.bgcolor', '#fff');
176
178
  //this.height = getContainerPropsValue(container, 'content.height', 10);
179
+ this.is_show_skip = getContainerPropsValue(container, 'content.is_show_skip', "Y");
177
180
  },
178
181
  reGetCode() {
179
182
  this.$xdLog.setProject('get.code.handle', {
@@ -338,6 +338,7 @@ export default {
338
338
  {label: '显示圆点+长条', value: 'round'},
339
339
  {label: '显示索引+标题', value: 'nav'},
340
340
  {label: '显示索引', value: 'indexes'},
341
+ {label: '不显示', value: 'normal'},
341
342
  ],
342
343
  notice: '在使用非通屏显示类型广告位之外的样式时,<span style="color: red">(显示索引+标题|显示索引)</span>使用"<span style="color: red">显示圆点</span>"',
343
344
  inline: false,
@@ -403,6 +403,7 @@ export default {
403
403
  {label: '显示圆点+长条', value: 'round'},
404
404
  {label: '显示索引+标题', value: 'nav'},
405
405
  {label: '显示索引', value: 'indexes'},
406
+ {label: '不显示', value: 'normal'},
406
407
  ],
407
408
  notice: '在使用非通屏显示类型广告位之外的样式时,<span style="color: red">(显示索引+标题|显示索引)</span>使用"<span style="color: red">显示圆点</span>"',
408
409
  inline: false,
@@ -718,6 +719,7 @@ export default {
718
719
  {label: '显示圆点+长条', value: 'round'},
719
720
  {label: '显示索引+标题', value: 'nav'},
720
721
  {label: '显示索引', value: 'indexes'},
722
+ {label: '不显示', value: 'normal'},
721
723
  ],
722
724
  notice: '在使用非通屏显示类型广告位之外的样式时,<span style="color: red">(显示索引+标题|显示索引)</span>使用"<span style="color: red">显示圆点</span>"',
723
725
  inline: false,
@@ -1033,6 +1035,7 @@ export default {
1033
1035
  {label: '显示圆点+长条', value: 'round'},
1034
1036
  {label: '显示索引+标题', value: 'nav'},
1035
1037
  {label: '显示索引', value: 'indexes'},
1038
+ {label: '不显示', value: 'normal'},
1036
1039
  ],
1037
1040
  notice: '在使用非通屏显示类型广告位之外的样式时,<span style="color: red">(显示索引+标题|显示索引)</span>使用"<span style="color: red">显示圆点</span>"',
1038
1041
  inline: false,
@@ -8,6 +8,7 @@ import console from "@dcloudio/uni-h5/src/core/helpers/console";
8
8
  export default {
9
9
  style:[],
10
10
  content:(params)=>{
11
+ let defaultPadding = 20;
11
12
  if (!params['isCarousel']) params['isCarousel'] = 1;
12
13
  if (!params['number']) params['number'] = 20;
13
14
  if (params['shadow'] === undefined) params['shadow'] = 2;
@@ -15,6 +16,7 @@ export default {
15
16
  if (!params['jdRows']) params['jdRows'] = 1;
16
17
  if (!params['radius']) params['radius'] = '20';
17
18
  if (!params['carouselTime']) params['carouselTime'] = 5;
19
+ if(params['cells'] === 4) defaultPadding = 30
18
20
  return [
19
21
  {
20
22
  label: '导航配置:',
@@ -263,7 +265,7 @@ export default {
263
265
  {"label": "轮播图显示", "value": 2},
264
266
  ]
265
267
  },
266
- params['isCarousel'] === 2 && {
268
+ {
267
269
  label: '导航轮播周期:',
268
270
  ele: 'el-input',
269
271
  type: 'number',
@@ -273,26 +275,8 @@ export default {
273
275
  value: params.carouselTime,
274
276
  placeholder: '请输入导航轮播周期,单位秒',
275
277
  className: 'input60',
276
- unit: '秒',
277
- rules: [
278
- {
279
- required: true,
280
- message: '请输入导航轮播周期',
281
- trigger: 'blur'
282
- },
283
- ]
284
- },
285
- {
286
- label: '导航内容显示列数:',
287
- ele: 'xd-select-list',
288
- valueKey: 'cells',
289
- groupKey:'content',
290
- value: params.cells,
291
- className: 'input60',
292
- list: [
293
- {"label": "四列", "value": 4},
294
- {"label": '五列', "value": 5},
295
- ]
278
+ inline: false,
279
+ notice: '轮播周期时间设置仅在“<span style="color:red">轮播图显示</span>”生效,单位:<span style="color:red">秒</span>',
296
280
  },
297
281
  {
298
282
  label: '导航内容显示行数:',
@@ -325,12 +309,37 @@ export default {
325
309
  },
326
310
  ]
327
311
  },
312
+ {
313
+ label: '导航内容显示列数:',
314
+ ele: 'xd-select-list',
315
+ valueKey: 'cells',
316
+ groupKey:'content',
317
+ value: params.cells,
318
+ className: 'input60',
319
+ list: [
320
+ {"label": "四列", "value": 4},
321
+ {"label": '五列', "value": 5},
322
+ ]
323
+ },
324
+ {
325
+ label: 'ICON图标填充设置:',
326
+ ele: 'xd-margin-padding',
327
+ valueKey: 'iconPadding',
328
+ groupKey:'content',
329
+ value: params.iconPadding || null,
330
+ setting: {
331
+ type: 'margin',
332
+ },
333
+ placeholder: '请设置外边距',
334
+ inline: false,
335
+ notice: `ICON图标填充设置,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">${defaultPadding}</span> 像素,<br/><span style="color: red">注意</span>:上下填充数值相加=左右填充数值相加时,ICON才会时正方形。`,
336
+ },
328
337
  {
329
338
  label: '导航ICON圆角设置:',
330
339
  ele: 'xd-site-select-list',
331
340
  valueKey: 'radius',
332
341
  value: params['radius'],
333
- groupKey:'style',
342
+ groupKey:'content',
334
343
  placeholder: '请选择导航ICON圆角设置',
335
344
  multiple: false,
336
345
  className: 'input60',
@@ -348,7 +357,7 @@ export default {
348
357
  label: '导航ICON是否阴影设置:',
349
358
  ele: 'xd-radio',
350
359
  valueKey: 'shadow',
351
- groupKey:'style',
360
+ groupKey:'content',
352
361
  value: params['shadow'],
353
362
  placeholder: '请选择导航ICON阴影设置',
354
363
  className: 'input60',
@@ -357,15 +366,16 @@ export default {
357
366
  {"label": "否", "value": 2},
358
367
  ]
359
368
  },
360
- params['shadow'] === 1&& {
369
+ params['shadow'] === 1 && {
361
370
  label: '导航ICON阴影颜色配置:',
362
371
  ele: 'xd-color',
363
372
  valueKey: 'shadowColor',
364
- groupKey:'style',
373
+ groupKey:'content',
365
374
  value: params['shadowColor'] || '',
366
375
  placeholder: '导航ICON阴影颜色配置',
367
376
  classNmae: 'input60',
368
377
  },
378
+
369
379
  {
370
380
  ele: 'title',
371
381
  label: '样式设置',
@@ -18,13 +18,12 @@
18
18
  height: (height + rpxText) + 'px'
19
19
  }"
20
20
  >
21
-
22
- <view :style="{ height: height + 'px', width:width}">
21
+ <view :style="{ height: height + 'px', width:width, padding: config.iconPadding}">
23
22
  <view :style="{
24
23
  borderRadius: config.radius + 'rpx',
25
24
  boxShadow: config.shadow === 1? `0 0 8rpx ${config.shadowColor}` : '',
26
25
  }">
27
- <image :src="item.image_url"></image>
26
+ <image :src="item.image_url" style=""></image>
28
27
  </view>
29
28
  </view>
30
29
  <view v-if="item['content_name']" :style="{color: config.textColor}">{{item['content_name']}}</view>
@@ -70,7 +69,7 @@
70
69
  :style="{height: boxHeight + 'px'}"
71
70
  @click="handleClick(it)"
72
71
  >
73
- <view :style="{ height: height + 'px'}">
72
+ <view :style="{ height: height + 'px', padding: config.iconPadding}">
74
73
  <view :style="{
75
74
  borderRadius: config.radius + 'rpx',
76
75
  boxShadow: config.shadow === 1? `0 0 10rpx rgba(0, 0, 0, .5)` : '',
@@ -114,7 +113,7 @@
114
113
  }"
115
114
  @click="handleClick(it)"
116
115
  >
117
- <view :style="{ height: height + 'px'}">
116
+ <view :style="{ height: height + 'px', padding: config.iconPadding}">
118
117
  <view :style="{
119
118
  borderRadius: config.radius + 'rpx',
120
119
  boxShadow: config.shadow === 1? `0 0 10rpx rgba(0, 0, 0, .5)` : '',
@@ -158,7 +157,7 @@
158
157
  timer: null,
159
158
  width: 0,
160
159
  height: 0,
161
- text: 50,
160
+ text: 40,
162
161
  padding: 0,
163
162
  status: false,
164
163
  list: [],
@@ -400,15 +399,15 @@
400
399
  display: flex;
401
400
  justify-content: center;
402
401
  align-items: center;
403
- width: 100%;
402
+ box-sizing: border-box;
403
+
404
404
  & > view {
405
- width: 75%;
406
- height: 75%;
405
+ width: 100%;
406
+ height: 100%;
407
407
  overflow: hidden;
408
408
  display: flex;
409
409
  justify-content: center;
410
410
  align-items: center;
411
- overflow: hidden;
412
411
  & > image {
413
412
  width: 100%;
414
413
  height: 100%;
@@ -441,15 +440,15 @@
441
440
  justify-content: center;
442
441
  align-items: center;
443
442
  width: 100%;
443
+ box-sizing: border-box;
444
444
 
445
445
  & > view {
446
- width: 80%;
447
- height: 80%;
446
+ width: 100%;
447
+ height: 100%;
448
448
  overflow: hidden;
449
449
  display: flex;
450
450
  justify-content: center;
451
451
  align-items: center;
452
- overflow: hidden;
453
452
 
454
453
  & > image {
455
454
  width: 100%;
@@ -505,11 +504,11 @@
505
504
  justify-content: center;
506
505
  align-items: center;
507
506
  width: 100%;
507
+ box-sizing: border-box;
508
508
 
509
509
  & > view {
510
- width: 75%;
511
- height: 75%;
512
- overflow: hidden;
510
+ width: 100%;
511
+ height: 100%;
513
512
  display: flex;
514
513
  justify-content: center;
515
514
  align-items: center;
@@ -542,15 +541,15 @@
542
541
  justify-content: center;
543
542
  align-items: center;
544
543
  width: 100%;
544
+ box-sizing: border-box;
545
545
 
546
546
  & > view {
547
- width: 80%;
548
- height: 80%;
547
+ width: 100%;
548
+ height: 100%;
549
549
  overflow: hidden;
550
550
  display: flex;
551
551
  justify-content: center;
552
552
  align-items: center;
553
- overflow: hidden;
554
553
 
555
554
  & > image {
556
555
  width: 100%;
@@ -72,6 +72,7 @@
72
72
  timer: null,
73
73
  info: [],
74
74
  mS: {},
75
+ iconPadding:{},
75
76
  isPreview: false,
76
77
  noData:false,
77
78
 
@@ -100,8 +101,18 @@
100
101
  shadow: this.shadow,
101
102
  shadowColor: this.shadowColor,
102
103
  textColor: this.textColor,
104
+ iconPadding:this.iconCPadding,
103
105
  }
104
106
  },
107
+ iconCPadding(){
108
+ let defaultPadding = 20;
109
+ if(this.cells === 4) defaultPadding = 25
110
+ let str = `${this.checkValue(this.iconPadding.top, defaultPadding)}rpx`;
111
+ str = `${str} ${this.checkValue(this.iconPadding.right, defaultPadding)}rpx`;
112
+ str = `${str} ${this.checkValue(this.iconPadding.bottom, defaultPadding)}rpx`;
113
+ str = `${str} ${this.checkValue(this.iconPadding.left, defaultPadding)}rpx`;
114
+ return str
115
+ },
105
116
  margin(){
106
117
  let str = `${this.checkValue(this.mS.top, 0)}rpx`;
107
118
  str = `${str} ${this.checkValue(this.mS.right, 0)}rpx`;
@@ -164,6 +175,7 @@
164
175
  this.shadow = getContainerPropsValue(container, 'content.shadow', 2);
165
176
  this.shadowColor = getContainerPropsValue(container, 'content.shadowColor', 'rgba(0,0,0,.3)');
166
177
  this.mS = getContainerPropsValue(container, 'content.margin', {});
178
+ this.iconPadding = getContainerPropsValue(container, 'content.iconPadding', {});
167
179
 
168
180
  //样式设置
169
181
  this.textColor = getContainerPropsValue(container, 'content.textColor', '#333');
@@ -107,7 +107,7 @@
107
107
  class="jfb-base-success__body-cashier-password"
108
108
  @click="showPassword = true"
109
109
  :style="{borderRadius: jfbListRadius + 'rpx', color:btnTextColor, backgroundColor:btnBgColor, borderColor:btnBorderColor}"
110
- >{{ showPassword ? info.codes[0].can_read_code : "查看密码" }}</view>
110
+ >{{ showPassword ? info.codes[0].can_read_code : "查看" }}</view>
111
111
  <view v-else class="jfb-base-success__body-cashier-text">{{ info.codes[0].can_read_code }}</view>
112
112
  <view v-if="info.codes[0].refund_tip_text" style="color:red;font-size:24rpx;text-align:center;margin-top:10rpx">{{info.codes[0].refund_tip_text}}</view>
113
113
  <view
@@ -218,7 +218,7 @@
218
218
  class="jfb-base-success__body-num-info-copy"
219
219
  @click="handleShowCode(item)"
220
220
  :style="{marginTop:0, borderRadius: jfbListRadius + 'rpx', color:btnTextColor, backgroundColor:btnBgColor, borderColor:btnBorderColor}"
221
- >查看二维码和密码</view>
221
+ >查看二维码和{{ item.password_title }}</view>
222
222
  <view
223
223
  v-if="item['code_end_time']"
224
224
  class="jfb-base-success__body-cashier-code"
@@ -0,0 +1,58 @@
1
+ 'use strict';
2
+ /**
3
+ * @description 接口配置,
4
+ * 在设置方法名字当时候,别忘记加上【模块名字】:Tfk
5
+ * @type {*[]}
6
+ */
7
+ module.exports = [
8
+ {
9
+ //设置方法名字当别忘记加上【模块名字】:Tfk
10
+ mapFnName: 'getTfkByIdFilmSquate',
11
+ title: '获取电影广场列表',
12
+ path: '/api/account/film/list-film-square',
13
+ isRule: false,
14
+ params: {
15
+ last_key: ['当前页', 'Number', '必选'],
16
+ page_size: ['每页数量', 'Number', '必选'],
17
+ },
18
+ isConsole: true,
19
+ disabled: true,
20
+ },
21
+ {
22
+ //设置方法名字当别忘记加上【模块名字】:Tfk
23
+ mapFnName: 'updateTfkFilmPaiqiDate',
24
+ title: '更新排期',
25
+ path: '/api/account/film/paiqi-date',
26
+ isRule: false,
27
+ params: {
28
+ film_id: ['电影id', 'Number', '必选'],
29
+ cinema_id: ['影院id', 'Number', '必选'],
30
+ },
31
+ isConsole: true,
32
+ disabled: true,
33
+ },
34
+ {
35
+ //设置方法名字当别忘记加上【模块名字】:Tfk
36
+ mapFnName: 'removeTfkFilmAddress',
37
+ title: '删除我的配送地址',
38
+ path: '/api/account/film/paiqi-date',
39
+ isRule: false,
40
+ params: {
41
+ film_id: ['电影id', 'Number', '必选'],
42
+ },
43
+ isConsole: true,
44
+ disabled: true,
45
+ },
46
+ {
47
+ //设置方法名字当别忘记加上【模块名字】:Tfk
48
+ mapFnName: 'addTfkFilmcart',
49
+ title: '添加购物车',
50
+ path: '/api/account/film/paiqi-date',
51
+ isRule: false,
52
+ params: {
53
+ film_id: ['电影id', 'Number', '必选'],
54
+ },
55
+ isConsole: true,
56
+ disabled: true,
57
+ },
58
+ ];
@@ -0,0 +1,58 @@
1
+ 'use strict';
2
+
3
+ /**
4
+ * @description 当表单组件中有联动操作时候,使用方法进行返回
5
+ */
6
+ export default {
7
+ style: [],
8
+ content: (data) => {
9
+ return [
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,
30
+ setting: {
31
+ router: XdBus.getParentApi('getPagesTree')
32
+ },
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',
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',
54
+ },
55
+ ].filter(i=>i)
56
+ },
57
+ advanced: [],
58
+ };