jufubao-mall 2.0.20-beta12 → 2.0.20-beta14
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 +1 -1
- package/src/components/JfbMallBrandWall/JfbMallBrandWall.vue +1 -1
- package/src/components/JfbMallBrandWall/cusAttr/tab.js +1 -1
- package/src/components/JfbMallProductList/JfbMallProductList.vue +7 -1
- package/src/components/JfbMallProductList/XdCateV2.vue +2 -2
- package/src/components/JfbMallProductList/cateMixins.js +10 -4
package/package.json
CHANGED
|
@@ -725,7 +725,7 @@
|
|
|
725
725
|
}
|
|
726
726
|
this.titleRadius = gCPVal(container, 'titleRadius', [defTitleRadius,this.gStyleValue.radius,'0'],{sKey: 'titleRadiusStatus', fields: ['titleRadius']})||0;
|
|
727
727
|
this.titlePadding = gCPVal(container, 'titlePadding', 0,{sKey: 'titlePaddingStatus', fields: ['titlePadding']});
|
|
728
|
-
this.titleSp = gCPVal(container, 'titleSp', [(this.layout === 'v2'?0:48),
|
|
728
|
+
this.titleSp = gCPVal(container, 'titleSp', [(this.layout === 'v2'?0:48), 20],{sKey: 'titleSpStatus', fields: ['titleSp']});
|
|
729
729
|
|
|
730
730
|
//内容
|
|
731
731
|
this.contentBgc = gCPVal(container, 'contentBgc', '#fff',{sKey: 'contentBgcStatus', fields: ['contentBgc']} );
|
|
@@ -134,7 +134,7 @@ export default (datas, gValue, gColor, oldData={})=>{
|
|
|
134
134
|
groupKey: 'style',
|
|
135
135
|
ele: 'xd-slider',
|
|
136
136
|
valueKey: "titleSp",
|
|
137
|
-
value: dataVal({data, key:'titleSp', dValue:gValue.isFirst && gValue.isAdd?(data.layout === 'v2'?0:48):
|
|
137
|
+
value: dataVal({data, key:'titleSp', dValue:gValue.isFirst && gValue.isAdd?(data.layout === 'v2'?0:48):20}),
|
|
138
138
|
hidden: !statusShow({data, key: 'titleSpStatus', fields:['titleSp'], gValue}),
|
|
139
139
|
className: "input100",
|
|
140
140
|
labelInline: true,
|
|
@@ -547,7 +547,13 @@
|
|
|
547
547
|
if(this.stateCity.city_code) data['city_code'] = this.stateCity.city_code
|
|
548
548
|
}
|
|
549
549
|
if(this.brand_type === 'code') data['product_types'] = 'card';
|
|
550
|
-
if(this.trueCateId || this.truePid)
|
|
550
|
+
if(this.trueCateId || this.truePid) data['custom_category_id'] = this.trueCateId || this.truePid;
|
|
551
|
+
|
|
552
|
+
//自定义父分类的时候,选择全部使用parentId的全部
|
|
553
|
+
if(Number(this.parentId) > 0) {
|
|
554
|
+
if(!data['custom_category_id']) data['custom_category_id'] = Number(this.parentId);
|
|
555
|
+
}
|
|
556
|
+
|
|
551
557
|
return data;
|
|
552
558
|
},
|
|
553
559
|
|
|
@@ -339,7 +339,7 @@ export default {
|
|
|
339
339
|
background: #EEEEEE;
|
|
340
340
|
font-size: 24rpx;
|
|
341
341
|
font-weight: 400;
|
|
342
|
-
color: #
|
|
342
|
+
color: #666;
|
|
343
343
|
border-radius: 80rpx;
|
|
344
344
|
min-width: 128rpx;
|
|
345
345
|
text-align: center;
|
|
@@ -441,7 +441,7 @@ export default {
|
|
|
441
441
|
border-radius: 32rpx;
|
|
442
442
|
background: #f7f7f7;
|
|
443
443
|
box-sizing: border-box;
|
|
444
|
-
color: #
|
|
444
|
+
color: #666;
|
|
445
445
|
font-size: 24rpx;
|
|
446
446
|
padding: 0 16rpx;
|
|
447
447
|
font-weight: 400;
|
|
@@ -65,8 +65,12 @@ export default {
|
|
|
65
65
|
},
|
|
66
66
|
|
|
67
67
|
borderComp(){
|
|
68
|
+
let border = 0;
|
|
69
|
+
if(typeof this.tabStyle['subTitleIconBorder'] === 'string' && this.tabStyle['subTitleIconBorder']) {
|
|
70
|
+
border = (parseInt(this.tabStyle['subTitleIconBorder'].split(' ')[0]) * this.$rpxNum) + 'px'
|
|
71
|
+
}
|
|
68
72
|
return {
|
|
69
|
-
'--sub-icon-border' :
|
|
73
|
+
'--sub-icon-border' : border,
|
|
70
74
|
'--sub-icon-w-radius': parseInt(this.tabStyle['subTitleRadius']) * this.$rpxNum + 'px',
|
|
71
75
|
'--sub-icon-right-sp': (this.tabStyle['iconImageSp'] || 16) * this.$rpxNum + 'px',
|
|
72
76
|
backgroundColor: this.titleBgcColor,
|
|
@@ -76,15 +80,17 @@ export default {
|
|
|
76
80
|
subTitleIcon(){
|
|
77
81
|
let style = { borderRadius: this.tabStyle['subTitleRadius']}
|
|
78
82
|
if(this.showType === 'parentNew') {
|
|
79
|
-
let
|
|
80
|
-
|
|
83
|
+
let border = 0;
|
|
84
|
+
if(typeof this.tabStyle['subTitleIconBorder'] === 'string' && this.tabStyle['subTitleIconBorder']) {
|
|
85
|
+
border = this.tabStyle['subTitleIconBorder'].split(' ')[0];
|
|
86
|
+
}
|
|
87
|
+
style['border'] = `${border} solid rgba(255,255,255,0.01)`;
|
|
81
88
|
}
|
|
82
89
|
return style
|
|
83
90
|
},
|
|
84
91
|
subActTitleIcon(){
|
|
85
92
|
let style = { borderRadius: this.tabStyle['subTitleRadius']}
|
|
86
93
|
if(this.showType === 'parentNew') {
|
|
87
|
-
let num = this.tabStyle['subTitleIconBorder'].split(' ')[0];
|
|
88
94
|
style['border'] = this.tabStyle['subTitleIconBorder'];
|
|
89
95
|
}
|
|
90
96
|
return style
|