From fa4c36d0848b047b853dcea33f1b995a8b9067da Mon Sep 17 00:00:00 2001 From: doum <doum> Date: 星期五, 19 九月 2025 17:47:42 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- mobile/css/index.css | 19 ++++++++++++++++--- 1 files changed, 16 insertions(+), 3 deletions(-) diff --git a/mobile/css/index.css b/mobile/css/index.css index 7c2be4d..0613c22 100644 --- a/mobile/css/index.css +++ b/mobile/css/index.css @@ -4,14 +4,27 @@ .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