From 31e3890c2a6a81bcc22b6f68c129d580df8e1f0c Mon Sep 17 00:00:00 2001 From: liuwh <964324856@qq.com> Date: Tue, 10 Sep 2024 18:27:40 +0800 Subject: [PATCH] 修改小程序 --- gz-wxparty/pages/homePage/index.wxss | 40 ++++++++++++++++++++++++++++++++++++++-- 1 files changed, 38 insertions(+), 2 deletions(-) diff --git a/gz-wxparty/pages/homePage/index.wxss b/gz-wxparty/pages/homePage/index.wxss index 2702e9f..870cd82 100644 --- a/gz-wxparty/pages/homePage/index.wxss +++ b/gz-wxparty/pages/homePage/index.wxss @@ -172,6 +172,14 @@ align-items: center; padding: 0 32rpx; justify-content: space-between; + margin: 0 32rpx; +} + +.swiper-head { + position: absolute; + width: 100%; + z-index: 100; + bottom: -64rpx; } .mediate-image { @@ -434,14 +442,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