From aaeb2406736c14b9ca347aeabc12a04e6dccac2b Mon Sep 17 00:00:00 2001 From: woody Date: Mon, 28 Apr 2025 11:31:27 +0800 Subject: [PATCH] =?UTF-8?q?feat(index):=20=E9=A6=96=E9=A1=B5banner?= =?UTF-8?q?=E6=A0=B7=E5=BC=8F=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.vue | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pages/index/index.vue b/pages/index/index.vue index a2dfbbf..f5a21ca 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -940,7 +940,7 @@ header { .swiper-items { // height: 495rpx; - width: 340rpx; + // width: 340rpx; border-radius: 12rpx; image { @@ -953,13 +953,13 @@ header { .swiper-item { height: 300rpx; text-align: center; - margin: 0 auto; - width: 690rpx; - + padding: 0 20rpx; + width: 100%; + box-sizing: border-box; image { border-radius: 24rpx; height: 300rpx; - width: 690rpx; + width: 100%; } }