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 abae8c5f
authored
Apr 02, 2026
by
chenwq1
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix:滚动限制
1 parent
4af5ab82
Pipeline
#171
for
abae8c5f
failed
in 0 seconds
Changes
3
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
41 additions
and
22 deletions
apps/web/venus-usedcar-quality/src/views/inspect-detail/index.vue
apps/web/venus-usedcar-quality/src/views/inspect-report/index.vue
apps/web/venus-usedcar-quality/src/views/work-order-detail/index.vue
apps/web/venus-usedcar-quality/src/views/inspect-detail/index.vue
View file @
abae8c5
This diff is collapsed.
Click to expand it.
apps/web/venus-usedcar-quality/src/views/inspect-report/index.vue
View file @
abae8c5
...
@@ -700,13 +700,15 @@ onMounted(() => {
...
@@ -700,13 +700,15 @@ onMounted(() => {
@use
"@assets/styles/variables"
as
*
;
@use
"@assets/styles/variables"
as
*
;
.report-page
{
.report-page
{
display
:
flex
;
flex-direction
:
column
;
width
:
100%
;
width
:
100%
;
min-width
:
0
;
min-width
:
0
;
height
:
100vh
;
height
:
100vh
;
height
:
100
dvh
;
height
:
100
dvh
;
overflow
:
hidden
;
max-height
:
100
dvh
;
overflow-x
:
hidden
;
overflow-y
:
auto
;
-webkit-overflow-scrolling
:
touch
;
padding-bottom
:
calc
(
20px
+
env
(
safe-area-inset-bottom
));
background
:
#f2f3f7
;
background
:
#f2f3f7
;
}
}
...
...
apps/web/venus-usedcar-quality/src/views/work-order-detail/index.vue
View file @
abae8c5
...
@@ -115,7 +115,8 @@ onMounted(() => {
...
@@ -115,7 +115,8 @@ onMounted(() => {
@
click=
"onBack"
/>
@
click=
"onBack"
/>
<PageTitle
class=
"title"
:title=
"title"
/>
<PageTitle
class=
"title"
:title=
"title"
/>
</div>
</div>
<div
:class=
"[status == 3 ? '' : 'ctx-box']"
>
<div
class=
"wo-detail-main"
:class=
"
{ 'wo-detail-main--with-foot': status !== 3 }">
<div
class=
"page-head"
>
<div
class=
"page-head"
>
<div
class=
"head-left"
>
<div
class=
"head-left"
>
<van-tag
class=
"head-tag"
:style=
"
{ background: pageStatusTag.bg, color: pageStatusTag.color }">
<van-tag
class=
"head-tag"
:style=
"
{ background: pageStatusTag.bg, color: pageStatusTag.color }">
...
@@ -281,23 +282,38 @@ onMounted(() => {
...
@@ -281,23 +282,38 @@ onMounted(() => {
@use
"@assets/styles/variables"
as
*
;
@use
"@assets/styles/variables"
as
*
;
.wo-detail-page
{
.wo-detail-page
{
min-height
:
100vh
;
display
:
flex
;
padding
:
6px
0
;
flex-direction
:
column
;
width
:
100%
;
min-width
:
0
;
height
:
100vh
;
height
:
100
dvh
;
max-height
:
100
dvh
;
overflow
:
hidden
;
padding
:
6px
0
;
background
:
#f2f3f7
;
background
:
#f2f3f7
;
.header-top{
.header-top
{
flex-shrink
:
0
;
.nav-back{
.nav-back
{
position
:
absolute
;
position
:
absolute
;
top
:
15px
;
top
:
15px
;
}
}
}
}
}
}
.ctx-box
{
//
单一纵向滚动区:避免
status
===
3
时无
ctx-box
导致
WebView
内
document
不滚动,及嵌套
overflow
抢滚动
height
:
calc
(
100vh
-
110px
);
.wo-detail-main
{
overflow
:
scroll
;
flex
:
1
;
min-height
:
0
;
overflow-x
:
hidden
;
overflow-y
:
auto
;
-webkit-overflow-scrolling
:
touch
;
&--with-foot
{
padding-bottom
:
calc
(
64px
+
env
(
safe-area-inset-bottom
));
}
}
}
.page-head
{
.page-head
{
...
@@ -343,7 +359,6 @@ onMounted(() => {
...
@@ -343,7 +359,6 @@ onMounted(() => {
.content
{
.content
{
padding
:
8px
12px
;
padding
:
8px
12px
;
overflow
:
scroll
}
}
.card
{
.card
{
...
@@ -551,16 +566,18 @@ onMounted(() => {
...
@@ -551,16 +566,18 @@ onMounted(() => {
text-align
:
center
;
text-align
:
center
;
}
}
.page-foot
{
.page-foot
{
position
:
fixed
;
position
:
fixed
;
//
right
:
0
;
right
:
0
;
bottom
:
0
;
bottom
:
0
;
left
:
0
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
width
:
375px
;
width
:
100%
;
//
left
:
0
;
max-width
:
430px
;
max-width
:
430px
;
padding
:
12px
;
margin
:
0
auto
;
background
:
#fff
;
padding
:
12px
;
padding-bottom
:
calc
(
12px
+
env
(
safe-area-inset-bottom
));
background
:
#fff
;
.edit-btn{
.edit-btn{
box-sizing
:
border-box
;
box-sizing
:
border-box
;
...
...
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