hookehuyr

fix: 修复认证模式下已取消订单的按钮显示问题

为认证模式下已取消状态的订单添加删除按钮和详情按钮,与卖车模式保持一致。同时调整交易信息部分的显示条件,仅在买卖模式下显示。
<!--
* @Date: 2022-09-19 14:11:06
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-08-04 14:29:21
* @LastEditTime: 2025-08-04 14:40:34
* @FilePath: /jgdl/src/pages/myOrders/index.vue
* @Description: 订单管理页面
-->
......@@ -189,12 +189,27 @@
</nut-button>
</template>
<!-- 认证模式:已取消状态 -->
<template v-if="viewMode === 'verification' && order.status === 7">
<nut-button type="default" size="small" @click="deleteOrder(order.id)"
:loading="deletingOrderId === order.id" :disabled="deletingOrderId === order.id">
{{ deletingOrderId === order.id ? '删除中...' : '删除订单' }}
</nut-button>
</template>
<!-- 卖车模式:已取消状态 -->
<template v-if="viewMode === 'sell' && order.status === 7">
<nut-button type="default" size="small" @click="viewOrderDetail(order.id)">
订单详情
</nut-button>
</template>
<!-- 认证模式:已取消状态 -->
<template v-if="viewMode === 'verification' && order.status === 7">
<nut-button type="default" size="small" @click="viewOrderDetail(order.id)">
订单详情
</nut-button>
</template>
</view>
</view>
</view>
......@@ -323,7 +338,7 @@
</view>
<!-- 交易信息 -->
<view class="detail-section">
<view v-if="viewMode === 'buy' || viewMode === 'sell'" class="detail-section">
<text class="section-title">交易信息</text>
<view class="info-row">
<text class="info-label">{{ viewMode === 'buy' ? '卖家' : '买家' }}</text>
......