Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
monorepo
/
venus
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
1
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 4c99ca01
authored
Mar 26, 2026
by
chenwq1
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: 提示
1 parent
1a0039a6
Pipeline
#121
for
4c99ca01
failed
in 0 seconds
Changes
6
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
29 additions
and
38 deletions
apps/web/venus-usedcar-quality/src/components/PageTop.vue
apps/web/venus-usedcar-quality/src/views/car-detail/composables/useInspectSubmit.ts
apps/web/venus-usedcar-quality/src/views/home/index.vue
apps/web/venus-usedcar-quality/src/views/login/LoginMobile.vue
apps/web/venus-usedcar-quality/src/views/login/LoginPad.vue
apps/web/venus-usedcar-quality/src/views/login/useLogin.ts
apps/web/venus-usedcar-quality/src/components/PageTop.vue
View file @
4c99ca0
<!--
* @Author: cen
* @Date: 2026-03-18 18:09:39
* @Description:
* @FilePath: /venus-usedcar-h5/apps/web/venus-usedcar-quality/src/components/PageTop.vue
* @LastEditTime: 2026-03-26 15:33:11
* @LastEditors: cenchengwei@foreverht.com
* 可以输入预定的版权声明、个性签名、空行等
-->
<
script
setup
lang=
"ts"
>
<
script
setup
lang=
"ts"
>
import
PageTitle
from
"@/components/PageTitle.vue"
;
import
PageTitle
from
"@/components/PageTitle.vue"
;
...
@@ -15,8 +24,8 @@ defineProps<{
...
@@ -15,8 +24,8 @@ defineProps<{
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.page-top
{
.page-top
{
background
:
url("@assets/image/top_bg.png")
no-repeat
top
center
;
//
background
:
url("@assets/image/top_bg.png")
no-repeat
top
center
;
background-size
:
100%
auto
;
//
background-size
:
100%
auto
;
}
}
</
style
>
</
style
>
apps/web/venus-usedcar-quality/src/views/car-detail/composables/useInspectSubmit.ts
View file @
4c99ca0
...
@@ -129,7 +129,21 @@ export function useInspectSubmit(
...
@@ -129,7 +129,21 @@ export function useInspectSubmit(
}
}
}
}
function
onBack
()
{
async
function
onBack
()
{
if
(
submitting
.
value
)
return
;
if
(
modules
.
activeBigKey
.
value
!==
SCORE_BIG_KEY
)
{
try
{
const
persisted
=
await
saveCurrentLeafInspectionRecord
(
false
);
if
(
persisted
)
{
showToast
(
"已自动保存草稿"
);
}
}
catch
(
error
)
{
if
(
!
isRequestFailureAlreadyHandled
(
error
))
{
showToast
(
"草稿保存失败,请稍后重试"
);
}
return
;
}
}
router
.
back
();
router
.
back
();
}
}
...
...
apps/web/venus-usedcar-quality/src/views/home/index.vue
View file @
4c99ca0
...
@@ -283,7 +283,7 @@ void onRefresh();
...
@@ -283,7 +283,7 @@ void onRefresh();
<van-list
v-else
<van-list
v-else
v-model:loading=
"loading"
v-model:loading=
"loading"
:finished=
"finished"
:finished=
"finished"
finished-text=
"到底了"
finished-text=
"到底了
~
"
:scroller=
"scroller"
:scroller=
"scroller"
@
load=
"onLoad"
>
@
load=
"onLoad"
>
<div
v-for=
"item in displayList"
<div
v-for=
"item in displayList"
...
@@ -539,8 +539,8 @@ void onRefresh();
...
@@ -539,8 +539,8 @@ void onRefresh();
:deep
(
.wo-btn
)
{
:deep
(
.wo-btn
)
{
height
:
auto
;
height
:
auto
;
padding
:
10px
12
px
;
padding
:
6px
8
px
;
font-size
:
1
3
px
;
font-size
:
1
2
px
;
font-weight
:
400
;
font-weight
:
400
;
line-height
:
1
;
line-height
:
1
;
border
:
0
;
border
:
0
;
...
...
apps/web/venus-usedcar-quality/src/views/login/LoginMobile.vue
View file @
4c99ca0
...
@@ -4,7 +4,6 @@ import { useLogin } from "./useLogin.ts";
...
@@ -4,7 +4,6 @@ import { useLogin } from "./useLogin.ts";
const
{
const
{
phone
,
phone
,
code
,
code
,
agreed
,
sending
,
sending
,
countdown
,
countdown
,
hasSent
,
hasSent
,
...
@@ -70,18 +69,6 @@ const {
...
@@ -70,18 +69,6 @@ const {
</div>
</div>
<div
aria-hidden=
"true"
class=
"min-h-6 flex-1"
/>
<div
aria-hidden=
"true"
class=
"min-h-6 flex-1"
/>
<div
class=
"flex shrink-0 justify-center pt-10 text-center text-[12px] text-[#999]"
>
<van-checkbox
v-model=
"agreed"
checked-color=
"#4f8cff"
icon-size=
"14px"
>
<span
class=
"whitespace-nowrap"
>
我已阅读并同意
<a
class=
"mx-0.5 text-[#4f8cff] no-underline"
href=
"javascript:;"
>
《用户协议》
</a>
<a
class=
"mx-0.5 text-[#4f8cff] no-underline"
href=
"javascript:;"
>
《隐私协议》
</a>
</span>
</van-checkbox>
</div>
</div>
</div>
</div>
</div>
</template>
</template>
...
...
apps/web/venus-usedcar-quality/src/views/login/LoginPad.vue
View file @
4c99ca0
...
@@ -4,7 +4,6 @@ import { useLogin } from "./useLogin.ts";
...
@@ -4,7 +4,6 @@ import { useLogin } from "./useLogin.ts";
const
{
const
{
phone
,
phone
,
code
,
code
,
agreed
,
sending
,
sending
,
countdown
,
countdown
,
hasSent
,
hasSent
,
...
@@ -63,18 +62,6 @@ const {
...
@@ -63,18 +62,6 @@ const {
@
click=
"handleLogin"
>
@
click=
"handleLogin"
>
登录
登录
</van-button>
</van-button>
<div
class=
"mt-4 flex items-center justify-center text-[12px] text-[#999]"
>
<van-checkbox
v-model=
"agreed"
checked-color=
"#4f8cff"
icon-size=
"14px"
>
<span
class=
"whitespace-nowrap"
>
我已阅读并同意
<a
class=
"mx-0.5 text-[#4f8cff] no-underline"
href=
"javascript:;"
>
《用户协议》
</a>
<a
class=
"mx-0.5 text-[#4f8cff] no-underline"
href=
"javascript:;"
>
《隐私协议》
</a>
</span>
</van-checkbox>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
...
...
apps/web/venus-usedcar-quality/src/views/login/useLogin.ts
View file @
4c99ca0
...
@@ -13,7 +13,6 @@ export function useLogin() {
...
@@ -13,7 +13,6 @@ export function useLogin() {
const
phone
=
ref
(
""
);
const
phone
=
ref
(
""
);
const
code
=
ref
(
""
);
const
code
=
ref
(
""
);
const
agreed
=
ref
(
false
);
/** 仅数字 + 长度上限;配合 Field type=digit,并兜底粘贴等非数字字符 */
/** 仅数字 + 长度上限;配合 Field type=digit,并兜底粘贴等非数字字符 */
watch
(
phone
,
(
v
)
=>
{
watch
(
phone
,
(
v
)
=>
{
...
@@ -76,10 +75,6 @@ export function useLogin() {
...
@@ -76,10 +75,6 @@ export function useLogin() {
showFailToast
(
"请输入验证码"
);
showFailToast
(
"请输入验证码"
);
return
;
return
;
}
}
if
(
!
agreed
.
value
)
{
showFailToast
(
"请先阅读并同意相关协议"
);
return
;
}
try
{
try
{
const
res
=
await
login
({
const
res
=
await
login
({
...
@@ -112,7 +107,6 @@ export function useLogin() {
...
@@ -112,7 +107,6 @@ export function useLogin() {
return
{
return
{
phone
,
phone
,
code
,
code
,
agreed
,
sending
,
sending
,
countdown
,
countdown
,
hasSent
,
hasSent
,
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment