This commit is contained in:
kron
2025-07-15 17:10:56 +08:00
parent 0edf259fb0
commit 16f8048b55
3 changed files with 22 additions and 4 deletions

View File

@@ -49,6 +49,10 @@ const props = defineProps({
type: String,
default: "solo", // solo 单排team 双排
},
stop: {
type: Boolean,
default: false,
},
});
const showRoundTips = ref(false);
@@ -127,6 +131,7 @@ const simulShoot2 = async () => {
<BowPower :power="power" />
</view>
<view class="target">
<view v-if="stop" class="stop-sign">中场休息</view>
<view
v-if="scores.length && showRoundTips && showLatestArrow && showE"
class="e-value fade-in-out"
@@ -214,8 +219,9 @@ const simulShoot2 = async () => {
top: calcRealY(bow.y),
backgroundColor: 'blue',
}"
><text>{{ index + 1 }}</text></view
>
<text>{{ index + 1 }}</text>
</view>
</block>
<image src="../static/bow-target.png" mode="widthFix" />
</view>
@@ -332,4 +338,14 @@ const simulShoot2 = async () => {
.simul > button {
color: #fff;
}
.stop-sign {
position: absolute;
font-size: 40px;
color: #fff;
text-align: center;
width: 200px;
height: 60px;
left: calc(50% - 100px);
top: calc(50% - 30px);
}
</style>

View File

@@ -557,6 +557,7 @@ onUnmounted(() => {
:totalRound="totalRounds"
:scores="scores"
:blueScores="blueScores"
:stop="halfTimeTip && !startCount"
/>
<BattleFooter
v-if="roundResults.length"

View File

@@ -106,7 +106,7 @@ const comingSoon = () => {
<view class="feature-grid">
<view class="bow-card">
<image
src="../static/bow-bg.png"
src="https://api.shelingxingqiu.com/attachment/2025-07-15/dbci3g2g77tbxnujdl.webp"
mode="widthFix"
@click="() => toPage('/pages/my-device')"
/>
@@ -268,7 +268,7 @@ const comingSoon = () => {
.bow-card > text {
position: absolute;
top: 67%;
top: 65%;
left: 50%;
transform: translate(-50%, -50%);
white-space: nowrap;
@@ -281,7 +281,7 @@ const comingSoon = () => {
}
.bow-card > image:nth-child(3) {
transform: translateY(11px);
transform: translateY(-1px);
}
.practice-card {
@@ -367,6 +367,7 @@ const comingSoon = () => {
line-height: 18px;
width: 18px;
height: 18px;
color: #fff;
}
.player-avatar > image:last-child {
width: 100%;