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 | 46 ++++++++++++++++++++++++++++++++++++---------- 1 files changed, 36 insertions(+), 10 deletions(-) diff --git a/pages/home/home.wxss b/pages/home/home.wxss index 480c400..eb6a375 100644 --- a/pages/home/home.wxss +++ b/pages/home/home.wxss @@ -1,15 +1,16 @@ +@import "./home.skeleton.wxss"; + .background { width: 100%; position: fixed; top: 0; left: 0; height: 80rpx; - line-height: 80rpx; + line-height: 88rpx; z-index: 3; text-align: center; - padding-top: 110rpx; color: #fff; - font-size: 36rpx; + font-size: 34rpx; } .white { @@ -32,7 +33,7 @@ padding-top: 180rpx; } -.home-page-header .bg { +.bg { height: 680rpx; position: absolute; top: 0; @@ -40,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 { @@ -65,11 +80,17 @@ display: flex; align-items: center; justify-content: center; + background: #f6f6f6; } .swiper { height: 380rpx; width: 100%; +} + +.swiper-item { + width: 100%; + height: 100%; } .swiperItem { @@ -79,10 +100,10 @@ } .swiper .img { - width: auto !important; - height: auto !important; max-width: 100% !important; - max-height: 100% !important; + /* max-height: 100% !important; */ + width: auto !important; + /* height: auto !important; */ position: absolute !important; top: 0 !important; left: 0 !important; @@ -260,9 +281,9 @@ color: #ff6d00; font-size: 30rpx; background-repeat: no-repeat; - background-size: 40% 64%; + background-size: 40%; background-position: right; - background-image: url(http://jsysf.bnuic.com/website/image/click-icon.png); + background-image: url(https://jsek.bnuic.com/home/image/click-icon.png); } .t-tabs .t-tabs__track { @@ -294,6 +315,7 @@ width: 336rpx; height: 205rpx; flex: 1; + margin: 0 auto; } .listBox1 .body-info { @@ -355,6 +377,10 @@ font-size: 26rpx; } +.listBox .empyt { + margin: 0 auto; +} + .listBox2 .empyt { padding: 20rpx; box-sizing: border-box; -- Gitblit v1.9.1