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 653208df
authored
Mar 27, 2026
by
chenwq1
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: 兼容限制iphone滑动
1 parent
498e5084
Pipeline
#152
for
653208df
failed
in 0 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
0 deletions
apps/web/venus-usedcar-quality/src/assets/styles/reset.scss
apps/web/venus-usedcar-quality/src/layouts/index.vue
apps/web/venus-usedcar-quality/src/views/car-detail/index.vue
apps/web/venus-usedcar-quality/src/assets/styles/reset.scss
View file @
653208d
...
...
@@ -8,6 +8,7 @@
}
html
{
overflow-x
:
hidden
;
font-size
:
16px
;
text-size-adjust
:
100%
;
scroll-behavior
:
smooth
;
...
...
@@ -16,6 +17,7 @@ html {
body
{
padding
:
0
;
margin
:
0
;
overflow-x
:
hidden
;
overscroll-behavior
:
none
;
line-height
:
1
.5
;
color
:
#323233
;
...
...
@@ -32,6 +34,7 @@ body {
max-width
:
430px
;
min-height
:
100vh
;
margin
:
0
auto
;
overflow-x
:
hidden
;
background-color
:
#f7f8fa
;
}
...
...
apps/web/venus-usedcar-quality/src/layouts/index.vue
View file @
653208d
...
...
@@ -112,7 +112,9 @@ function onTabChange(index: number | string) {
display
:
flex
;
flex-direction
:
column
;
width
:
100%
;
min-width
:
0
;
min-height
:
100vh
;
overflow-x
:
hidden
;
background-color
:
var
(
--color-bg-page
);
//
让
RouterView
内容区占满剩余空间,tabbar
自然沉底
...
...
apps/web/venus-usedcar-quality/src/views/car-detail/index.vue
View file @
653208d
...
...
@@ -251,6 +251,8 @@ onMounted(() => {
.inspect-page
{
display
:
flex
;
flex-direction
:
column
;
width
:
100%
;
min-width
:
0
;
height
:
100vh
;
//
stylelint-disable-next-line
declaration-block-no-duplicate-properties
height
:
calc
(
100
dvh
-
env
(
safe-area-inset-top
));
...
...
@@ -340,7 +342,9 @@ onMounted(() => {
display
:
flex
;
flex
:
1
;
flex-direction
:
column
;
min-width
:
0
;
min-height
:
0
;
overflow-x
:
hidden
;
overflow-y
:
auto
;
-webkit-overflow-scrolling
:
touch
;
}
...
...
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