dist
This commit is contained in:
@@ -814,6 +814,7 @@ interface LiveInfo {
|
||||
created_at: string;
|
||||
updated_at: string;
|
||||
livestatus: number;
|
||||
overdue: number;
|
||||
}
|
||||
|
||||
interface StudentList {
|
||||
|
||||
@@ -311,6 +311,8 @@ export default {
|
||||
shouru1: "Live Revenue=Actual attendess x Actual duration x unit price",
|
||||
shouru2: "1 on 1, 20€/hour; 1 on N, 10€/hour/person, (1<N<=4)",
|
||||
shouru3: "Attention! You can only change the currency once!",
|
||||
shouru4: "Live broadcast earnings on the same day, the next day after successful background audit into the wallet.",
|
||||
shouru5: "The actual length of attendance shall not exceed the length of the teacher's broadcast of the live course.",
|
||||
tishi: "Tip",
|
||||
querentuichu: "You confirm to exit?",
|
||||
huobitishi: "Attention! You can only change the currency once on Beelink platform!",
|
||||
@@ -342,8 +344,11 @@ export default {
|
||||
qingxuanzefenxiangtujing:"Please select share channel",
|
||||
lijifenxiang:"Share now",
|
||||
zhibobaomingxuesheng:"Live broadcast of student registration",
|
||||
chaoguoshijian:"ou only can reply the live class within 7 days ago.",
|
||||
queding:"Ok",
|
||||
shichangtishi:"",
|
||||
renshutishi: '',
|
||||
tixianzhu: "",
|
||||
zhibotishi: ""
|
||||
zhibotishi: "",
|
||||
zhiboshijian:""
|
||||
}
|
||||
@@ -14,8 +14,10 @@ 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 = `直播资格按照每周浏览量排名,前${res.views}名具备直播资格。`
|
||||
en.zhibotishi = `Teachers who have Weekly Top ${res.views} video visitors could get this privilege.`
|
||||
zh.zhibotishi = `直播资格按照上周浏览量排名,前${res.views}名具备直播资格。`
|
||||
en.zhibotishi = `According to the ranking of views last week, the top ${res.views} are eligible for live streaming`
|
||||
zh.zhiboshijian = `提示您只能发布 ${res.releaseLiveDay} 天以内的直播课`
|
||||
en.zhiboshijian = `You can only post live classes for ${res.releaseLiveDay} days!`
|
||||
const i18n = geti18n();
|
||||
const loc = i18n.locale.value;
|
||||
i18n.locale.value = '';
|
||||
|
||||
@@ -311,6 +311,8 @@ export default {
|
||||
shouru1: "直播收入=实际参加学生数x参加时长x单价",
|
||||
shouru2: "单价:1对1,20欧/小时;1对N,10欧/小时/人(1<N<=4)",
|
||||
shouru3: "请注意,货币一旦修改,不能变动",
|
||||
shouru4: "当天直播收益,次日后台审核成功后进入钱包。",
|
||||
shouru5: "实际参加时长不超过老师发布直播课程的时长。",
|
||||
tishi: "提示",
|
||||
querentuichu: "您确认退出?",
|
||||
huobitishi: "请注意,货币一旦修改,不能变动。",
|
||||
@@ -342,8 +344,11 @@ export default {
|
||||
qingxuanzefenxiangtujing:"请选择分享途径",
|
||||
lijifenxiang:"立即分享",
|
||||
zhibobaomingxuesheng:"直播报名学生",
|
||||
chaoguoshijian:"已经超过7天,无法回看。",
|
||||
queding:"确定",
|
||||
shichangtishi:"",
|
||||
renshutishi: '',
|
||||
tixianzhu:"",
|
||||
zhibotishi:""
|
||||
zhibotishi:"",
|
||||
zhiboshijian:""
|
||||
}
|
||||
@@ -65,7 +65,8 @@ export default createStore({
|
||||
symbol: "",
|
||||
timeCeiling: "",
|
||||
timeLowerLimit: "",
|
||||
views:0
|
||||
views:0,
|
||||
releaseLiveDay: ""
|
||||
},
|
||||
qh: {
|
||||
code: "",
|
||||
|
||||
@@ -130,6 +130,8 @@
|
||||
(triggerNode) => triggerNode.parentNode
|
||||
"
|
||||
/>
|
||||
<div style="color: red;font-size: 0.12rem;line-height: 1.3;">*{{ lan.$t('zhiboshijian') }}</div>
|
||||
|
||||
</a-form-item>
|
||||
<a-form-item
|
||||
:label="lan.$t('zhiboshichang')"
|
||||
@@ -560,7 +562,7 @@ export default defineComponent({
|
||||
function disabledDate(current: any){
|
||||
console.log(current + 0)
|
||||
const now = dayjs().date(dayjs().date() - 1);
|
||||
const enow = dayjs().date(dayjs().date() + 29);
|
||||
const enow = dayjs().date(dayjs().date() + parseInt(seting.value.releaseLiveDay) - 1);
|
||||
|
||||
return current && (current < now || current > enow);
|
||||
}
|
||||
|
||||
@@ -207,6 +207,8 @@
|
||||
<p>{{lan.$t('shouru1')}}</p>
|
||||
<p>{{lan.$t('shouru2')}}</p>
|
||||
<p style="color:#D12C2E">{{lan.$t('shouru3')}}</p>
|
||||
<p>{{lan.$t('shouru4')}}</p>
|
||||
<p>{{lan.$t('shouru5')}}</p>
|
||||
|
||||
</a-modal>
|
||||
<NavBottom class="navbottom"></NavBottom>
|
||||
|
||||
@@ -10,6 +10,16 @@
|
||||
<infoad></infoad>
|
||||
|
||||
<VideoReview class="review" v-if="liveinfo.livestatus == 2" :videoinfo="liveinfo.score"></VideoReview>
|
||||
<a-modal v-model:visible="visible" :closable="false">
|
||||
<template #footer>
|
||||
|
||||
<a-button key="submit" type="primary" @click="visible = false">
|
||||
{{lan.$t('queding')}}
|
||||
</a-button>
|
||||
</template>
|
||||
<p>{{lan.$t('chaoguoshijian')}}</p>
|
||||
|
||||
</a-modal>
|
||||
</div>
|
||||
</template>
|
||||
<style lang="scss" scoped>
|
||||
@@ -53,14 +63,21 @@ export default defineComponent({
|
||||
console.log(useRoute().query.id);
|
||||
const id = useRoute().query.id;
|
||||
const liveinfo = ref<any>({})
|
||||
const visible = ref(false)
|
||||
const lan = useI18n()
|
||||
if (typeof id == "string") {
|
||||
getliveinfo(parseInt(id)).then((res) => {
|
||||
if(res.overdue == 1){
|
||||
visible.value = true;
|
||||
}
|
||||
liveinfo.value = res;
|
||||
console.log(res)
|
||||
});
|
||||
}
|
||||
return {
|
||||
liveinfo
|
||||
liveinfo,
|
||||
visible,
|
||||
lan
|
||||
}
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user