Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
GaoQuYingJiH5-ASD
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xinzhedeai
GaoQuYingJiH5-ASD
Commits
cc003ba0
Commit
cc003ba0
authored
Jun 05, 2025
by
lei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:商户详情的图片预览,隐患列表的点击穿透。
parent
49912ae1
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
60 additions
and
52 deletions
+60
-52
_consumer_jydetail.html
src/_consumer_jydetail.html
+1
-0
_consumer_jydetail.js
src/_consumer_jydetail.js
+58
-51
_shanghu_home.html
src/_shanghu_home.html
+1
-1
No files found.
src/_consumer_jydetail.html
View file @
cc003ba0
...
@@ -49,6 +49,7 @@
...
@@ -49,6 +49,7 @@
v-for=
"(imgItem, subIndex) in formData.photos"
v-for=
"(imgItem, subIndex) in formData.photos"
:src=
"imgItem"
:src=
"imgItem"
alt=
""
alt=
""
@
click=
"showImage(formData.photos, subIndex)"
style=
"width: 1.4rem; height: 1.4rem; margin-right: 0.2rem"
style=
"width: 1.4rem; height: 1.4rem; margin-right: 0.2rem"
/>
/>
</div>
</div>
...
...
src/_consumer_jydetail.js
View file @
cc003ba0
...
@@ -49,6 +49,13 @@ window.addEventListener('load', function () {
...
@@ -49,6 +49,13 @@ window.addEventListener('load', function () {
}
}
})
})
},
},
showImage
(
list
,
index
)
{
vant
.
ImagePreview
({
images
:
list
,
startPosition
:
index
,
closeable
:
true
,
});
},
},
},
})
})
})
})
...
...
src/_shanghu_home.html
View file @
cc003ba0
...
@@ -63,7 +63,7 @@
...
@@ -63,7 +63,7 @@
</van-tabs>
</van-tabs>
<!-- 隐患列表 -->
<!-- 隐患列表 -->
<van-list>
<van-list>
<van-cell
v-for=
"item in filteredHazards"
:key=
"item.id"
>
<van-cell
v-for=
"item in filteredHazards"
:key=
"item.id"
@
click=
"viewDetail(item,'YH_XQ')"
>
<div
style=
"width: 100%;"
>
<div
style=
"width: 100%;"
>
<!-- 第一行:隐患描述 -->
<!-- 第一行:隐患描述 -->
<div
style=
"
<div
style=
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment