From 9385713c95cd1cb92d0ba8c89318a6822aab6cb5 Mon Sep 17 00:00:00 2001 From: litian <C21AF165> Date: 星期一, 20 一月 2025 18:24:14 +0800 Subject: [PATCH] home --- pages/home/home.wxss | 30 +++++++++++++++++++++++++++--- 1 files changed, 27 insertions(+), 3 deletions(-) diff --git a/pages/home/home.wxss b/pages/home/home.wxss index 16f8636..eb6a375 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,14 +41,28 @@ z-index: -1; } -.home-page-header .bg .image { +.bg .image { height: 100%; +} + +.home-page-header .search { + display: flex; + align-items: center; } .home-page-header .search .t-search__input-container { height: 96rpx; background: #fff !important; font-size: 28rpx !important; + flex: 1; + width: 85vw; + margin-left: 20rpx; +} + +.home-page-header .search .icon { + width: 40rpx; + height: 40rpx; + } .home-page-header .t-search__input { @@ -72,6 +86,11 @@ .swiper { height: 380rpx; width: 100%; +} + +.swiper-item { + width: 100%; + height: 100%; } .swiperItem { @@ -262,7 +281,7 @@ color: #ff6d00; font-size: 30rpx; background-repeat: no-repeat; - background-size: 40% 64%; + background-size: 40%; background-position: right; background-image: url(https://jsek.bnuic.com/home/image/click-icon.png); } @@ -296,6 +315,7 @@ width: 336rpx; height: 205rpx; flex: 1; + margin: 0 auto; } .listBox1 .body-info { @@ -357,6 +377,10 @@ font-size: 26rpx; } +.listBox .empyt { + margin: 0 auto; +} + .listBox2 .empyt { padding: 20rpx; box-sizing: border-box; -- Gitblit v1.9.1