细节完善

This commit is contained in:
kron
2025-07-25 15:18:46 +08:00
parent e5b1194882
commit 10af25c254
7 changed files with 129 additions and 81 deletions

View File

@@ -41,7 +41,13 @@ defineProps({
</view>
</view>
<block v-if="roundResults.length < 3">
<view v-for="i in 3 - roundResults.length" :key="i"> </view>
<view v-for="i in 3 - roundResults.length" :key="i">
<text>Round</text>
<view>
<text></text>
<text></text>
</view>
</view>
</block>
</view>
<view>
@@ -62,7 +68,13 @@ defineProps({
</view>
</view>
<block v-if="roundResults.length < 3">
<view v-for="i in 3 - roundResults.length" :key="i"> </view>
<view v-for="i in 3 - roundResults.length" :key="i">
<text>Round</text>
<view>
<text></text>
<text></text>
</view>
</view>
</block>
</view>
</view>

View File

@@ -56,7 +56,7 @@ onUnmounted(() => {
<view class="round-end-tip">
<text>{{ round }}轮射击结束</text>
<block v-if="!isFinal">
<view class="point-view1">
<view class="point-view1" v-if="bluePoint !== 0 || redPoint !== 0">
<text>本轮蓝队</text>
<text>{{
(roundData.blueArrows || []).reduce(
@@ -73,10 +73,13 @@ onUnmounted(() => {
}}</text>
<text></text>
</view>
<text v-if="bluePoint === 0 && redPoint === 0">
本场比赛无人射箭已取消
<text
v-if="bluePoint === 0 && redPoint === 0"
:style="{ marginTop: '20px' }"
>
连续3个来回无人射箭比赛被取消
</text>
<text v-if="bluePoint === redPoint">
<text v-if="bluePoint !== 0 && bluePoint === redPoint">
红队蓝队各得<text :style="{ color: '#fed847', margin: '0 5px' }">{{
redPoint
}}</text