소스 검색

验收修改

yangc 8 년 전
부모
커밋
bd20893cc3
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      pages/mobile/search/_keycode.vue

+ 3 - 3
pages/mobile/search/_keycode.vue

@@ -1,8 +1,8 @@
 <template>
   <div class="search-list">
     <div class="search-item" v-if="productList.expose > 0 || productList.brands">
-      <span :class="activeType=='store'?'active':''" @click="clickType('store')">仅看有货</span>
-      <span :class="activeType=='support'?'active':''" @click="clickType('support')">店铺自营</span>
+      <span :class="activeType=='store'?'active':''" @click="clickType('store')">所有器件</span>
+      <span :class="activeType=='support'?'active':''" @click="clickType('support')">仅看有货</span>
     </div>
 
     <div class="brand-list-content" v-if="(!productList.brands && brandList && brandList.length > 0) && productList.expose > 0">
@@ -109,7 +109,7 @@
         }
         if (type === 'support') {
           this.activeType = 'support'
-          this.$store.dispatch('searchData/searchForListInMobile', {count: 15, filter: {'goods_store_type': ['ORIGINAL_FACTORY', 'AGENCY', 'DISTRIBUTION']}, keyword: this.$route.query.w, page: 1, sorting: {'GO_RESERVE': 'DESC', 'GO_SEARCH': 'DESC'}})
+          this.$store.dispatch('searchData/searchForListInMobile', {count: 15, filter: {'goods_status': 601}, keyword: this.$route.query.w, page: 1, sorting: {'GO_RESERVE': 'DESC', 'GO_SEARCH': 'DESC'}})
         }
       },
       goBrand: function (uuid) {