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