This commit is contained in:
PQZ 2024-09-24 22:33:21 +08:00
parent 9998c0a1b7
commit 4a2421b1bd

View File

@ -37,9 +37,9 @@
<text>{{ formatTimestamp(item.createTime) }}</text>
</view>
<view class="line3">
<view @click="goPay(item)" class="showOrder">支付</view>
<view @click="gotoDetail(item)" class="showOrder">查看订单</view>
<view @click="gotoEvaluate(item)" class="evaluate" v-if="item.orderStatus === '1' && !item.commentDesc">评价订单</view>
<view v-if="item.orderStatus == '0'" @click="goPay(item)" class="showOrder">支付</view>
<view v-if="item.goodsType == '2'" @click="gotoDetail(item)" class="showOrder">查看订单</view>
<view @click="gotoEvaluate(item)" class="evaluate" v-if="item.goodsType == '2' && item.orderStatus === '1' && !item.commentDesc">评价订单</view>
</view>
</view>
@ -176,7 +176,7 @@ export default {
async goPay(data) {
let that = this
await request({
url: '/pay/toPay',
url: '/userClient/pay/toPay',
method: 'get',
params: {orderId: data.id}
}).then((res) => {