jufubao-base 1.0.111 → 1.0.114
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
|
@@ -183,7 +183,7 @@
|
|
|
183
183
|
let cell = this.posterType === '2' ? 2: (this.posterType === '3' ? 3 : 4);
|
|
184
184
|
let spacing = Math.floor((cell - 1) * this.padding * this.$rpxNum);
|
|
185
185
|
let padding = 0;
|
|
186
|
-
if(this.$xdUniHelper.isEmpty(this.background)) padding = 20;
|
|
186
|
+
if(this.background === 'none' || this.$xdUniHelper.isEmpty(this.background)) padding = 20;
|
|
187
187
|
let addPadding = ((this.bgImagePadding.right !== null? this.bgImagePadding.right:padding) +
|
|
188
188
|
(this.bgImagePadding.left !== null? this.bgImagePadding.left : padding)) * this.$rpxNum;
|
|
189
189
|
let viewWidth = uni.getSystemInfoSync().safeArea.width - ((this.mS.right || 0) + (this.mS.left || 0)) * this.$rpxNum - addPadding - spacing;
|
|
@@ -285,7 +285,7 @@
|
|
|
285
285
|
outPadding(){
|
|
286
286
|
try {
|
|
287
287
|
let defaultvalue = 0;
|
|
288
|
-
if(this.$xdUniHelper.isEmpty(this.background)) defaultvalue = 20
|
|
288
|
+
if(this.background === 'none' || this.$xdUniHelper.isEmpty(this.background)) defaultvalue = 20
|
|
289
289
|
console.log(this.bgImagePadding,'this.paddingthis.paddingthis.padding');
|
|
290
290
|
let padding = `${this.bgImagePadding.top !== null ? this.bgImagePadding.top : defaultvalue}rpx`;
|
|
291
291
|
padding = `${padding} ${this.bgImagePadding.right !== null ? this.bgImagePadding.right : defaultvalue}rpx`;
|