2026-02-04 15:30:33 +08:00
|
|
|
<template>
|
|
|
|
|
<div class="nuic-3">
|
2026-02-04 17:00:58 +08:00
|
|
|
<p class="title" v-html="$t('Nuic.nuic3Title')"></p>
|
2026-02-04 15:30:33 +08:00
|
|
|
|
|
|
|
|
<div class="select-item">
|
2026-02-04 17:00:58 +08:00
|
|
|
<div class="title">{{ $t('Nuic.basedIn') }}</div>
|
2026-02-27 16:04:55 +08:00
|
|
|
<el-select v-model="data.base">
|
2026-02-05 13:55:37 +08:00
|
|
|
<el-option
|
|
|
|
|
class="el-select__option"
|
2026-02-27 16:04:55 +08:00
|
|
|
v-for="v in data.baseList"
|
2026-02-05 13:55:37 +08:00
|
|
|
:key="v.value"
|
|
|
|
|
:label="v.label"
|
|
|
|
|
:value="v.value"
|
|
|
|
|
/>
|
2026-02-04 15:30:33 +08:00
|
|
|
</el-select>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="select-item">
|
2026-02-04 17:00:58 +08:00
|
|
|
<div class="title">{{ $t('Nuic.role') }}</div>
|
2026-02-04 15:35:13 +08:00
|
|
|
<el-select v-model="data.role">
|
2026-02-05 13:55:37 +08:00
|
|
|
<el-option
|
|
|
|
|
class="el-select__option"
|
|
|
|
|
v-for="v in data.roleList"
|
|
|
|
|
:key="v.value"
|
|
|
|
|
:label="v.label"
|
|
|
|
|
:value="v.value"
|
|
|
|
|
/>
|
2026-02-04 15:30:33 +08:00
|
|
|
</el-select>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="btns">
|
2026-02-27 16:04:55 +08:00
|
|
|
<button class="next" @click="onNext">{{ $t('Nuic.allSet') }}</button>
|
2026-02-04 15:30:33 +08:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script setup lang="ts">
|
|
|
|
|
import { computed, ref, reactive } from 'vue'
|
|
|
|
|
import { useRouter } from 'vue-router'
|
2026-03-03 11:10:43 +08:00
|
|
|
import { useI18n } from 'vue-i18n'
|
|
|
|
|
const { t } = useI18n()
|
2026-02-04 15:30:33 +08:00
|
|
|
const router = useRouter()
|
|
|
|
|
const emit = defineEmits(['next'])
|
|
|
|
|
const data = reactive({
|
2026-02-27 16:04:55 +08:00
|
|
|
baseList: [
|
2026-03-03 11:10:43 +08:00
|
|
|
{ label: t('Country.unitedStates'), value: 'United States' },
|
|
|
|
|
{ label: t('Country.singapore'), value: 'Singapore' },
|
|
|
|
|
{ label: t('Country.australia'), value: 'Australia' },
|
|
|
|
|
{ label: t('Country.southKorea'), value: 'South Korea' },
|
|
|
|
|
{ label: t('Country.china'), value: 'China' },
|
|
|
|
|
{ label: t('Country.italy'), value: 'Italy' },
|
|
|
|
|
{ label: t('Country.france'), value: 'France' },
|
|
|
|
|
{ label: t('Country.japan'), value: 'Japan' },
|
|
|
|
|
{ label: t('Country.canada'), value: 'Canada' },
|
|
|
|
|
{ label: t('Country.germany'), value: 'Germany' }
|
2026-02-04 15:30:33 +08:00
|
|
|
],
|
|
|
|
|
roleList: [
|
2026-03-03 11:10:43 +08:00
|
|
|
{ label: t('Role.designer'), value: 'Designer' },
|
|
|
|
|
{ label: t('Role.student'), value: 'Student' },
|
|
|
|
|
{ label: t('Role.teacher'), value: 'Teacher' },
|
|
|
|
|
{ label: t('Role.parent'), value: 'Parent' },
|
|
|
|
|
{ label: t('Role.other'), value: 'Other' }
|
2026-02-04 15:30:33 +08:00
|
|
|
],
|
2026-02-27 16:04:55 +08:00
|
|
|
base: 'China',
|
|
|
|
|
role: 'Student'
|
2026-02-04 15:30:33 +08:00
|
|
|
})
|
2026-02-27 16:04:55 +08:00
|
|
|
const onNext = () => {
|
|
|
|
|
const data_ = {
|
|
|
|
|
base: data.base,
|
|
|
|
|
role: data.role
|
|
|
|
|
}
|
|
|
|
|
emit('next', data_)
|
|
|
|
|
}
|
2026-02-04 15:30:33 +08:00
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style lang="less" scoped>
|
|
|
|
|
.nuic-3 {
|
|
|
|
|
> .title {
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
font-size: 4rem;
|
|
|
|
|
margin-bottom: 9.8rem;
|
2026-02-09 14:55:55 +08:00
|
|
|
&:deep(b) {
|
2026-02-04 15:30:33 +08:00
|
|
|
font-size: 4.8rem;
|
2026-02-06 16:23:22 +08:00
|
|
|
font-family: MBold;
|
2026-02-04 15:30:33 +08:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
> .select-item {
|
|
|
|
|
margin-bottom: 8rem;
|
|
|
|
|
width: 50rem;
|
|
|
|
|
text-align: left;
|
|
|
|
|
> .title {
|
2026-02-06 16:23:22 +08:00
|
|
|
margin-bottom: 1.5rem;
|
2026-02-04 15:30:33 +08:00
|
|
|
font-size: 3.6rem;
|
|
|
|
|
font-weight: 800;
|
|
|
|
|
color: #252727;
|
2026-02-06 16:23:22 +08:00
|
|
|
font-family: LBold;
|
2026-02-04 15:30:33 +08:00
|
|
|
}
|
2026-02-10 16:56:11 +08:00
|
|
|
&:deep(> .el-select) {
|
2026-02-04 15:30:33 +08:00
|
|
|
width: 100%;
|
|
|
|
|
--el-border-radius-base: 0.8rem;
|
2026-02-10 16:56:11 +08:00
|
|
|
|
|
|
|
|
font-family: Regular;
|
|
|
|
|
.el-select__wrapper {
|
|
|
|
|
min-height: auto;
|
|
|
|
|
height: 6rem;
|
|
|
|
|
font-size: 2rem;
|
|
|
|
|
padding: 0 1.8rem;
|
2026-02-04 15:30:33 +08:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
> .btns {
|
|
|
|
|
margin-top: 15.8rem;
|
|
|
|
|
}
|
|
|
|
|
}
|
2026-02-05 13:55:37 +08:00
|
|
|
|
|
|
|
|
.el-select__option {
|
|
|
|
|
padding: 0 1.8rem;
|
|
|
|
|
}
|
2026-02-04 15:30:33 +08:00
|
|
|
</style>
|