From 2fc9f41f99948bdbab3245b59bc54ef81f1e0509 Mon Sep 17 00:00:00 2001 From: dongqian <3475123872@qq.com> Date: Thu, 3 Jul 2025 17:24:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=BB=91=E5=8A=A8=E6=9D=A1?= =?UTF-8?q?=E5=AF=BC=E8=87=B4=E7=9A=84=E5=8F=B3=E8=BE=B9=E7=A9=BA=E7=99=BD?= =?UTF-8?q?=E9=A1=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Selectmodel.vue | 25 +++++++++++++++++++------ 1 file changed, 19 insertions(+), 6 deletions(-) diff --git a/src/views/Selectmodel.vue b/src/views/Selectmodel.vue index 8c515c2..548fd54 100644 --- a/src/views/Selectmodel.vue +++ b/src/views/Selectmodel.vue @@ -308,13 +308,26 @@ const goToEmotionsmodel = () => { .homepage { background-size: cover; min-height: 100vh; + width: 100vw; + overflow-x: hidden; + } + + .main-icon { + margin-top:46rem; + width: calc(20vw + 100px); + max-width: 300px; + min-width: 300px; + } + + /* 隐藏滚动条 */ + body { + overflow-x: hidden; + } + + html, body { + width: 100%; + max-width: 100vw; } - /* .main-icon { - max-width: 350px; - width: 28vw; - height: auto; - margin-top:48vw; -} */ } @media screen and (min-width: 1025px) and (max-width: 1700px){ .main-icon {