Showing
1 changed file
with
3 additions
and
3 deletions
| 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-08-13 17:21:54 | 4 | + * @LastEditTime: 2025-08-18 16:34:15 |
| 5 | * @FilePath: /jgdl/src/pages/myCar/index.vue | 5 | * @FilePath: /jgdl/src/pages/myCar/index.vue |
| 6 | * @Description: 文件描述 | 6 | * @Description: 文件描述 |
| 7 | --> | 7 | --> |
| ... | @@ -42,7 +42,7 @@ | ... | @@ -42,7 +42,7 @@ |
| 42 | /> | 42 | /> |
| 43 | </view> | 43 | </view> |
| 44 | <view class="flex-1 ml-4"> | 44 | <view class="flex-1 ml-4"> |
| 45 | - <text class="font-medium text-base block">{{ car.manufacture_year }}款 {{ car.brand }} {{ car.model }}</text> | 45 | + <text class="font-medium text-base block"><text v-if="car.manufacture_year">{{ car.manufacture_year }}款</text> <text v-if="car.brand">{{ car.brand }}</text> <text v-if="car.model">{{ car.model }}</text></text> |
| 46 | <!-- 状态标识 --> | 46 | <!-- 状态标识 --> |
| 47 | <view class="status-badges"> | 47 | <view class="status-badges"> |
| 48 | <!-- <view v-if="car.verification_status" class="status-badge" :class="getVerificationStatusClass(car.verification_status)"> | 48 | <!-- <view v-if="car.verification_status" class="status-badge" :class="getVerificationStatusClass(car.verification_status)"> |
| ... | @@ -56,7 +56,7 @@ | ... | @@ -56,7 +56,7 @@ |
| 56 | <text>{{ reviewStatus[car.review_status] }}</text> | 56 | <text>{{ reviewStatus[car.review_status] }}</text> |
| 57 | </view> | 57 | </view> |
| 58 | </view> | 58 | </view> |
| 59 | - <text class="text-sm text-gray-500 mt-1 block">续航{{ car.range_km }}km | 最高时速{{ car.max_speed_kmh }}km/h</text> | 59 | + <text class="text-sm text-gray-500 mt-1 block"><text v-if="car.range_km">续航{{ car.range_km }}km</text> <text v-if="car.max_speed_kmh">最高时速{{ car.max_speed_kmh }}km/h</text></text> |
| 60 | <!-- 审核原因 --> | 60 | <!-- 审核原因 --> |
| 61 | <view v-if="car.review_reason" class="verification-reason mt-1"> | 61 | <view v-if="car.review_reason" class="verification-reason mt-1"> |
| 62 | <nut-config-provider :theme-vars="themeVars"> | 62 | <nut-config-provider :theme-vars="themeVars"> | ... | ... |
-
Please register or login to post a comment