jufubao-base 1.0.207 → 1.0.208

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jufubao-base",
3
- "version": "1.0.207",
3
+ "version": "1.0.208",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -258,17 +258,6 @@ export default {
258
258
  },trigger: ['blur', 'change']
259
259
  }],
260
260
  },
261
- params['isCarousel']=== 2 && (params.poster && params.poster['type'] && params.poster['type'] === '1') && {
262
- label: '是否启用配套背景:',
263
- ele: 'xd-radio',
264
- valueKey: 'isSupport',
265
- value: params['isSupport'] || 'Y',
266
- groupKey:'style',
267
- list: [
268
- {"label": "启用", "value": 'Y'},
269
- {"label": "禁用", "value": 'N'},
270
- ]
271
- },
272
261
  {
273
262
  ele: 'title',
274
263
  label: '广告位参数配置',
@@ -335,6 +324,19 @@ export default {
335
324
  {"label": "轮播图显示", "value": 2},
336
325
  ]
337
326
  },
327
+ params['isCarousel']=== 2 && (params.poster && params.poster['type'] && params.poster['type'] === '1') && {
328
+ label: '是否启用配套背景:',
329
+ ele: 'xd-radio',
330
+ valueKey: 'isSupport',
331
+ value: params['isSupport'] || 'Y',
332
+ groupKey:'content',
333
+ list: [
334
+ {"label": "启用", "value": 'Y'},
335
+ {"label": "禁用", "value": 'N'},
336
+ ],
337
+ inline: false,
338
+ notice: '广告位使用轮播图模式,每个页面中<span style="color:red">仅允许一个广告位启用配套背景功能</span>,否则无法达到效果。',
339
+ },
338
340
  params['isCarousel'] === 2 && {
339
341
  label: '广告位轮播周期:',
340
342
  ele: 'el-input',
@@ -577,7 +577,9 @@
577
577
  this.padding = 20;
578
578
  }
579
579
  this.rows = getContainerPropsValue(container, 'content.rows', 1);
580
- if(this.posterType === '1' && this.isCarousel === 2) this.isSupport = getContainerPropsValue(container, 'content.isSupport', 'Y');
580
+ if(this.posterType === '1' && this.isCarousel === 2) {
581
+ this.isSupport = getContainerPropsValue(container, 'content.isSupport', 'Y');
582
+ }
581
583
  this.mS = getContainerPropsValue(container, 'content.margin', {});
582
584
  this.background = getContainerPropsValue(container, "content.background", '');
583
585
  this.bgImagePadding = getContainerPropsValue(container, 'content.bgImagePadding', {});