This commit is contained in:
2026-02-05 15:14:50 +08:00
parent 826c6d28b2
commit 1cbfc85a5d
4 changed files with 6 additions and 6 deletions

View File

@@ -30,9 +30,9 @@
flex-direction: column;
> .bottom-view {
flex: 1;
// background-color: #fff;
overflow: hidden;
display: flex;
// background-color: #fff;
// display: flex;
}
}
}

View File

@@ -99,7 +99,7 @@
}
const onVerifyCode = (code: string) => {
console.log(code)
router.push({ name: 'home' })
router.push({ name: 'mainInput' })
}
</script>

View File

@@ -37,14 +37,14 @@
const active = computed(() => Number(route.query.index || 0))
const list = markRaw([nuic1, nuic2, nuic3])
const onClose = () => {
router.push({ name: 'home' })
router.push({ name: 'mainInput' })
}
const onNext = () => {
const index = active.value + 1
if (index < list.length) {
router.push({ query: { index } })
} else {
router.push({ name: 'home' })
router.push({ name: 'mainInput' })
}
}
</script>

View File

@@ -17,7 +17,7 @@
const router = useRouter()
const emit = defineEmits(['next'])
const onSkip = () => {
router.push({ name: 'home' })
router.push({ name: 'mainInput' })
}
</script>