From 5dfe7cf20819d6727e19aa7028b42fa63d48ef72 Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期二, 02 七月 2024 15:50:14 +0800
Subject: [PATCH] #
---
Monitor-APP/pages/home/home.css | 20 ++++++++++++++------
1 files changed, 14 insertions(+), 6 deletions(-)
diff --git a/Monitor-APP/pages/home/home.css b/Monitor-APP/pages/home/home.css
index cdd14d1..25ce30e 100644
--- a/Monitor-APP/pages/home/home.css
+++ b/Monitor-APP/pages/home/home.css
@@ -1,7 +1,7 @@
.text-content {
width: 100%;
height: 100%;
- font-size: 20px;
+ font-size: 1.6vw;
/* background-color: aliceblue; */
}
.swiper-head {
@@ -15,21 +15,29 @@
}
.swiper-body {
width: 100%;
- height: 90%;
+ height: 100%;
/* background-color: #aa0000; */
}
.swiper-body-main {
width: 100%;
height: 100%;
+ padding-bottom: 2px;
+
/* background-color: #00a8ff; */
}
.swiper-item {
display: flex;
+ flex-wrap: wrap;
align-items: center;
- /* display: grid; */
- /* align-items: center; */
- /* grid-template-columns: 2fr 3fr 2fr 2fr 1fr; */
+ text-align: start;
+ background-color: rgba(0, 0, 0, .2);
}
.swiper-item:nth-child(2n-1) {
- background-color: rgba(255, 255, 255, .1);
+ background-color: rgba(145, 145, 145, 0.1);
+}
+.swiper-item:first-child {
+ background-color: rgba(255, 85, 0, 0.7);
+}
+.swiper-item:nth-child(2) {
+ background-color: rgba(255, 85, 0, 0.5);
}
--
Gitblit v1.9.1