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