代码优化

This commit is contained in:
kron
2025-08-06 15:03:03 +08:00
parent bba172ba58
commit 79feb32766
2 changed files with 4 additions and 4 deletions

View File

@@ -77,12 +77,12 @@ function handleTabClick(index) {
width: 88%;
}
.tab-item:nth-child(2) {
transform: translateY(20%) translateX(25%);
transform: translate(25%, 20%);
}
.tab-item:nth-child(3) {
transform: translateY(-10%) translateX(5%);
transform: translate(5%, -10%);
}
.tab-item:nth-child(4) {
transform: translateY(20%) translateX(-25%);
transform: translate(-25%, 20%);
}
</style>

View File

@@ -157,7 +157,7 @@ onMounted(async () => {
v-if="arrow.ring > 0"
:style="{
fontSize: '20px',
marginLeft: arrow.ring > 0 ? '5px' : 0,
marginLeft: '5px',
}"
></text
>