From 19c752e81ddf344c748af257cb1987da2de83d3e Mon Sep 17 00:00:00 2001 From: cherishsince Date: Tue, 18 Jun 2024 14:53:51 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BC=98=E5=8C=96=E3=80=91=E8=B0=83?= =?UTF-8?q?=E6=95=B4=E5=86=85=E8=BE=B9=E8=B7=9D=EF=BC=8C=E8=AE=A9imag=20ca?= =?UTF-8?q?rd=20=E6=BB=9A=E5=8A=A8=E5=BA=95=E9=83=A8=E6=9C=89=E4=B8=80?= =?UTF-8?q?=E4=BA=9B=E8=B7=9D=E7=A6=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/ai/image/ImageTask.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/views/ai/image/ImageTask.vue b/src/views/ai/image/ImageTask.vue index 85708783..4f05d32d 100644 --- a/src/views/ai/image/ImageTask.vue +++ b/src/views/ai/image/ImageTask.vue @@ -154,9 +154,11 @@ onUnmounted(async () => { margin: 0; padding: 0; height: 100%; + position: relative; } .task-image-list { + position: relative; display: flex; flex-direction: row; flex-wrap: wrap; @@ -164,12 +166,16 @@ onUnmounted(async () => { height: 100%; overflow: auto; padding: 20px; - padding-bottom: 300px; + padding-bottom: 100px; + box-sizing: border-box; /* 确保内边距不会增加高度 */ >div { margin-right: 20px; margin-bottom: 20px; } + >div:last-of-type { + //margin-bottom: 100px; + } }