样式优化

This commit is contained in:
kron
2025-11-10 17:47:32 +08:00
parent cd8814189f
commit 81ab085e48
5 changed files with 15 additions and 13 deletions

View File

@@ -4,7 +4,6 @@ import { onLoad, onShow, onHide } from "@dcloudio/uni-app";
import Container from "@/components/Container.vue";
import BattleHeader from "@/components/BattleHeader.vue";
import BowTarget from "@/components/BowTarget.vue";
import ShootProgress from "@/components/ShootProgress.vue";
import PlayersRow from "@/components/PlayersRow.vue";
import BattleFooter from "@/components/BattleFooter.vue";
import ScreenHint from "@/components/ScreenHint.vue";
@@ -199,6 +198,7 @@ async function onReceiveMessage(messages = []) {
start.value = true;
}
if (msg.constructor === MESSAGETYPES.ToSomeoneShoot) {
currentRound.value = msg.round;
if (currentShooterId.value !== msg.userId) {
currentShooterId.value = msg.userId;
const redPlayer = redTeam.value.find(
@@ -380,7 +380,7 @@ onHide(() => {
display: flex;
align-items: center;
justify-content: center;
margin-top: -1%;
margin-top: -2%;
margin-bottom: 6%;
}
</style>