yangc 7 年之前
父節點
當前提交
454d3e93d1
共有 2 個文件被更改,包括 6 次插入3 次删除
  1. 2 1
      assets/scss/mobileCommon.scss
  2. 4 2
      components/provider/Suppliers.vue

+ 2 - 1
assets/scss/mobileCommon.scss

@@ -470,7 +470,8 @@ html {
       font-size: .3rem;
       margin-top: .06rem;
       img {
-        width: .31rem;
+        height: .25rem;
+        margin-top: -.02rem;
         margin-right: .05rem;
       }
     }

+ 4 - 2
components/provider/Suppliers.vue

@@ -69,7 +69,8 @@ export default {
         page: 1,
         count: 10,
         keyword: '',
-        types: this.types
+        type: this.types,
+        field: ''
       }
     }
   },
@@ -93,7 +94,8 @@ export default {
     search (obj) {
       this.pageParams.page = 1
       this.pageParams.keyword = obj.keyword === '' ? null : obj.keyword
-      this.$store.dispatch('provider/findSimilarStoreList', this.pageParams)
+      this.pageParams.field = obj.type ? 'similar' : null
+      this.pageCommodity(this.pageParams)
     },
     showLittleDescription (description) {
       if (!description || description === '') {