From 574d4e7fa32f575159886b89ca58376647b16fbd Mon Sep 17 00:00:00 2001 From: tianyongbao Date: Sun, 22 Feb 2026 16:57:09 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=A2=9E=E5=8A=A0=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=EF=BC=8C=E5=8A=9F=E8=83=BD=E5=AE=8C=E5=96=84=E4=BF=AE=E5=A4=8D?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/ImageUpload/index.vue | 21 +++ src/views/collect/commemorativeCoin/index.vue | 132 ++++++++++++++---- 2 files changed, 123 insertions(+), 30 deletions(-) diff --git a/src/components/ImageUpload/index.vue b/src/components/ImageUpload/index.vue index cb61847..626de9f 100644 --- a/src/components/ImageUpload/index.vue +++ b/src/components/ImageUpload/index.vue @@ -215,4 +215,25 @@ function listToString(list, separator) { :deep(.hide .el-upload--picture-card) { display: none; } + +// 让图片在一行显示多个 +.component-upload-image { + :deep(.el-upload-list) { + display: flex; + flex-wrap: wrap; + gap: 8px; + } + + :deep(.el-upload--picture-card) { + width: 148px; + height: 148px; + line-height: 148px; + } + + :deep(.el-upload-list__item) { + width: 148px; + height: 148px; + margin: 0 !important; + } +} diff --git a/src/views/collect/commemorativeCoin/index.vue b/src/views/collect/commemorativeCoin/index.vue index 37bc988..8b73c8e 100644 --- a/src/views/collect/commemorativeCoin/index.vue +++ b/src/views/collect/commemorativeCoin/index.vue @@ -3,38 +3,30 @@
查询条件
- + + + - - - - - - - - + + - + - - - - - - +
搜索 @@ -65,14 +57,20 @@ 暂无图片 - + + + + + +