Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
stdj_h5
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
hookehuyr
2025-10-31 16:43:44 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
1a85e2a83fa99c6910ba90245c114ecccd1b33f8
1a85e2a8
1 parent
64cb6025
style(Volunteers): 移除重复的背景色样式并调整代码格式
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
src/views/Volunteers.vue
src/views/Volunteers.vue
View file @
1a85e2a
<!--
* @Date: 2025-01-01 15:20:00
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-10-31 1
4:37:36
* @LastEditTime: 2025-10-31 1
6:43:29
* @FilePath: /stdj_h5/src/views/Volunteers.vue
* @Description: 义工页面 - 图片瀑布流展示
-->
...
...
@@ -126,13 +126,13 @@ const distributeImages = (images) => {
// 图片点击事件 - 使用ImagePreview
const onImageClick = (item) => {
console.log('点击图片:', item)
// 获取当前点击图片在所有图片中的索引
const currentIndex = allImages.value.findIndex(img => img.id === item.id)
// 提取所有图片的src用于预览
const images = allImages.value.map(img => img.src)
// 显示图片预览
showImagePreview({
images,
...
...
@@ -164,7 +164,6 @@ onMounted(() => {
.volunteers-container {
background-color: #F2EBDB;
min-height: 100vh;
background-color: #f5f5f5;
}
.header {
...
...
Please
register
or
login
to post a comment