From f6efc465e8f5633313afc8da54c17988722073eb Mon Sep 17 00:00:00 2001
From: zhangyongtian <1181606322@qq.com>
Date: Sat, 14 Sep 2024 15:55:07 +0800
Subject: [PATCH] fix: 审核页面逻辑调整、滚动调整
---
gz-wxparty/pages/homePage/index.wxss | 61 +++++++++++++++++++++++++++++-
1 files changed, 59 insertions(+), 2 deletions(-)
diff --git a/gz-wxparty/pages/homePage/index.wxss b/gz-wxparty/pages/homePage/index.wxss
index 2702e9f..bf1953e 100644
--- a/gz-wxparty/pages/homePage/index.wxss
+++ b/gz-wxparty/pages/homePage/index.wxss
@@ -14,9 +14,30 @@
height: 300rpx;
}
+.swiper-main-image {
+ position: relative;
+ height: 100%;
+ width: 100%;
+}
+
.swiper-item {
height: 100%;
width: 100%;
+}
+
+.swiper-item1 {
+ position: absolute;
+ top: 60px;
+ left: 10px;
+ height: 42px;
+}
+
+.swiper-item2 {
+ position: absolute;
+ top: 72rpx;
+ left: 20px;
+ width: 200px;
+ height: 61px;
}
.homePage-main {
@@ -172,6 +193,14 @@
align-items: center;
padding: 0 32rpx;
justify-content: space-between;
+ margin: 0 32rpx;
+}
+
+.swiper-head {
+ position: absolute;
+ width: 100%;
+ z-index: 1;
+ bottom: -64rpx;
}
.mediate-image {
@@ -434,14 +463,42 @@
font-size: 34rpx;
line-height: 50rpx;
color: var(--main-color);
- margin-bottom:24rpx;
+ margin-bottom: 24rpx;
}
.AiModal-subTitle {
- color: rgba(23,26,29,0.60);
+ color: rgba(23, 26, 29, 0.60);
text-align: center;
margin-bottom: 24rpx;
}
+
.AiModal-button {
width: 100%;
+}
+
+.swiper {
+ padding: 32rpx;
+}
+
+.swiper-bg {
+ position: relative;
+ background: linear-gradient(106deg, #5fa6d4 0%, #1a6fb8 100%);
+}
+
+.swiper-bg::after {
+ content: '';
+ position: absolute;
+ width: 100%;
+ height: 20px;
+ border-radius: 100%;
+ background: inherit;
+ /*继承父级背景*/
+ bottom: 0;
+ left: 50%;
+ transform: translate(-50%, 50%);
+}
+
+.swiper-main {
+ position: absolute;
+ top: 0;
}
\ No newline at end of file
--
Gitblit v1.8.0