From 6dddc2cd7aac3d6b1acf7c6f9fc52ef94522a723 Mon Sep 17 00:00:00 2001 From: luyuan <1162963624@qq.com> Date: Mon, 2 Nov 2020 14:22:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=8A=E4=BC=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/i18n/en.ts | 5 +- src/i18n/zh.ts | 5 +- src/views/mine/Archives.vue | 8 + src/views/mine/ReleaseVideo.vue | 914 +++++++++++++++--------------- src/views/mine/ReleaseWebcast.vue | 38 +- 5 files changed, 514 insertions(+), 456 deletions(-) diff --git a/src/i18n/en.ts b/src/i18n/en.ts index cb9ad18..030f2c7 100644 --- a/src/i18n/en.ts +++ b/src/i18n/en.ts @@ -289,5 +289,8 @@ export default { chushihuashibai: "Failed to initialize local stream", buzhichifenxiang: "Your browser does not support screen sharing. Please download the new version of chrome", xuanzefenxiangneirong: "Please choose what to share", - guanbishibai: "Closing failed" + guanbishibai: "Closing failed", + fengmianyaoqiu:"Cover requirements:", + fengmianyaoqiu1:"File extension: JPG, png", + fengmianyaoqiu2:"File size limit: 2m", } \ No newline at end of file diff --git a/src/i18n/zh.ts b/src/i18n/zh.ts index 9701418..ebafbc4 100644 --- a/src/i18n/zh.ts +++ b/src/i18n/zh.ts @@ -94,7 +94,10 @@ export default { shipinyaoqiu:"视频要求:", shipinyaoqiu1:"上传视频时间要求为30s之内", shipinyaoqiu2:"支持文件大小100M", - shipinyaoqiu3:"文件扩展名:fiv、mp4…", + shipinyaoqiu3:"文件扩展名:fiv、mp4", + fengmianyaoqiu:"封面要求:", + fengmianyaoqiu1:"文件扩展名:jpg,png", + fengmianyaoqiu2:"文件大小限制:2M", ziwojieshao:"自我介绍", lianxifangshi:"联系方式", genghuanshoujihao:"更换手机号", diff --git a/src/views/mine/Archives.vue b/src/views/mine/Archives.vue index 6414209..cccdc32 100644 --- a/src/views/mine/Archives.vue +++ b/src/views/mine/Archives.vue @@ -804,6 +804,10 @@ export default defineComponent({ // } for(const i in uesrinfo.willsay){ + if(uesrinfo.willsay[i].name == '请选择'){ + console.log(111) + break; + } for(const j in chiveslist.value[1]){ if(uesrinfo.willsay[i].name == chiveslist.value[1][j].name){ uesrinfo.willsay[i].name = chiveslist.value[1][j].languageid @@ -814,6 +818,10 @@ export default defineComponent({ const arr: any = {}; for(const i in uesrinfo.willsay){ // const a: any = {}; + if(uesrinfo.willsay[i].name == '请选择'){ + console.log(111) + break; + } arr[uesrinfo.willsay[i].name] = uesrinfo.willsay[i].level // arr.push(a); // arr.push({uesrinfo.willsay[i].name}) diff --git a/src/views/mine/ReleaseVideo.vue b/src/views/mine/ReleaseVideo.vue index 37d3e51..6093041 100644 --- a/src/views/mine/ReleaseVideo.vue +++ b/src/views/mine/ReleaseVideo.vue @@ -1,106 +1,130 @@ \ No newline at end of file diff --git a/src/views/mine/ReleaseWebcast.vue b/src/views/mine/ReleaseWebcast.vue index 2f57c0d..3e31e48 100644 --- a/src/views/mine/ReleaseWebcast.vue +++ b/src/views/mine/ReleaseWebcast.vue @@ -10,7 +10,8 @@ /> - + + +
+

+ {{ lan.$t("fengmianyaoqiu") }} +

+

+ 1.{{ lan.$t("fengmianyaoqiu1") }} +

+

+ 2.{{ lan.$t("fengmianyaoqiu2") }} +

+
+ +
p { + margin: 0; + } + } .video-introduction { .ant-form-item-control-wrapper { .ant-form-item-children { display: flex; align-items: center; - .demand { - line-height: 17px; - font-size: 10px; - font-weight: 500; - color: #808080; - width: 134px; - > p { - margin: 0; - } - } + } } }