Commit eb7e1240 authored by Jeff's avatar Jeff

lint fix

parent 6c54fdcd
......@@ -10,7 +10,7 @@ module.exports = {
// 3: ESLint + Standard config
// extends: [ 'plugin:vue/essential', '@vue/airbnb',],
// ESLint + Prettier
extends: ['plugin:vue/essential', 'eslint:recommended', '@vue/prettier'],
extends: ['plugin:vue/strongly-recommended', 'eslint:recommended'],
plugins: [],
parserOptions: {
parser: 'babel-eslint'
......
<template>
<div id="app">
<common-header></common-header>
<common-header />
<body class="body-container">
<side-nav></side-nav>
<router-view style="flex:1;border: 1px solid #666;"></router-view>
<right-panel></right-panel>
<side-nav />
<router-view style="flex:1;border: 1px solid #666;" />
<right-panel />
</body>
<modal-layer />
</div>
</template>
<script>
import CommonHeader from '@/components/header/index.vue'
import ModalLayer from '@/components/modal/modalLayer.vue'
export default {
components: {
CommonHeader,
ModalLayer,
SideNav: () => import('@/components/sideNav/index.vue'),
RightPanel: () => import('@/components/rightPanel/index.vue')
},
......@@ -38,6 +41,7 @@ export default {
display: flex;
flex-direction: column;
height: 100vh;
position: relative;
}
.body-container {
......
<template>
<div class="comp-commonheader">
<h1>LAIHUA</h1>
<div class="current-page">当前的宝</div>
<tip-panel></tip-panel>
<div class="current-page">
当前的宝
</div>
<tip-panel />
<div
class="show-complete"
@click="showCompleteModal"
>
show-complete
</div>
</div>
</template>
......@@ -15,7 +23,12 @@ export default {
return {}
},
created() {},
mounted() {}
mounted() {},
methods: {
showCompleteModal() {
this.$modal.show('completeModal')
}
}
}
</script>
......
<template>
<div />
</template>
<script>
export default {
data() {
return {}
},
methods: {}
}
</script>
<style lang="scss" scoped></style>
<template>
<div>
complete content
</div>
</template>
<script>
export default {
data() {
return {}
},
methods: {}
}
</script>
<style lang="scss" scoped></style>
<template>
<modal
name="completeModal"
:click-to-close="false"
>
<complete-content />
</modal>
</template>
<script>
import CompleteContent from './completeContent'
export default {
components: {
CompleteContent
},
data() {
return {}
},
methods: {}
}
</script>
<style lang="scss" scoped></style>
<template>
<div class="modal-layer">
<complete-modal />
</div>
</template>
<script>
import CompleteModal from '@/components/modal/completeModal'
export default {
components: {
CompleteModal
},
data() {
return {}
},
methods: {}
}
</script>
<style lang="scss" scoped>
.modal-layer {
position: absolute;
left: 0;
top: 0;
width: 0;
height: 0;
}
</style>
<template>
<div class="comp-rightpanel">
<router-view name="panel"></router-view>
<router-view name="panel" />
</div>
</template>
......
<template>
<div class="comp-sidenav">
<router-link to="/">Home</router-link>
<router-link to="/about">About</router-link>
<router-link to="/cutter">cutter</router-link>
<router-link to="/videoConverter">videoConverter</router-link>
<router-link to="/screenshot">screenshot</router-link>
<router-link to="/">
Home
</router-link>
<router-link to="/about">
About
</router-link>
<router-link to="/cutter">
cutter
</router-link>
<router-link to="/videoConverter">
videoConverter
</router-link>
<router-link to="/screenshot">
screenshot
</router-link>
</div>
</template>
......
<template>
<div class="video-player">
<video ref="videoDom" src="https://resources.laihua.com/2020-7-27/547adf9b-73b0-4b14-bed6-6ee278a1b2b2.mp4"></video>
<video
ref="videoDom"
src="https://resources.laihua.com/2020-7-27/547adf9b-73b0-4b14-bed6-6ee278a1b2b2.mp4"
/>
</div>
</template>
<script>
......
<template>
<div class="screenshot">screenshot view</div>
<div class="screenshot">
screenshot view
</div>
</template>
<script>
......
<template>
<div class="videoConverter">转换baby</div>
<div class="videoConverter">
转换baby
</div>
</template>
<script>
......
<template>
<div class="video-cutter">
<div class="video-content">
<video-player></video-player>
<video-player />
</div>
<div></div>
<div></div>
<div></div>
<div />
<div />
<div />
</div>
</template>
......
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