代码优化
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
@@ -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
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user