From 0e292005a339a4974712541a831e9746c4ee0a7b Mon Sep 17 00:00:00 2001 From: yiming <m13691596795@163.com> Date: 星期五, 29 三月 2024 14:38:17 +0800 Subject: [PATCH] 音频播放按钮 --- pages/home/home.wxss | 34 +++++++++++++++++++++++++++++++++- 1 files changed, 33 insertions(+), 1 deletions(-) diff --git a/pages/home/home.wxss b/pages/home/home.wxss index 30146a9..480c400 100644 --- a/pages/home/home.wxss +++ b/pages/home/home.wxss @@ -58,7 +58,39 @@ .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; } + +.swiper { + height: 380rpx; + width: 100%; +} + +.swiperItem { + position: relative; + height: 380rpx; + width: 100%; +} + +.swiper .img { + width: auto !important; + height: auto !important; + max-width: 100% !important; + max-height: 100% !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 +262,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(http://jsysf.bnuic.com/website/image/click-icon.png); } .t-tabs .t-tabs__track { -- Gitblit v1.9.1