From 07bfe1dfe1173132284c5500cbe003f2d9d397b9 Mon Sep 17 00:00:00 2001
From: ZY <zc857179121@qq.com>
Date: 星期二, 01 四月 2025 16:59:31 +0800
Subject: [PATCH] 12
---
Monitor-APP/pages/home/home.css | 28 ++++++++++++++++++++++------
1 files changed, 22 insertions(+), 6 deletions(-)
diff --git a/Monitor-APP/pages/home/home.css b/Monitor-APP/pages/home/home.css
index 37e87e2..c5f0793 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: 4.5vw;
/* background-color: aliceblue; */
+ display: flex;
+ flex-direction: column;
+ justify-content: space-around;
}
.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