From 32e69cf77467780ff7daabba2e428c807f6f788c Mon Sep 17 00:00:00 2001 From: whycq <913841844@qq.com> Date: 星期二, 14 二月 2023 20:58:04 +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