Fix:4975 【商城小程序】点击蓝色的首页海报,应进入旅居订单列表页
This commit is contained in:
@@ -1397,6 +1397,12 @@ export default {
|
|||||||
this.$yrouter.push('/pages/home/newZone')
|
this.$yrouter.push('/pages/home/newZone')
|
||||||
},
|
},
|
||||||
goExperienceCoupon() {
|
goExperienceCoupon() {
|
||||||
|
if (this.hasUnusedExperienceCoupon === 0) {
|
||||||
|
uni.navigateTo({
|
||||||
|
url: '/pages/order/MyOrder/index?type=3&tabIndex=1'
|
||||||
|
})
|
||||||
|
return
|
||||||
|
}
|
||||||
this.$yrouter.push('/pkg_product/views/experienceCoupon')
|
this.$yrouter.push('/pkg_product/views/experienceCoupon')
|
||||||
},
|
},
|
||||||
init() {
|
init() {
|
||||||
|
|||||||
@@ -642,7 +642,11 @@ export default {
|
|||||||
},
|
},
|
||||||
onLoad() {
|
onLoad() {
|
||||||
this.type = this.type || parseInt(this.$yroute.query.type) || 0
|
this.type = this.type || parseInt(this.$yroute.query.type) || 0
|
||||||
this.changeType(this.type)
|
this.orderTypeTabIndex = parseInt(this.$yroute.query.tabIndex) || 0
|
||||||
|
this.orderTypeTabChange({
|
||||||
|
...this.orderTypeTabList[this.orderTypeTabIndex],
|
||||||
|
index: this.orderTypeTabIndex
|
||||||
|
})
|
||||||
},
|
},
|
||||||
onShareAppMessage() {
|
onShareAppMessage() {
|
||||||
uni.updateShareMenu({
|
uni.updateShareMenu({
|
||||||
@@ -957,7 +961,7 @@ export default {
|
|||||||
this.orderTypeTabIndex = item.index
|
this.orderTypeTabIndex = item.index
|
||||||
this.orderType = item.orderType
|
this.orderType = item.orderType
|
||||||
this.updateTabListByOrderType()
|
this.updateTabListByOrderType()
|
||||||
this.changeType()
|
this.changeType(this.type)
|
||||||
},
|
},
|
||||||
updateTabListByOrderType() {
|
updateTabListByOrderType() {
|
||||||
if (this.orderType === 'travel') {
|
if (this.orderType === 'travel') {
|
||||||
|
|||||||
Reference in New Issue
Block a user