bug修复

This commit is contained in:
kron
2025-06-26 01:27:23 +08:00
parent 0ea2d65e67
commit 159207a99d
6 changed files with 86 additions and 31 deletions

View File

@@ -75,7 +75,7 @@ watch(
clearInterval(timer.value);
setTimeout(() => {
newVal();
}, 1000);
}, 2000);
} else {
totalTop.value += 0.5;
}
@@ -117,7 +117,7 @@ onUnmounted(() => {
v-for="(name, index) in playerNames"
:key="index"
:style="{
lineHeight: `${98 / 7}vw`,
lineHeight: `${95 / 7}vw`,
...(textStyles[index] || {}),
}"
>
@@ -129,7 +129,7 @@ onUnmounted(() => {
v-for="(name, index) in playerNames"
:key="index"
:style="{
lineHeight: `${98 / 7}vw`,
lineHeight: `${95 / 7}vw`,
...(textStyles[index + 7] || {}),
}"
>
@@ -153,20 +153,19 @@ onUnmounted(() => {
}
.matching > view {
width: 70vw;
height: 98vw;
height: 95vw;
overflow: hidden;
position: relative;
transform: translateY(3vw);
}
.matching-bg {
position: absolute;
width: 70vw;
height: 102vw;
top: 30vw;
top: 27vw;
}
.matching > button {
width: 55%;
margin-top: 20vw;
margin-top: 15vw;
padding: 18px;
color: #000;
background-color: #fed847;
@@ -175,12 +174,11 @@ onUnmounted(() => {
}
.player-names {
width: 100%;
height: 98vw;
height: 95vw;
display: flex;
flex-direction: column;
position: absolute;
top: 0;
transform: translateY(3vw);
}
.player-names > text {
width: 100%;