jufubao-base 1.0.233-beta33 → 1.0.233
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
CHANGED
|
@@ -7,6 +7,9 @@ import CusAttr from "./CusAttr";
|
|
|
7
7
|
export default {
|
|
8
8
|
style: [],
|
|
9
9
|
content: (data) => {
|
|
10
|
+
let entryGroupId = 'default';
|
|
11
|
+
if(data['entryGroupId']) entryGroupId = data['entryGroupId'];
|
|
12
|
+
|
|
10
13
|
return [
|
|
11
14
|
{
|
|
12
15
|
label: '是否支持聚好兑:',
|
|
@@ -239,89 +242,12 @@ export default {
|
|
|
239
242
|
groupKey: "style",
|
|
240
243
|
type: "number",
|
|
241
244
|
},
|
|
242
|
-
// {
|
|
243
|
-
// label: "全部 - 列表单个样式配置",
|
|
244
|
-
// ele: "title",
|
|
245
|
-
// groupKey:'style',
|
|
246
|
-
// size: "small",
|
|
247
|
-
// },
|
|
248
|
-
// {
|
|
249
|
-
// label: "业务板块列表单个背景色",
|
|
250
|
-
// ele: "xd-color",
|
|
251
|
-
// valueKey: 'allModuleItemContBgColor',
|
|
252
|
-
// value: data['allModuleItemContBgColor'] || '#FFFFFF',
|
|
253
|
-
// groupKey:'style',
|
|
254
|
-
// },
|
|
255
|
-
// {
|
|
256
|
-
// label: "业务板块列表单个间距",
|
|
257
|
-
// ele: "el-input",
|
|
258
|
-
// valueKey: "allModuleItemContMargin",
|
|
259
|
-
// value: data.allModuleItemContMargin || 20,
|
|
260
|
-
// groupKey:'style',
|
|
261
|
-
// type: "number",
|
|
262
|
-
// },
|
|
263
|
-
// {
|
|
264
|
-
// label: "业务板块列表单个边框",
|
|
265
|
-
// ele: "xd-border",
|
|
266
|
-
// valueKey: 'allModuleItemContBorder',
|
|
267
|
-
// value: data['allModuleItemContBorder'] || null,
|
|
268
|
-
// groupKey:'style',
|
|
269
|
-
// },
|
|
270
|
-
// {
|
|
271
|
-
// label: "业务板块列表单个阴影",
|
|
272
|
-
// ele: "xd-shadow",
|
|
273
|
-
// groupKey:'style',
|
|
274
|
-
// valueKey: 'allModuleItemContShadow',
|
|
275
|
-
// value: data['allModuleItemContShadow'] || null,
|
|
276
|
-
// handleCustom({action, data}) {
|
|
277
|
-
// XdBus.getParentApi('getOptionsSettingList')({setting_id: 'edtix_style_radius'})
|
|
278
|
-
// .then(res => {
|
|
279
|
-
// data.cb(res.list)
|
|
280
|
-
// })
|
|
281
|
-
// .catch(error => {
|
|
282
|
-
// console.error(error);
|
|
283
|
-
// data.cb([])
|
|
284
|
-
// });
|
|
285
|
-
// },
|
|
286
|
-
// },
|
|
287
|
-
// {
|
|
288
|
-
// label: "业务板块列表单个内边距",
|
|
289
|
-
// ele: "xd-margin-padding",
|
|
290
|
-
// valueKey: "allModuleItemContPadding",
|
|
291
|
-
// value: data['allModuleItemContPadding'] || null,
|
|
292
|
-
// groupKey:'style',
|
|
293
|
-
// setting: {
|
|
294
|
-
// type: 'padding',
|
|
295
|
-
// },
|
|
296
|
-
// placeholder: '请设置内边距',
|
|
297
|
-
// inline: false,
|
|
298
|
-
// notice: '设置内边距,<span style="color: red">单位:像素</span>。默认值:<span style="color: red">20</span>像素',
|
|
299
|
-
// },
|
|
300
|
-
// {
|
|
301
|
-
// label: "业务板块列表单个圆角",
|
|
302
|
-
// ele: 'xd-site-select-list',
|
|
303
|
-
// valueKey: 'allModuleItemContRadius',
|
|
304
|
-
// value: data.allModuleItemContRadius || 16,
|
|
305
|
-
// groupKey:'style',
|
|
306
|
-
// placeholder: '请选择内容圆角设置',
|
|
307
|
-
// multiple: false,
|
|
308
|
-
// className: 'input80',
|
|
309
|
-
// handleCustom({ action, data }) {
|
|
310
|
-
// XdBus.getParentApi('getOptionsSettingList')({ setting_id: 'edtix_style_radius' })
|
|
311
|
-
// .then(res => {
|
|
312
|
-
// data.cb(res.list)
|
|
313
|
-
// })
|
|
314
|
-
// .catch(error => {
|
|
315
|
-
// console.error(error);
|
|
316
|
-
// });
|
|
317
|
-
// },
|
|
318
|
-
// },
|
|
319
245
|
|
|
320
246
|
{
|
|
321
247
|
label: '选择综合入口类型:',
|
|
322
248
|
ele: 'xd-site-select-list',
|
|
323
249
|
valueKey: 'entryGroupId',
|
|
324
|
-
value:
|
|
250
|
+
value: entryGroupId,
|
|
325
251
|
placeholder: '请选择综合入口类型',
|
|
326
252
|
multiple: false,
|
|
327
253
|
groupKey:'content',
|
|
@@ -349,12 +275,12 @@ export default {
|
|
|
349
275
|
multiple: false,
|
|
350
276
|
className: 'input80',
|
|
351
277
|
setting: {
|
|
352
|
-
group_id:
|
|
278
|
+
group_id: entryGroupId,
|
|
353
279
|
},
|
|
354
|
-
handleCustom(
|
|
355
|
-
XdBus.getParentApi('getSearchSettingOptions')(
|
|
280
|
+
handleCustom(resData) {
|
|
281
|
+
XdBus.getParentApi('getSearchSettingOptions')(resData.data.params)
|
|
356
282
|
.then(res => {
|
|
357
|
-
data.cb(res.list)
|
|
283
|
+
resData.data.cb(res.list)
|
|
358
284
|
})
|
|
359
285
|
.catch(error => {
|
|
360
286
|
console.error(error);
|