hookehuyr

fix: 添加已售车辆状态显示并调整按钮显示逻辑

在车辆卡片中添加已售状态显示,并仅在车辆未售出时显示操作按钮
1 <!-- 1 <!--
2 * @Date: 2022-09-19 14:11:06 2 * @Date: 2022-09-19 14:11:06
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2025-07-17 11:31:47 4 + * @LastEditTime: 2025-07-18 12:59:56
5 * @FilePath: /jgdl/src/pages/myAuthCar/index.vue 5 * @FilePath: /jgdl/src/pages/myAuthCar/index.vue
6 * @Description: 我的认证车页面 6 * @Description: 我的认证车页面
7 --> 7 -->
...@@ -60,7 +60,7 @@ ...@@ -60,7 +60,7 @@
60 </text> 60 </text>
61 </view> 61 </view>
62 </view> --> 62 </view> -->
63 - <view class="action-buttons mt-4"> 63 + <view v-if="!item.is_sold" class="action-buttons mt-4">
64 <nut-button 64 <nut-button
65 v-if="item.review_status === 7" 65 v-if="item.review_status === 7"
66 @click.stop="handleSellClick(item)" 66 @click.stop="handleSellClick(item)"
...@@ -81,6 +81,7 @@ ...@@ -81,6 +81,7 @@
81 认证 81 认证
82 </nut-button> 82 </nut-button>
83 </view> 83 </view>
84 + <view v-else style="color: red; font-size: 26rpx; margin-top: 5rpx;">已出售</view>
84 </view> 85 </view>
85 </view> 86 </view>
86 </view> 87 </view>
......