diff --git a/src/i18n/en.ts b/src/i18n/en.ts index 01e389b..e8969ef 100644 --- a/src/i18n/en.ts +++ b/src/i18n/en.ts @@ -315,4 +315,5 @@ export default { shichangtishi:"", renshutishi: '', tixianzhu: "", + zhibotishi: "" } \ No newline at end of file diff --git a/src/i18n/init.ts b/src/i18n/init.ts index 6fd37f3..42961a6 100644 --- a/src/i18n/init.ts +++ b/src/i18n/init.ts @@ -14,6 +14,8 @@ getset().then((res: any)=>{ en.tixianzhu = `Note: ${res.sxf} service fee will be charged for each withdrawal, with a minimum of ${ res.symbol + res.minmoney }` zh.zuiditixian = "最低提现金额" + res.symbol + res.minwithdraw en.zuiditixian = "Minimum withdrawal amount " + res.symbol + res.minwithdraw + zh.zhibotishi = `恭喜您在beelink有直播课资格。直播资格按照每周浏览量排名,前${res.views}名基本直播资格。` + en.zhibotishi = `Congratulations on your qualification for beelink live streaming course. The top ${res.views} basic live streaming qualifications are ranked according to the number of views per week` const i18n = geti18n(); const loc = i18n.locale.value; i18n.locale.value = ''; diff --git a/src/i18n/zh.ts b/src/i18n/zh.ts index a3d3159..3cdef6e 100644 --- a/src/i18n/zh.ts +++ b/src/i18n/zh.ts @@ -315,4 +315,5 @@ export default { shichangtishi:"", renshutishi: '', tixianzhu:"", + zhibotishi:"" } \ No newline at end of file diff --git a/src/store/index.ts b/src/store/index.ts index c33920c..e29eedb 100644 --- a/src/store/index.ts +++ b/src/store/index.ts @@ -65,6 +65,7 @@ export default createStore({ symbol: "", timeCeiling: "", timeLowerLimit: "", + views:0 }, qh: { code: "86", diff --git a/src/views/mine/Archives.vue b/src/views/mine/Archives.vue index e38554c..fd3d222 100644 --- a/src/views/mine/Archives.vue +++ b/src/views/mine/Archives.vue @@ -180,7 +180,8 @@ :customRequest="uploads" :beforeUpload="video" > -
+
+
+
+ + +

@@ -940,7 +949,7 @@ export default defineComponent({ } const uploadprogress: Ref = ref(0); async function uploads(file: AntUpload) { - + console.log(1111) uploadprogress.value = 1; issum = false; const res = await uploadflie(file.file, (info: any) => { @@ -949,6 +958,7 @@ export default defineComponent({ uploadprogress.value = jindu > 0 ? jindu : 1; }); userinfo.value.video = res.video.url; + formData.value.video = res.video.url; userinfo.value.videoid = res.fileId; issum = true; } diff --git a/src/views/mine/ReleaseWebcast.vue b/src/views/mine/ReleaseWebcast.vue index 328edc4..85d471d 100644 --- a/src/views/mine/ReleaseWebcast.vue +++ b/src/views/mine/ReleaseWebcast.vue @@ -222,6 +222,10 @@

{{ lan.$t("querenquxiao") }}

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