jufubao-base 1.0.195 → 1.0.196
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
|
@@ -295,6 +295,14 @@ export default {
|
|
|
295
295
|
sort: true,
|
|
296
296
|
maxlen: 100,
|
|
297
297
|
},
|
|
298
|
+
{
|
|
299
|
+
label: '背景颜色:',
|
|
300
|
+
ele: 'xd-color',
|
|
301
|
+
valueKey: 'bgColor',
|
|
302
|
+
value: params.bgColor || '',
|
|
303
|
+
groupKey:'content',
|
|
304
|
+
classNmae: 'input80',
|
|
305
|
+
},
|
|
298
306
|
{
|
|
299
307
|
label: '广告位置使用张数:',
|
|
300
308
|
ele: 'el-input',
|
|
@@ -168,6 +168,7 @@
|
|
|
168
168
|
isPreview: false,
|
|
169
169
|
noData:false,
|
|
170
170
|
background: '',
|
|
171
|
+
bgColor:'rgba(0,0,0,0)'
|
|
171
172
|
}
|
|
172
173
|
},
|
|
173
174
|
computed: {
|
|
@@ -181,6 +182,7 @@
|
|
|
181
182
|
image = Object.assign({},image,{
|
|
182
183
|
margin: this.margin,
|
|
183
184
|
padding: this.outPadding,
|
|
185
|
+
backgroundColor: this.bgColor,
|
|
184
186
|
})
|
|
185
187
|
return image
|
|
186
188
|
},
|
|
@@ -585,6 +587,7 @@
|
|
|
585
587
|
|
|
586
588
|
this.carouselTime = Number(getContainerPropsValue(container, 'content.carouselTime', 5)) * 1000;
|
|
587
589
|
this.useNumber = getContainerPropsValue(container, 'content.number', 1);
|
|
590
|
+
this.bgColor = getContainerPropsValue(container, 'content.bgColor', 'rgba(0,0,0,0)')
|
|
588
591
|
|
|
589
592
|
if(this.poster.size) {
|
|
590
593
|
this.width = this.poster.size.width;
|