添加了直播提示和端视频信息
This commit is contained in:
parent
06eff76696
commit
8ae53fc45b
@ -315,4 +315,5 @@ export default {
|
||||
shichangtishi:"",
|
||||
renshutishi: '',
|
||||
tixianzhu: "",
|
||||
zhibotishi: ""
|
||||
}
|
@ -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 = '';
|
||||
|
@ -315,4 +315,5 @@ export default {
|
||||
shichangtishi:"",
|
||||
renshutishi: '',
|
||||
tixianzhu:"",
|
||||
zhibotishi:""
|
||||
}
|
@ -65,6 +65,7 @@ export default createStore({
|
||||
symbol: "",
|
||||
timeCeiling: "",
|
||||
timeLowerLimit: "",
|
||||
views:0
|
||||
},
|
||||
qh: {
|
||||
code: "86",
|
||||
|
@ -180,7 +180,8 @@
|
||||
:customRequest="uploads"
|
||||
:beforeUpload="video"
|
||||
>
|
||||
<div class="upload-image">
|
||||
<div class="upload-image" v-if="uploadprogress != 100 & userinfo.video != ''">
|
||||
|
||||
<PlaySquareOutlined
|
||||
style="fontsize: 22px"
|
||||
v-if="uploadprogress == 0"
|
||||
@ -192,6 +193,14 @@
|
||||
v-else
|
||||
/>
|
||||
</div>
|
||||
<div class="upload-image" v-else>
|
||||
|
||||
<video
|
||||
:src="userinfo.video"
|
||||
style="width:100%;height:100%"
|
||||
class="upload"
|
||||
></video>
|
||||
</div>
|
||||
</a-upload>
|
||||
<div class="demand">
|
||||
<p class="one-line-hide">
|
||||
@ -940,7 +949,7 @@ export default defineComponent({
|
||||
}
|
||||
const uploadprogress: Ref<number> = 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;
|
||||
}
|
||||
|
@ -222,6 +222,10 @@
|
||||
<p>{{ lan.$t("querenquxiao") }}</p>
|
||||
</a-modal>
|
||||
<nav-bottom></nav-bottom>
|
||||
<div class="tishi" v-if="!jinzhi">
|
||||
{{ lan.$t("zhibotishi") }}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<script lang="ts">
|
||||
@ -577,7 +581,7 @@ export default defineComponent({
|
||||
}
|
||||
return provenimg(file)
|
||||
}
|
||||
|
||||
const view = computed(()=>store.state.seting.views)
|
||||
return {
|
||||
labelCol: { span: 4 },
|
||||
wrapperCol: { span: 14 },
|
||||
@ -614,7 +618,8 @@ export default defineComponent({
|
||||
isquxiao,
|
||||
video,
|
||||
imgs,
|
||||
jinzhi
|
||||
jinzhi,
|
||||
view
|
||||
};
|
||||
},
|
||||
});
|
||||
@ -627,6 +632,16 @@ export default defineComponent({
|
||||
padding: 46px;
|
||||
border-radius: 17px;
|
||||
position: relative;
|
||||
.tishi{
|
||||
position: absolute;
|
||||
top: 40%;
|
||||
right: 15%;
|
||||
width: 25%;
|
||||
line-height: 0.17rem;
|
||||
font-size: 0.1rem;
|
||||
font-weight: 500;
|
||||
color: #808080;
|
||||
}
|
||||
::v-deep(.ant-form) {
|
||||
.title {
|
||||
font-size: 12px;
|
||||
|
Loading…
Reference in New Issue
Block a user