This commit is contained in:
kron
2025-08-15 13:41:39 +08:00
parent b46bc7aaa5
commit 3b5c0cbb4a

View File

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