From 2e2e3388e99a6ac5db426b84c1fb76da3dec31aa Mon Sep 17 00:00:00 2001 From: whycq <913841844@qq.com> Date: 星期四, 07 三月 2024 09:27:59 +0800 Subject: [PATCH] # --- Monitor-APP/pages/home/home.css | 32 ++++++++++++++++++++++++-------- 1 files changed, 24 insertions(+), 8 deletions(-) diff --git a/Monitor-APP/pages/home/home.css b/Monitor-APP/pages/home/home.css index 37e87e2..e484741 100644 --- a/Monitor-APP/pages/home/home.css +++ b/Monitor-APP/pages/home/home.css @@ -1,22 +1,38 @@ .text-content { width: 100%; height: 100%; + font-size: 10px; /* background-color: aliceblue; */ } .swiper-head { - width: 100%; + /* width: 100%; */ height: 10%; - background-color: #000000; - display: grid; - grid-template-columns: 1fr 1fr 1fr; + background-color: #095dbe; + display: flex; + color: #fefefe; + /* grid-template-columns: 2fr 3fr 2fr 2fr 1fr; */ + align-items: center; + font-weight: bold; + } .swiper-body { width: 100%; height: 90%; - background-color: #aa0000; + /* background-color: #aa0000; */ } .swiper-body-main { width: 100%; - height: 100%; - background-color: #00a8ff; -} \ No newline at end of file + height: 97%; + /* background-color: #00a8ff; */ +} +.swiper-item { + display: flex; + align-items: center; + /* background-color: aliceblue; */ + /* display: grid; */ + /* align-items: center; */ + /* grid-template-columns: 2fr 3fr 2fr 2fr 1fr; */ +} +.swiper-item:nth-child(2n-2) { + background-color: #073367; +} -- Gitblit v1.9.1