tianjialeguanggao
This commit is contained in:
@@ -7,6 +7,8 @@
|
||||
|
||||
<LiveCount :info="liveinfo.studentlist" :livestatus="liveinfo.livestatus" :zid="liveinfo.liveid"></LiveCount>
|
||||
</div>
|
||||
<infoad></infoad>
|
||||
|
||||
<VideoReview class="review" v-if="liveinfo.livestatus == 2" :videoinfo="liveinfo.score"></VideoReview>
|
||||
</div>
|
||||
</template>
|
||||
@@ -34,6 +36,8 @@ import { defineComponent, ref } from "vue";
|
||||
import liveplay from "@/components/LivePlay.vue";
|
||||
import LiveCount from "@/components/LiveCount.vue";
|
||||
import VideoReview from "@/components/VideoReview.vue";
|
||||
import infoad from "@/components/infoad.vue";
|
||||
|
||||
import { useRoute } from "vue-router";
|
||||
import { getliveinfo, share } from "@/api";
|
||||
import router from '@/router';
|
||||
@@ -43,6 +47,7 @@ export default defineComponent({
|
||||
LiveCount,
|
||||
liveplay,
|
||||
VideoReview,
|
||||
infoad
|
||||
},
|
||||
setup() {
|
||||
console.log(useRoute().query.id);
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
<VideoPlay :title="result.title" :vid="result.videoid" :url="result.fileid"></VideoPlay>
|
||||
<VideoCont :videoid="result.videoid" :yuanyin="result.statusdesc" :date="result.createdAt" :watch="result.watch" :share="result.share" :status="result.status"></VideoCont>
|
||||
</div>
|
||||
<infoad></infoad>
|
||||
<VideoReview :videoinfo="result.score" class="review" v-if="result.status == 1"></VideoReview>
|
||||
</div>
|
||||
</template>
|
||||
@@ -24,6 +25,7 @@
|
||||
import { defineComponent, onMounted, ref } from 'vue';
|
||||
import VideoPlay from "@/components/VideoPlay.vue"
|
||||
import VideoCont from "@/components/VideoCont.vue"
|
||||
import infoad from "@/components/infoad.vue";
|
||||
import VideoReview from "@/components/VideoReview.vue";
|
||||
import { getcommentlist, videodetail } from '@/api';
|
||||
import { useRoute } from 'vue-router';
|
||||
@@ -31,7 +33,8 @@ export default defineComponent({
|
||||
components:{
|
||||
VideoPlay,
|
||||
VideoCont,
|
||||
VideoReview
|
||||
VideoReview,
|
||||
infoad
|
||||
},
|
||||
setup(){
|
||||
// console.log(1)
|
||||
|
||||
Reference in New Issue
Block a user