代码优化
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -157,7 +157,7 @@ onMounted(async () => {
|
||||
v-if="arrow.ring > 0"
|
||||
:style="{
|
||||
fontSize: '20px',
|
||||
marginLeft: arrow.ring > 0 ? '5px' : 0,
|
||||
marginLeft: '5px',
|
||||
}"
|
||||
>环</text
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user