Commit 9f73aa2a authored by lilei's avatar lilei

video-cutter add

parent c27a76ae
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<div class="comp-sidenav"> <div class="comp-sidenav">
<router-link to="/">Home</router-link> <router-link to="/">Home</router-link>
<router-link to="/about">About</router-link> <router-link to="/about">About</router-link>
<router-link to="/bao1">bao1</router-link> <router-link to="/cutter">cutter</router-link>
<router-link to="/bao2">bao2</router-link> <router-link to="/bao2">bao2</router-link>
</div> </div>
</template> </template>
......
<template> <template>
<div class="comp-bao1"> <div class="video-player">
bao1 <video></video>
</div> </div>
</template> </template>
<script> <script>
export default { export default {
data() { data() {
return {} return {}
}, }
created() {},
mounted() {}
} }
</script> </script>
<style lang="scss" scoped></style>
<style scoped lang="scss">
/* @import url(); 引入css类 */
</style>
...@@ -19,9 +19,9 @@ const routes = [ ...@@ -19,9 +19,9 @@ const routes = [
component: () => import(/* webpackChunkName: "about" */ '../views/About.vue') component: () => import(/* webpackChunkName: "about" */ '../views/About.vue')
}, },
{ {
path: '/bao1', path: '/cutter',
name: 'Bao1', name: 'Cutter',
component: () => import(/* webpackChunkName: "bao1" */ '../views/bao1.vue') component: () => import(/* webpackChunkName: "bao1" */ '../views/videoCutter.vue')
}, },
{ {
path: '/bao2', path: '/bao2',
......
<template>
<div class="video-cutter">
<div class="video-content">
<video-player></video-player>
</div>
<div></div>
<div></div>
<div></div>
</div>
</template>
<script>
import VideoPlayer from '@/components/videoCutter/videoPlayer.vue'
export default {
components: {
VideoPlayer
},
data() {
return {}
},
created() {},
mounted() {}
}
</script>
<style scoped lang="scss">
/* @import url(); 引入css类 */
.video-cutter {
width: 100%;
height: 100%;
}
</style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment