Fix:5065 【商城小程序】选择体验券下单跳转到订单列表,返回上一级页面会返回到体验券选择,期望返回到个人中心页面
This commit is contained in:
+2
-1
@@ -235,7 +235,8 @@
|
|||||||
"path": "pages/order/MyOrder/index",
|
"path": "pages/order/MyOrder/index",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "我的订单",
|
"navigationBarTitleText": "我的订单",
|
||||||
"navigationBarBackgroundColor": "#fff"
|
"navigationBarBackgroundColor": "#fff",
|
||||||
|
"navigationStyle": "custom"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,5 +1,12 @@
|
|||||||
<template>
|
<template>
|
||||||
<view class="my-order v12-mx-2" ref="container" @click="handleBody">
|
<view class="my-order v12-mx-2" ref="container" @click="handleBody">
|
||||||
|
<u-navbar
|
||||||
|
title="我的订单"
|
||||||
|
:autoBack="false"
|
||||||
|
@leftClick="goUserCenter"
|
||||||
|
:fixed="true"
|
||||||
|
:placeholder="true"
|
||||||
|
/>
|
||||||
<view class="m-search-wrap v12-mb-2 v12-mt-3">
|
<view class="m-search-wrap v12-mb-2 v12-mt-3">
|
||||||
<u-search
|
<u-search
|
||||||
v-model="keyword"
|
v-model="keyword"
|
||||||
@@ -1108,6 +1115,11 @@ export default {
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
goUserCenter() {
|
||||||
|
this.$yrouter.switchTab({
|
||||||
|
path: '/pages/user/User/index'
|
||||||
|
})
|
||||||
|
},
|
||||||
changeType() {
|
changeType() {
|
||||||
this.orderList = []
|
this.orderList = []
|
||||||
this.page = 1
|
this.page = 1
|
||||||
|
|||||||
Reference in New Issue
Block a user