From 62214bc3b8ced2f97fd381e5ed3e18d318b76a31 Mon Sep 17 00:00:00 2001 From: whycq <10027870+whycq@user.noreply.gitee.com> Date: 星期四, 04 五月 2023 16:32:19 +0800 Subject: [PATCH] # --- Monitor-APP/pages/home/home.css | 21 ++++++++++++++++----- 1 files changed, 16 insertions(+), 5 deletions(-) diff --git a/Monitor-APP/pages/home/home.css b/Monitor-APP/pages/home/home.css index 37e87e2..fe2a482 100644 --- a/Monitor-APP/pages/home/home.css +++ b/Monitor-APP/pages/home/home.css @@ -1,22 +1,33 @@ .text-content { width: 100%; height: 100%; + font-size: 40px; /* background-color: aliceblue; */ } .swiper-head { width: 100%; height: 10%; - background-color: #000000; + background-color: rgba(54, 94, 226, 0.5); display: grid; - grid-template-columns: 1fr 1fr 1fr; + 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: 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