From d55bce7deb86360aeae1b58df507ba554e2a924d Mon Sep 17 00:00:00 2001
From: zwl <1051256694@qq.com>
Date: 星期二, 16 九月 2025 13:00:00 +0800
Subject: [PATCH] #
---
Monitor-APP/pages/home/home.css | 17 +++++++++++------
1 files changed, 11 insertions(+), 6 deletions(-)
diff --git a/Monitor-APP/pages/home/home.css b/Monitor-APP/pages/home/home.css
index fe2a482..c1f87b5 100644
--- a/Monitor-APP/pages/home/home.css
+++ b/Monitor-APP/pages/home/home.css
@@ -1,21 +1,24 @@
.text-content {
width: 100%;
height: 100%;
- font-size: 40px;
+ font-size: 3vw;
/* background-color: aliceblue; */
+ display: flex;
+ flex-direction: column;
+ justify-content: space-around;
}
.swiper-head {
width: 100%;
height: 10%;
background-color: rgba(54, 94, 226, 0.5);
- display: grid;
- grid-template-columns: 2fr 3fr 2fr 2fr 1fr;
+ display: flex;
+ /* grid-template-columns: 2fr 3fr 2fr 2fr 1fr; */
align-items: center;
}
.swiper-body {
width: 100%;
- height: 90%;
+ height: 100%;
/* background-color: #aa0000; */
}
.swiper-body-main {
@@ -24,9 +27,11 @@
/* background-color: #00a8ff; */
}
.swiper-item {
- display: grid;
+ display: flex;
align-items: center;
- grid-template-columns: 2fr 3fr 2fr 2fr 1fr;
+ /* 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