jufubao-base 1.0.289-beta7 → 1.0.289-beta9

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-base",
3
- "version": "1.0.289-beta7",
3
+ "version": "1.0.289-beta9",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -68,6 +68,7 @@
68
68
  ></xd-query-sort>
69
69
  </view>
70
70
  </view>
71
+ <view v-show="curQueryTab" class="modal"></view>
71
72
 
72
73
  <view v-if="!isPreview" :style="{height: menuHeight}"></view>
73
74
  <view class="tfk-search" :style="{padding: outSpacing + 'rpx'}">
@@ -193,7 +194,7 @@
193
194
  showSort:false,
194
195
  brands: [],
195
196
  namespace: '',
196
- sortList: []
197
+ sortList: [],
197
198
  }
198
199
  },
199
200
  computed: {
@@ -287,6 +288,9 @@
287
288
  allModuleItemContRadius: this.allModuleItemContRadius,
288
289
  allModuleItemContBgColor: this.allModuleItemContBgColor
289
290
  }
291
+ },
292
+ showQueryModal() {
293
+ return this.curQueryTab?true:false
290
294
  }
291
295
  },
292
296
  watch: {
@@ -509,11 +513,11 @@
509
513
  },
510
514
  handleQueryFilter({ items, ids, labels }) {
511
515
  const maps = {
512
- 'brand': 'brands',
516
+ 'brand': 'brand_ids',
513
517
  'area': 'area_codes',
514
518
  'delivery_method': 'delivery_methods',
515
519
  'shop_category': 'category_ids',
516
- 'business_line': 'business_lines'
520
+ 'business_line': 'namespaces'
517
521
  };
518
522
  Object.keys(items).map(key => {
519
523
  let keys = Object.keys(maps);
@@ -616,4 +620,13 @@
616
620
  }
617
621
  }
618
622
  }
623
+ .modal{
624
+ position: fixed;
625
+ width: 100%;
626
+ height: 100%;
627
+ left: 0;
628
+ top: 0;
629
+ background: rgba(0, 0, 0, .4);
630
+ z-index: 102;
631
+ }
619
632
  </style>
@@ -309,7 +309,7 @@ export default {
309
309
  flex-wrap: wrap;
310
310
  justify-content: flex-start;
311
311
  align-items: center;
312
- max-height: 50vh;
312
+ // max-height: 50vh;
313
313
 
314
314
  & > ._tag{
315
315
  text-align: center;