From 8cef252c58f55b659b1c3536670b2339254b1c1e Mon Sep 17 00:00:00 2001 From: lihaoyuan <18278596806@163.com> Date: Mon, 7 Jul 2025 15:52:20 +0800 Subject: [PATCH] =?UTF-8?q?update:=E9=80=82=E9=85=8D=E4=BA=86=E7=A7=BB?= =?UTF-8?q?=E5=8A=A8=E7=AB=AF=E5=85=A5=E9=A9=BB=E6=A8=A1=E5=9D=97=E5=92=8C?= =?UTF-8?q?=E9=A9=B3=E5=9B=9E=E6=A8=A1=E5=9D=97=E4=B8=AD=E2=80=9C=E6=89=80?= =?UTF-8?q?=E5=9C=A8=E5=9C=B0=E5=8C=BA=E2=80=9D=E9=80=89=E6=8B=A9=E7=9A=84?= =?UTF-8?q?=E5=9C=B0=E5=8C=BA=E8=8F=9C=E5=8D=95=E5=AE=BD=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/css/index.css | 9 +++++++++ src/views/start/check.vue | 1 + src/views/start/start.vue | 6 +----- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/src/assets/css/index.css b/src/assets/css/index.css index 7b15c6b..10d24ef 100644 --- a/src/assets/css/index.css +++ b/src/assets/css/index.css @@ -78,3 +78,12 @@ html{ color: inherit; background: inherit; } + + +@media (max-width: 768px) { + /*为了适配移动端表单能看清楚设置样式,因为cascader样式和app是同级的,所以不能在scope里面设置*/ +.multi-choose .el-cascader-menu{ + width: 120px; + min-width: 120px; +} +} \ No newline at end of file diff --git a/src/views/start/check.vue b/src/views/start/check.vue index 84774a8..bcf525e 100644 --- a/src/views/start/check.vue +++ b/src/views/start/check.vue @@ -219,6 +219,7 @@ :options="cascaderOptions2" @change="handleChange" :placeholder="item.placeholder" + popperClass="multi-choose" /> { } @media (max-width: 768px) { - - .el-cascader-menu { - width: 120px; - min-width: 120px; - } .signUp-container { .steps-container { width: 100%;