yangc 7 gadi atpakaļ
vecāks
revīzija
8384c94209

+ 6 - 2
components/mobile/MobileHeader.vue

@@ -108,7 +108,7 @@
         return this.$store.state.componentDetail.detail.data
       },
       showEnHeader () {
-        return this.startWith(this.$route.path, '/mobile/center')
+        return this.startWith(this.$route.path, '/mobile/center') || this.startWith(this.$route.path, '/mobile/order')
       }
 //      showHeader () {
 //        return this.$route.path !== '/' || !this.$route.path || this.$route.path === ''
@@ -210,7 +210,11 @@
           title = '订单详情'
         } else if (this.startWith(val, '/mobile/order')) {
           this.showSearchIcon = false
-          title = '订单中心'
+          if (query.type === 'buyer') {
+            title = '采购订单'
+          } else {
+            title = '销售订单'
+          }
         } else {
           this.showSearchIcon = true
           title = '优软商城'

+ 1 - 1
components/provider/Suppliers.vue

@@ -19,7 +19,7 @@
             <a @click="goStoreApply" class="btn-sure"><button class="btn btn-primary">立即入驻</button></a>
           </td>
         </tr>
-        <nuxt-link tag="tr" :to="'/store/' + store.uuid" v-for="store in stores.content" v-if="store">
+        <nuxt-link tag="tr" :to="'/store/' + store.uuid" :key="store.uuid" v-for="store in stores.content" v-if="store">
           <td>
             <div class="logo">
               <a :href="'/store/' + store.uuid" target="_blank"><img :src="store.logoUrl || '/images/store/common/default.png'" :alt="store.storeName"></a>