This commit is contained in:
曹辉 2023-05-26 17:02:22 +08:00
parent 0de2af9205
commit 41532b5b5d
3 changed files with 14 additions and 8 deletions

View File

@ -18,7 +18,7 @@
<span v-if="item.orderStatus=='RECEIVED_GOODS'">待评价</span>
<span v-if="item.orderStatus=='EVALUATED'">已完成</span>
<span v-if="item.orderStatus=='PAY'">待发货</span>
<span v-if="item.orderStatus=='REFUNDED'">退款成功</span>
<span v-if="item.orderStatus=='REFUNDED'">退款</span>
<span v-if="item.orderStatus=='WAIT_RETURNED_GOODS'">待退货</span>
<span v-if="item.orderStatus=='RETURNED_GOODS'">退款成功</span>
</view>
@ -157,7 +157,7 @@
uni.setStorageSync("Refresh", 'Refresh')
setTimeout(e => {
uni.navigateTo({
url: `/pages/goodsorderRate/goodsorderRate?item=${JSON.stringify(this.orderNoitem)}&delta=${3}`
url: `/pages/goodsorderRate/goodsorderRate?item=${JSON.stringify(this.orderNoitem)}&delta=${1}`
})
// uni.navigateTo({
// url: `/pages/orderDetails/orderDetails?goodsOrderId=${this.orderNoitem.goodsOrderId}`
@ -228,7 +228,7 @@
//
rate(item) {
uni.navigateTo({
url: `/pages/goodsorderRate/goodsorderRate?item=${JSON.stringify(item)}&delta=${3}`
url: `/pages/goodsorderRate/goodsorderRate?item=${JSON.stringify(item)}&delta=${1}`
})
},
//

View File

@ -114,9 +114,15 @@
}
that.timer = setTimeout(e => {
that.imgs = []
uni.navigateTo({
url: `/pages/ratesuccess/ratesuccess?delta=${that.delta}`
})
if (that.delta == 2) {
uni.navigateBack({
delta: 2
})
} else if (that.delta == 1) {
uni.navigateBack({
delta: 1
})
}
}, 1500)
} else {
that.imgs = []

View File

@ -199,7 +199,7 @@
this.goodsOrderinfo()
setTimeout(e => {
uni.navigateTo({
url: `/pages/goodsorderRate/goodsorderRate?item=${JSON.stringify(this.order)}&delta=${4}`
url: `/pages/goodsorderRate/goodsorderRate?item=${JSON.stringify(this.order)}&delta=${2}`
})
}, 1000)
} else {
@ -225,7 +225,7 @@
//
rate() {
uni.navigateTo({
url: `/pages/goodsorderRate/goodsorderRate?item=${JSON.stringify(this.order)}&delta=${4}`
url: `/pages/goodsorderRate/goodsorderRate?item=${JSON.stringify(this.order)}&delta=${2}`
})
},
//