From 69a1b05bf19d29c91f190873a842391b0c9be370 Mon Sep 17 00:00:00 2001
From: 闫增涛 <1829501689@qq.com>
Date: 星期五, 12 四月 2024 09:42:10 +0800
Subject: [PATCH] 答题器听力题播放完善,样式优化

---
 pages/home/home.wxss |   35 +++++++++++++++++++++++++++++++++++
 1 files changed, 35 insertions(+), 0 deletions(-)

diff --git a/pages/home/home.wxss b/pages/home/home.wxss
index 16964bf..c4dc56e 100644
--- a/pages/home/home.wxss
+++ b/pages/home/home.wxss
@@ -1,3 +1,5 @@
+@import "./home.skeleton.wxss";
+
 .background {
   width: 100%;
   position: fixed;
@@ -58,8 +60,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 {
+  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;
 }

--
Gitblit v1.9.1