jufubao-mall 1.0.63 → 1.0.64
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
|
@@ -143,24 +143,24 @@
|
|
|
143
143
|
radius: 0,
|
|
144
144
|
padding: 0,
|
|
145
145
|
page_size: 10,
|
|
146
|
-
|
|
146
|
+
|
|
147
147
|
//标题样式
|
|
148
148
|
titleTextColor:'',
|
|
149
149
|
titleActTextColor: '',
|
|
150
150
|
titleBackgroundColor: '',
|
|
151
151
|
titleActBackgroundColor: '',
|
|
152
|
-
|
|
152
|
+
|
|
153
153
|
//投影
|
|
154
154
|
is_shadow: 'Y',
|
|
155
155
|
is_shadow_bg: 0,
|
|
156
156
|
is_shadow_w: 0,
|
|
157
|
-
|
|
158
|
-
|
|
157
|
+
|
|
158
|
+
|
|
159
159
|
//边框
|
|
160
160
|
is_border: 'Y',
|
|
161
161
|
is_border_w: 0,
|
|
162
162
|
is_border_c: '',
|
|
163
|
-
|
|
163
|
+
|
|
164
164
|
margin: {
|
|
165
165
|
top: 0,
|
|
166
166
|
left: 0,
|
|
@@ -187,7 +187,7 @@
|
|
|
187
187
|
margingTB() {
|
|
188
188
|
return `${this.margin.top || 32}rpx 0rpx ${this.margin.bottom || 32}rpx 0rpx`;
|
|
189
189
|
},
|
|
190
|
-
|
|
190
|
+
|
|
191
191
|
boxMargin(){
|
|
192
192
|
let left = 0, top = 0, bottom = 0, right = this.padding;
|
|
193
193
|
if(this.is_shadow === 'Y') {
|
|
@@ -195,7 +195,7 @@
|
|
|
195
195
|
right = right - this.is_shadow_w;
|
|
196
196
|
}
|
|
197
197
|
return `${top}rpx ${right}rpx ${bottom}rpx ${left}rpx`;
|
|
198
|
-
|
|
198
|
+
|
|
199
199
|
},
|
|
200
200
|
getBgImage(){
|
|
201
201
|
let bg = '';
|
|
@@ -210,7 +210,7 @@
|
|
|
210
210
|
},
|
|
211
211
|
outPadding(){
|
|
212
212
|
let defaultvalue = 0;
|
|
213
|
-
if(this
|
|
213
|
+
if(!this.getBgImage) defaultvalue = 20
|
|
214
214
|
console.log(this.bgImagePadding,'this.paddingthis.paddingthis.padding');
|
|
215
215
|
let padding = `${this.bgImagePadding.top !== null ? this.bgImagePadding.top : defaultvalue}rpx`;
|
|
216
216
|
padding = `${padding} ${this.bgImagePadding.right !== null ? this.bgImagePadding.right : defaultvalue}rpx`;
|
|
@@ -236,7 +236,7 @@
|
|
|
236
236
|
onJfbLoad(options) {
|
|
237
237
|
//设置业务请求代码
|
|
238
238
|
this.setNameSpace(options);
|
|
239
|
-
|
|
239
|
+
|
|
240
240
|
this.getList();
|
|
241
241
|
},
|
|
242
242
|
/**
|
|
@@ -253,30 +253,30 @@
|
|
|
253
253
|
this.page_size = getContainerPropsValue(container, "content.page_size", 10);
|
|
254
254
|
this.isCityFilter = getContainerPropsValue(container, "content.isCityFilter", "N");
|
|
255
255
|
|
|
256
|
-
|
|
256
|
+
|
|
257
257
|
this.backgroundColor = getContainerPropsValue(container, 'content.backgroundColor',' #fff');
|
|
258
258
|
this.radius = getContainerPropsValue(container, 'content.radius', 0);
|
|
259
259
|
this.padding = getContainerPropsValue(container, 'content.padding', 32);
|
|
260
260
|
this.margin = getContainerPropsValue(container, 'content.margin', {top: 0, left: 0, right: 0, bottom: 0});
|
|
261
|
-
|
|
262
|
-
|
|
261
|
+
|
|
262
|
+
|
|
263
263
|
//标题
|
|
264
264
|
this.tabIndex = 0;
|
|
265
265
|
this.titleTextColor = getContainerPropsValue(container, 'content.titleTextColor', '#333');
|
|
266
266
|
this.titleActTextColor = getContainerPropsValue(container, 'content.titleActTextColor', '#fff');
|
|
267
267
|
this.titleBackgroundColor = getContainerPropsValue(container, 'content.titleBackgroundColor', '#fff');
|
|
268
268
|
this.titleActBackgroundColor = getContainerPropsValue(container, 'content.titleActBackgroundColor', this.mainGradient);
|
|
269
|
-
|
|
269
|
+
|
|
270
270
|
this.is_shadow = getContainerPropsValue(container, 'content.is_shadow', 'N');
|
|
271
271
|
this.is_shadow_bg = getContainerPropsValue(container, 'content.is_shadow_bg', '#fff');
|
|
272
272
|
this.is_shadow_w = getContainerPropsValue(container, 'content.is_shadow_w', '10');
|
|
273
|
-
|
|
273
|
+
|
|
274
274
|
this.is_border = getContainerPropsValue(container, 'content.is_border', 'N');
|
|
275
275
|
this.is_border_c = getContainerPropsValue(container, 'content.is_border_c', '#fff');
|
|
276
276
|
this.is_border_w = getContainerPropsValue(container, 'content.is_border_w', '10');
|
|
277
|
-
|
|
277
|
+
|
|
278
278
|
this.compBgColor = getContainerPropsValue(container, 'content.compBgColor', '#fff');
|
|
279
|
-
|
|
279
|
+
|
|
280
280
|
this.bgImage = getContainerPropsValue(container, 'content.bgImage', 'none');
|
|
281
281
|
console.log(this.bgImagePadding,'this.bgImagePadding');
|
|
282
282
|
this.bgImagePadding = getContainerPropsValue(container, 'content.bgImagePadding', {top: 20, left: 20, right: 20, bottom: 20});
|
|
@@ -337,7 +337,7 @@
|
|
|
337
337
|
&__body{
|
|
338
338
|
z-index: 0 !important;
|
|
339
339
|
.brand_wrap{
|
|
340
|
-
|
|
340
|
+
|
|
341
341
|
}
|
|
342
342
|
.brand_header{
|
|
343
343
|
display: flex;
|
|
@@ -359,7 +359,7 @@
|
|
|
359
359
|
}
|
|
360
360
|
.brand_list{
|
|
361
361
|
margin-top: unit(32, rpx)!important;
|
|
362
|
-
|
|
362
|
+
|
|
363
363
|
.brand_scroll{
|
|
364
364
|
width: 100%;
|
|
365
365
|
white-space: nowrap;
|