jufubao-base 1.0.197-beta5 → 1.0.197-beta8
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/commands.js +1 -1
- package/package.json +1 -1
- package/src/ICONS.js +1128 -0
- package/src/components/JfbBaseAddress/Attr.js +109 -1
- package/src/components/JfbBaseAddress/JfbBaseAddress.vue +164 -80
- package/src/components/JfbBaseAddress/XdAddress.vue +5 -0
- package/src/components/JfbBaseAddress/XdTfkItem.vue +117 -0
- package/src/components/JfbBaseCardEntry/JfbBaseCardEntry.vue +1 -0
- package/src/components/JfbBaseCardEntry/XdCardNew.vue +1 -1
- package/src/components/JfbBaseConDialog/JfbBaseConDialog.vue +41 -13
- package/src/components/JfbBaseFastLink/Attr.js +24 -8
- package/src/components/JfbBaseFastLink/JfbBaseFastLink.vue +37 -21
- package/src/components/JfbBaseFooter/Attr.js +141 -75
- package/src/components/JfbBaseFooter/JfbBaseFooter.vue +50 -15
- package/src/components/JfbBaseHeader/Attr.js +8 -1
- package/src/components/JfbBaseHeader/JfbBaseHeader.vue +8 -5
- package/src/components/JfbBaseHeaderElephant/JfbBaseHeaderElephant.vue +12 -3
- package/src/components/JfbBaseOrderDetail/Attr.js +147 -65
- package/src/components/JfbBaseOrderDetail/JfbBaseOrderDetail.vue +97 -47
- package/src/components/JfbBaseOrderList/Attr.js +59 -2
- package/src/components/JfbBaseOrderList/JfbBaseOrderList.vue +139 -92
- package/src/components/JfbBaseOrderList/Mock.js +3 -0
- package/src/components/JfbBaseOrderList/XdTfkOrderItem.vue +267 -0
- package/src/components/JfbBasePosterBigSmall/JfbBasePosterBigSmall.vue +27 -29
- package/src/components/JfbBasePosterBigSmall/getWidthHeight.js +13 -9
- package/src/components/JfbBaseUserCenter/Attr.js +297 -52
- package/src/components/JfbBaseUserCenter/JfbBaseUserCenter.vue +135 -44
- package/src/components/JfbBaseUserInfo/Attr.js +227 -85
- package/src/components/JfbBaseUserInfo/JfbBaseUserInfo.vue +106 -86
- package/src/components/JfbBaseUserOrder/Attr.js +332 -30
- package/src/components/JfbBaseUserOrder/JfbBaseUserOrder.vue +183 -55
- package/src/components/JfbBaseWallet/Attr.js +376 -8
- package/src/components/JfbBaseWallet/JfbBaseWallet.vue +185 -49
- package/src/mixins/componentsMixins.js +210 -35
|
@@ -1,11 +1,18 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
+
import {oldTonNewBorAndSha, checkValue} from '@/utils/AttrTools'
|
|
4
|
+
|
|
3
5
|
/**
|
|
4
6
|
* @description 当表单组件中有联动操作时候,使用方法进行返回
|
|
5
7
|
*/
|
|
6
8
|
export default {
|
|
7
9
|
style: [],
|
|
8
10
|
content:(data)=>{
|
|
11
|
+
let defContBorder = oldTonNewBorAndSha(data.contBorder, data.is_border,data.is_border_w ,data.is_border_c,'solid');
|
|
12
|
+
if(defContBorder.type === 'Y' && data.is_border ==='Y') {
|
|
13
|
+
data.is_border = 'N'
|
|
14
|
+
}
|
|
15
|
+
|
|
9
16
|
return [
|
|
10
17
|
{
|
|
11
18
|
label: '',
|
|
@@ -24,15 +31,26 @@ export default {
|
|
|
24
31
|
className: 'input80',
|
|
25
32
|
rules: [
|
|
26
33
|
{
|
|
27
|
-
required:
|
|
34
|
+
required: false,
|
|
28
35
|
validator: (rule, value, callback) => {
|
|
29
36
|
value = value.trim();
|
|
37
|
+
if(value.length === 0) return callback()
|
|
30
38
|
if (value.length < 1 || value.length > 4) callback('卡券自定义名称长度为:1-4字符');
|
|
31
39
|
else callback()
|
|
32
40
|
},
|
|
33
41
|
trigger: 'blur'
|
|
34
42
|
}
|
|
35
43
|
],
|
|
44
|
+
notice: '卡券自定义名称设置,默认值:<span style="color:red">卡券</span>,长度为:1-4字符',
|
|
45
|
+
inline: false,
|
|
46
|
+
},
|
|
47
|
+
|
|
48
|
+
//style
|
|
49
|
+
{
|
|
50
|
+
ele: 'title',
|
|
51
|
+
label: '基础设置',
|
|
52
|
+
size: 'small',
|
|
53
|
+
groupKey:'style',
|
|
36
54
|
},
|
|
37
55
|
{
|
|
38
56
|
label: '卡券文字颜色:',
|
|
@@ -42,13 +60,8 @@ export default {
|
|
|
42
60
|
value: data['cardNameColor'] || null,
|
|
43
61
|
placeholder: '请选择卡券文字颜色',
|
|
44
62
|
classNmae: 'input80',
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
{
|
|
48
|
-
ele: 'title',
|
|
49
|
-
label: '整体风格',
|
|
50
|
-
size: 'small',
|
|
51
|
-
groupKey:'style',
|
|
63
|
+
hidden:true,
|
|
64
|
+
labelInline:true,
|
|
52
65
|
},
|
|
53
66
|
{
|
|
54
67
|
label: '背景颜色:',
|
|
@@ -58,6 +71,7 @@ export default {
|
|
|
58
71
|
value: data['bodyBackgroundColor'] || null,
|
|
59
72
|
placeholder: '请选择背景颜色',
|
|
60
73
|
classNmae: 'input80',
|
|
74
|
+
labelInline:true,
|
|
61
75
|
},
|
|
62
76
|
{
|
|
63
77
|
label: '圆角设置:',
|
|
@@ -66,6 +80,7 @@ export default {
|
|
|
66
80
|
groupKey:'style',
|
|
67
81
|
value: data['bodyRadius'],
|
|
68
82
|
placeholder: '请选择圆角设置',
|
|
83
|
+
labelInline:true,
|
|
69
84
|
multiple: false,
|
|
70
85
|
className: 'input80',
|
|
71
86
|
handleCustom({action, data}) {
|
|
@@ -79,13 +94,13 @@ export default {
|
|
|
79
94
|
},
|
|
80
95
|
},
|
|
81
96
|
{
|
|
82
|
-
label: '
|
|
97
|
+
label: '行间距:',
|
|
83
98
|
ele: 'el-input',
|
|
84
99
|
type: 'number',
|
|
85
100
|
valueKey: 'padding',
|
|
86
101
|
groupKey:'style',
|
|
87
102
|
value: data.padding || '',
|
|
88
|
-
placeholder: '
|
|
103
|
+
placeholder: '请输入行间距',
|
|
89
104
|
className: 'input60',
|
|
90
105
|
inline: false,
|
|
91
106
|
notice: '设置间距,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
|
|
@@ -104,7 +119,7 @@ export default {
|
|
|
104
119
|
notice: '设置外边距,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
|
|
105
120
|
},
|
|
106
121
|
{
|
|
107
|
-
label: '
|
|
122
|
+
label: '外填充:',
|
|
108
123
|
ele: 'xd-margin-padding',
|
|
109
124
|
valueKey: 'bodyPadding',
|
|
110
125
|
groupKey:'style',
|
|
@@ -114,14 +129,200 @@ export default {
|
|
|
114
129
|
},
|
|
115
130
|
placeholder: '请设置外边距',
|
|
116
131
|
inline: false,
|
|
117
|
-
notice: '
|
|
132
|
+
notice: '设置外填充,<span style="color: red">单位:像素</span>。默认值:0像素',
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
label: '标题边距设置:',
|
|
136
|
+
ele: 'xd-margin-padding',
|
|
137
|
+
valueKey: 'titleMargin',
|
|
138
|
+
groupKey:'style',
|
|
139
|
+
value: data['titleMargin'] || null,
|
|
140
|
+
setting: {
|
|
141
|
+
type: 'padding',
|
|
142
|
+
},
|
|
143
|
+
placeholder: '请设置标题边距',
|
|
144
|
+
inline: false,
|
|
145
|
+
notice: '设置标题边距,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">0</span>像素',
|
|
118
146
|
},
|
|
119
147
|
{
|
|
120
148
|
ele: 'title',
|
|
121
|
-
label: '
|
|
149
|
+
label: `我的${data['cardName'] || '卡券'}设置`,
|
|
122
150
|
size: 'small',
|
|
123
151
|
groupKey:'style',
|
|
124
152
|
},
|
|
153
|
+
{
|
|
154
|
+
label: "标题样式设置",
|
|
155
|
+
ele: "xd-text-and-bgc",
|
|
156
|
+
groupKey:'style',
|
|
157
|
+
valueKey: 'titleStyle',
|
|
158
|
+
value: data['titleStyle'] || null,
|
|
159
|
+
setting: {
|
|
160
|
+
fontSize: true,
|
|
161
|
+
color: true,
|
|
162
|
+
bgColor: false,
|
|
163
|
+
weight: true,
|
|
164
|
+
selected:false
|
|
165
|
+
},
|
|
166
|
+
handleCustom({action, data}) {
|
|
167
|
+
XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_font_size'})
|
|
168
|
+
.then(res => {
|
|
169
|
+
data.cb(res.list)
|
|
170
|
+
})
|
|
171
|
+
.catch(error => {
|
|
172
|
+
console.error(error);
|
|
173
|
+
data.cb([])
|
|
174
|
+
});
|
|
175
|
+
},
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
ele: 'title',
|
|
179
|
+
label: `添加${data['cardName'] || '卡券'}设置`,
|
|
180
|
+
size: 'small',
|
|
181
|
+
groupKey:'style',
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
label: '是否展示ICON:',
|
|
185
|
+
ele: 'xd-radio',
|
|
186
|
+
valueKey: 'isShowICONBtn',
|
|
187
|
+
value: data['isShowICONBtn'] || 'N',
|
|
188
|
+
groupKey:'style',
|
|
189
|
+
multiple: false,
|
|
190
|
+
labelInline:true,
|
|
191
|
+
className: 'input80',
|
|
192
|
+
list: [
|
|
193
|
+
{label: '展示', value: 'Y'},
|
|
194
|
+
{label: '隐藏', value: 'N'},
|
|
195
|
+
]
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
label: "文字样式设置",
|
|
199
|
+
ele: "xd-text-and-bgc",
|
|
200
|
+
groupKey:'style',
|
|
201
|
+
valueKey: 'addBtnStyle',
|
|
202
|
+
value: data['addBtnStyle'] || null,
|
|
203
|
+
setting: {
|
|
204
|
+
fontSize: true,
|
|
205
|
+
color: true,
|
|
206
|
+
bgColor: false,
|
|
207
|
+
weight: true,
|
|
208
|
+
selected:false
|
|
209
|
+
},
|
|
210
|
+
handleCustom({action, data}) {
|
|
211
|
+
XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_font_size'})
|
|
212
|
+
.then(res => {
|
|
213
|
+
data.cb(res.list)
|
|
214
|
+
})
|
|
215
|
+
.catch(error => {
|
|
216
|
+
console.error(error);
|
|
217
|
+
data.cb([])
|
|
218
|
+
});
|
|
219
|
+
},
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
label: '圆角设置:',
|
|
223
|
+
labelInline:true,
|
|
224
|
+
ele: 'xd-site-select-list',
|
|
225
|
+
valueKey: 'addBtnRadius',
|
|
226
|
+
groupKey:'style',
|
|
227
|
+
value: data['addBtnRadius'] || '40',
|
|
228
|
+
placeholder: '请选择圆角设置',
|
|
229
|
+
multiple: false,
|
|
230
|
+
className: 'input80',
|
|
231
|
+
handleCustom({action, data}) {
|
|
232
|
+
XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_radius'})
|
|
233
|
+
.then(res => {
|
|
234
|
+
data.cb(res.list)
|
|
235
|
+
})
|
|
236
|
+
.catch(error => {
|
|
237
|
+
console.error(error);
|
|
238
|
+
});
|
|
239
|
+
},
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
label: '背景颜色:',
|
|
243
|
+
ele: 'xd-color',
|
|
244
|
+
valueKey: 'addBtnBgColor',
|
|
245
|
+
groupKey:'style',
|
|
246
|
+
value: data['addBtnBgColor'] || null,
|
|
247
|
+
placeholder: '请选择背景颜色',
|
|
248
|
+
classNmae: 'input80',
|
|
249
|
+
labelInline:true,
|
|
250
|
+
},
|
|
251
|
+
{
|
|
252
|
+
label: '投影设置:',
|
|
253
|
+
ele: 'xd-shadow',
|
|
254
|
+
groupKey:'style',
|
|
255
|
+
valueKey: 'addBtnShadow',
|
|
256
|
+
value: data['addBtnShadow'] || '',
|
|
257
|
+
labelInline:true,
|
|
258
|
+
setting: {
|
|
259
|
+
selected: 'N'
|
|
260
|
+
},
|
|
261
|
+
handleCustom({action, data}) {
|
|
262
|
+
XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_radius'})
|
|
263
|
+
.then(res => {
|
|
264
|
+
data.cb(res.list)
|
|
265
|
+
})
|
|
266
|
+
.catch(error => {
|
|
267
|
+
console.error(error);
|
|
268
|
+
data.cb([])
|
|
269
|
+
});
|
|
270
|
+
},
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
label: '边框设置:',
|
|
274
|
+
ele: 'xd-border',
|
|
275
|
+
groupKey:'style',
|
|
276
|
+
valueKey: 'addBtnBorder',
|
|
277
|
+
labelInline:true,
|
|
278
|
+
setting: {
|
|
279
|
+
isDef: true,
|
|
280
|
+
selected: 'D',
|
|
281
|
+
},
|
|
282
|
+
value: data['addBtnBorder'] || {},
|
|
283
|
+
},
|
|
284
|
+
|
|
285
|
+
|
|
286
|
+
|
|
287
|
+
{
|
|
288
|
+
ele: 'title',
|
|
289
|
+
label: `内容基础设置`,
|
|
290
|
+
size: 'small',
|
|
291
|
+
groupKey:'style',
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
label: '填充:',
|
|
295
|
+
ele: 'xd-margin-padding',
|
|
296
|
+
valueKey: 'contentPadding',
|
|
297
|
+
groupKey:'style',
|
|
298
|
+
value: data['contentPadding'] || null,
|
|
299
|
+
setting: {
|
|
300
|
+
type: 'padding',
|
|
301
|
+
},
|
|
302
|
+
placeholder: '请设填充',
|
|
303
|
+
inline: false,
|
|
304
|
+
notice: '设置填充值,<span style="color: red">单位:像素</span>。默认值:<span style="color:red">40</span>像素',
|
|
305
|
+
},
|
|
306
|
+
{
|
|
307
|
+
label: '圆角设置:',
|
|
308
|
+
ele: 'xd-site-select-list',
|
|
309
|
+
valueKey: 'radius',
|
|
310
|
+
groupKey:'style',
|
|
311
|
+
value: data['radius'] || '10',
|
|
312
|
+
placeholder: '请选择内容圆角设置',
|
|
313
|
+
labelInline:true,
|
|
314
|
+
multiple: false,
|
|
315
|
+
className: 'input80',
|
|
316
|
+
handleCustom({action, data}) {
|
|
317
|
+
XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_radius'})
|
|
318
|
+
.then(res => {
|
|
319
|
+
data.cb(res.list)
|
|
320
|
+
})
|
|
321
|
+
.catch(error => {
|
|
322
|
+
console.error(error);
|
|
323
|
+
});
|
|
324
|
+
},
|
|
325
|
+
},
|
|
125
326
|
{
|
|
126
327
|
label: '背景颜色:',
|
|
127
328
|
ele: 'xd-color',
|
|
@@ -130,32 +331,96 @@ export default {
|
|
|
130
331
|
value: data['backgroundColor'] || null,
|
|
131
332
|
placeholder: '请选择背景颜色',
|
|
132
333
|
classNmae: 'input80',
|
|
334
|
+
labelInline:true,
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
label: '投影设置:',
|
|
338
|
+
ele: 'xd-shadow',
|
|
339
|
+
groupKey:'style',
|
|
340
|
+
valueKey: 'contShadow',
|
|
341
|
+
labelInline:true,
|
|
342
|
+
value: data['contShadow'] || '',
|
|
343
|
+
setting: {
|
|
344
|
+
selected: 'N'
|
|
345
|
+
},
|
|
346
|
+
handleCustom({action, data}) {
|
|
347
|
+
XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_radius'})
|
|
348
|
+
.then(res => {
|
|
349
|
+
data.cb(res.list)
|
|
350
|
+
})
|
|
351
|
+
.catch(error => {
|
|
352
|
+
console.error(error);
|
|
353
|
+
data.cb([])
|
|
354
|
+
});
|
|
355
|
+
},
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
label: '边框设置:',
|
|
359
|
+
ele: 'xd-border',
|
|
360
|
+
groupKey:'style',
|
|
361
|
+
valueKey: 'contBorder',
|
|
362
|
+
value: defContBorder,
|
|
363
|
+
labelInline:true,
|
|
364
|
+
setting: {
|
|
365
|
+
selected: defContBorder.type
|
|
366
|
+
},
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
ele: 'title',
|
|
370
|
+
label: `进入我的${data['cardName'] || '卡券'}设置`,
|
|
371
|
+
size: 'small',
|
|
372
|
+
groupKey:'style',
|
|
133
373
|
},
|
|
134
374
|
{
|
|
135
|
-
label: '
|
|
375
|
+
label: '圆角设置:',
|
|
376
|
+
labelInline:true,
|
|
377
|
+
ele: 'xd-site-select-list',
|
|
378
|
+
valueKey: 'btnRadius',
|
|
379
|
+
value: data['btnRadius'] || '40',
|
|
380
|
+
groupKey:'style',
|
|
381
|
+
placeholder: '请选择圆角设置',
|
|
382
|
+
multiple: false,
|
|
383
|
+
className: 'input60',
|
|
384
|
+
handleCustom({action, data}) {
|
|
385
|
+
XdBus.getParentApi('getOptionsSettingList')({
|
|
386
|
+
setting_id: 'edtix_style_radius',
|
|
387
|
+
key: Date.now()
|
|
388
|
+
})
|
|
389
|
+
.then(res => {
|
|
390
|
+
data.cb(res.list)
|
|
391
|
+
})
|
|
392
|
+
.catch(error => {
|
|
393
|
+
console.error(error);
|
|
394
|
+
});
|
|
395
|
+
},
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
label: '背景颜色:',
|
|
136
399
|
ele: 'xd-color',
|
|
137
400
|
valueKey: 'btnBgColor',
|
|
138
401
|
groupKey:'style',
|
|
139
402
|
value: data['btnBgColor'] || null,
|
|
140
|
-
placeholder: '
|
|
403
|
+
placeholder: '请选择背景颜色',
|
|
141
404
|
classNmae: 'input80',
|
|
405
|
+
labelInline:true,
|
|
142
406
|
},
|
|
143
407
|
{
|
|
144
|
-
label: '
|
|
408
|
+
label: '文字颜色:',
|
|
145
409
|
ele: 'xd-color',
|
|
146
410
|
valueKey: 'btnTextColor',
|
|
147
411
|
groupKey:'style',
|
|
148
412
|
value: data['btnTextColor'] || null,
|
|
149
|
-
placeholder: '
|
|
413
|
+
placeholder: '请选择文字颜色',
|
|
150
414
|
classNmae: 'input80',
|
|
415
|
+
labelInline:true,
|
|
151
416
|
},
|
|
152
417
|
{
|
|
153
|
-
label: '
|
|
418
|
+
label: '文字大小:',
|
|
154
419
|
ele: 'xd-site-select-list',
|
|
155
420
|
valueKey: 'btnFontSize',
|
|
156
421
|
groupKey:'style',
|
|
157
422
|
value: data['btnFontSize'] || '',
|
|
158
|
-
placeholder: '
|
|
423
|
+
placeholder: '请选择文字大小',
|
|
159
424
|
multiple: false,
|
|
160
425
|
className: 'input80',
|
|
161
426
|
handleCustom({action, data}) {
|
|
@@ -171,11 +436,13 @@ export default {
|
|
|
171
436
|
},
|
|
172
437
|
},
|
|
173
438
|
|
|
439
|
+
//=====属性已废弃(不能删除,已隐藏)====
|
|
174
440
|
{
|
|
175
441
|
ele: 'title',
|
|
176
442
|
label: '边框设置',
|
|
177
443
|
size: 'small',
|
|
178
444
|
groupKey:'style',
|
|
445
|
+
hidden: true
|
|
179
446
|
},
|
|
180
447
|
{
|
|
181
448
|
label: '是否有边框:',
|
|
@@ -186,12 +453,13 @@ export default {
|
|
|
186
453
|
placeholder: '请选择是否有边框',
|
|
187
454
|
multiple: false,
|
|
188
455
|
className: 'input80',
|
|
456
|
+
hidden: true,
|
|
189
457
|
list: [
|
|
190
458
|
{label: '是', value: 'Y'},
|
|
191
459
|
{label: '否', value: 'N'},
|
|
192
460
|
]
|
|
193
461
|
},
|
|
194
|
-
|
|
462
|
+
{
|
|
195
463
|
label: '边框颜色:',
|
|
196
464
|
ele: 'xd-color',
|
|
197
465
|
valueKey: 'is_border_c',
|
|
@@ -199,8 +467,9 @@ export default {
|
|
|
199
467
|
value: data['is_border_c'] || '',
|
|
200
468
|
placeholder: '请选择边框颜色',
|
|
201
469
|
classNmae: 'input80',
|
|
470
|
+
hidden: true
|
|
202
471
|
},
|
|
203
|
-
|
|
472
|
+
{
|
|
204
473
|
label: '边框大小:',
|
|
205
474
|
ele: 'el-input',
|
|
206
475
|
type: 'number',
|
|
@@ -209,26 +478,11 @@ export default {
|
|
|
209
478
|
value: data['is_border_w'] || '',
|
|
210
479
|
placeholder: '请输入边框颜色',
|
|
211
480
|
className: 'input80',
|
|
481
|
+
hidden: true
|
|
212
482
|
},
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
valueKey: 'radius',
|
|
217
|
-
groupKey:'style',
|
|
218
|
-
value: data['radius'] || '10',
|
|
219
|
-
placeholder: '请选择内容圆角设置',
|
|
220
|
-
multiple: false,
|
|
221
|
-
className: 'input80',
|
|
222
|
-
handleCustom({action, data}) {
|
|
223
|
-
XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_radius'})
|
|
224
|
-
.then(res => {
|
|
225
|
-
data.cb(res.list)
|
|
226
|
-
})
|
|
227
|
-
.catch(error => {
|
|
228
|
-
console.error(error);
|
|
229
|
-
});
|
|
230
|
-
},
|
|
231
|
-
},
|
|
483
|
+
//=====属性已废弃(不能删除,已隐藏)====
|
|
484
|
+
|
|
485
|
+
|
|
232
486
|
{
|
|
233
487
|
label: '添加卡券路径:',
|
|
234
488
|
ele: 'xd-select-pages-path',
|
|
@@ -236,43 +490,34 @@ export default {
|
|
|
236
490
|
groupKey:'advanced',
|
|
237
491
|
placeholder: '请选择添加卡券路径',
|
|
238
492
|
value: data['add_url'] || null,
|
|
493
|
+
className: 'input100',
|
|
239
494
|
setting: {
|
|
240
495
|
router: XdBus.getParentApi('getPagesTree'),
|
|
241
496
|
},
|
|
242
|
-
rules: [
|
|
243
|
-
{required: true, message: '请选择添加卡券路径', trigger: 'change'},
|
|
244
|
-
],
|
|
245
|
-
inline: false,
|
|
246
497
|
},
|
|
247
498
|
{
|
|
248
499
|
label: '设置支付密码路径:',
|
|
249
500
|
ele: 'xd-select-pages-path',
|
|
250
501
|
valueKey: 'pwd_url',
|
|
251
502
|
groupKey:'advanced',
|
|
503
|
+
className: 'input100',
|
|
252
504
|
placeholder: '请选择设置支付密码路径',
|
|
253
505
|
value: data['pwd_url'] || null,
|
|
254
506
|
setting: {
|
|
255
507
|
router: XdBus.getParentApi('getPagesTree'),
|
|
256
508
|
},
|
|
257
|
-
rules: [
|
|
258
|
-
{required: true, message: '请选择设置支付密码路径', trigger: 'change'},
|
|
259
|
-
],
|
|
260
|
-
inline: false,
|
|
261
509
|
},
|
|
262
510
|
{
|
|
263
511
|
label: '进入我的票券路径:',
|
|
264
512
|
ele: 'xd-select-pages-path',
|
|
265
513
|
valueKey: 'card_url',
|
|
266
514
|
groupKey:'advanced',
|
|
515
|
+
className: 'input100',
|
|
267
516
|
placeholder: '请选择进入我的票券路径',
|
|
268
517
|
value: data['card_url'] || null,
|
|
269
518
|
setting: {
|
|
270
519
|
router: XdBus.getParentApi('getPagesTree'),
|
|
271
520
|
},
|
|
272
|
-
rules: [
|
|
273
|
-
{required: true, message: '请选择进入我的票券路径', trigger: 'change'},
|
|
274
|
-
],
|
|
275
|
-
inline: false,
|
|
276
521
|
},
|
|
277
522
|
{
|
|
278
523
|
label: '',
|