细节优化
This commit is contained in:
@@ -551,7 +551,11 @@ onUnmounted(() => {
|
||||
:round="currentRound - 1"
|
||||
:bluePoint="currentBluePoint"
|
||||
:redPoint="currentRedPoint"
|
||||
:roundData="roundResults[roundResults.length - 1]"
|
||||
:roundData="
|
||||
roundResults[roundResults.length - 2]
|
||||
? roundResults[roundResults.length - 2]
|
||||
: []
|
||||
"
|
||||
:onAutoClose="() => (showRoundTip = false)"
|
||||
/>
|
||||
</ScreenHint>
|
||||
|
||||
@@ -77,10 +77,7 @@ const onCreateRoom = async () => {
|
||||
<view class="create-room">
|
||||
<image src="../static/battle-bg.png" mode="widthFix" />
|
||||
<view>
|
||||
<image
|
||||
src="https://api.shelingxingqiu.com/attachment/2025-07-12/db9x4i9g536xerkv9i.png"
|
||||
mode="widthFix"
|
||||
/>
|
||||
<image :src="user.avatar" mode="widthFix" />
|
||||
<image src="../static/versus.png" mode="widthFix" />
|
||||
<view>
|
||||
<image src="../static/question-mark.png" mode="widthFix" />
|
||||
@@ -151,6 +148,7 @@ const onCreateRoom = async () => {
|
||||
.create-room > image:first-of-type {
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
border-radius: 50%;
|
||||
}
|
||||
.create-room > view {
|
||||
margin: 0 30px;
|
||||
|
||||
@@ -31,7 +31,7 @@ onLoad(async (options) => {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<Container title="5人大乱斗 - 靶纸">
|
||||
<Container title="靶纸">
|
||||
<view class="container">
|
||||
<view class="players" v-if="data.players">
|
||||
<view
|
||||
|
||||
@@ -21,7 +21,7 @@ onLoad(async (options) => {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<Container title="个人练习 - 靶纸">
|
||||
<Container title="靶纸">
|
||||
<view class="container">
|
||||
<!-- <view class="header">
|
||||
<view>
|
||||
|
||||
@@ -85,7 +85,7 @@ const onClickTab = (index) => {
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<Container title="1v1排位赛 - 靶纸">
|
||||
<Container title="靶纸">
|
||||
<view class="container">
|
||||
<view>
|
||||
<view
|
||||
|
||||
@@ -124,6 +124,7 @@ async function onReceiveMessage(messages = []) {
|
||||
battleId.value = msg.id;
|
||||
redTeam.value = msg.groupUserStatus.redTeam;
|
||||
blueTeam.value = msg.groupUserStatus.blueTeam;
|
||||
uni.$hideHint();
|
||||
};
|
||||
}
|
||||
if (msg.id !== battleId.value) return;
|
||||
|
||||
Reference in New Issue
Block a user