From 75c63ae6c5cb34c777c9fb3b375379952f7995b4 Mon Sep 17 00:00:00 2001 From: litian <C21AF165> Date: 星期五, 12 四月 2024 20:45:13 +0800 Subject: [PATCH] css --- pages/home/home.wxss | 42 ++++++++++++++++++++++++++++++++++++++---- 1 files changed, 38 insertions(+), 4 deletions(-) diff --git a/pages/home/home.wxss b/pages/home/home.wxss index 30146a9..465595b 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 { @@ -58,7 +59,40 @@ .home-page-header .swiper-wrap { margin-top: 30rpx; margin-bottom: 10rpx; + height: 380rpx; + width: 100%; + border-radius: 18rpx; + overflow: hidden; + display: flex; + align-items: center; + justify-content: center; + background: #f6f6f6; } + +.swiper { + height: 380rpx; + width: 100%; +} + +.swiperItem { + position: relative; + height: 380rpx; + width: 100%; +} + +.swiper .img { + max-width: 100% !important; + /* max-height: 100% !important; */ + width: auto !important; + /* height: auto !important; */ + position: absolute !important; + top: 0 !important; + left: 0 !important; + right: 0 !important; + bottom: 0 !important; + margin: auto !important; +} + .home-page-menu .t-grid--card { margin: 0; @@ -230,7 +264,7 @@ background-repeat: no-repeat; background-size: 40% 64%; background-position: right; - background-image: url(http://182.92.203.7:3007/jsek/website/image/click-icon.png); + background-image: url(https://jsek.bnuic.com/website/image/click-icon.png); } .t-tabs .t-tabs__track { -- Gitblit v1.9.1