BUG 28148

This commit is contained in:
aixianling
2022-03-09 10:32:56 +08:00
parent 3b4888544d
commit 901663a004

View File

@@ -1,5 +1,5 @@
<template> <template>
<section class="home" v-if="pageShow"> <section class="videoDetail" v-if="pageShow">
<div class="page" v-if="videoList.length"> <div class="page" v-if="videoList.length">
<video :src="videoList[activeIndex].videoUrl" :id="`video${activeIndex+1}`"></video> <video :src="videoList[activeIndex].videoUrl" :id="`video${activeIndex+1}`"></video>
<p class="video-name">{{ videoList[activeIndex].title }}</p> <p class="video-name">{{ videoList[activeIndex].title }}</p>
@@ -37,7 +37,8 @@
import {mapState} from "vuex"; import {mapState} from "vuex";
export default { export default {
name: "home", name: "videoDetail",
appName: "党员学习",
computed: { computed: {
...mapState(["user", "token"]), ...mapState(["user", "token"]),
}, },
@@ -87,7 +88,7 @@ export default {
<style scoped lang="scss"> <style scoped lang="scss">
@import "~dvcp-wui/common"; @import "~dvcp-wui/common";
.home { .videoDetail {
width: 100%; width: 100%;
height: 100%; height: 100%;
} }