diff --git a/app/components/x-van-select/index.vue b/app/components/x-van-select/index.vue index f147d1f..df7a53a 100644 --- a/app/components/x-van-select/index.vue +++ b/app/components/x-van-select/index.vue @@ -1,7 +1,7 @@ @@ -35,7 +40,7 @@ const {userInfo}= authStore() diff --git a/app/pages/realAuth/index.vue b/app/pages/realAuth/index.vue index a304d51..6e945f0 100644 --- a/app/pages/realAuth/index.vue +++ b/app/pages/realAuth/index.vue @@ -17,6 +17,11 @@ const { locale } = useI18n() const {userInfo,selectedZone}= authStore() const active=ref(locale.value==='zh-CN'?0:1) const { t } = useI18n() +const columns1 = ref([ + {text: t('realAuth.idCard'), value: '1'}, + {text: t('realAuth.passport'), value: '2'}, + {text: t('realAuth.other'), value: '3'}, +]) const form=ref({ realName: "", sex:'', @@ -124,6 +129,12 @@ const goLogin=()=>{ +
+ +
+
+ +
@@ -135,7 +146,7 @@ const goLogin=()=>{ -
+
{{ $t('realAuth.cancel') }}
diff --git a/i18n/locales/en-US.json b/i18n/locales/en-US.json index 689ba6f..4905db7 100644 --- a/i18n/locales/en-US.json +++ b/i18n/locales/en-US.json @@ -157,7 +157,12 @@ "male": "Male", "female": "Female" } - } + }, + "idTye": "Document Type", + "passport": "passport", + "other": "other", + "idNumber": "ID number", + "idNumberPlaceholder": "Please enter your ID number" }, "detail": { "text1": "Artist", diff --git a/i18n/locales/ja-JP.json b/i18n/locales/ja-JP.json index b552932..5a604a4 100644 --- a/i18n/locales/ja-JP.json +++ b/i18n/locales/ja-JP.json @@ -157,7 +157,12 @@ "male": "男性", "female": "女性" } - } + }, + "idTye": "ドキュメントタイプ", + "passport": "パスポート", + "other": "他の", + "idNumber": "ID番号", + "idNumberPlaceholder": "ID番号を入力してください" }, "detail": { "text1": "アーティスト", diff --git a/i18n/locales/zh-CN.json b/i18n/locales/zh-CN.json index adaf9d8..062c7f5 100644 --- a/i18n/locales/zh-CN.json +++ b/i18n/locales/zh-CN.json @@ -157,7 +157,12 @@ "male": "男", "female": "女" } - } + }, + "idTye": "证件类型", + "passport": "护照", + "other": "其他", + "idNumber": "证件号", + "idNumberPlaceholder": "请输入证件号" }, "detail": { "text1": "作者", diff --git a/i18n/locales/zh-TW.json b/i18n/locales/zh-TW.json index 51b5060..1d60898 100644 --- a/i18n/locales/zh-TW.json +++ b/i18n/locales/zh-TW.json @@ -208,7 +208,12 @@ "male": "男", "female": "女" } - } + }, + "idTye": "證件類型", + "passport": "護照", + "other": "其他", + "idNumber": "證件號", + "idNumberPlaceholder": "請輸入證件號" }, "detail": { "text1": "作者", diff --git a/nuxt.config.js b/nuxt.config.js index e144652..d8e8076 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -127,7 +127,7 @@ export default defineNuxtConfig({ compatibilityVersion: 4, }, // 指定 Nuxt 应用程序的兼容性日期,确保应用程序在未来的 Nuxt 版本中保持稳定性 - compatibilityDate: '2025-01-09', + compatibilityDate: '2025-02-28', devServer: { host: '0.0.0.0', // Set the host to 'localhost' port: 3000, // Set the port to 3000 or any other port you prefer