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; flex-direction: column;
> .bottom-view { > .bottom-view {
flex: 1; flex: 1;
// background-color: #fff;
overflow: hidden; overflow: hidden;
display: flex; // background-color: #fff;
// display: flex;
} }
} }
} }

View File

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

View File

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

View File

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