From 427e376cb2278af4b0d7e24e56cbbf8341e4bc5a Mon Sep 17 00:00:00 2001 From: whycq <10027870+whycq@user.noreply.gitee.com> Date: 星期三, 05 六月 2024 10:52:09 +0800 Subject: [PATCH] # --- Monitor-APP/pages/home/home.css | 25 +++++++++++++++++++------ 1 files changed, 19 insertions(+), 6 deletions(-) diff --git a/Monitor-APP/pages/home/home.css b/Monitor-APP/pages/home/home.css index 37e87e2..90a2664 100644 --- a/Monitor-APP/pages/home/home.css +++ b/Monitor-APP/pages/home/home.css @@ -1,22 +1,35 @@ .text-content { width: 100%; height: 100%; + font-size: 14px; /* background-color: aliceblue; */ } .swiper-head { width: 100%; height: 10%; - background-color: #000000; - display: grid; - grid-template-columns: 1fr 1fr 1fr; + background-color: rgba(54, 94, 226, 0.5); + display: flex; + /* grid-template-columns: 2fr 3fr 2fr 2fr 1fr; */ + align-items: center; + } .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 + /* background-color: #00a8ff; */ +} +.swiper-item { + display: flex; + align-items: center; + /* 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); +} -- Gitblit v1.9.1