jufubao-mall 2.0.35-beta1 → 2.0.35-beta3

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.
@@ -43,8 +43,6 @@ export default function (data, gValue, gColor, oldData){
43
43
  placeholder: '请选择服务类型',
44
44
  className: 'input100',
45
45
  groupKey:'content',
46
- notice:' 更换服务类型时,请注意修改高级配置中对应的跳转地址',
47
- inline: false,
48
46
  rules: [
49
47
  {required: true, message: '请选择服务类型', trigger: ['blur', 'change']}
50
48
  ],
@@ -56,7 +54,7 @@ export default function (data, gValue, gColor, oldData){
56
54
  server:'supplier-partner',
57
55
  fn:'shop',
58
56
  path:'p1',
59
- }, {cusume_mode: 1})
57
+ }, {consume_mode: 1})
60
58
  .then(res => {
61
59
  data.cb(res['consume_mode'])
62
60
  })
@@ -65,8 +63,6 @@ export default function (data, gValue, gColor, oldData){
65
63
  });
66
64
  },
67
65
  },
68
-
69
-
70
66
  0&&{
71
67
  label: '标签切换下划线样式:',
72
68
  ele: 'xd-radio',
@@ -83,7 +79,7 @@ export default function (data, gValue, gColor, oldData){
83
79
  {"label": "细线(短)", "value": "smallLineShort"},
84
80
  ]
85
81
  },
86
- {
82
+ 0&&{
87
83
  ele: 'title',
88
84
  label: '组件样式',
89
85
  size: 'small',
@@ -110,7 +106,7 @@ export default function (data, gValue, gColor, oldData){
110
106
  });
111
107
  },
112
108
  },
113
- {
109
+ 0&&{
114
110
  label: "门店样式",
115
111
  ele: "xd-style-image",
116
112
  groupKey: 'content',
@@ -138,7 +134,7 @@ export default function (data, gValue, gColor, oldData){
138
134
  });
139
135
  },
140
136
  },
141
- {
137
+ 0&&{
142
138
  label: "选项样式",
143
139
  ele: "xd-style-image",
144
140
  groupKey: 'content',
@@ -166,18 +162,17 @@ export default function (data, gValue, gColor, oldData){
166
162
  });
167
163
  },
168
164
  },
169
- {
165
+ 0&&{
170
166
  label: "展示内容",
171
167
  ele: "title",
172
168
  groupKey: "content",
173
169
  size: "small",
174
170
  },
175
-
176
- {
171
+ 0&&{
177
172
  label: '常用门店',
178
173
  ele: 'xd-cus-switch',
179
174
  valueKey: 'showOftenTab',
180
- value: dataVal({data, key:'showOftenTab', dValue:'N', gValue}),
175
+ value: 'N',//dataVal({data, key:'showOftenTab', dValue:'N', gValue}),
181
176
  isRefresh: true,
182
177
  className: 'input100',
183
178
  groupKey:'content',
@@ -187,11 +182,11 @@ export default function (data, gValue, gColor, oldData){
187
182
  isBackType: 'string'
188
183
  },
189
184
  },
190
- {
185
+ 0&&{
191
186
  ele:'xd-line',
192
187
  groupKey:'content'
193
188
  },
194
- {
189
+ 0&&{
195
190
  label: '门店图片',
196
191
  ele: 'xd-cus-switch',
197
192
  valueKey: 'showStoreImg',
@@ -205,11 +200,11 @@ export default function (data, gValue, gColor, oldData){
205
200
  isBackType: 'string'
206
201
  },
207
202
  },
208
- {
203
+ 0&&{
209
204
  ele:'xd-line',
210
205
  groupKey:'content'
211
206
  },
212
- {
207
+ 0&&{
213
208
  label: '门店地址',
214
209
  ele: 'xd-cus-switch',
215
210
  valueKey: 'showStoreAddress',
@@ -223,11 +218,11 @@ export default function (data, gValue, gColor, oldData){
223
218
  isBackType: 'string'
224
219
  },
225
220
  },
226
- {
221
+ 0&&{
227
222
  ele:'xd-line',
228
223
  groupKey:'content'
229
224
  },
230
- {
225
+ 0&&{
231
226
  label: '距离',
232
227
  ele: 'xd-cus-switch',
233
228
  valueKey: 'showStoreDistance',
@@ -240,11 +235,11 @@ export default function (data, gValue, gColor, oldData){
240
235
  isBackType: 'string'
241
236
  },
242
237
  },
243
- {
238
+ 0&&{
244
239
  ele:'xd-line',
245
240
  groupKey:'content'
246
241
  },
247
- {
242
+ 0&&{
248
243
  label: '折扣/价格',
249
244
  ele: 'xd-cus-switch',
250
245
  valueKey: 'showStorePrice',
@@ -259,8 +254,8 @@ export default function (data, gValue, gColor, oldData){
259
254
  isBackType: 'string'
260
255
  },
261
256
  },
262
- {ele: 'group_start'},
263
- {
257
+ 0&&{ele: 'group_start'},
258
+ 0&&{
264
259
  label: "全部选项",
265
260
  ele: "xd-radio",
266
261
  groupKey: "content",
@@ -274,12 +269,12 @@ export default function (data, gValue, gColor, oldData){
274
269
  labelInline: true,
275
270
  indent: true
276
271
  },
277
- {ele: 'group_end'},
278
- {
272
+ 0&&{ele: 'group_end'},
273
+ 0&&{
279
274
  ele:'xd-line',
280
275
  groupKey:'content'
281
276
  },
282
- {
277
+ 0&&{
283
278
  label: '快捷入口',
284
279
  ele: 'xd-cus-switch',
285
280
  valueKey: 'fastEntryStatus',
@@ -292,8 +287,8 @@ export default function (data, gValue, gColor, oldData){
292
287
  isBackType: 'string'
293
288
  },
294
289
  },
295
- {ele: 'group_start'},
296
- {
290
+ 0&&{ele: 'group_start'},
291
+ 0&&{
297
292
  label: '',
298
293
  ele: 'xd-name-check',
299
294
  valueKey: 'fastEntry',
@@ -301,21 +296,23 @@ export default function (data, gValue, gColor, oldData){
301
296
  value: dataVal({data, key:'fastEntry', dValue:[], gValue}),
302
297
  className: 'input100',
303
298
  setting: {
304
- isSort:false,
305
- width: 100,
299
+ isSort:true,
300
+ width: 90,
306
301
  },
307
302
  labelInline:true,
308
303
  hidden: data['fastEntryStatus'] !== 'Y',
309
304
  handleCustom({action, data}) {
310
305
  data.cb([
311
- {value:'cashier', label: '支持核销',input:'',check: false,placeholder:'支持核销名称,默认“去买单”'},
312
- {value:'buyTicket', label: '在线选座',input:'',check: false,placeholder:'在线选座名称,默认“去购票”'},
313
- {value:'code', label: '电子码门店',input:'',check: false,placeholder:'电子码门店称,默认“电子码”'},
314
- {value:'hdSelf', label: '小时达到店',input:'',check: false,placeholder:'小时达到店名称,默认“到店自取”'},
315
- {value:'travel', label: '旅游门票',input:'',check: false,placeholder:'旅游门票名称,默认“去购票”'}
306
+ {value:'jhd', label: '聚好兑', input:'',def:'聚好兑', check: false,placeholder:'服务类型为支持核销时使用'},
307
+ {value:'wb', label: '扫一扫',input:'',def:'扫一扫',check: false,placeholder:'服务类型为支持核销时使用'},
308
+ {value:'qp', label: '快捷码',input:'',def:'去提货',check: false,placeholder:'服务类型为支持核销时使用'},
309
+ {value:'seat', label: '在线选座',input:'',def:'去购票',check: false,placeholder:''},
310
+ {value:'code', label: '电子码',input:'',def:'电子码',check: false,placeholder:''},
311
+ {value:'hdSelf', label: '到店自取',input:'',def:'去下单',check: false,placeholder:'服务类型为小时达到店时使用'},
312
+ {value:'travel', label: '旅游门票',input:'',def:'去购票',check: false,placeholder:''}
316
313
  ])
317
314
  },
318
315
  },
319
- {ele: 'group_end'},
316
+ 0&&{ele: 'group_end'},
320
317
  ].filter(i=>i)
321
318
  }
@@ -40,7 +40,7 @@ export default function (data, gValue, gColor, oldData) {
40
40
  value: dataVal({
41
41
  data,
42
42
  key:'itemPadding',
43
- dValue:[gValue.isAdd && gValue.isFirst ?{top:16,left:16, right:16, bottom:16}:20],
43
+ dValue:[gValue.isAdd && gValue.isFirst ?{top:32,left:32, right:32, bottom:32}:20],
44
44
  gValue,
45
45
  isPM: true,
46
46
  }),
@@ -63,7 +63,7 @@ export default function (data, gValue, gColor, oldData) {
63
63
  },
64
64
  {ele: 'group_start'},
65
65
  {
66
- label: '颜色',
66
+ label: '',
67
67
  ele: 'xd-color',
68
68
  groupKey:'style',
69
69
  valueKey: 'cardItemBgColor',
@@ -79,7 +79,7 @@ export default function (data, gValue, gColor, oldData) {
79
79
  },
80
80
  {ele: 'group_end'},
81
81
  {
82
- label: '间距设置',
82
+ label: '行间距',
83
83
  ele: 'xd-radio',
84
84
  groupKey: 'style',
85
85
  valueKey: 'cardItemSpaceStatus',
@@ -124,7 +124,7 @@ export default function (data, gValue, gColor, oldData) {
124
124
  },
125
125
  {ele: 'group_start'},
126
126
  {
127
- label: '大小',
127
+ label: '',
128
128
  ele: 'xd-site-select-list',
129
129
  labelInline: true,
130
130
  valueKey: 'cardItemRadius',
@@ -201,66 +201,6 @@ export default function (data, gValue, gColor, oldData) {
201
201
  },
202
202
  },
203
203
 
204
- {
205
- label: '图片圆角',
206
- ele: 'xd-radio',
207
- groupKey: 'style',
208
- valueKey: 'itemImageRadiusStatus',
209
- value: statusDataVal({data, key:'itemImageRadiusStatus', cValue:'N', fields:['itemImageRadius'],gValue}),
210
- labelInline:true,
211
- list: [
212
- {label: '默认', value: 'D'},
213
- {label: '无圆角', value: 'N'},
214
- {label: '自定义', value: 'C'},
215
- ]
216
- },
217
- {ele: 'group_start'},
218
- {
219
- label: '大小',
220
- ele: 'xd-site-select-list',
221
- labelInline: true,
222
- valueKey: 'itemImageRadius',
223
- value: dataVal({data, key:'itemImageRadius', dValue:['10'], gValue}),
224
- hidden: !statusShow({data, key: 'itemImageRadiusStatus', fields:['itemImageRadius'], gValue}),
225
- placeholder: '请选择圆角',
226
- multiple: false,
227
- className: 'input40',
228
- groupKey:'style',
229
- handleCustom({action, data}) {
230
- XdBus.getParentApi('getOptionsSettingList')({
231
- setting_id: 'edtix_style_radius',
232
- key: Date.now()
233
- })
234
- .then(res => {
235
- res.list = res.list.filter(item=>{
236
- return item.label !== '无';
237
- });
238
- data.cb(res.list)
239
- })
240
- .catch(error => {
241
- console.error(error);
242
- });
243
- },
244
- },
245
- {ele: 'group_end'},
246
- {
247
- label: '图片描边',
248
- ele: 'xd-border',
249
- labelInline: true,
250
- groupKey:'style',
251
- valueKey: 'cardImageBorder',
252
- value: defCardImageBorder,
253
- setting: {
254
- selected:defCardImageBorder.type,
255
- isRadio: true,//启用editx默认
256
- isDef: true, //启动默认选项
257
- //==设置默认值==
258
- color: '#f8f8f8',
259
- width: '2',
260
- style: 'solid'
261
- //==设置默认值==
262
- },
263
- },
264
204
  {
265
205
  label: "背景颜色:",
266
206
  ele: "xd-color",
@@ -283,7 +223,7 @@ export default function (data, gValue, gColor, oldData) {
283
223
  },
284
224
  {ele: 'group_start'},
285
225
  {
286
- label: '文字颜色',
226
+ label: '',
287
227
  ele: 'xd-color',
288
228
  groupKey:'style',
289
229
  valueKey: 'distanceColor',
@@ -7,7 +7,6 @@ import {
7
7
  } from "@/utils/AttrTools";
8
8
 
9
9
  import shops from "./shops";
10
- import tab from "./tab";
11
10
 
12
11
  export default function (data, gValue,gColor,oldData){
13
12
  return [
@@ -62,7 +61,7 @@ export default function (data, gValue,gColor,oldData){
62
61
  },
63
62
  {ele: 'group_start'},
64
63
  {
65
- label: '颜色',
64
+ label: '',
66
65
  ele: 'xd-color',
67
66
  groupKey:'style',
68
67
  valueKey: 'contentBgColor',
@@ -77,7 +76,6 @@ export default function (data, gValue,gColor,oldData){
77
76
  inline: false,
78
77
  },
79
78
  {ele: 'group_end'},
80
- ...tab(data, gValue,gColor,oldData),
81
79
  ...shops(data, gValue,gColor,oldData),
82
80
 
83
81
  ].filter(i=>i)