dist
This commit is contained in:
@@ -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