From f7ae9d99b12988cd09975aeee1fbcc90e072303c Mon Sep 17 00:00:00 2001 From: 闫增涛 <1829501689@qq.com> Date: 星期四, 19 九月 2024 20:44:02 +0800 Subject: [PATCH] 云学习查看 --- pages/home/home.wxss | 21 ++++++++++++++++++--- 1 files changed, 18 insertions(+), 3 deletions(-) diff --git a/pages/home/home.wxss b/pages/home/home.wxss index 16f8636..b152de7 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 { @@ -262,7 +276,7 @@ color: #ff6d00; font-size: 30rpx; background-repeat: no-repeat; - background-size: 40% 64%; + background-size: 40%; background-position: right; background-image: url(https://jsek.bnuic.com/home/image/click-icon.png); } @@ -296,6 +310,7 @@ width: 336rpx; height: 205rpx; flex: 1; + margin: 0 auto; } .listBox1 .body-info { -- Gitblit v1.9.1