Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mould-vuecli3
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lhfe
mould-vuecli3
Commits
6c24e660
Commit
6c24e660
authored
Aug 27, 2020
by
gaobowen
Browse files
Options
Browse Files
Download
Plain Diff
screenshot
parents
1f56d43b
7e1a952a
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
16 additions
and
12 deletions
+16
-12
.eslintignore
.eslintignore
+2
-0
.eslintrc.js
.eslintrc.js
+3
-3
index.vue
src/components/sideNav/index.vue
+1
-1
index.js
src/router/index.js
+3
-3
screenshot.vue
src/views/screenshot.vue
+4
-2
videoConverter.vue
src/views/videoConverter.vue
+3
-3
No files found.
.eslintignore
View file @
6c24e660
...
@@ -9,3 +9,5 @@ assets/
...
@@ -9,3 +9,5 @@ assets/
static/
static/
dist/
dist/
node_modules/
node_modules/
src/views/screenshot.vue
.eslintrc.js
View file @
6c24e660
...
@@ -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'
],
}
}
],
],
// 每一行的属性数量
// 每一行的属性数量
...
...
src/components/sideNav/index.vue
View file @
6c24e660
...
@@ -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
>
...
...
src/router/index.js
View file @
6c24e660
...
@@ -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'
,
...
...
src/views/screenshot.vue
View file @
6c24e660
...
@@ -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
;
...
...
src/views/videoConverter
Baby
.vue
→
src/views/videoConverter.vue
View file @
6c24e660
<
template
>
<
template
>
<div
class=
"videoConverter
Baby"
>
</div>
<div
class=
"videoConverter
"
>
转换baby
</div>
</
template
>
</
template
>
<
script
>
<
script
>
export
default
{
export
default
{
name
:
'VideoConverter
Baby
'
,
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"
>
.videoConverter
Baby
{
.videoConverter
{
width
:
100%
;
width
:
100%
;
height
:
100%
;
height
:
100%
;
background-color
:
#fff
;
background-color
:
#fff
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment