From f72f8966ba4e1715e8df82d5cf1c7e912b6da719 Mon Sep 17 00:00:00 2001 From: yiming <m13691596795@163.com> Date: 星期一, 01 四月 2024 10:21:07 +0800 Subject: [PATCH] 检索的bug --- pages/home/home.wxss | 33 +++++++++++++++++++++++++++++++++ 1 files changed, 33 insertions(+), 0 deletions(-) diff --git a/pages/home/home.wxss b/pages/home/home.wxss index 16964bf..54fd68c 100644 --- a/pages/home/home.wxss +++ b/pages/home/home.wxss @@ -58,8 +58,41 @@ .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 { + 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; } -- Gitblit v1.9.1