From 0deba541ceced3e27008797681036687c69cc01f Mon Sep 17 00:00:00 2001
From: asd <374367073@qq.com>
Date: Thu, 29 Oct 2020 10:40:31 +0800
Subject: [PATCH 1/2] =?UTF-8?q?=E5=A4=9A=E8=AF=AD=E8=A8=80?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/i18n/zh.ts | 38 +-
src/views/login/Reset.vue | 53 +--
src/views/login/Sign.vue | 818 ++++++++++++++++++++----------------
src/views/mine/Archives.vue | 6 +-
4 files changed, 514 insertions(+), 401 deletions(-)
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')}}
- 确认重置
- 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;
--
2.49.1
From c5c5a8f7b121ea3f30d9396020169212881c0934 Mon Sep 17 00:00:00 2001
From: asd <374367073@qq.com>
Date: Thu, 29 Oct 2020 17:50:26 +0800
Subject: [PATCH 2/2] duoyuyan
---
src/components/LiveCount.vue | 21 +-
src/components/LiveItem.vue | 13 +-
src/components/LivePlay.vue | 13 +-
src/components/NavBottom.vue | 35 +-
src/components/ReviewItem.vue | 6 +-
src/components/ReviewItemtwo.vue | 7 +-
src/components/VideoCont.vue | 33 +-
src/components/VideoItem.vue | 9 +-
src/components/VideoReview.vue | 15 +-
src/i18n/zh.ts | 108 +++-
src/views/mine/Archives.vue | 799 +++++++++++++++++++-----------
src/views/mine/ReleaseVideo.vue | 25 +-
src/views/mine/ReleaseWebcast.vue | 224 +++++----
src/views/mine/Wallet.vue | 31 +-
src/views/regime/Live.vue | 13 +-
src/views/regime/Liveing.vue | 9 +-
src/views/regime/Subscriber.vue | 23 +-
src/views/regime/Video.vue | 15 +-
18 files changed, 901 insertions(+), 498 deletions(-)
diff --git a/src/components/LiveCount.vue b/src/components/LiveCount.vue
index 375661e..a6b9f48 100644
--- a/src/components/LiveCount.vue
+++ b/src/components/LiveCount.vue
@@ -1,8 +1,8 @@
-
上课学生
-
查看详情
+
{{lan.$t('shangkexuesheng')}}
+
{{lan.$t('chakanxiangqing')}}
- 参加时长
+ {{lan.$t('canjiashichang')}}
30min
- 取消直播
+ {{lan.$t('quxiaozhibo')}}
-
已拒绝
+
{{lan.$t('yijujue')}}
- 请输入您举着该学生参与直播的原因
+ {{lan.$t('jujueyuanyintext')}}
-
拒绝原因
+
{{lan.$t('juejueyuanyin')}}
- 确认拒绝
+ {{lan.$t('querenjujue')}}
@@ -237,6 +237,7 @@
@@ -717,13 +936,13 @@ export default defineComponent({
padding: 46px;
border-radius: 17px;
position: relative;
- .telbox{
- margin-left:15px;
+ .telbox {
+ margin-left: 15px;
font-size: 12px;
}
.update-btn {
font-size: 11px;
- color: #08AE98;
+ color: #08ae98;
font-weight: 500;
cursor: pointer;
user-select: none;
@@ -776,13 +995,13 @@ export default defineComponent({
width: 171px;
padding: 6px 11px;
border-radius: 3px;
- border: 1px solid #DCDFE0;
+ border: 1px solid #dcdfe0;
font-size: 11px;
- color: #3F3F3F;
+ color: #3f3f3f;
}
.ant-select {
font-size: 12px;
- color: #3F3F3F;
+ color: #3f3f3f;
}
.ant-select-dropdown {
.ant-select-dropdown-menu-item {
@@ -810,9 +1029,9 @@ export default defineComponent({
color: #808080;
margin-right: 14px;
}
- .value{
+ .value {
display: flex;
- >img{
+ > img {
width: 15px;
height: 15px;
margin-right: 6px;
@@ -830,7 +1049,7 @@ export default defineComponent({
.upload-image {
width: 171px;
height: 96px;
- border: 1px solid #DCDFE0;
+ border: 1px solid #dcdfe0;
border-radius: 3px;
display: flex;
align-items: center;
@@ -882,7 +1101,7 @@ export default defineComponent({
box-sizing: border-box;
padding: 25px 30px;
width: 569px;
- background: #FFFFFF;
+ background: #ffffff;
box-shadow: 0px 4px 6px 0px rgba(102, 102, 102, 0.07);
border-radius: 28px;
.public-class {
@@ -898,17 +1117,17 @@ export default defineComponent({
.label {
font-size: 11px;
font-weight: 500;
- color: #7F7F7F;
+ color: #7f7f7f;
}
}
}
.confirm-btn {
display: inline-block;
- background: #07AD97;
+ background: #07ad97;
border-radius: 2px;
font-size: 9px;
font-weight: 500;
- color: #FFFFFF;
+ color: #ffffff;
text-align: center;
cursor: pointer;
user-select: none;
@@ -917,8 +1136,8 @@ export default defineComponent({
padding: 0 17px;
}
- .confirm-btn:hover{
- background:#ccc;
+ .confirm-btn:hover {
+ background: #ccc;
}
}
.password-container {
@@ -938,7 +1157,7 @@ export default defineComponent({
.ant-input-password {
width: 170px;
font-size: 11px;
- color: #3F3F3F;
+ color: #3f3f3f;
// .ant-input {
// letter-spacing: 0;
// }
@@ -960,7 +1179,7 @@ export default defineComponent({
.ant-input {
width: 170px;
font-size: 11px;
- color: #3F3F3F;
+ color: #3f3f3f;
margin-right: 28px;
}
}
@@ -983,42 +1202,41 @@ export default defineComponent({
.submit-btn {
width: 63px;
height: 23px;
- background: #08AE98;
+ background: #08ae98;
border-radius: 3px;
font-size: 10px;
font-weight: 500;
- color: #FFFFFF;
+ color: #ffffff;
text-align: center;
line-height: 23px;
cursor: pointer;
user-select: none;
}
- .submit-btn:hover{
+ .submit-btn:hover {
background: #ccc;
}
}
::v-deep(.ant-upload-list) {
display: none;
}
- .avatar-uploader{
+ .avatar-uploader {
width: unset;
padding: 0;
border: none;
background-color: none;
position: relative;
- &::v-deep(.ant-upload){
+ &::v-deep(.ant-upload) {
padding: 0;
border: none;
background-color: #fff;
width: unset;
height: unset;
}
- .mengceng{
-
+ .mengceng {
position: absolute;
left: 0;
top: 0;
- opacity:0;
+ opacity: 0;
font-size: 10px;
display: flex;
align-items: center;
@@ -1027,11 +1245,10 @@ export default defineComponent({
background-color: #000;
border-radius: 50%;
line-height: 1;
- &:hover{
+ &:hover {
opacity: 0.5;
}
}
-
}
}
\ No newline at end of file
diff --git a/src/views/mine/ReleaseVideo.vue b/src/views/mine/ReleaseVideo.vue
index c0480fa..918ac1e 100644
--- a/src/views/mine/ReleaseVideo.vue
+++ b/src/views/mine/ReleaseVideo.vue
@@ -1,15 +1,15 @@
- 上传视频
-
+ {{lan.$t("shangchuanshipin")}}
+
-
+
-
+
-
视频要求:
+
{{lan.$t('shipinyaoqiu')}}
- 1.文件扩展名:fiv、mp4…文件扩展名:fiv、mp4…
+ 1. {{lan.$t('shipinyaoqiu3')}}
-
+
{{ form.desc.length }}/200
- 上传视频
+ {{lan.$t('shangchuanshipin')}}
@@ -112,6 +112,7 @@ import { uploadflie } from "@/utils/vod";
import { setvideo, videoadd, videodetail } from "@/api";
import { useRoute } from 'vue-router';
import { message } from 'ant-design-vue';
+import { useI18n } from '@/utils/i18n';
export default defineComponent({
name: "ReleaseWebcast",
@@ -121,6 +122,7 @@ export default defineComponent({
NavBottom,
},
setup() {
+ const lan: any = useI18n();
interface FileItem {
video: Array;
}
@@ -319,7 +321,8 @@ export default defineComponent({
removeFile,
beforeUpload,
ifalowupload,
- beforeVideoUpload
+ beforeVideoUpload,
+ lan
};
},
});
diff --git a/src/views/mine/ReleaseWebcast.vue b/src/views/mine/ReleaseWebcast.vue
index 7ebb0dc..b2d4a8a 100644
--- a/src/views/mine/ReleaseWebcast.vue
+++ b/src/views/mine/ReleaseWebcast.vue
@@ -1,16 +1,20 @@
- 直播信息
-
+ {{ lan.$t("zhiboxinxi") }}
+
-
-
+
+
-
-
+
+
+
+ {{ lan.$t("shipinyaoqiu") }}
+
+
1.{{ lan.$t("shipinyaoqiu1") }}
+
2.{{ lan.$t("shipinyaoqiu2") }}
+
3.{{ lan.$t("shipinyaoqiu3") }}
+
+
-
+
@@ -43,7 +43,7 @@

-
添加新的账户
+
{{lan.$t('tianjiazhanghu')}}
@@ -52,7 +52,7 @@

-
银行卡
+
{{lan.$t('yinhangka')}}
![]()
-
支付宝
+
{{lan.$t('zhifubao')}}
![]()
-
微信
+
{{lan.$t('weixin')}}
-
修改
-
删除
+
{{lan.$t('xiugai')}}
+
{{lan.$t('shanchu')}}
- 账号 {{i.bankcode}}
- 账号 {{i.account}}
+ {{lan.$t('zhanghao0')}} {{i.bankcode}}
+ {{lan.$t('zhanghao0')}} {{i.account}}