UI修改
This commit is contained in:
@@ -24,7 +24,7 @@ onLoad(async (options) => {
|
||||
const myId = user.value.id;
|
||||
if (options.battleId) {
|
||||
const result = await getGameAPI(
|
||||
options.battleId || "BATTLE-1755156795334880000-865"
|
||||
options.battleId || "BATTLE-1755230224461209000-539"
|
||||
);
|
||||
data.value = {
|
||||
...result,
|
||||
@@ -140,7 +140,9 @@ const checkBowData = () => {
|
||||
/>
|
||||
<text
|
||||
v-if="player.id === user.id"
|
||||
:style="{ backgroundColor: '#ff6060' }"
|
||||
:style="{
|
||||
backgroundColor: data.myTeam === 1 ? '#5fadff' : '#ff6060',
|
||||
}"
|
||||
>自己</text
|
||||
>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user