hookehuyr

fix: 移除待支付订单的mock倒计时注释并优化认证失败原因显示

移除订单管理页面中关于mock倒计时的TODO注释,使用实际倒计时逻辑
在车辆认证页面,将认证失败原因从纯文本改为可展开/收起的省略显示组件
......@@ -45,7 +45,7 @@
<text class="text-sm text-gray-500 mt-1 block">续航{{ item.range_km }}km | 最高时速{{ item.max_speed_kmh }}km/h</text>
<!-- 认证失败原因 -->
<view v-if="item.verification_status === 7 && item.verification_reason" class="verification-reason mt-1">
<text class="text-xs text-red-500">审核结果:{{ item.verification_reason }}</text>
<!-- <text class="text-xs text-red-500">审核结果:{{ item.verification_reason }}</text> -->
<nut-config-provider :theme-vars="themeVars">
<nut-ellipsis :content="item.verification_reason" direction="end" rows="2" expand-text="展开" collapse-text="收起"></nut-ellipsis>
</nut-config-provider>
......
<!--
* @Date: 2022-09-19 14:11:06
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-07-18 12:23:09
* @LastEditTime: 2025-07-18 12:34:54
* @FilePath: /jgdl/src/pages/myOrders/index.vue
* @Description: 订单管理页面
-->
......@@ -438,7 +438,7 @@ const loadOrderData = async (isLoadMore = false) => {
details: orderData.details && orderData.details.length > 0 ? orderData.details[0] : null
}
// TODO: 为待支付订单添加mock的倒计时时间(1800秒用于测试)
// 为待支付订单添加倒计时时间
if (processedOrder.status === 3) {
// 计算剩余时间(毫秒)
const current_date = new Date(processedOrder.server_time);
......