细节完善
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user