jufubao-mall 2.0.23 → 2.0.25
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
|
@@ -238,11 +238,6 @@ export default {
|
|
|
238
238
|
}
|
|
239
239
|
},
|
|
240
240
|
computed:{
|
|
241
|
-
queryMaskComp(){
|
|
242
|
-
return {
|
|
243
|
-
top: this.topHeight + this.layoutInfo.top + 'rpx'
|
|
244
|
-
}
|
|
245
|
-
},
|
|
246
241
|
placeholderStyleComp(){
|
|
247
242
|
let {paddingTb, borderTopWidth} = this.cusMenuStyle;
|
|
248
243
|
return {
|
|
@@ -250,10 +245,11 @@ export default {
|
|
|
250
245
|
}
|
|
251
246
|
},
|
|
252
247
|
menuStyleTopComp(){
|
|
248
|
+
let top = this.topHeight + this.layoutInfo.top;
|
|
253
249
|
return {
|
|
254
250
|
zIndex: this.showQueryModal ? 1002 : 1,
|
|
255
251
|
position:this.$configProject.isPreview?'absolute':'fixed',
|
|
256
|
-
top: this.$configProject.isPreview ? 0 : (parseInt(
|
|
252
|
+
top: this.$configProject.isPreview ? 0 : (parseInt(top) - 2) + 'rpx',
|
|
257
253
|
}
|
|
258
254
|
},
|
|
259
255
|
queryTopComp(){
|
|
@@ -263,6 +259,13 @@ export default {
|
|
|
263
259
|
top: this.topHeight + this.layoutInfo.top + (height + paddingTb - 2) + 'rpx'
|
|
264
260
|
}
|
|
265
261
|
},
|
|
262
|
+
queryMaskComp(){
|
|
263
|
+
let {paddingTb} = this.cusMenuStyle;
|
|
264
|
+
let height = 48;//默认90高,填充0
|
|
265
|
+
return {
|
|
266
|
+
top: this.topHeight + this.layoutInfo.top + (height + paddingTb) + 'rpx'
|
|
267
|
+
}
|
|
268
|
+
},
|
|
266
269
|
menuTextColorComp(){
|
|
267
270
|
return {
|
|
268
271
|
color: this.cusMenuStyle.color || '#999'
|
|
@@ -596,7 +599,9 @@ export default {
|
|
|
596
599
|
initFilterData(){
|
|
597
600
|
if(this.remoteList.length === 0) this.filterTabsOrg = [];
|
|
598
601
|
else {
|
|
599
|
-
this.filterTabsOrg = this.$xdUniHelper.cloneDeep(this.remoteList).
|
|
602
|
+
this.filterTabsOrg = this.$xdUniHelper.cloneDeep(this.remoteList).filter(item=>{
|
|
603
|
+
return item.options && item.options.length > 0
|
|
604
|
+
}).map(item=>{
|
|
600
605
|
let isOwnAttr = !(item.value.indexOf('attr') === 0);
|
|
601
606
|
//当前菜单不在快捷方式里面时候进行数据初始化
|
|
602
607
|
if(isOwnAttr) {
|