jufubao-mall 2.0.32 → 2.0.34

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 (38) hide show
  1. package/package.json +1 -1
  2. package/src/components/CusCouponChose/CusCouponChose.vue +10 -13
  3. package/src/components/CusEnter/CusEnter.vue +9 -1
  4. package/src/components/CusListItem/CusListItem.vue +141 -0
  5. package/src/components/CusPoster/CusPoster.vue +17 -62
  6. package/src/components/CusPrice/CusPrice.vue +391 -0
  7. package/src/components/CusProduct/CusProduct.vue +576 -184
  8. package/src/components/CusShops/CusShops.vue +409 -209
  9. package/src/components/CusTab/CusTab.vue +159 -22
  10. package/src/components/CusVipList/CusVipList.vue +169 -0
  11. package/src/components/JfbMallConfirm/Api.js +1 -1
  12. package/src/components/JfbMallConfirm/Attr.js +167 -453
  13. package/src/components/JfbMallConfirm/JfbMallConfirm.vue +362 -162
  14. package/src/components/JfbMallConfirm/Mock.js +61 -43
  15. package/src/components/JfbMallConfirm/XdAddrDefault.vue +26 -13
  16. package/src/components/JfbMallConfirm/XdAddrOld.vue +9 -7
  17. package/src/components/JfbMallConfirm/XdListItem.vue +10 -2
  18. package/src/components/JfbMallConfirm/cusAttr/advanced.js +91 -0
  19. package/src/components/JfbMallConfirm/cusAttr/content.js +355 -0
  20. package/src/components/JfbMallConfirm/cusAttr/style.js +628 -0
  21. package/src/components/JfbMallConfirm/shopList.vue +84 -42
  22. package/src/components/JfbMallNetworkMedia/Api.js +94 -0
  23. package/src/components/JfbMallNetworkMedia/Attr.js +20 -0
  24. package/src/components/JfbMallNetworkMedia/JfbMallNetworkMedia.vue +1167 -0
  25. package/src/components/JfbMallNetworkMedia/JfbMallNetworkMediaLess.less +80 -0
  26. package/src/components/JfbMallNetworkMedia/JfbMallNetworkMediaMixin.js +30 -0
  27. package/src/components/JfbMallNetworkMedia/Mock.js +372 -0
  28. package/src/components/JfbMallNetworkMedia/cusAttr/advanced.js +60 -0
  29. package/src/components/JfbMallNetworkMedia/cusAttr/content.js +230 -0
  30. package/src/components/JfbMallNetworkMedia/cusAttr/font.js +123 -0
  31. package/src/components/JfbMallNetworkMedia/cusAttr/icon.js +257 -0
  32. package/src/components/JfbMallNetworkMedia/cusAttr/style.js +12 -0
  33. package/src/components/JfbMallProductInfo/cusAttr/content.js +2 -0
  34. package/src/components/JfbMallProductList/JfbMallProductList.vue +7 -1
  35. package/src/components/JfbMallProductList/XdCateV1.vue +0 -1
  36. package/src/components/JfbMallShop/JfbMallShop.vue +1 -1
  37. package/src/components/JfbMallShop/cusAttr/content.js +1 -1
  38. package/src/components/SkeProduct/SkeProduct.vue +88 -3
@@ -0,0 +1,628 @@
1
+ 'use strict';
2
+
3
+ import {
4
+ dataVal,
5
+ statusShow,
6
+ statusDataVal,
7
+ customVal,
8
+ cusDisabled,
9
+ getCustomAttr,
10
+ oldTonNewBorAndSha,
11
+ cRaBorShadow,
12
+ isDefStatus
13
+ } from "@/utils/AttrTools";
14
+ const Color = require('color');
15
+
16
+ export default function (data={},gValue={},gColor={},oldData) {
17
+ console.log("confirm data", data)
18
+ console.log("confirm data", statusDataVal({data, key:'btnStyleStatus', fields: ['bottomBtnRadius', 'bottomBtnHeight', 'bottomPayText'], gValue}))
19
+ // console.log("statusDataVal({data, key:'blockShadowStatus', dValue: 'D', gValue}),", statusDataVal({data, key:'blockShadowStatus', dValue: 'D', gValue}));
20
+ // console.log("statusShow({data, key: 'blockShadowStatus', dValue: 'D', gValue})", statusShow({data, key: 'blockShadowStatus', dValue: 'D', gValue}), data)
21
+ //是否新版本, 如是旧版本,则区块高度乘以2(老版本用的px, 新版本统一rpx, 故乘以2)
22
+ let isNewVersion = isDefStatus(data, gValue);
23
+ var sectionHeight;
24
+ if(!isNewVersion){
25
+ sectionHeight = dataVal({data, key:'sectionHeight', dValue: "8", gValue});
26
+ sectionHeight = sectionHeight * 2;
27
+ data['sectionHeight'] = sectionHeight;
28
+ }else{
29
+ sectionHeight = dataVal({data, key:'sectionHeight', dValue: "16", gValue});
30
+ data['sectionHeight'] = sectionHeight;
31
+ }
32
+ let isContDisabled = cusDisabled({
33
+ data,
34
+ key: 'cont_style',
35
+ fields: { sectionHeightStatus: ['sectionHeight'], lrPaddingStatus: ['lrPadding'] },
36
+ gValue
37
+ });
38
+ let isAddrDisabled = cusDisabled({
39
+ data,
40
+ key: 'addr_style',
41
+ fields: { addrLrPaddingStatus: ['addrLrPadding'] },
42
+ gValue
43
+ });
44
+
45
+ return [
46
+ {
47
+ ele: 'title',
48
+ label: '常规',
49
+ size: 'small',
50
+ groupKey:'style',
51
+ },
52
+ {
53
+ label: '外边距',
54
+ ele: 'xd-radio',
55
+ groupKey: 'style',
56
+ valueKey: 'bodyPaddingStatus',
57
+ value: statusDataVal({data, key:'bodyPaddingStatus', dValue: 'D', gValue}),
58
+ labelInline:true,
59
+ list: [
60
+ {label: '默认', value: 'D'},
61
+ {label: '自定义', value: 'C'},
62
+ ]
63
+ },
64
+ {ele: 'group_start'},
65
+ {
66
+ label: '',
67
+ ele: 'xd-margin-padding',
68
+ groupKey:'style',
69
+ valueKey: 'bodyPadding',
70
+ hidden: statusShow({data, key: 'bodyPaddingStatus', dValue: 'D', gValue}), //隐藏自定义外边距
71
+ value: dataVal({
72
+ data,
73
+ key:'bodyPadding',
74
+ dValue:[0],
75
+ gValue,
76
+ isPM: true,
77
+ isCPM: true,
78
+ }),
79
+ setting: {
80
+ type: 'margin',
81
+ },
82
+ },
83
+ {ele: 'group_end'},
84
+ {
85
+ label: "行间距",
86
+ ele: "xd-radio",
87
+ groupKey: "style",
88
+ valueKey: "sectionHeightStatus",
89
+ value: statusDataVal({data, key:'sectionHeightStatus', fields:['sectionHeight'], gValue, cusField:['cont_style']}),
90
+ disabled: isContDisabled,
91
+ isRefresh: isContDisabled,
92
+ labelInline:true,
93
+ list: [
94
+ {label: '默认', value: 'D'},
95
+ {label: '自定义', value: 'C'},
96
+ ]
97
+ },
98
+ {
99
+ ele: "group_start"
100
+ },
101
+ {
102
+ label: "",
103
+ groupKey: 'style',
104
+ ele: 'xd-slider',
105
+ valueKey: "sectionHeight",
106
+ value: dataVal({data, key:'sectionHeight', dValue: sectionHeight, gValue}),
107
+ hidden: !statusShow({data, key: 'sectionHeightStatus', fields:['sectionHeight'], gValue}),
108
+ className: "input100",
109
+ labelInline: true,
110
+ setting:{
111
+ min: 0,
112
+ max: 100,
113
+ step:1,
114
+ showStops:false,
115
+ showInput:false,
116
+ }
117
+ },
118
+ {ele: 'group_end'},
119
+
120
+ {
121
+ ele: 'title',
122
+ label: '内容区',
123
+ size: 'small',
124
+ groupKey:'style',
125
+ },
126
+ {
127
+ label: '两侧边距',
128
+ ele: 'xd-radio',
129
+ groupKey: 'style',
130
+ valueKey: 'lrPaddingStatus',
131
+ value: statusDataVal({data, key:'lrPaddingStatus', dValue: 'D', gValue, cusField:['cont_style']}),
132
+ disabled: isContDisabled,
133
+ isRefresh: isContDisabled,
134
+ labelInline:true,
135
+ list: [
136
+ {label: '默认', value: 'D'},
137
+ {label: '自定义', value: 'C'},
138
+ ]
139
+ },
140
+ {ele: 'group_start'},
141
+ {
142
+ label: '',
143
+ ele: 'xd-margin-padding',
144
+ groupKey:'style',
145
+ valueKey: 'lrPadding',
146
+ hidden: statusShow({data, key: 'lrPaddingStatus', dValue: 'D', gValue}), //隐藏自定义外边距
147
+ value: dataVal({
148
+ data,
149
+ key:'lrPadding',
150
+ dValue:[0],
151
+ gValue,
152
+ isPM: true,
153
+ isCPM: true,
154
+ }),
155
+ setting: {
156
+ type: 'margin',
157
+ top: false,
158
+ bottom: false,
159
+ },
160
+ },
161
+ {ele: 'group_end'},
162
+
163
+ {
164
+ label: '圆角',
165
+ ele: 'xd-radio',
166
+ groupKey: 'style',
167
+ valueKey: 'radiusStatus',
168
+ value: statusDataVal({data, key:'radiusStatus', dValue: 'D', gValue}),
169
+ labelInline:true,
170
+ list: [
171
+ {label: '默认', value: 'D'},
172
+ {label: '无圆角', value: 'N'},
173
+ {label: '自定义', value: 'C'},
174
+ ]
175
+ },
176
+ {ele: 'group_start'},
177
+ {
178
+ label: '',
179
+ ele: 'xd-site-select-list',
180
+ labelInline: true,
181
+ valueKey: 'radius',
182
+ value: dataVal({data, key:'radius', dValue:'10', gValue}),
183
+ hidden: !statusShow({data, key: 'radiusStatus', dValue: 'C', gValue}),
184
+ placeholder: '请选择是否设置圆角',
185
+ multiple: false,
186
+ className: 'input80',
187
+ groupKey:'style',
188
+ handleCustom({action, data}) {
189
+ XdBus.getParentApi('getOptionsSettingList')({
190
+ setting_id: 'edtix_style_radius',
191
+ key: Date.now()
192
+ })
193
+ .then(res => {
194
+ res.list = res.list.filter(item=>{
195
+ return item.label !== '无';
196
+ });
197
+ data.cb(res.list)
198
+ })
199
+ .catch(error => {
200
+ console.error(error);
201
+ });
202
+ },
203
+ },
204
+ {ele: 'group_end'},
205
+
206
+ {
207
+ label: "投影",
208
+ ele: "xd-radio",
209
+ groupKey: "style",
210
+ valueKey: "blockShadowStatus",
211
+ value: statusDataVal({data, key:'blockShadowStatus', dValue: 'D', gValue}),
212
+ labelInline:true,
213
+ list: [
214
+ {label: '默认', value: 'D'},
215
+ {label: '无投影', value: 'N'},
216
+ {label: '自定义', value: 'C'},
217
+ ]
218
+ },
219
+
220
+ {ele: 'group_start'},
221
+ {
222
+ label: '',
223
+ ele: 'xd-shadow',
224
+ labelInline: true,
225
+ groupKey:'style',
226
+ valueKey: 'blockShadow',
227
+ value: dataVal({data, key:'blockShadow', dValue: '', gValue}),
228
+ hidden: !statusShow({data, key: 'blockShadowStatus', dValue: 'C', gValue}),
229
+ className: 'input100',
230
+ setting: {
231
+ isCloseType: true, //关闭type选项
232
+ //设置默认值
233
+ default: ''
234
+ },
235
+ handleCustom({action, data}) {
236
+ XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_radius'})
237
+ .then(res => {
238
+ res.list = res.list.filter(item=>{
239
+ return item.label !== '无';
240
+ });
241
+ data.cb(res.list)
242
+ })
243
+ .catch(error => {
244
+ console.error(error);
245
+ data.cb([])
246
+ });
247
+ },
248
+ },
249
+ {ele: 'group_end'},
250
+
251
+ {
252
+ ele: 'title',
253
+ label: '收货地址',
254
+ size: 'small',
255
+ groupKey:'style',
256
+ },
257
+
258
+ {
259
+ label: "两侧边距",
260
+ ele: "xd-radio",
261
+ groupKey: "style",
262
+ valueKey: "addrLrPaddingStatus",
263
+ value: statusDataVal({data, key:'addrLrPaddingStatus', dValue: 'D', gValue, cusField:['addr_style']}),
264
+ disabled: isAddrDisabled,
265
+ isRefresh: isAddrDisabled,
266
+ labelInline:true,
267
+ list: [
268
+ {label: '默认', value: 'D'},
269
+ {label: '自定义', value: 'C'},
270
+ ]
271
+ },
272
+ {ele: 'group_start'},
273
+ {
274
+ label: '',
275
+ ele: 'xd-margin-padding',
276
+ groupKey:'style',
277
+ valueKey: 'addrLrPadding',
278
+ hidden: statusShow({data, key: 'addrLrPaddingStatus', dValue: 'D', gValue}), //隐藏自定义外边距
279
+ value: dataVal({
280
+ data,
281
+ key:'addrLrPadding',
282
+ dValue:[0],
283
+ gValue,
284
+ isPM: true,
285
+ isCPM: true,
286
+ }),
287
+ setting: {
288
+ type: 'margin',
289
+ top: false,
290
+ bottom: false,
291
+ },
292
+ },
293
+ {ele: 'group_end'},
294
+
295
+ {
296
+ label: "圆角",
297
+ ele: "xd-radio",
298
+ groupKey: "style",
299
+ valueKey: "addrRadiusStatus",
300
+ value: statusDataVal({data, key:'addrRadiusStatus', dValue: 'D', gValue}),
301
+ labelInline:true,
302
+ list: [
303
+ {label: '默认', value: 'D'},
304
+ {label: '无圆角', value: 'N'},
305
+ {label: '自定义', value: 'C'},
306
+ ]
307
+ },
308
+ {ele: 'group_start'},
309
+ {
310
+ label: '',
311
+ ele: 'xd-site-select-list',
312
+ labelInline: true,
313
+ valueKey: 'addrRadius',
314
+ value: dataVal({data, key:'addrRadius', dValue:'10', gValue}),
315
+ hidden: !statusShow({data, key: 'addrRadiusStatus', dValue: 'C', gValue}),
316
+ placeholder: '请选择是否设置圆角',
317
+ multiple: false,
318
+ className: 'input80',
319
+ groupKey:'style',
320
+ handleCustom({action, data}) {
321
+ XdBus.getParentApi('getOptionsSettingList')({
322
+ setting_id: 'edtix_style_radius',
323
+ key: Date.now()
324
+ })
325
+ .then(res => {
326
+ res.list = res.list.filter(item=>{
327
+ return item.label !== '无';
328
+ });
329
+ data.cb(res.list)
330
+ })
331
+ .catch(error => {
332
+ console.error(error);
333
+ });
334
+ },
335
+ },
336
+ {ele: 'group_end'},
337
+
338
+ {
339
+ label: "投影",
340
+ ele: "xd-radio",
341
+ groupKey: "style",
342
+ valueKey: "addrShadowStatus",
343
+ value: statusDataVal({data, key:'addrShadowStatus', dValue: 'D', gValue}),
344
+ labelInline:true,
345
+ list: [
346
+ {label: '默认', value: 'D'},
347
+ {label: '隐藏', value: 'N'},
348
+ {label: '自定义', value: 'C'},
349
+ ]
350
+ },
351
+ {ele: 'group_start'},
352
+ {
353
+ label: '',
354
+ ele: 'xd-shadow',
355
+ labelInline: true,
356
+ groupKey:'style',
357
+ valueKey: 'addrShadow',
358
+ value: dataVal({data, key:'addrShadow', dValue:{}, gValue}),
359
+ hidden: !statusShow({data, key: 'addrShadowStatus', dValue: 'C', gValue}),
360
+ className: 'input100',
361
+ setting: {
362
+ isCloseType: true, //关闭type选项
363
+ //设置默认值
364
+ default: ''
365
+ },
366
+ handleCustom({action, data}) {
367
+ XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_radius'})
368
+ .then(res => {
369
+ res.list = res.list.filter(item=>{
370
+ return item.label !== '无';
371
+ });
372
+ data.cb(res.list)
373
+ })
374
+ .catch(error => {
375
+ console.error(error);
376
+ data.cb([])
377
+ });
378
+ },
379
+ },
380
+ {ele: 'group_end'},
381
+
382
+ {
383
+ ele: 'title',
384
+ label: '底部按钮区域',
385
+ size: 'small',
386
+ groupKey:'style',
387
+ },
388
+ {
389
+ label: "内边距",
390
+ ele: "xd-radio",
391
+ groupKey: "style",
392
+ valueKey: "bottomPaddingStatus",
393
+ value: statusDataVal({data, key:'bottomPaddingStatus', fields: ['bottomPadding'], gValue}),
394
+ labelInline:true,
395
+ list: [
396
+ {label: '默认', value: 'D'},
397
+ {label: '自定义', value: 'C'},
398
+ ]
399
+ },
400
+ {ele: 'group_start'},
401
+ {
402
+ label: '',
403
+ ele: 'xd-margin-padding',
404
+ groupKey:'style',
405
+ valueKey: 'bottomPadding',
406
+ hidden: !statusShow({data, key: 'bottomPaddingStatus', fields: ['bottomPadding'], gValue}), //隐藏自定义外边距
407
+ value: dataVal({
408
+ data,
409
+ key:'bottomPadding',
410
+ dValue:[16],
411
+ gValue,
412
+ isPM: true,
413
+ isCPM: true,
414
+ }),
415
+ setting: {
416
+ type: 'margin',
417
+ },
418
+ },
419
+ {ele: 'group_end'},
420
+
421
+ {
422
+ label: "按钮样式",
423
+ ele: "xd-radio",
424
+ groupKey: "style",
425
+ valueKey: "btnStyleStatus",
426
+ value: statusDataVal({data, key:'btnStyleStatus', fields: ['bottomBtnRadius', 'bottomBtnHeight', 'bottomPayText'], gValue}),
427
+ labelInline:true,
428
+ list: [
429
+ {label: '默认', value: 'D'},
430
+ {label: '自定义', value: 'C'},
431
+ ]
432
+ },
433
+ {ele: "group_start"},
434
+ {
435
+ label: "圆角",
436
+ ele: 'xd-site-select-list',
437
+ valueKey: 'bottomBtnRadius',
438
+ groupKey:'style',
439
+ value: dataVal({data, key:'bottomBtnRadius', dValue: '40', gValue}),
440
+ hidden: !statusShow({data, key: 'btnStyleStatus', fields: ['bottomBtnRadius', 'bottomBtnHeight', 'bottomPayText'], gValue}),
441
+ placeholder: '请选择内容圆角设置',
442
+ labelInline: true,
443
+ multiple: false,
444
+ className: 'input80',
445
+ handleCustom({action, data}) {
446
+ XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_radius'})
447
+ .then(res => {
448
+ data.cb(res.list)
449
+ })
450
+ .catch(error => {
451
+ console.error(error);
452
+ });
453
+ },
454
+ },
455
+ {
456
+ label: "高度",
457
+ ele: 'el-input',
458
+ type: 'number',
459
+ valueKey: 'bottomBtnHeight',
460
+ groupKey:'style',
461
+ value: dataVal({data, key:'bottomBtnHeight', dValue: 60, gValue}),
462
+ hidden: !statusShow({data, key: 'btnStyleStatus', fields: ['bottomBtnRadius', 'bottomBtnHeight', 'bottomPayText'], gValue}),
463
+ labelInline: true,
464
+ append: 'px',
465
+ placeholder: '请输入操作按钮高度',
466
+ className: 'input80',
467
+ },
468
+ {
469
+ label: '文字',
470
+ ele: "el-input",
471
+ valueKey: 'bottomPayText',
472
+ groupKey:'style',
473
+ value: dataVal({data, key:'bottomPayText', dValue: '', gValue}),
474
+ hidden: !statusShow({data, key: 'btnStyleStatus', fields: ['bottomBtnRadius', 'bottomBtnHeight', 'bottomPayText'], gValue}),
475
+ labelInline: true,
476
+ placeholder: '支付按钮文字,默认“支付”',
477
+ className: 'input80',
478
+ },
479
+ {ele: "group_end"},
480
+
481
+ {
482
+ label: "价格样式",
483
+ ele: "xd-radio",
484
+ groupKey: "style",
485
+ valueKey: "btnPriceStatus",
486
+ value: statusDataVal({data, key:'btnPriceStatus', fields: ['bottomPricePosition'], gValue}),
487
+ labelInline:true,
488
+ list: [
489
+ {label: '默认', value: 'D'},
490
+ {label: '自定义', value: 'C'},
491
+ ]
492
+ },
493
+ {ele: "group_start"},
494
+ {
495
+ label: "位置",
496
+ ele: "xd-radio",
497
+ groupKey: "style",
498
+ valueKey: "bottomPricePosition",
499
+ value: dataVal({data, key:'bottomPricePosition', dValue: 'flex-start', gValue}),
500
+ hidden: !statusShow({data, key: 'btnPriceStatus', fields: ['bottomPricePosition'], gValue}),
501
+ labelInline: true,
502
+ list: [
503
+ {label: "左侧", value: "flex-start"},
504
+ {label: "右侧", value: "flex-end"},
505
+ {label: "中间", value: "center"}
506
+ ],
507
+ },
508
+ {ele: "group_end"},
509
+
510
+ {
511
+ ele: 'title',
512
+ label: '其它配置',
513
+ size: 'small',
514
+ groupKey:'style',
515
+ },
516
+ {
517
+ label: "品牌文字",
518
+ ele: "xd-radio",
519
+ groupKey: "style",
520
+ valueKey: "brandTextStatus",
521
+ value: statusDataVal({data, key:'brandTextStatus', fields: ['brandTextColor'], gValue}),
522
+ labelInline:true,
523
+ list: [
524
+ {label: '默认', value: 'D'},
525
+ {label: '自定义', value: 'C'},
526
+ ]
527
+ },
528
+ {ele: "group_start"},
529
+ {
530
+ label: '颜色',
531
+ ele: 'xd-color',
532
+ valueKey: 'brandTextColor',
533
+ groupKey:'style',
534
+ value: dataVal({data, key:'brandTextColor', dValue: null, gValue}),
535
+ hidden: !statusShow({data, key: 'brandTextStatus', fields: ['brandTextColor'], gValue}),
536
+ labelInline: true,
537
+ placeholder: '请选择品牌文字颜色',
538
+ className: 'input80',
539
+ setting: {
540
+ showAlpha: true
541
+ },
542
+ },
543
+ {ele: "group_end"},
544
+
545
+ {
546
+ label: "活动价提示",
547
+ ele: "xd-radio",
548
+ groupKey: "style",
549
+ valueKey: "activityPriceStatus",
550
+ value: statusDataVal({data, key:'activityPriceStatus', fields: ['priceTextColor'], gValue}),
551
+ labelInline:true,
552
+ inline: false,
553
+ notice: "活动价格提示文字样式",
554
+ list: [
555
+ {label: '默认', value: 'D'},
556
+ {label: '自定义', value: 'C'},
557
+ ]
558
+ },
559
+ {ele: "group_start"},
560
+ {
561
+ label: '颜色',
562
+ ele: 'xd-color',
563
+ valueKey: 'priceTextColor',
564
+ groupKey:'style',
565
+ value: dataVal({data, key:'priceTextColor', dValue: null, gValue}),
566
+ hidden: !statusShow({data, key: 'activityPriceStatus', fields: ['priceTextColor'], gValue}),
567
+ labelInline: true,
568
+ placeholder: '活动价提示文字颜色',
569
+ className: 'input80',
570
+ setting: {
571
+ showAlpha: true
572
+ },
573
+ },
574
+ {ele: "group_end"},
575
+
576
+ {
577
+ label: "表单提示",
578
+ ele: "xd-radio",
579
+ groupKey: "style",
580
+ valueKey: "formTipStatus",
581
+ value: statusDataVal({data, key:'formTipStatus', fields: ['blessTextColor', 'blessFontSize'], gValue}),
582
+ labelInline:true,
583
+ inline: false,
584
+ notice: "自定义表单提示文字样式",
585
+ list: [
586
+ {label: '默认', value: 'D'},
587
+ {label: '自定义', value: 'C'},
588
+ ]
589
+ },
590
+ {ele: "group_start"},
591
+ {
592
+ label: "大小",
593
+ ele: 'xd-site-select-list',
594
+ valueKey: 'blessFontSize',
595
+ groupKey:'style',
596
+ value: dataVal({data, key:'blessFontSize', dValue: '24', gValue}),
597
+ hidden: !statusShow({data, key: 'formTipStatus', fields: ['blessTextColor', 'blessFontSize'], gValue}),
598
+ placeholder: '请选择字体大小',
599
+ labelInline: true,
600
+ multiple: false,
601
+ className: 'input80',
602
+ handleCustom({action, data}) {
603
+ XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_font_size'})
604
+ .then(res => {
605
+ data.cb(res.list)
606
+ })
607
+ .catch(error => {
608
+ console.error(error);
609
+ });
610
+ },
611
+ },
612
+ {
613
+ label: '颜色',
614
+ ele: 'xd-color',
615
+ valueKey: 'blessTextColor',
616
+ groupKey:'style',
617
+ value: dataVal({data, key:'blessTextColor', dValue: null, gValue}),
618
+ hidden: !statusShow({data, key: 'formTipStatus', fields: ['blessTextColor', 'blessFontSize'], gValue}),
619
+ labelInline: true,
620
+ placeholder: '表单提示文字颜色',
621
+ className: 'input80',
622
+ setting: {
623
+ showAlpha: true
624
+ },
625
+ },
626
+ {ele: "group_end"},
627
+ ]
628
+ }