jufubao-mall 2.0.31-beta103 → 2.0.31-beta104
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
|
@@ -213,10 +213,7 @@
|
|
|
213
213
|
let itemWidth = this.rightNavImgSize;
|
|
214
214
|
return {
|
|
215
215
|
width: itemWidth + 'rpx',
|
|
216
|
-
|
|
217
|
-
border: this.getBorderCompatibleOldStyle(this.rightNavItemBorder, {}),
|
|
218
|
-
boxShadow: this.rightNavItemShadow,
|
|
219
|
-
backgroundColor: this.rightNavItemBGColor,
|
|
216
|
+
|
|
220
217
|
}
|
|
221
218
|
},
|
|
222
219
|
rightNavItemImgStyleComp(){
|
|
@@ -224,7 +221,11 @@
|
|
|
224
221
|
let imgW = itemWidth - this.rightNavItemPadding * 2;
|
|
225
222
|
return {
|
|
226
223
|
width: imgW + 'rpx',
|
|
227
|
-
height: imgW + 'rpx'
|
|
224
|
+
height: imgW + 'rpx',
|
|
225
|
+
borderRadius: this.rightNavItemRadius + 'rpx',
|
|
226
|
+
backgroundColor: this.rightNavItemBGColor,
|
|
227
|
+
boxShadow: this.rightNavItemShadow,
|
|
228
|
+
border: this.getBorderCompatibleOldStyle(this.rightNavItemBorder, {}),
|
|
228
229
|
}
|
|
229
230
|
},
|
|
230
231
|
rightNavItemNameStyleComp(){
|
|
@@ -339,7 +340,7 @@
|
|
|
339
340
|
this.rightNavItemBGColor = gCPVal(container, 'rightNavItemBGColor', '#FFFFFF', {sKey:'rightNavItemBGColorStatus'});
|
|
340
341
|
this.rightNavItemShadow = gCPVal(container, 'rightNavItemShadow', {color: '#eee',width: '0'}, {isShadow: true});
|
|
341
342
|
this.rightNavItemBorder = gCPVal(container, 'rightNavItemBorder', {});
|
|
342
|
-
this.rightNavItemRadius = gCPVal(container,'rightNavItemRadius',
|
|
343
|
+
this.rightNavItemRadius = gCPVal(container,'rightNavItemRadius', 16, {sKey:'rightNavItemRadiusStatus'});
|
|
343
344
|
this.rightNavItemFontColor = gCPVal(container,'rightNavItemFontColor', '#666666', {sKey:'rightNavItemFontStatus', fields: ['rightNavItemFontSize', 'rightNavItemFontColor']});
|
|
344
345
|
this.rightNavItemFontSize = gCPVal(container,'rightNavItemFontSize', 24, {sKey:'rightNavItemFontStatus', fields: ['rightNavItemFontSize', 'rightNavItemFontColor']});
|
|
345
346
|
console.log("this.rightNavItemFontSize", this.rightNavItemFontSize);
|
|
@@ -439,12 +440,12 @@
|
|
|
439
440
|
let pStr = "";
|
|
440
441
|
for(let iKey in cur){
|
|
441
442
|
if(typeof cur[iKey] === 'string' || typeof cur[iKey] === 'number'){
|
|
442
|
-
pStr +=
|
|
443
|
+
pStr += `,${cur[iKey]}`;
|
|
443
444
|
}else if(typeof cur[iKey] === 'object' && cur[iKey].value){
|
|
444
|
-
pStr +=
|
|
445
|
+
pStr += `,${cur[iKey].value}`;
|
|
445
446
|
}
|
|
446
447
|
}
|
|
447
|
-
rParams[key] = pStr;
|
|
448
|
+
rParams[key] = pStr.substring(1);
|
|
448
449
|
}
|
|
449
450
|
if(typeof rParams[key] === 'object'){
|
|
450
451
|
if(rParams[key].value){
|
|
@@ -542,15 +543,16 @@
|
|
|
542
543
|
this.cateIndex = index;
|
|
543
544
|
this.loadCateIndex = index;
|
|
544
545
|
let curCate = this.categoryList[index];
|
|
545
|
-
|
|
546
|
+
|
|
546
547
|
//是否最后一个分类
|
|
547
548
|
if(this.cateIndex === this.categoryList.length - 1){
|
|
548
549
|
await this.loadPreCateProduct(index);
|
|
549
550
|
}
|
|
550
551
|
//当前分类未加载过,则加载当前分类数据
|
|
551
552
|
if(!curCate.loaded){
|
|
552
|
-
this.p_getSubCateList();
|
|
553
|
+
await this.p_getSubCateList();
|
|
553
554
|
}
|
|
555
|
+
this.prodScrollIntoView = this.getID(curCate);
|
|
554
556
|
setTimeout(()=>{
|
|
555
557
|
this.pointerScroll = true;
|
|
556
558
|
}, 500)
|
|
@@ -736,11 +738,11 @@
|
|
|
736
738
|
},
|
|
737
739
|
onJfbShow(options) {
|
|
738
740
|
console.log('event.onJfbShow', options)
|
|
739
|
-
this.categoryList = [];
|
|
740
|
-
this.cateIndex = 0;
|
|
741
|
-
this.loadCateIndex = 0;
|
|
742
|
-
this.pointerScroll = true;
|
|
743
|
-
this.onJfbLoad(options);
|
|
741
|
+
// this.categoryList = [];
|
|
742
|
+
// this.cateIndex = 0;
|
|
743
|
+
// this.loadCateIndex = 0;
|
|
744
|
+
// this.pointerScroll = true;
|
|
745
|
+
// this.onJfbLoad(options);
|
|
744
746
|
},
|
|
745
747
|
onJfbHide(options) {
|
|
746
748
|
console.log('event.onJfbHide', options)
|
|
@@ -886,6 +888,7 @@
|
|
|
886
888
|
align-items: center;
|
|
887
889
|
padding: 12rpx;
|
|
888
890
|
box-sizing: border-box;
|
|
891
|
+
overflow: hidden;
|
|
889
892
|
image{
|
|
890
893
|
width: 100%;
|
|
891
894
|
height: 100%;
|
|
@@ -854,7 +854,7 @@ export default function (data={},gValue={},gColor={},oldData) {
|
|
|
854
854
|
ele: 'xd-site-select-list',
|
|
855
855
|
labelInline: true,
|
|
856
856
|
valueKey: 'rightNavItemRadius',
|
|
857
|
-
value: dataVal({data, key:'rightNavItemRadius', dValue:'
|
|
857
|
+
value: dataVal({data, key:'rightNavItemRadius', dValue:'16', gValue}),
|
|
858
858
|
hidden: !statusShow({data, key: 'rightNavItemRadiusStatus', fields:['rightNavItemRadius'], gValue}),
|
|
859
859
|
placeholder: '请选择图标是否设置圆角',
|
|
860
860
|
multiple: false,
|