Commit 6c24e660 authored by gaobowen's avatar gaobowen

screenshot

parents 1f56d43b 7e1a952a
...@@ -9,3 +9,5 @@ assets/ ...@@ -9,3 +9,5 @@ assets/
static/ static/
dist/ dist/
node_modules/ node_modules/
src/views/screenshot.vue
...@@ -33,7 +33,8 @@ module.exports = { ...@@ -33,7 +33,8 @@ module.exports = {
SwitchCase: 1 // 针对switch case的缩进 SwitchCase: 1 // 针对switch case的缩进
} }
], ],
'linebreak-style': ['warn', 'unix'], //'linebreak-style': ['warn', 'unix'],
'linebreak-style': [0, 'error', 'windows'],
'no-irregular-whitespace': [ 'no-irregular-whitespace': [
1, 1,
{ skipComments: true, skipTemplates: true, skipRegExps: true } { skipComments: true, skipTemplates: true, skipRegExps: true }
...@@ -120,8 +121,7 @@ module.exports = { ...@@ -120,8 +121,7 @@ module.exports = {
component: 'never', component: 'never',
}, },
svg: 'always', svg: 'always',
math: 'always', math: 'always'
ignores: ['input'],
} }
], ],
// 每一行的属性数量 // 每一行的属性数量
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<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="/cutter">cutter</router-link> <router-link to="/cutter">cutter</router-link>
<router-link to="/bao2">bao2</router-link> <router-link to="/videoConverter">videoConverter</router-link>
<router-link to="/screenshot">screenshot</router-link> <router-link to="/screenshot">screenshot</router-link>
</div> </div>
</template> </template>
......
...@@ -26,9 +26,9 @@ const routes = [ ...@@ -26,9 +26,9 @@ const routes = [
component: () => import(/* webpackChunkName: "bao1" */ '../views/videoCutter.vue') component: () => import(/* webpackChunkName: "bao1" */ '../views/videoCutter.vue')
}, },
{ {
path: '/bao2', path: '/videoConverter',
name: 'Bao2', name: 'VideoConverter',
component: () => import(/* webpackChunkName: "bao2" */ '../views/bao2.vue') component: () => import(/* webpackChunkName: "bao2" */ '../views/videoConverter.vue')
}, },
{ {
path: '/screenshot', path: '/screenshot',
......
...@@ -3,8 +3,9 @@ ...@@ -3,8 +3,9 @@
<div class="content"> <div class="content">
<video id="screenshot-video"></video> <video id="screenshot-video"></video>
</div> </div>
<div class="play-area"> <div class="operate-area">
<input type="file">
<input id="screenshot-input" type="file" style="display:none;">
</div> </div>
</div> </div>
</template> </template>
...@@ -28,6 +29,7 @@ export default { ...@@ -28,6 +29,7 @@ export default {
height: 100%; height: 100%;
margin: 30px; margin: 30px;
display: flex; display: flex;
flex-direction: column;
.content { .content {
margin: 20px 30px; margin: 20px 30px;
background-color: lightcyan; background-color: lightcyan;
......
<template> <template>
<div class="videoConverterBaby"></div> <div class="videoConverter">转换baby</div>
</template> </template>
<script> <script>
export default { export default {
name: 'VideoConverterBaby', name: 'VideoConverter',
components: {}, components: {},
props: {}, props: {},
data() { data() {
...@@ -17,7 +17,7 @@ export default { ...@@ -17,7 +17,7 @@ export default {
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
.videoConverterBaby { .videoConverter {
width: 100%; width: 100%;
height: 100%; height: 100%;
background-color: #fff; background-color: #fff;
......
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