diff --git a/app/pages/home/components/Column/index.vue b/app/pages/home/components/Column/index.vue
index bc09d13..b5d8706 100644
--- a/app/pages/home/components/Column/index.vue
+++ b/app/pages/home/components/Column/index.vue
@@ -8,7 +8,7 @@
>
diff --git a/app/pages/home/components/ItemList/index.vue b/app/pages/home/components/ItemList/index.vue
new file mode 100644
index 0000000..96c0baf
--- /dev/null
+++ b/app/pages/home/components/ItemList/index.vue
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/app/pages/login/index.vue b/app/pages/login/index.vue
index 83aac0e..1c0aff3 100644
--- a/app/pages/login/index.vue
+++ b/app/pages/login/index.vue
@@ -4,6 +4,7 @@ import { useI18n } from 'vue-i18n'
import countryCode from '../countryRegion/data/index.js'
import {senCode, userLogin} from "@/api/auth/index.js";
import {authStore} from "~/stores/auth/index.js";
+import {message} from '@/components/x-message/useMessage.js'
const {userInfo,token}= authStore()
const router = useRouter();
const route = useRoute();
@@ -13,7 +14,8 @@ definePageMeta({
i18n: 'login.title',
})
const loadingRef=ref({
- loading1:false
+ loading1:false,
+ loading2:false,
})
const isExist=ref(false)//帐号是否存在 true存在
const isReal=ref(false) //isReal 是否实名过
@@ -108,6 +110,7 @@ const goBack = () => {
vanSwipeRef.value?.swipeTo(pane.value)
}
const goLogin =async () => {
+ loadingRef.value.loading2=true
const res=await userLogin({
telNum:phoneNum.value,
zone:selectedZone.value,
@@ -116,12 +119,14 @@ const goLogin =async () => {
if (res.status===0){
userInfo.value=res.data.accountInfo
token.value=res.data.token
+
if (!res.data.isReal){
- router.push('/realAuth');
+ await router.push('/realAuth');
}else {
- router.push('/');
+ await router.push('/');
}
}
+ loadingRef.value.loading2=false
}
@@ -170,7 +175,7 @@ const goLogin =async () => {
{{ $t('login.reSend') }}({{countdown}})
- {{
+ {{
$t('login.login')
}}
{{ $t('login.login') }}