From 864a0228b1c89bcea481e82eb24ed0bf65604761 Mon Sep 17 00:00:00 2001 From: Enzo <1284707383@qq.com> Date: Mon, 28 Jun 2021 17:24:11 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=A2=E5=8D=95=E5=A4=B4=E9=83=A8=E5=AF=BC?= =?UTF-8?q?=E8=88=AA=E6=A0=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/me-tabs/me-tabs.vue | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/components/me-tabs/me-tabs.vue b/components/me-tabs/me-tabs.vue index 6c26787..720fb1e 100644 --- a/components/me-tabs/me-tabs.vue +++ b/components/me-tabs/me-tabs.vue @@ -153,16 +153,6 @@ padding-bottom: 30rpx; // 撑开高度,再配合me-tabs的overflow-y: hidden,以达到隐藏滚动条的目的 box-sizing: border-box; - &::after { - position: absolute; - bottom: 31rpx; - left: 0; - width: 100%; - height: 1rpx; - content: ''; - // border-bottom: 1rpx solid rgba(255, 255, 255, 0.2); - } - .tab-item { flex: 1; position: relative; @@ -177,15 +167,9 @@ bottom: 0; width: 100%; height: 32rpx; - content: ''; + // content: ''; border-right: 1rpx solid white; } - - &:last-child::after { - content: ''; - display: none; - } - &.active { // font-weight: bold; @@ -196,6 +180,7 @@ line-height: 26px!important; } } + } // 平分的方式显示item