refactor(verificationResult): 移除未使用的验证码显示和授权状态文本
清理不再需要的代码,简化页面逻辑
Showing
1 changed file
with
6 additions
and
6 deletions
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2026-01-08 13:01:20 | 2 | * @Date: 2026-01-08 13:01:20 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2026-01-20 17:54:48 | 4 | + * @LastEditTime: 2026-01-20 17:59:01 |
| 5 | * @FilePath: /xyxBooking-weapp/src/pages/verificationResult/index.vue | 5 | * @FilePath: /xyxBooking-weapp/src/pages/verificationResult/index.vue |
| 6 | * @Description: 核销结果页面 | 6 | * @Description: 核销结果页面 |
| 7 | --> | 7 | --> |
| ... | @@ -57,7 +57,7 @@ | ... | @@ -57,7 +57,7 @@ |
| 57 | <view class="text-gray-500 text-base mb-2">失败原因</view> | 57 | <view class="text-gray-500 text-base mb-2">失败原因</view> |
| 58 | <view class="text-red-500 text-lg font-medium break-all">{{ msg }}</view> | 58 | <view class="text-red-500 text-lg font-medium break-all">{{ msg }}</view> |
| 59 | </view> | 59 | </view> |
| 60 | - <view v-else-if="verify_code" class="mt-2 break-all whitespace-pre-wrap text-lg font-medium text-gray-900">{{ verify_code }}</view> | 60 | + <!-- <view v-else-if="verify_code" class="mt-2 break-all whitespace-pre-wrap text-lg font-medium text-gray-900">{{ verify_code }}</view> --> |
| 61 | <view v-else class="mt-2 text-base text-gray-400">暂无核销信息</view> | 61 | <view v-else class="mt-2 text-base text-gray-400">暂无核销信息</view> |
| 62 | </view> | 62 | </view> |
| 63 | 63 | ||
| ... | @@ -125,10 +125,10 @@ const status_icon_color = computed(() => { | ... | @@ -125,10 +125,10 @@ const status_icon_color = computed(() => { |
| 125 | return '#A67939' | 125 | return '#A67939' |
| 126 | }) | 126 | }) |
| 127 | 127 | ||
| 128 | -const can_redeem_text = computed(() => { | 128 | +// const can_redeem_text = computed(() => { |
| 129 | - if (store?.appUserInfo?.can_redeem === true) return '已授权' | 129 | +// if (store?.appUserInfo?.can_redeem === true) return '已授权' |
| 130 | - return '未授权' | 130 | +// return '未授权' |
| 131 | -}) | 131 | +// }) |
| 132 | 132 | ||
| 133 | /** | 133 | /** |
| 134 | * @description: 核销预约码 | 134 | * @description: 核销预约码 | ... | ... |
-
Please register or login to post a comment