Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
jgdl
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2025-08-14 09:29:26 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
75540ff15d14252e2eaed2196498da8f8f633a9b
75540ff1
1 parent
dccdfbb4
refactor: 移除汽车列表中的标签显示和支付协议弹窗提示
移除新车列表和特价车列表中的“新”和“特”标签显示 注释掉支付协议弹窗中的重复短信提示逻辑
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
24 deletions
src/components/PaymentAgreementModal.vue
src/pages/goodCarList/index.vue
src/pages/newCarList/index.vue
src/components/PaymentAgreementModal.vue
View file @
75540ff
...
...
@@ -281,27 +281,25 @@ const handleBindJeePay = async () => {
auth_sign_url: auth_sign_url || ''
}
// TODO: 第一次签约会发短信, 但是以后再进来就不会发短信了, 如果后端知道短信了, 应该给个标识区别, 写的提示语应该不一样.
// 1. 如果返回 auth_complement_url 非空时,提示用户接收短信
if (auth_complement_url) {
Taro.showModal({
title: '提示',
content: '您尚未完成签约,请注意接收【嘉联支付】的短信,并打开短信里的链接,完成收款协议与实名认证',
showCancel: false,
confirmText: '关闭'
})
}
//
if (auth_complement_url) {
//
Taro.showModal({
//
title: '提示',
//
content: '您尚未完成签约,请注意接收【嘉联支付】的短信,并打开短信里的链接,完成收款协议与实名认证',
//
showCancel: false,
//
confirmText: '关闭'
//
})
//
}
// 2. 如果返回 auth_sign_url 非空时,提示用户接收短信
if (auth_sign_url) {
Taro.showModal({
title: '提示',
content: '您尚未完成签约,请注意接收【嘉联支付】的短信,并打开短信里的链接,完成收款协议与实名认证',
showCancel: false,
confirmText: '关闭'
})
}
//
if (auth_sign_url) {
//
Taro.showModal({
//
title: '提示',
//
content: '您尚未完成签约,请注意接收【嘉联支付】的短信,并打开短信里的链接,完成收款协议与实名认证',
//
showCancel: false,
//
confirmText: '关闭'
//
})
//
}
// 3. 如果返回 is_wait_audit 为 true,则提示用户签约正在等待审核
if (is_wait_audit) {
...
...
src/pages/goodCarList/index.vue
View file @
75540ff
<!--
* @Date: 2022-09-19 14:11:06
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-0
7-16 14:06:59
* @LastEditTime: 2025-0
8-14 09:28:21
* @FilePath: /jgdl/src/pages/goodCarList/index.vue
* @Description: 特价好车页面
-->
...
...
@@ -67,10 +67,10 @@
<view class="w-32 h-24 relative p-2">
<image :src="car.front_photo" :alt="car.name" mode="aspectFill"
class="w-full h-full object-cover rounded-lg" />
<view v-if="car.isSpecial"
<
!-- <
view v-if="car.isSpecial"
class="absolute bottom-3 right-3 bg-red-500 text-white text-xs px-1 rounded flex items-center">
<text class="text-white">特</text>
</view>
</view>
-->
<!-- 折扣标签 -->
<!-- <view v-if="car.discount"
class="absolute top-3 left-3 bg-red-500 text-white text-xs px-1 rounded">
...
...
src/pages/newCarList/index.vue
View file @
75540ff
<!--
* @Date: 2022-09-19 14:11:06
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-0
7-22 09:42:28
* @LastEditTime: 2025-0
8-14 09:27:44
* @FilePath: /jgdl/src/pages/newCarList/index.vue
* @Description: 最新上架页面
-->
...
...
@@ -57,10 +57,10 @@
<view class="w-32 h-24 relative p-2">
<image :src="car.front_photo" mode="aspectFill"
class="w-full h-full object-cover rounded-lg" />
<view v-if="car.isNew"
<
!-- <
view v-if="car.isNew"
class="absolute bottom-3 right-3 bg-red-500 text-white text-xs px-1 rounded flex items-center">
<text class="text-white">新</text>
</view>
</view>
-->
</view>
<view class="flex-1 p-3 relative">
<view class="absolute top-3 right-4" @tap.stop="() => toggleFavorite(car)">
...
...
Please
register
or
login
to post a comment