From b471803c1a9e4c1452a98a8b3631bde66641b910 Mon Sep 17 00:00:00 2001 From: litian <C21AF165> Date: 星期三, 25 九月 2024 15:01:50 +0800 Subject: [PATCH] css --- pages/home/home.wxss | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/pages/home/home.wxss b/pages/home/home.wxss index dd34c3e..675b791 100644 --- a/pages/home/home.wxss +++ b/pages/home/home.wxss @@ -33,7 +33,7 @@ padding-top: 180rpx; } -.home-page-header .bg { +.bg { height: 680rpx; position: absolute; top: 0; @@ -41,7 +41,7 @@ z-index: -1; } -.home-page-header .bg .image { +.bg .image { height: 100%; } @@ -86,6 +86,11 @@ .swiper { height: 380rpx; width: 100%; +} + +.swiper-item { + width: 100%; + height: 100%; } .swiperItem { @@ -310,6 +315,7 @@ width: 336rpx; height: 205rpx; flex: 1; + margin: 0 auto; } .listBox1 .body-info { -- Gitblit v1.9.1