细节完善

This commit is contained in:
kron
2025-06-17 21:34:41 +08:00
parent ab8aa08a35
commit 78504f501d
12 changed files with 54 additions and 28 deletions

View File

@@ -34,14 +34,14 @@ onLoad(async (options) => {
name: result.bluePlayers[blueId].name,
avatar: result.bluePlayers[blueId].avatar,
arrows: item[blueId],
totalRing: item[blueId].reduce((a, b) => a + b.ringScore, 0),
totalRing: item[blueId].reduce((a, b) => a + b.ring, 0),
totalScore: item[blueId].reduce((a, b) => a + b.ringScore, 0),
},
red: {
name: result.redPlayers[redId].name,
avatar: result.redPlayers[redId].avatar,
arrows: item[redId],
totalRing: item[redId].reduce((a, b) => a + b.ringScore, 0),
totalRing: item[redId].reduce((a, b) => a + b.ring, 0),
totalScore: item[redId].reduce((a, b) => a + b.ringScore, 0),
},
});
@@ -102,7 +102,7 @@ onLoad(async (options) => {
<view>
<Avatar :src="round.blue.avatar" :size="25" :borderColor="1" />
<text v-for="(arrow, index2) in round.blue.arrows" :key="index2">
{{ arrow.ringScore }}
{{ arrow.ring }}
</text>
</view>
<view>
@@ -116,7 +116,7 @@ onLoad(async (options) => {
<view>
<Avatar :src="round.red.avatar" :size="25" :borderColor="2" />
<text v-for="(arrow, index2) in round.red.arrows" :key="index2">
{{ arrow.ringScore }}
{{ arrow.ring }}
</text>
</view>
<view>