From 7974f3266c323e4cd4fdff7d457fe75f39b8c199 Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期三, 25 九月 2024 15:59:06 +0800 Subject: [PATCH] 云学习跳转逻辑修改 --- pages/home/home.wxss | 24 ++++++++++++++++++++++-- 1 files changed, 22 insertions(+), 2 deletions(-) diff --git a/pages/home/home.wxss b/pages/home/home.wxss index c7c1732..675b791 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 { @@ -296,6 +315,7 @@ width: 336rpx; height: 205rpx; flex: 1; + margin: 0 auto; } .listBox1 .body-info { -- Gitblit v1.9.1