Commit 37c2bc5f authored by lipengcheng 's avatar lipengcheng

Merge branch 'develop' of gitlab.ilaihua.com:laihua-web/laihua-toolkit into develop

parents 195672f7 9f73aa2a
......@@ -2,6 +2,7 @@ package.json
package-lock.json
yarn.lock
!.eslintrc.js
.eslintrc.js
# 忽略有所md文件
*.md
assets/
......
......@@ -33,7 +33,7 @@ module.exports = {
SwitchCase: 1 // 针对switch case的缩进
}
],
'linebreak-style': ['error', 'unix'],
'linebreak-style': ['warn', 'unix'],
'no-irregular-whitespace': [
1,
{ skipComments: true, skipTemplates: true, skipRegExps: true }
......
......@@ -31,5 +31,6 @@ module.exports = {
// 箭头函数参数括号 默认avoid 可选 avoid| always
// avoid 能省略括号的时候就省略 例如x => x
// always 总是有括号
arrowParens: 'always'
arrowParens: 'always',
endOfline: "auto"
}
......@@ -2,7 +2,7 @@
<div class="comp-sidenav">
<router-link to="/">Home</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>
</div>
</template>
......
<template>
<div class="comp-bao1">
bao1
<div class="video-player">
<video></video>
</div>
</template>
<script>
export default {
data() {
return {}
},
created() {},
mounted() {}
}
}
</script>
<style scoped lang="scss">
/* @import url(); 引入css类 */
</style>
<style lang="scss" scoped></style>
......@@ -19,9 +19,9 @@ const routes = [
component: () => import(/* webpackChunkName: "about" */ '../views/About.vue')
},
{
path: '/bao1',
name: 'Bao1',
component: () => import(/* webpackChunkName: "bao1" */ '../views/bao1.vue')
path: '/cutter',
name: 'Cutter',
component: () => import(/* webpackChunkName: "bao1" */ '../views/videoCutter.vue')
},
{
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