shenjj 7 years ago
parent
commit
0266611c1c
2 changed files with 6 additions and 0 deletions
  1. 5 0
      components/mobile/MobileFooter.vue
  2. 1 0
      pages/mobile/order/details.vue

+ 5 - 0
components/mobile/MobileFooter.vue

@@ -66,6 +66,7 @@
       },
       activeType () {
         let path = this.$route.path
+        let _tp = this. $route.query.type
         if (path === '/') {
           return 'home'
         } else if (path === '/mobile/shop') {
@@ -74,6 +75,10 @@
           return 'user'
         } else if (this.baseUtils.startWith(path, '/mobile/center/user')) {
           return 'userCenter'
+        } else if (this.baseUtils.startWith(path, '/mobile/order') && _tp === 'buyer') {
+          return 'userCenter'
+        } else if (this.baseUtils.startWith(path, '/mobile/order') && _tp !== 'buyer') {
+          return 'vendorCenter'
         } else if (this.baseUtils.startWith(path, '/mobile/center/vendor')) {
           return 'vendorCenter'
         } else {

+ 1 - 0
pages/mobile/order/details.vue

@@ -433,6 +433,7 @@
           data[0].historyS = JSON.parse(data[0].statushistory)
           data[0].purchaseDetails = data[0].orderDetails
           data[0].purchaseRemark = data[0].orderRemark ? JSON.parse(data[0].orderRemark)[data[0].storeid] : ''
+          data[0].sendType = data[0].rule.method
           if (route.query.type === 'buyer') {
             sellsendGoodsTime = await axios.get(`/trade/tradebasicproperties/get/1054`)
           }