|
|
@@ -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 {
|