jufubao-mall 2.0.23 → 2.0.24

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jufubao-mall",
3
- "version": "2.0.23",
3
+ "version": "2.0.24",
4
4
  "private": false,
5
5
  "description": "聚福宝商城业务组件插件包",
6
6
  "main": "index.js",
@@ -113,7 +113,7 @@
113
113
  <view
114
114
  v-if="showQueryModal"
115
115
  class="jfb-filter-mask"
116
- :style="[queryMaskComp]"
116
+ :style="[queryTopComp]"
117
117
  @click="closeQueryModal"
118
118
  @touchmove.stop.prevent="moveHandle"
119
119
  ></view>
@@ -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(this.queryMaskComp.top) - 2) + 'rpx',
252
+ top: this.$configProject.isPreview ? 0 : (parseInt(top) - 2) + 'rpx',
257
253
  }
258
254
  },
259
255
  queryTopComp(){