update
This commit is contained in:
@@ -238,8 +238,8 @@
|
||||
<button class="btn-share" open-type="share">
|
||||
<text class="share-icon">📤</text>
|
||||
</button>
|
||||
<button class="btn-secondary" @click="onContinue">继续训练</button>
|
||||
<button class="btn-primary" @click="onRestart">再来一次</button>
|
||||
<button class="btn-secondary" @click="onRestart">再来一次</button>
|
||||
<button class="btn-primary" @click="onFinish">完成</button>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -595,13 +595,16 @@ function onEndTraining() {
|
||||
showSummary.value = true
|
||||
}
|
||||
|
||||
// 关闭结算(点遮罩) → 回到初始待开始态,避免卡在暂停态死循环
|
||||
function dismissSummary() {
|
||||
showSummary.value = false
|
||||
resetStats()
|
||||
}
|
||||
|
||||
function onContinue() {
|
||||
// 完成: 退出结算并回到初始待开始态
|
||||
function onFinish() {
|
||||
showSummary.value = false
|
||||
startTrainingInternal()
|
||||
resetStats()
|
||||
}
|
||||
|
||||
// 再来一次
|
||||
|
||||
@@ -238,8 +238,8 @@
|
||||
<button class="btn-share" open-type="share">
|
||||
<text class="share-icon">📤</text>
|
||||
</button>
|
||||
<button class="btn-secondary" @click="onContinue">继续训练</button>
|
||||
<button class="btn-primary" @click="onRestart">再来一次</button>
|
||||
<button class="btn-secondary" @click="onRestart">再来一次</button>
|
||||
<button class="btn-primary" @click="onFinish">完成</button>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -595,13 +595,16 @@ function onEndTraining() {
|
||||
showSummary.value = true
|
||||
}
|
||||
|
||||
// 关闭结算(点遮罩) → 回到初始待开始态,避免卡在暂停态死循环
|
||||
function dismissSummary() {
|
||||
showSummary.value = false
|
||||
resetStats()
|
||||
}
|
||||
|
||||
function onContinue() {
|
||||
// 完成: 退出结算并回到初始待开始态
|
||||
function onFinish() {
|
||||
showSummary.value = false
|
||||
startTrainingInternal()
|
||||
resetStats()
|
||||
}
|
||||
|
||||
// 再来一次
|
||||
|
||||
@@ -242,8 +242,8 @@
|
||||
<button class="btn-share" open-type="share">
|
||||
<text class="share-icon">📤</text>
|
||||
</button>
|
||||
<button class="btn-secondary" @click="onContinue">继续训练</button>
|
||||
<button class="btn-primary" @click="onRestart">再来一次</button>
|
||||
<button class="btn-secondary" @click="onRestart">再来一次</button>
|
||||
<button class="btn-primary" @click="onFinish">完成</button>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -663,13 +663,16 @@ function onEndTraining() {
|
||||
showSummary.value = true
|
||||
}
|
||||
|
||||
// 关闭结算(点遮罩) → 回到初始待开始态,避免卡在暂停态死循环
|
||||
function dismissSummary() {
|
||||
showSummary.value = false
|
||||
resetStats()
|
||||
}
|
||||
|
||||
function onContinue() {
|
||||
// 完成: 退出结算并回到初始待开始态
|
||||
function onFinish() {
|
||||
showSummary.value = false
|
||||
startTrainingInternal()
|
||||
resetStats()
|
||||
}
|
||||
|
||||
// 再来一次
|
||||
|
||||
@@ -238,8 +238,8 @@
|
||||
<button class="btn-share" open-type="share">
|
||||
<text class="share-icon">📤</text>
|
||||
</button>
|
||||
<button class="btn-secondary" @click="onContinue">继续训练</button>
|
||||
<button class="btn-primary" @click="onRestart">再来一次</button>
|
||||
<button class="btn-secondary" @click="onRestart">再来一次</button>
|
||||
<button class="btn-primary" @click="onFinish">完成</button>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -595,13 +595,16 @@ function onEndTraining() {
|
||||
showSummary.value = true
|
||||
}
|
||||
|
||||
// 关闭结算(点遮罩) → 回到初始待开始态,避免卡在暂停态死循环
|
||||
function dismissSummary() {
|
||||
showSummary.value = false
|
||||
resetStats()
|
||||
}
|
||||
|
||||
function onContinue() {
|
||||
// 完成: 退出结算并回到初始待开始态
|
||||
function onFinish() {
|
||||
showSummary.value = false
|
||||
startTrainingInternal()
|
||||
resetStats()
|
||||
}
|
||||
|
||||
// 再来一次
|
||||
|
||||
Reference in New Issue
Block a user