Feat(个人中心):订单类型列表跳转调整

This commit is contained in:
linxi
2024-09-09 10:20:24 +08:00
parent aaa6a2299f
commit b27d9b12fe
+10 -2
View File
@@ -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]
}
})
},