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
37c2bc5f
Commit
37c2bc5f
authored
Aug 26, 2020
by
lipengcheng
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of gitlab.ilaihua.com:laihua-web/laihua-toolkit into develop
parents
195672f7
9f73aa2a
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
53 additions
and
6 deletions
+53
-6
.eslintignore
.eslintignore
+1
-0
.eslintrc.js
.eslintrc.js
+1
-1
.prettierrc.js
.prettierrc.js
+2
-1
index.vue
src/components/sideNav/index.vue
+1
-1
videoPlayer.vue
src/components/videoCutter/videoPlayer.vue
+13
-0
index.js
src/router/index.js
+3
-3
videoCutter.vue
src/views/videoCutter.vue
+32
-0
No files found.
.eslintignore
View file @
37c2bc5f
...
@@ -2,6 +2,7 @@ package.json
...
@@ -2,6 +2,7 @@ package.json
package-lock.json
package-lock.json
yarn.lock
yarn.lock
!.eslintrc.js
!.eslintrc.js
.eslintrc.js
# 忽略有所md文件
# 忽略有所md文件
*.md
*.md
assets/
assets/
...
...
.eslintrc.js
View file @
37c2bc5f
...
@@ -33,7 +33,7 @@ module.exports = {
...
@@ -33,7 +33,7 @@ module.exports = {
SwitchCase
:
1
// 针对switch case的缩进
SwitchCase
:
1
// 针对switch case的缩进
}
}
],
],
'linebreak-style'
:
[
'
error
'
,
'unix'
],
'linebreak-style'
:
[
'
warn
'
,
'unix'
],
'no-irregular-whitespace'
:
[
'no-irregular-whitespace'
:
[
1
,
1
,
{
skipComments
:
true
,
skipTemplates
:
true
,
skipRegExps
:
true
}
{
skipComments
:
true
,
skipTemplates
:
true
,
skipRegExps
:
true
}
...
...
.prettierrc.js
View file @
37c2bc5f
...
@@ -31,5 +31,6 @@ module.exports = {
...
@@ -31,5 +31,6 @@ module.exports = {
// 箭头函数参数括号 默认avoid 可选 avoid| always
// 箭头函数参数括号 默认avoid 可选 avoid| always
// avoid 能省略括号的时候就省略 例如x => x
// avoid 能省略括号的时候就省略 例如x => x
// always 总是有括号
// always 总是有括号
arrowParens
:
'always'
arrowParens
:
'always'
,
endOfline
:
"auto"
}
}
src/components/sideNav/index.vue
View file @
37c2bc5f
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<div
class=
"comp-sidenav"
>
<div
class=
"comp-sidenav"
>
<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=
"/
bao1"
>
bao1
</router-link>
<router-link
to=
"/
cutter"
>
cutter
</router-link>
<router-link
to=
"/bao2"
>
bao2
</router-link>
<router-link
to=
"/bao2"
>
bao2
</router-link>
</div>
</div>
</
template
>
</
template
>
...
...
src/
views/bao1
.vue
→
src/
components/videoCutter/videoPlayer
.vue
View file @
37c2bc5f
<
template
>
<
template
>
<div
class=
"
comp-bao1
"
>
<div
class=
"
video-player
"
>
bao1
<video></video>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
export
default
{
export
default
{
data
()
{
data
()
{
return
{}
return
{}
},
}
created
()
{},
mounted
()
{}
}
}
</
script
>
</
script
>
<
style
lang=
"scss"
scoped
></
style
>
<
style
scoped
lang=
"scss"
>
/* @import url(); 引入css类 */
</
style
>
src/router/index.js
View file @
37c2bc5f
...
@@ -19,9 +19,9 @@ const routes = [
...
@@ -19,9 +19,9 @@ const routes = [
component
:
()
=>
import
(
/* webpackChunkName: "about" */
'../views/About.vue'
)
component
:
()
=>
import
(
/* webpackChunkName: "about" */
'../views/About.vue'
)
},
},
{
{
path
:
'/
bao1
'
,
path
:
'/
cutter
'
,
name
:
'
Bao1
'
,
name
:
'
Cutter
'
,
component
:
()
=>
import
(
/* webpackChunkName: "bao1" */
'../views/
bao1
.vue'
)
component
:
()
=>
import
(
/* webpackChunkName: "bao1" */
'../views/
videoCutter
.vue'
)
},
},
{
{
path
:
'/bao2'
,
path
:
'/bao2'
,
...
...
src/views/videoCutter.vue
0 → 100644
View file @
37c2bc5f
<
template
>
<div
class=
"video-cutter"
>
<div
class=
"video-content"
>
<video-player></video-player>
</div>
<div></div>
<div></div>
<div></div>
</div>
</
template
>
<
script
>
import
VideoPlayer
from
'@/components/videoCutter/videoPlayer.vue'
export
default
{
components
:
{
VideoPlayer
},
data
()
{
return
{}
},
created
()
{},
mounted
()
{}
}
</
script
>
<
style
scoped
lang=
"scss"
>
/* @import url(); 引入css类 */
.video-cutter
{
width
:
100%
;
height
:
100%
;
}
</
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