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=='RECEIVED_GOODS'">待评价</span>
<span v-if="item.orderStatus=='EVALUATED'">已完成</span> <span v-if="item.orderStatus=='EVALUATED'">已完成</span>
<span v-if="item.orderStatus=='PAY'">待发货</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=='WAIT_RETURNED_GOODS'">待退货</span>
<span v-if="item.orderStatus=='RETURNED_GOODS'">退款成功</span> <span v-if="item.orderStatus=='RETURNED_GOODS'">退款成功</span>
</view> </view>
@ -157,7 +157,7 @@
uni.setStorageSync("Refresh", 'Refresh') uni.setStorageSync("Refresh", 'Refresh')
setTimeout(e => { setTimeout(e => {
uni.navigateTo({ 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({ // uni.navigateTo({
// url: `/pages/orderDetails/orderDetails?goodsOrderId=${this.orderNoitem.goodsOrderId}` // url: `/pages/orderDetails/orderDetails?goodsOrderId=${this.orderNoitem.goodsOrderId}`
@ -228,7 +228,7 @@
// //
rate(item) { rate(item) {
uni.navigateTo({ 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.timer = setTimeout(e => {
that.imgs = [] that.imgs = []
uni.navigateTo({ if (that.delta == 2) {
url: `/pages/ratesuccess/ratesuccess?delta=${that.delta}` uni.navigateBack({
}) delta: 2
})
} else if (that.delta == 1) {
uni.navigateBack({
delta: 1
})
}
}, 1500) }, 1500)
} else { } else {
that.imgs = [] that.imgs = []

View File

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