Feat(个人中心):订单类型列表跳转调整
This commit is contained in:
@@ -156,7 +156,7 @@
|
||||
</view>
|
||||
<text>待评价</text>
|
||||
</view>
|
||||
<view @click="goReturnList()" class="item">
|
||||
<view @click="goMyOrder(5)" class="item">
|
||||
<view class="pictrue">
|
||||
<image
|
||||
:src="webUrl+'/icon/icon-order-status5.png'"
|
||||
@@ -427,10 +427,18 @@ export default {
|
||||
this.$yrouter.push('/pages/order/ReturnList/index')
|
||||
},
|
||||
goMyOrder(type) {
|
||||
const types = {
|
||||
0: 0,
|
||||
1: 1,
|
||||
2: 2,
|
||||
3: 3,
|
||||
4: 5,
|
||||
5: 4,
|
||||
}
|
||||
this.$yrouter.push({
|
||||
path: '/pages/order/MyOrder/index',
|
||||
query: {
|
||||
type
|
||||
type: types[type]
|
||||
}
|
||||
})
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user