From ae56da5f2572770206c8d325375185eb9b1b1194 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=98=89=E8=B1=AA?= <42510293+ziyujiahao@users.noreply.github.com> Date: Mon, 2 Mar 2026 14:25:10 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=E6=A8=A1=E6=9D=BF=E6=96=B0=E5=BB=BA=E9=A2=84=E8=A7=88=E6=97=B6?= =?UTF-8?q?=EF=BC=8C=E9=83=A8=E5=88=86=E5=B1=8F=E5=B9=95=E5=B0=BA=E5=AF=B8?= =?UTF-8?q?=E5=B1=95=E7=A4=BA=E4=B8=8D=E5=85=A8=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core-frontend/src/views/template-market/index.vue | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/core/core-frontend/src/views/template-market/index.vue b/core/core-frontend/src/views/template-market/index.vue index 111306436b..d16b37b6a5 100644 --- a/core/core-frontend/src/views/template-market/index.vue +++ b/core/core-frontend/src/views/template-market/index.vue @@ -770,12 +770,17 @@ defineExpose({ .img-main-create { display: inherit; - justify-content: center; - width: 100%; background: #0f1114; overflow-x: auto; overflow-y: hidden; + width: 100%; + height: 100% !important; +} + +.img-main-create img { + width: 100%; height: 100%; + object-fit: contain; /* 保持图片比例,不裁剪 */ } .custom-market-tree {