jufubao-base 1.0.161 → 1.0.162-beta11
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.
- package/package.json +1 -1
- package/src/components/JfbBaseAfterOrderDetail/Attr.js +9 -0
- package/src/components/JfbBaseAfterOrderDetail/JfbBaseAfterOrderDetail.vue +40 -75
- package/src/components/JfbBaseAfterOrderDetail/Mock.js +3 -2
- package/src/components/JfbBaseAfterOrderList/Attr.js +9 -0
- package/src/components/JfbBaseAfterOrderList/JfbBaseAfterOrderList.vue +63 -83
- package/src/components/JfbBaseAfterOrderList/Mock.js +8 -0
- package/src/components/JfbBaseCard/Attr.js +220 -194
- package/src/components/JfbBaseCard/JfbBaseCard.vue +50 -17
- package/src/components/JfbBaseCard/Mock.js +7 -6
- package/src/components/JfbBaseCardBind/JfbBaseCardBind.vue +2 -0
- package/src/components/JfbBaseCardDisabled/JfbBaseCardDisabled.vue +3 -3
- package/src/components/JfbBaseCardDisabledEntry/JfbBaseCardDisabledEntry.vue +2 -2
- package/src/components/JfbBaseCardEntry/Attr.js +12 -0
- package/src/components/JfbBaseCardEntry/JfbBaseCardEntry.vue +35 -2
- package/src/components/JfbBaseCardEntry/Mock.js +1 -0
- package/src/components/JfbBaseCardInfo/JfbBaseCardInfo.vue +43 -32
- package/src/components/JfbBaseCardInfoEntry/JfbBaseCardInfoEntry.vue +27 -8
- package/src/components/JfbBaseCardShift/JfbBaseCardShift.vue +32 -13
- package/src/components/JfbBaseCardSweepInfo/JfbBaseCardSweepInfo.vue +61 -24
- package/src/components/JfbBaseCardV2/Attr.js +39 -2
- package/src/components/JfbBaseCardV2/JfbBaseCardV2.vue +46 -24
- package/src/components/JfbBaseCardV2/Mock.js +12 -11
- package/src/components/JfbBaseCardV3/Attr.js +13 -1
- package/src/components/JfbBaseCardV3/JfbBaseCardV3.vue +5 -1
- package/src/components/JfbBaseCardV3/Mock.js +1 -1
- package/src/components/JfbBaseConDialog/XdCouCardBind.vue +14 -2
- package/src/components/JfbBaseMultipleExpress/Attr.js +9 -0
- package/src/components/JfbBaseMultipleExpress/JfbBaseMultipleExpress.vue +20 -28
- package/src/components/JfbBaseMultipleExpress/Mock.js +10 -0
- package/src/components/JfbBaseOrderDetail/Attr.js +23 -0
- package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +57 -137
- package/src/components/JfbBaseOrderDetail/bizMock.js +4 -2
- package/src/components/JfbBaseOrderList/Attr.js +9 -0
- package/src/components/JfbBaseOrderList/JfbBaseOrderList.vue +37 -90
- package/src/components/JfbBaseOrderList/Mock.js +27 -5
- package/src/components/JfbBasePhoneCollect/Attr.js +11 -0
- package/src/components/JfbBasePhoneCollect/JfbBasePhoneCollect.vue +3 -0
- package/src/components/JfbBasePoster/Attr.js +1 -0
- package/src/components/JfbBasePosterBigSmall/Attr.js +3 -0
- package/src/components/JfbBasePosterType/Attr.js +35 -25
- package/src/components/JfbBasePosterType/FourScreen.vue +18 -19
- package/src/components/JfbBasePosterType/JfbBasePosterType.vue +12 -0
- package/src/components/JfbBaseSuccess/JfbBaseSuccess.vue +2 -2
- package/src/components/JfbBaseSweep/Api.js +13 -0
- package/src/components/JfbBaseSweep/Attr.js +34 -0
- package/src/components/JfbBaseSweep/JfbBaseSweep.vue +352 -0
- package/src/components/JfbBaseSweep/JfbBaseSweepLess.less +79 -0
- package/src/components/JfbBaseSweep/JfbBaseSweepMixin.js +30 -0
- package/src/components/JfbBaseSweep/Mock.js +3 -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": "
|
|
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": "
|
|
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": "
|
|
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": "
|
|
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
|
-
|
|
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
|
-
|
|
277
|
-
|
|
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:'
|
|
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:'
|
|
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:'
|
|
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:
|
|
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
|
-
|
|
402
|
+
box-sizing: border-box;
|
|
403
|
+
|
|
404
404
|
& > view {
|
|
405
|
-
width:
|
|
406
|
-
height:
|
|
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
|
-
|
|
447
|
-
|
|
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:
|
|
511
|
-
height:
|
|
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:
|
|
548
|
-
height:
|
|
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 : "
|
|
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
|
-
|
|
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,13 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @description API模型
|
|
5
|
+
* 建议:Ffff=>模块 Xxxx=>自定义名字
|
|
6
|
+
* 获取单记录(getByIdFfffXxxx)
|
|
7
|
+
* 获取列表记录(getByListFfffXxxx)
|
|
8
|
+
* 添加列表记录(addFfffXxxxx)
|
|
9
|
+
* 删除列表记录(removeFfffXxxxx|deleteFfffXxxx)
|
|
10
|
+
* 更新列表记录(updateFfffXxxxx)
|
|
11
|
+
* @type {*[]}
|
|
12
|
+
*/
|
|
13
|
+
module.exports = [];
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
export default {
|
|
4
|
+
style: [],
|
|
5
|
+
advanced: [],
|
|
6
|
+
content: (data) => {
|
|
7
|
+
return [
|
|
8
|
+
{
|
|
9
|
+
label: '门店核销首页:',
|
|
10
|
+
ele: 'xd-select-pages-path',
|
|
11
|
+
valueKey: 'change_url',
|
|
12
|
+
groupKey:'advanced',
|
|
13
|
+
placeholder: '请选择门店核销首页跳转路径',
|
|
14
|
+
value: data.change_url || null,
|
|
15
|
+
setting: {
|
|
16
|
+
router: XdBus.getParentApi('getPagesTree'),
|
|
17
|
+
},
|
|
18
|
+
inline: false,
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
label: '卡绑定:',
|
|
22
|
+
ele: 'xd-select-pages-path',
|
|
23
|
+
valueKey: 'bind_url',
|
|
24
|
+
groupKey:'advanced',
|
|
25
|
+
placeholder: '请选择卡绑定跳转路径',
|
|
26
|
+
value: data.bind_url || null,
|
|
27
|
+
setting: {
|
|
28
|
+
router: XdBus.getParentApi('getPagesTree'),
|
|
29
|
+
},
|
|
30
|
+
inline: false,
|
|
31
|
+
},
|
|
32
|
+
].filter(i => i)
|
|
33
|
+
},
|
|
34
|
+
};
|