refactor: 移除汽车列表中的标签显示和支付协议弹窗提示
移除新车列表和特价车列表中的“新”和“特”标签显示 注释掉支付协议弹窗中的重复短信提示逻辑
Showing
3 changed files
with
22 additions
and
24 deletions
| ... | @@ -281,27 +281,25 @@ const handleBindJeePay = async () => { | ... | @@ -281,27 +281,25 @@ const handleBindJeePay = async () => { |
| 281 | auth_sign_url: auth_sign_url || '' | 281 | auth_sign_url: auth_sign_url || '' |
| 282 | } | 282 | } |
| 283 | 283 | ||
| 284 | - // TODO: 第一次签约会发短信, 但是以后再进来就不会发短信了, 如果后端知道短信了, 应该给个标识区别, 写的提示语应该不一样. | ||
| 285 | - | ||
| 286 | // 1. 如果返回 auth_complement_url 非空时,提示用户接收短信 | 284 | // 1. 如果返回 auth_complement_url 非空时,提示用户接收短信 |
| 287 | - if (auth_complement_url) { | 285 | + // if (auth_complement_url) { |
| 288 | - Taro.showModal({ | 286 | + // Taro.showModal({ |
| 289 | - title: '提示', | 287 | + // title: '提示', |
| 290 | - content: '您尚未完成签约,请注意接收【嘉联支付】的短信,并打开短信里的链接,完成收款协议与实名认证', | 288 | + // content: '您尚未完成签约,请注意接收【嘉联支付】的短信,并打开短信里的链接,完成收款协议与实名认证', |
| 291 | - showCancel: false, | 289 | + // showCancel: false, |
| 292 | - confirmText: '关闭' | 290 | + // confirmText: '关闭' |
| 293 | - }) | 291 | + // }) |
| 294 | - } | 292 | + // } |
| 295 | 293 | ||
| 296 | // 2. 如果返回 auth_sign_url 非空时,提示用户接收短信 | 294 | // 2. 如果返回 auth_sign_url 非空时,提示用户接收短信 |
| 297 | - if (auth_sign_url) { | 295 | + // if (auth_sign_url) { |
| 298 | - Taro.showModal({ | 296 | + // Taro.showModal({ |
| 299 | - title: '提示', | 297 | + // title: '提示', |
| 300 | - content: '您尚未完成签约,请注意接收【嘉联支付】的短信,并打开短信里的链接,完成收款协议与实名认证', | 298 | + // content: '您尚未完成签约,请注意接收【嘉联支付】的短信,并打开短信里的链接,完成收款协议与实名认证', |
| 301 | - showCancel: false, | 299 | + // showCancel: false, |
| 302 | - confirmText: '关闭' | 300 | + // confirmText: '关闭' |
| 303 | - }) | 301 | + // }) |
| 304 | - } | 302 | + // } |
| 305 | 303 | ||
| 306 | // 3. 如果返回 is_wait_audit 为 true,则提示用户签约正在等待审核 | 304 | // 3. 如果返回 is_wait_audit 为 true,则提示用户签约正在等待审核 |
| 307 | if (is_wait_audit) { | 305 | if (is_wait_audit) { | ... | ... |
| 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-16 14:06:59 | 4 | + * @LastEditTime: 2025-08-14 09:28:21 |
| 5 | * @FilePath: /jgdl/src/pages/goodCarList/index.vue | 5 | * @FilePath: /jgdl/src/pages/goodCarList/index.vue |
| 6 | * @Description: 特价好车页面 | 6 | * @Description: 特价好车页面 |
| 7 | --> | 7 | --> |
| ... | @@ -67,10 +67,10 @@ | ... | @@ -67,10 +67,10 @@ |
| 67 | <view class="w-32 h-24 relative p-2"> | 67 | <view class="w-32 h-24 relative p-2"> |
| 68 | <image :src="car.front_photo" :alt="car.name" mode="aspectFill" | 68 | <image :src="car.front_photo" :alt="car.name" mode="aspectFill" |
| 69 | class="w-full h-full object-cover rounded-lg" /> | 69 | class="w-full h-full object-cover rounded-lg" /> |
| 70 | - <view v-if="car.isSpecial" | 70 | + <!-- <view v-if="car.isSpecial" |
| 71 | class="absolute bottom-3 right-3 bg-red-500 text-white text-xs px-1 rounded flex items-center"> | 71 | class="absolute bottom-3 right-3 bg-red-500 text-white text-xs px-1 rounded flex items-center"> |
| 72 | <text class="text-white">特</text> | 72 | <text class="text-white">特</text> |
| 73 | - </view> | 73 | + </view> --> |
| 74 | <!-- 折扣标签 --> | 74 | <!-- 折扣标签 --> |
| 75 | <!-- <view v-if="car.discount" | 75 | <!-- <view v-if="car.discount" |
| 76 | class="absolute top-3 left-3 bg-red-500 text-white text-xs px-1 rounded"> | 76 | class="absolute top-3 left-3 bg-red-500 text-white text-xs px-1 rounded"> | ... | ... |
| 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-22 09:42:28 | 4 | + * @LastEditTime: 2025-08-14 09:27:44 |
| 5 | * @FilePath: /jgdl/src/pages/newCarList/index.vue | 5 | * @FilePath: /jgdl/src/pages/newCarList/index.vue |
| 6 | * @Description: 最新上架页面 | 6 | * @Description: 最新上架页面 |
| 7 | --> | 7 | --> |
| ... | @@ -57,10 +57,10 @@ | ... | @@ -57,10 +57,10 @@ |
| 57 | <view class="w-32 h-24 relative p-2"> | 57 | <view class="w-32 h-24 relative p-2"> |
| 58 | <image :src="car.front_photo" mode="aspectFill" | 58 | <image :src="car.front_photo" mode="aspectFill" |
| 59 | class="w-full h-full object-cover rounded-lg" /> | 59 | class="w-full h-full object-cover rounded-lg" /> |
| 60 | - <view v-if="car.isNew" | 60 | + <!-- <view v-if="car.isNew" |
| 61 | class="absolute bottom-3 right-3 bg-red-500 text-white text-xs px-1 rounded flex items-center"> | 61 | class="absolute bottom-3 right-3 bg-red-500 text-white text-xs px-1 rounded flex items-center"> |
| 62 | <text class="text-white">新</text> | 62 | <text class="text-white">新</text> |
| 63 | - </view> | 63 | + </view> --> |
| 64 | </view> | 64 | </view> |
| 65 | <view class="flex-1 p-3 relative"> | 65 | <view class="flex-1 p-3 relative"> |
| 66 | <view class="absolute top-3 right-4" @tap.stop="() => toggleFavorite(car)"> | 66 | <view class="absolute top-3 right-4" @tap.stop="() => toggleFavorite(car)"> | ... | ... |
-
Please register or login to post a comment