From ccda9ec2fe70d8f51ef184eafc04b78d22dfbabd Mon Sep 17 00:00:00 2001
From: litian <C21AF165>
Date: 星期三, 26 六月 2024 15:02:28 +0800
Subject: [PATCH] 小程序,教材,课程

---
 pages/home/home.wxss |   60 ++++++++++++++++++++++++++++++++++++++++++++++++++++++------
 1 files changed, 54 insertions(+), 6 deletions(-)

diff --git a/pages/home/home.wxss b/pages/home/home.wxss
index eff074d..dd34c3e 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 {
@@ -44,10 +45,24 @@
   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 {
@@ -58,7 +73,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;
@@ -149,7 +197,7 @@
   justify-content: space-between;
 }
 
-.listBox .listItemBox {  
+.listBox .listItemBox {
   width: 49%;
   margin-bottom: 30rpx;
 }
@@ -228,9 +276,9 @@
   color: #ff6d00;
   font-size: 30rpx;
   background-repeat: no-repeat;
-  background-size: 40% 64%;
+  background-size: 40%;
   background-position: right;
-  background-image: url(http://jsysf.bnuic.com/website/image/click-icon.png);
+  background-image: url(https://jsek.bnuic.com/home/image/click-icon.png);
 }
 
 .t-tabs .t-tabs__track {

--
Gitblit v1.9.1