fix
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user