代码优化

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%; width: 88%;
} }
.tab-item:nth-child(2) { .tab-item:nth-child(2) {
transform: translateY(20%) translateX(25%); transform: translate(25%, 20%);
} }
.tab-item:nth-child(3) { .tab-item:nth-child(3) {
transform: translateY(-10%) translateX(5%); transform: translate(5%, -10%);
} }
.tab-item:nth-child(4) { .tab-item:nth-child(4) {
transform: translateY(20%) translateX(-25%); transform: translate(-25%, 20%);
} }
</style> </style>

View File

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