交互完善
This commit is contained in:
@@ -84,6 +84,15 @@ const goBack = () => {
|
||||
</button>
|
||||
</view>
|
||||
</view>
|
||||
<view v-if="hintType === 3" class="tip-content">
|
||||
<text>今天不玩了吗?</text>
|
||||
<view>
|
||||
<button hover-class="none" @click="goBack">确认</button>
|
||||
<button hover-class="none" @click="() => (showHint = false)">
|
||||
取消
|
||||
</button>
|
||||
</view>
|
||||
</view>
|
||||
</ScreenHint>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
@@ -143,7 +143,7 @@ const onBack = () => {
|
||||
if (battleId.value) {
|
||||
uni.$showHint(2);
|
||||
} else {
|
||||
uni.navigateBack();
|
||||
uni.$showHint(3);
|
||||
}
|
||||
};
|
||||
onMounted(() => {
|
||||
|
||||
@@ -172,7 +172,7 @@ const onBack = () => {
|
||||
if (battleId.value) {
|
||||
uni.$showHint(2);
|
||||
} else {
|
||||
uni.navigateBack();
|
||||
uni.$showHint(3);
|
||||
}
|
||||
};
|
||||
onMounted(() => {
|
||||
|
||||
Reference in New Issue
Block a user