yangc 7 years ago
parent
commit
454d3e93d1
2 changed files with 6 additions and 3 deletions
  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 === '') {