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