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 @@ 暂无图片 - + + + + + +