From 4722a49b9f09c18600b2e2bd849c418430d7f4d5 Mon Sep 17 00:00:00 2001
From: zjj <3272660260@qq.com>
Date: 星期三, 28 五月 2025 16:02:54 +0800
Subject: [PATCH] #
---
Monitor-APP/pages/home/home.css | 14 +++++++++-----
1 files changed, 9 insertions(+), 5 deletions(-)
diff --git a/Monitor-APP/pages/home/home.css b/Monitor-APP/pages/home/home.css
index fe2a482..c39764d 100644
--- a/Monitor-APP/pages/home/home.css
+++ b/Monitor-APP/pages/home/home.css
@@ -1,15 +1,15 @@
.text-content {
width: 100%;
height: 100%;
- font-size: 40px;
+ font-size: 2vw;
/* background-color: aliceblue; */
}
.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;
}
@@ -24,9 +24,13 @@
/* background-color: #00a8ff; */
}
.swiper-item {
- display: grid;
+ display: flex;
+ flex-wrap: wrap;
align-items: center;
- grid-template-columns: 2fr 3fr 2fr 2fr 1fr;
+ text-align: start;
+ border-bottom: 2px solid #000;
+ background-color: rgba(0, 0, 0, .2);
+ margin-left: 10rpx;
}
.swiper-item:nth-child(2n-1) {
background-color: rgba(255, 255, 255, .1);
--
Gitblit v1.9.1