添加了直播提示和端视频信息
This commit is contained in:
parent
06eff76696
commit
8ae53fc45b
@ -315,4 +315,5 @@ export default {
|
|||||||
shichangtishi:"",
|
shichangtishi:"",
|
||||||
renshutishi: '',
|
renshutishi: '',
|
||||||
tixianzhu: "",
|
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 }`
|
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
|
zh.zuiditixian = "最低提现金额" + res.symbol + res.minwithdraw
|
||||||
en.zuiditixian = "Minimum withdrawal amount " + 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 i18n = geti18n();
|
||||||
const loc = i18n.locale.value;
|
const loc = i18n.locale.value;
|
||||||
i18n.locale.value = '';
|
i18n.locale.value = '';
|
||||||
|
@ -315,4 +315,5 @@ export default {
|
|||||||
shichangtishi:"",
|
shichangtishi:"",
|
||||||
renshutishi: '',
|
renshutishi: '',
|
||||||
tixianzhu:"",
|
tixianzhu:"",
|
||||||
|
zhibotishi:""
|
||||||
}
|
}
|
@ -65,6 +65,7 @@ export default createStore({
|
|||||||
symbol: "",
|
symbol: "",
|
||||||
timeCeiling: "",
|
timeCeiling: "",
|
||||||
timeLowerLimit: "",
|
timeLowerLimit: "",
|
||||||
|
views:0
|
||||||
},
|
},
|
||||||
qh: {
|
qh: {
|
||||||
code: "86",
|
code: "86",
|
||||||
|
@ -180,7 +180,8 @@
|
|||||||
:customRequest="uploads"
|
:customRequest="uploads"
|
||||||
:beforeUpload="video"
|
:beforeUpload="video"
|
||||||
>
|
>
|
||||||
<div class="upload-image">
|
<div class="upload-image" v-if="uploadprogress != 100 & userinfo.video != ''">
|
||||||
|
|
||||||
<PlaySquareOutlined
|
<PlaySquareOutlined
|
||||||
style="fontsize: 22px"
|
style="fontsize: 22px"
|
||||||
v-if="uploadprogress == 0"
|
v-if="uploadprogress == 0"
|
||||||
@ -192,6 +193,14 @@
|
|||||||
v-else
|
v-else
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="upload-image" v-else>
|
||||||
|
|
||||||
|
<video
|
||||||
|
:src="userinfo.video"
|
||||||
|
style="width:100%;height:100%"
|
||||||
|
class="upload"
|
||||||
|
></video>
|
||||||
|
</div>
|
||||||
</a-upload>
|
</a-upload>
|
||||||
<div class="demand">
|
<div class="demand">
|
||||||
<p class="one-line-hide">
|
<p class="one-line-hide">
|
||||||
@ -940,7 +949,7 @@ export default defineComponent({
|
|||||||
}
|
}
|
||||||
const uploadprogress: Ref<number> = ref(0);
|
const uploadprogress: Ref<number> = ref(0);
|
||||||
async function uploads(file: AntUpload) {
|
async function uploads(file: AntUpload) {
|
||||||
|
console.log(1111)
|
||||||
uploadprogress.value = 1;
|
uploadprogress.value = 1;
|
||||||
issum = false;
|
issum = false;
|
||||||
const res = await uploadflie(file.file, (info: any) => {
|
const res = await uploadflie(file.file, (info: any) => {
|
||||||
@ -949,6 +958,7 @@ export default defineComponent({
|
|||||||
uploadprogress.value = jindu > 0 ? jindu : 1;
|
uploadprogress.value = jindu > 0 ? jindu : 1;
|
||||||
});
|
});
|
||||||
userinfo.value.video = res.video.url;
|
userinfo.value.video = res.video.url;
|
||||||
|
formData.value.video = res.video.url;
|
||||||
userinfo.value.videoid = res.fileId;
|
userinfo.value.videoid = res.fileId;
|
||||||
issum = true;
|
issum = true;
|
||||||
}
|
}
|
||||||
|
@ -222,6 +222,10 @@
|
|||||||
<p>{{ lan.$t("querenquxiao") }}</p>
|
<p>{{ lan.$t("querenquxiao") }}</p>
|
||||||
</a-modal>
|
</a-modal>
|
||||||
<nav-bottom></nav-bottom>
|
<nav-bottom></nav-bottom>
|
||||||
|
<div class="tishi" v-if="!jinzhi">
|
||||||
|
{{ lan.$t("zhibotishi") }}
|
||||||
|
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
@ -577,7 +581,7 @@ export default defineComponent({
|
|||||||
}
|
}
|
||||||
return provenimg(file)
|
return provenimg(file)
|
||||||
}
|
}
|
||||||
|
const view = computed(()=>store.state.seting.views)
|
||||||
return {
|
return {
|
||||||
labelCol: { span: 4 },
|
labelCol: { span: 4 },
|
||||||
wrapperCol: { span: 14 },
|
wrapperCol: { span: 14 },
|
||||||
@ -614,7 +618,8 @@ export default defineComponent({
|
|||||||
isquxiao,
|
isquxiao,
|
||||||
video,
|
video,
|
||||||
imgs,
|
imgs,
|
||||||
jinzhi
|
jinzhi,
|
||||||
|
view
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
@ -627,6 +632,16 @@ export default defineComponent({
|
|||||||
padding: 46px;
|
padding: 46px;
|
||||||
border-radius: 17px;
|
border-radius: 17px;
|
||||||
position: relative;
|
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) {
|
::v-deep(.ant-form) {
|
||||||
.title {
|
.title {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
|
Loading…
Reference in New Issue
Block a user