From ac3e1bb671ace5e0495bae218ca8508817e35e5a Mon Sep 17 00:00:00 2001 From: whycq <913841844@qq.com> Date: 星期日, 10 三月 2024 22:43:50 +0800 Subject: [PATCH] # --- Monitor-APP/pages/home/home.css | 26 ++++++++++++++++---------- 1 files changed, 16 insertions(+), 10 deletions(-) diff --git a/Monitor-APP/pages/home/home.css b/Monitor-APP/pages/home/home.css index fe2a482..5fcb589 100644 --- a/Monitor-APP/pages/home/home.css +++ b/Monitor-APP/pages/home/home.css @@ -1,16 +1,19 @@ .text-content { width: 100%; height: 100%; - font-size: 40px; + font-size: 10px; /* background-color: aliceblue; */ } .swiper-head { - width: 100%; + /* width: 100%; */ height: 10%; - background-color: rgba(54, 94, 226, 0.5); - display: grid; - grid-template-columns: 2fr 3fr 2fr 2fr 1fr; + background-color: #095dbe; + display: flex; + color: #fefefe; + font-size: 13px; + /* grid-template-columns: 2fr 3fr 2fr 2fr 1fr; */ align-items: center; + font-weight: bold; } .swiper-body { @@ -20,14 +23,17 @@ } .swiper-body-main { width: 100%; - height: 100%; + height: 97%; /* background-color: #00a8ff; */ } .swiper-item { - display: grid; + display: flex; align-items: center; - grid-template-columns: 2fr 3fr 2fr 2fr 1fr; + /* background-color: aliceblue; */ + /* display: grid; */ + /* align-items: center; */ + /* grid-template-columns: 2fr 3fr 2fr 2fr 1fr; */ } -.swiper-item:nth-child(2n-1) { - background-color: rgba(255, 255, 255, .1); +.swiper-item:nth-child(2n-2) { + background-color: #073367; } -- Gitblit v1.9.1