UI修改
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user