From 0ea222c37640c6ec85fed93bbc3a7350a26c6393 Mon Sep 17 00:00:00 2001 From: supine0703 Date: Sun, 30 Jun 2024 06:02:36 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E8=A7=A3=E5=86=B3=E5=B0=8F=E5=B1=8F?= =?UTF-8?q?=E7=A7=BB=E5=8A=A8=E7=AB=AF=E6=98=BE=E7=A4=BA=E9=97=AE=E9=A2=98?= =?UTF-8?q?=20=E5=B9=B6=E4=BC=98=E5=8C=96=E7=BB=86=E8=8A=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 问题: 当(移动端)屏幕较小时,会造成组件重叠、组件在屏幕外(显示不全)等。 1. 对小屏移动端(手机)显示做优化,特别是横屏。=> 低于高度或者宽度显示阈值,则固定大小,使用滚轮 2. 对显示滚轮做优化,使组件在出现滚轮时不产生瞬间偏移,造成视觉割裂感 3. 因为做了小屏显示的优化, 我认为不必将设置界面阈值设置为990,我降低到了720(让移动端也可以开启),并对其做了响应式 --- src/App.vue | 66 +++++++++++++++++++++++++++++++++++-- src/components/Message.vue | 50 ++++++++++++++-------------- src/views/Func/index.vue | 9 +++++ src/views/Main/Right.vue | 11 +++++-- src/views/MoreSet/index.vue | 17 ++++++++++ 5 files changed, 124 insertions(+), 29 deletions(-) diff --git a/src/App.vue b/src/App.vue index 7cf76e2..7c6aa87 100644 --- a/src/App.vue +++ b/src/App.vue @@ -27,7 +27,7 @@ -