From ea1ce7fa5367c30ab2a1255759371e1135f2331c Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期二, 23 九月 2025 15:01:45 +0800
Subject: [PATCH] 优化
---
server/src/main/resources/templates/mobile/css/index.css | 21 ++++++++++++++++++---
1 files changed, 18 insertions(+), 3 deletions(-)
diff --git a/server/src/main/resources/templates/mobile/css/index.css b/server/src/main/resources/templates/mobile/css/index.css
index 7c2be4d..623696f 100644
--- a/server/src/main/resources/templates/mobile/css/index.css
+++ b/server/src/main/resources/templates/mobile/css/index.css
@@ -1,17 +1,32 @@
+
.box {
width: 100%;
+ padding-top:44px;
}
.banner {
width: 100%;
height: 211px;
+}
+.swiper-container2 {
+ width: 100%;
+ height: 211px;
+}
+.swiper-slide1 {
+ width: 100%;
padding: 0 30px;
box-sizing: border-box;
- background-image: url("../images/home_banner@2x.png");
- background-repeat: no-repeat;
- background-size: 100% 100%;
display: flex;
flex-direction: column;
justify-content: center;
+ position: relative;
+}
+.swiper-slide1 img {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ z-index: -1;
}
.banner_title {
font-weight: bold;
--
Gitblit v1.9.3