This commit is contained in:
2025-12-29 14:35:17 +08:00
parent b1b59a96f2
commit 005457e13e
6 changed files with 25 additions and 18 deletions

View File

@@ -12,7 +12,7 @@
display: inline-flex;
/* 改为inline-flex宽度由子元素决定 */
position: relative;
border-bottom: 1px solid #cbcfd8;
border-bottom: 1px solid #909399;
margin: 0 auto;
width: 1.75rem;
display: flex;
@@ -36,10 +36,10 @@
.tab-indicator {
position: absolute;
bottom: 0;
height: 2px;
height:1px;
background-color: #fff;
transform: translateX(0);
width: 0.87rem;
width: auto;
transition: transform 0.3s cubic-bezier(0.25, 0.1, 0.25, 1),
width 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
will-change: transform, width;