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
1f56d43b
Commit
1f56d43b
authored
Aug 26, 2020
by
gaobowen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add screenshot
parent
5b710273
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
4 deletions
+19
-4
.eslintrc.js
.eslintrc.js
+3
-2
screenshot.vue
src/views/screenshot.vue
+16
-2
No files found.
.eslintrc.js
View file @
1f56d43b
...
...
@@ -117,10 +117,11 @@ module.exports = {
html
:
{
void
:
'never'
,
normal
:
'never'
,
component
:
'never'
component
:
'never'
,
},
svg
:
'always'
,
math
:
'always'
math
:
'always'
,
ignores
:
[
'input'
],
}
],
// 每一行的属性数量
...
...
src/views/screenshot.vue
View file @
1f56d43b
<
template
>
<div
class=
"screenshot"
>
screenshot view
</div>
<div
class=
"screenshot"
>
<div
class=
"content"
>
<video
id=
"screenshot-video"
></video>
</div>
<div
class=
"play-area"
>
<input
type=
"file"
>
</div>
</div>
</
template
>
<
script
>
export
default
{
name
:
'Screenshot'
,
data
()
{
return
{}
return
{
srcUrl
:
null
}
},
created
()
{},
mounted
()
{}
...
...
@@ -18,5 +27,10 @@ export default {
width
:
100%
;
height
:
100%
;
margin
:
30px
;
display
:
flex
;
.content
{
margin
:
20px
30px
;
background-color
:
lightcyan
;
}
}
</
style
>
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