jufubao-base 1.0.289-beta6 → 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-beta6",
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'}">
@@ -173,7 +174,7 @@
173
174
  filterTabIcon: [
174
175
  { value: 'area', label: '区域',icon: 'icondizhitubiao', size: 24 },
175
176
  { value: 'brand', label: '品牌',icon: 'iconxia_down', size: 18 },
176
- { value: 'shop', label: '门店分类',icon: 'iconxia_down', size: 18 },
177
+ { value: 'shop_category', label: '门店分类',icon: 'iconxia_down', size: 18 },
177
178
  { value: 'filter', label: '筛选', icon: 'iconshaixuanbiaoji_mian', size: 24 },
178
179
  { value: 'comprehensive', label: '综合', icon: 'iconxia_down', size: 18 },
179
180
  { value: 'sort', label: '排序', icon: 'iconxia_down', size: 18 },
@@ -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: {
@@ -414,8 +418,8 @@
414
418
  this.sort = '';
415
419
  if (item.filter_item && item.filter_item.tab_filter) {
416
420
  // 综合和排序的显示状态,当选中综合或排序时,下拉菜单取本地数据
417
- this.showComprehensive = item.filter_item.tab_filter.find(item => item.value === 'comprehensive')
418
- this.showSort = item.filter_item.tab_filter.find(item => item.value === 'sort')
421
+ this.showComprehensive = item.filter_item.tab_filter.find(item => item.value === 'comprehensive')?true:false;
422
+ this.showSort = item.filter_item.tab_filter.find(item => item.value === 'sort')?true:false;
419
423
  let filter_item = item.filter_item.tab_filter.filter(item => {
420
424
  return (item.value !== 'comprehensive'&&item.value !== 'sort')
421
425
  })
@@ -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;