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
57dce2db
Commit
57dce2db
authored
Aug 27, 2020
by
Jeff
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更新规则
parent
c92fd173
Show whitespace changes
Inline
Side-by-side
Showing
27 changed files
with
603 additions
and
539 deletions
+603
-539
App.vue
src/App.vue
+22
-22
index.vue
src/components/header/index.vue
+24
-21
tipPanel.vue
src/components/header/tipPanel.vue
+8
-8
tutorialContent.vue
src/components/misc/tutorialContent.vue
+5
-5
completeContent.vue
src/components/modal/completeContent.vue
+7
-7
completeModal.vue
src/components/modal/completeModal.vue
+13
-10
modalLayer.vue
src/components/modal/modalLayer.vue
+12
-12
selectContent.vue
src/components/modal/selectContent.vue
+15
-12
selectModal.vue
src/components/modal/selectModal.vue
+13
-10
index.vue
src/components/rightPanel/index.vue
+8
-8
screenshotPanel.vue
src/components/rightPanel/screenshotPanel.vue
+8
-8
index.vue
src/components/sideNav/index.vue
+22
-22
videoChange.vue
src/components/videoCutter/videoChange.vue
+10
-7
videoControl.vue
src/components/videoCutter/videoControl.vue
+36
-33
videoPlayer.vue
src/components/videoCutter/videoPlayer.vue
+54
-51
main.js
src/main.js
+3
-3
registerServiceWorker.js
src/registerServiceWorker.js
+23
-23
index.js
src/router/index.js
+32
-32
global.js
src/store/global.js
+6
-6
index.js
src/store/index.js
+4
-4
moduleA.js
src/store/modules/moduleA.js
+7
-7
About.vue
src/views/About.vue
+3
-3
bao2.vue
src/views/bao2.vue
+8
-8
bao3.vue
src/views/bao3.vue
+9
-9
screenshot.vue
src/views/screenshot.vue
+65
-54
videoConverter.vue
src/views/videoConverter.vue
+120
-96
videoCutter.vue
src/views/videoCutter.vue
+66
-58
No files found.
src/App.vue
View file @
57dce2db
<
template
>
<div
id=
"app"
>
<common-header
/
>
<common-header></common-header
>
<body
class=
"body-container"
>
<side-nav
/
>
<router-view
style=
"flex:1;border: 1px solid #666;"
/
>
<right-panel
/
>
<side-nav></side-nav
>
<router-view
style=
"flex:1;border: 1px solid #666;"
></router-view
>
<right-panel></right-panel
>
</body>
<modal-layer
/
>
<modal-layer></modal-layer
>
</div>
</
template
>
...
...
src/components/header/index.vue
View file @
57dce2db
...
...
@@ -4,8 +4,11 @@
<div
class=
"current-page"
>
当前的宝
</div>
<tip-panel
/>
<div
class=
"show-modal"
@
click=
"showModal"
>
<tip-panel></tip-panel>
<div
class=
"show-modal"
@
click=
"showModal"
>
show-modal
</div>
</div>
...
...
src/components/header/tipPanel.vue
View file @
57dce2db
src/components/misc/tutorialContent.vue
View file @
57dce2db
<
template
>
<div
/
>
<div></div
>
</
template
>
<
script
>
...
...
src/components/modal/completeContent.vue
View file @
57dce2db
src/components/modal/completeModal.vue
View file @
57dce2db
<
template
>
<modal
name=
"completeModal"
:click-to-close=
"false"
>
<complete-content
/>
<modal
name=
"completeModal"
:click-to-close=
"false"
>
<complete-content></complete-content>
</modal>
</
template
>
...
...
src/components/modal/modalLayer.vue
View file @
57dce2db
<
template
>
<div
class=
"modal-layer"
>
<complete-modal
/
>
<select-modal
/
>
<complete-modal></complete-modal
>
<select-modal></select-modal
>
</div>
</
template
>
...
...
src/components/modal/selectContent.vue
View file @
57dce2db
<
template
>
<div>
<div
class=
"close-btn"
@
click=
"close"
>
<div
class=
"close-btn"
@
click=
"close"
>
close
</div>
选择视频
...
...
src/components/modal/selectModal.vue
View file @
57dce2db
<
template
>
<modal
name=
"selectModal"
:click-to-close=
"false"
>
<select-content
/>
<modal
name=
"selectModal"
:click-to-close=
"false"
>
<select-content></select-content>
</modal>
</
template
>
...
...
src/components/rightPanel/index.vue
View file @
57dce2db
<
template
>
<div
class=
"comp-rightpanel"
>
<router-view
name=
"panel"
/
>
<router-view
name=
"panel"
></router-view
>
</div>
</
template
>
...
...
src/components/rightPanel/screenshotPanel.vue
View file @
57dce2db
src/components/sideNav/index.vue
View file @
57dce2db
src/components/videoCutter/videoChange.vue
View file @
57dce2db
<
template
>
<div
class=
"video-change"
@
click=
"changeVideo"
>
<div
class=
"video-change"
@
click=
"changeVideo"
>
替换视频
</div>
</
template
>
...
...
src/components/videoCutter/videoControl.vue
View file @
57dce2db
<
template
>
<div
class=
"video-control"
>
<div
class=
"video-play-btn"
@
click=
"play()"
>
<div
class=
"video-play-btn"
@
click=
"play()"
>
播放
</div>
<div
class=
"video-time-content"
>
...
...
src/components/videoCutter/videoPlayer.vue
View file @
57dce2db
<
template
>
<div
class=
"video-player"
>
<video
ref=
"videoDom"
src=
"https://resources.laihua.com/2020-7-27/547adf9b-73b0-4b14-bed6-6ee278a1b2b2.mp4"
/>
<video
ref=
"videoDom"
src=
"https://resources.laihua.com/2020-7-27/547adf9b-73b0-4b14-bed6-6ee278a1b2b2.mp4"
></video>
</div>
</
template
>
<
script
>
...
...
src/main.js
View file @
57dce2db
src/registerServiceWorker.js
View file @
57dce2db
src/router/index.js
View file @
57dce2db
src/store/global.js
View file @
57dce2db
src/store/index.js
View file @
57dce2db
src/store/modules/moduleA.js
View file @
57dce2db
src/views/About.vue
View file @
57dce2db
src/views/bao2.vue
View file @
57dce2db
src/views/bao3.vue
View file @
57dce2db
src/views/screenshot.vue
View file @
57dce2db
<
template
>
<div
class=
"screenshot"
>
<div
class=
"content"
>
<video
id=
"screenshot-video"
width=
"400"
height=
"300"
:src=
"srcUrl"
controls
></video>
<video
id=
"screenshot-video"
width=
"400"
height=
"300"
:src=
"srcUrl"
controls
></video>
</div>
<div
class=
"operate-area"
>
<input
id=
"screenshot-input"
type=
"file"
style=
"display:none;"
@
change=
"changeFile"
/>
<input
id=
"screenshot-input"
type=
"file"
style=
"display:none;"
@
change=
"changeFile"
>
<label
id=
"select-btn"
>
选择文件
</label>
</div>
</div>
...
...
src/views/videoConverter.vue
View file @
57dce2db
<
template
>
<div
class=
"videoConverter"
>
<ul>
<li
v-for=
"(item, index) in taskList"
:key=
"index"
>
<li
v-for=
"(item, index) in taskList"
:key=
"index"
>
<div
class=
"info"
>
<div
class=
"cove"
>
视频封面
...
...
@@ -12,24 +15,36 @@
</div>
</div>
<div
class=
"operationPanel"
>
<div
v-show=
"item.state == 0"
class=
"wait"
>
<div
v-show=
"item.state == 0"
class=
"wait"
>
<div>
输出格式
</div>
<div
class=
"selectionFormat"
>
mp4
</div>
<div
class=
"delete"
@
click=
"clearTask(item)"
>
<div
class=
"delete"
@
click=
"clearTask(item)"
>
删除
</div>
</div>
<div
v-show=
"item.state == 1"
class=
"active"
>
<div
v-show=
"item.state == 1"
class=
"active"
>
<div
class=
"progress"
>
<div>
转换中
{{
item
.
progress
}}
%
</div>
<div
class=
"slide"
>
<div
/
>
<div></div
>
</div>
</div>
<div
class=
"stop"
@
click=
"stopTask(item)"
>
<div
class=
"stop"
@
click=
"stopTask(item)"
>
取消
</div>
</div>
...
...
@@ -38,10 +53,16 @@
</ul>
<div
class=
"editBar"
>
<div
class=
"addVideo"
@
click=
"addVideo"
>
<div
class=
"addVideo"
@
click=
"addVideo"
>
添加视频
</div>
<div
class=
"clearList"
@
click=
"clearAllTasks"
>
<div
class=
"clearList"
@
click=
"clearAllTasks"
>
清空列表
</div>
<div
class=
"clearWatermark"
>
...
...
@@ -49,7 +70,10 @@
</div>
</div>
<div
class=
"startAll"
@
click=
"startAllTasks"
>
<div
class=
"startAll"
@
click=
"startAllTasks"
>
开始转换
</div>
</div>
...
...
src/views/videoCutter.vue
View file @
57dce2db
<
template
>
<div
class=
"video-cutter"
>
<div
class=
"video-content"
>
<VideoPlayer
@
currentTime=
"changeTime"
@
end=
"playEnd"
@
timeupdate=
"timeupdate"
/>
<VideoPlayer
@
currentTime=
"changeTime"
@
end=
"playEnd"
@
timeupdate=
"timeupdate"
></VideoPlayer>
</div>
<div
class=
"video-btn"
>
<videoChange
@
changeVideo=
"changeVideo"
/>
<videoControl
:duration=
"duration"
:now-time=
"nowTime"
@
play=
"videoPlay"
/>
<div
/>
<videoChange
@
changeVideo=
"changeVideo"
></videoChange>
<videoControl
:duration=
"duration"
:now-time=
"nowTime"
@
play=
"videoPlay"
></videoControl>
<div></div>
</div>
<div
/
>
<div
/
>
<div></div
>
<div></div
>
</div>
</
template
>
...
...
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