From dc0dd9ca30843806d771100482487f8c58ea66f7 Mon Sep 17 00:00:00 2001 From: zhaofang <752743406@qq.com> Date: Fri, 28 Oct 2022 14:13:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Index.vue | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/views/Index.vue b/src/views/Index.vue index 5a662c52..7e06553b 100644 --- a/src/views/Index.vue +++ b/src/views/Index.vue @@ -1329,6 +1329,7 @@ padding: 0 20px; border-radius: 19px; .swiper-pagination-bullet{ + position: relative; width: 25px; height: 5px; margin-top: 10px; @@ -1336,6 +1337,14 @@ opacity: 1 !important; // background: rgba($color: #fff, $alpha: 0.5); border-radius: 2px; + } + .swiper-pagination-bullet::before { + content: ''; + position: absolute; + top:-20px; + bottom:-20px; + left:-2px; + right:-2px; } .swiper-pagination-bullet-active{ height: 5px;