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 40614fc7
authored
Mar 30, 2026
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix(venus-usedcar-quality): 样式问题修复
1 parent
d6711f20
Pipeline
#154
for
40614fc7
failed
in 0 seconds
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
21 additions
and
0 deletions
apps/web/venus-usedcar-quality/src/assets/styles/reset.scss
apps/web/venus-usedcar-quality/src/views/inspect-detail/index.vue
apps/web/venus-usedcar-quality/src/assets/styles/reset.scss
View file @
40614fc
...
@@ -57,6 +57,26 @@ body {
...
@@ -57,6 +57,26 @@ body {
pointer-events
:
auto
;
pointer-events
:
auto
;
}
}
// Vant ImagePreview 桌面端:预览项只监听 touch,全屏 popup 又叠在 overlay 之上,导致鼠标点「遮罩」关不掉;
// 关闭按钮 z-index 偏低时还会被 swipe 层盖住。允许点击穿透 popup,仅图片/关闭/页码接收事件,让底层 overlay 处理关闭。
@media
(
hover
:
hover
)
and
(
pointer
:
fine
)
{
#vant-portal-host
.van-popup.van-image-preview
{
pointer-events
:
none
;
}
#vant-portal-host
.van-popup.van-image-preview
.van-image-preview__close-icon
,
#vant-portal-host
.van-popup.van-image-preview
.van-image-preview__image
,
#vant-portal-host
.van-popup.van-image-preview
.van-image-preview__image-wrap
,
#vant-portal-host
.van-popup.van-image-preview
.van-image-preview__index
,
#vant-portal-host
.van-popup.van-image-preview
.van-image-preview__cover
{
pointer-events
:
auto
;
}
#vant-portal-host
.van-popup.van-image-preview
.van-image-preview__close-icon
{
z-index
:
10
;
}
}
a
{
a
{
color
:
inherit
;
color
:
inherit
;
text-decoration
:
none
;
text-decoration
:
none
;
...
...
apps/web/venus-usedcar-quality/src/views/inspect-detail/index.vue
View file @
40614fc
...
@@ -405,6 +405,7 @@ onUnmounted(() => {
...
@@ -405,6 +405,7 @@ onUnmounted(() => {
</div>
</div>
<van-image-preview
v-model:show=
"previewVisible"
<van-image-preview
v-model:show=
"previewVisible"
closeable
:images=
"previewImages"
:images=
"previewImages"
:start-position=
"previewIndex"
:start-position=
"previewIndex"
teleport=
"#vant-portal-host"
/>
teleport=
"#vant-portal-host"
/>
...
...
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