From b9bc46d3d0756e9c0fc0ca698e3ea6bce9cecae5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E4=B8=B9=E5=8D=8E?= <14641717+yang-danhua@user.noreply.gitee.com> Date: Thu, 22 May 2025 17:33:10 +0800 Subject: [PATCH] =?UTF-8?q?style:=E5=AD=97=E4=BD=93=E6=A0=B7=E5=BC=8F?= =?UTF-8?q?=E5=85=BC=E5=AE=B9=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/static/index/css/public.css | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/public/static/index/css/public.css b/public/static/index/css/public.css index 131b59b6..6259aad2 100755 --- a/public/static/index/css/public.css +++ b/public/static/index/css/public.css @@ -155,4 +155,32 @@ div{ } #header{ height: 60px; -} \ No newline at end of file +} +/*屏幕兼容性*/ +@media screen and (min-width:750px) and (max-width:1280px){ + body{ + zoom: 0.75; + } +} +@media screen and (min-width:1281px) and (max-width:1360px) { + body{ + zoom: 0.8; + } +} +@media screen and (min-width:1361px) and (max-width:1460px) { + body{ + zoom: 0.85; + } +} +@media screen and (min-width:1461px) and (max-width:1660px) { + body{ + zoom: 0.9; + } +} +@media screen and (min-width:1661px) and (max-width:1760px) { + body{ + zoom: 0.95; + } +} +@media screen and (min-width:1761px) and (max-width:1960px) {} +@media screen and (min-width:1980px) {} \ No newline at end of file