diff --git a/src/i18n/zh.ts b/src/i18n/zh.ts index d0596d6..c2b4a63 100644 --- a/src/i18n/zh.ts +++ b/src/i18n/zh.ts @@ -28,6 +28,8 @@ export default { huanying:"您好,欢迎来到", beelink:"Beelink", meiyouzhanghao:"还没有账号?", + yiyouzhanghao:"已有账号?", + qudenglu:"去登录", chengweilaoshi:"成为一名Beelink老师", shoujidenglu:"手机号登录", mimadenglu:"账号密码登录", @@ -47,6 +49,38 @@ export default { kaiqishenghuo:"Beelink 开启您的美好学习生活", guanyubeelink:"关于 Beelink", guanyuneirong:" Beelink平台拥有数千名优秀老师,丰富的教育经验和有趣的课堂环境,一对一辅导平台的教务管理、线上课堂、线下课堂、助学互动,课程回放等多项教学功能,让您利用碎片时间,轻轻松松学会各种语言。", - liaojiegengduo:"了解更多" - + liaojiegengduo:"了解更多", + xiayibu:"下一步", + tongyixieyi:"勾选表示同意 《用户注册协议和隐私政策》", + shezhimima:"设置密码", + shurumimatwo:"请再次输入您的密码", + shuruxingming:"请输入您的姓名", + youxiang:"邮箱", + shuruyouxiang:"请输入您的邮箱", + muyu:"母语", + shurumuyu:"请输入您的母语", + jiaoshou:"教授", + xuanzejiaoshou:"请选择您的教授", + lijizhuce:"立刻注册", + wanchengzhuce:"您已完成注册", + qudangan:"恭喜您注册成功,点击跳转到我的档案页面", + yanzhengshouji:"验证手机号", + tianxiexinxi:"填写帐号信息", + fanhuishangyibu:"返回上一步", + zhucewancheng:"帐号注册完成", + mimachongzhi:"密码重置", + xiangqimima:"想起密码?", + zhanghuming:"账户名", + chongzhimima:"重置密码", + chongzhishurumima:"请输入您要设置的密码", + querenmima:"确认密码", + querenchongzhi:"确认重置", + wanchengchongzhi:"您已完成密码重置", + chongzhichenggong:"恭喜您重置密码成功,点击跳转到登录页面", + shibiezhanghao:"识别账号", + yanzhengxinxi:"验证账号信息,重置密码", + chongzhiwancheng:"密码重置完成", + xiugaitouxiang:"修改头像", + xiugai:"修改" + } \ No newline at end of file diff --git a/src/views/login/Reset.vue b/src/views/login/Reset.vue index 6d6ea2d..2ee84ae 100644 --- a/src/views/login/Reset.vue +++ b/src/views/login/Reset.vue @@ -3,89 +3,89 @@
- Beelink密码重置 + {{lan.$t('beelink')}}{{lan.$t('mimachongzhi')}}
- 想起密码? - 去登录 + {{lan.$t('xiangqimima')}} + {{lan.$t('qudenglu')}}
- - + + -
下一步
+
{{lan.$t('xiayibu')}}
- 已有账号? - 去登录 + {{lan.$t('yiyouzhanghao')}} + {{lan.$t('qudenglu')}}
- +
{{uinfo.phone}}
- +
- 点击获取验证码{{ time == 60 ? "" : "(" + time + ")" }} + {{lan.$t('dianjihuoquyzm')}} {{ time == 60 ? "" : "(" + time + ")" }}
- +
- - + + - - + +
-
确认重置
-
Beelink公司版权所有 2019—2022
+
{{lan.$t('querenchongzhi')}}
+
{{lan.$t('banquan')}}
-
您已完成密码重置
+
{{lan.$t('wanchengchongzhi')}}
-
恭喜您重置密码成功,点击跳转到登录页面
+
{{lan.$t('chongzhichenggong')}}
01
-
识别账号
+
{{lan.$t('shibiezhanghao')}}
02
-
验证账号信息,重置密码
+
{{lan.$t('yanzhengxinxi')}}
- 返回上一步 + {{lan.$t('fanhuishangyibu')}}
03
-
密码重置完成
+
{{lan.$t('chongzhiwancheng')}}
@@ -101,12 +101,14 @@ \ No newline at end of file diff --git a/src/views/mine/Archives.vue b/src/views/mine/Archives.vue index dfd2227..451ce46 100644 --- a/src/views/mine/Archives.vue +++ b/src/views/mine/Archives.vue @@ -15,7 +15,7 @@
- 修改头像 + {{lan.$t('xiugaitouxiang')}}
@@ -23,7 +23,7 @@
修改
{{ userinfo.name }}
-
修改
+
{{lan.$t('xiugai')}}
@@ -311,6 +311,7 @@ import smile from "@/static/images/smile.png" import smilet from "@/static/images/smilet.png" import { changetel, checksmscode, editpassword, editsystemsetting, getarchives, getcurrencys, getlanguages, getquhaolist, getzonelist, putmember, sendsms } from "@/api/index" import { message } from 'ant-design-vue'; +import { useI18n } from '@/utils/i18n'; export default defineComponent({ name: "Archives", @@ -320,6 +321,7 @@ export default defineComponent({ NavBottom }, setup(){ + const lan: any = useI18n(); interface SpeakItem{ lang: string; proficiency: number;