添加跳转日历
This commit is contained in:
parent
79a5882601
commit
7bf5fc86de
@ -28,7 +28,7 @@
|
||||
<div class="state live" v-if="status==1">
|
||||
进入直播
|
||||
</div>
|
||||
<div class="state over" v-if="status==2">
|
||||
<div class="state over" v-if="status==2">
|
||||
查看回放
|
||||
</div>
|
||||
</div>
|
||||
@ -47,7 +47,6 @@
|
||||
.cover{
|
||||
width: 100%;
|
||||
height: 127px;
|
||||
background-color: #0f0;
|
||||
}
|
||||
.play{
|
||||
position: absolute;
|
||||
|
@ -1,6 +1,6 @@
|
||||
<template>
|
||||
<div class="video">
|
||||
<video :controls="true" :src="info.vodurl"></video>
|
||||
<video :controls="true" :src="info.livestatus == 0 ? info.fileurl : info.vodurl"></video>
|
||||
<div class="liveinfo">
|
||||
<div class="left">
|
||||
<div>
|
||||
|
@ -91,7 +91,7 @@
|
||||
</a-menu>
|
||||
</template>
|
||||
</a-dropdown>
|
||||
<div class="item" style="border-right: none;">
|
||||
<div class="item" style="border-right: none;" @click="navto('/regime/date')">
|
||||
<img src="@/static/images/rili.png" alt="" class="icon">
|
||||
<div class="name">日历</div>
|
||||
</div>
|
||||
@ -219,10 +219,15 @@ export default defineComponent({
|
||||
return store.state.userinfo;
|
||||
})
|
||||
|
||||
function navto(index: number){
|
||||
router.push({
|
||||
path: nav[index].route
|
||||
})
|
||||
function navto(index: number | string){
|
||||
if(typeof index == "number"){
|
||||
router.push({
|
||||
path: nav[index].route
|
||||
})
|
||||
}else{
|
||||
router.push(index)
|
||||
}
|
||||
|
||||
}
|
||||
return {
|
||||
nav,
|
||||
|
Loading…
x
Reference in New Issue
Block a user