Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xzksxt
Overview
Overview
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
常超
xzksxt
Commits
79da9020
Commit
79da9020
authored
Jan 17, 2024
by
宋珺琪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
视频调整、选项图片添加
parent
fd831586
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
2 deletions
+6
-2
src/components/student/answer.vue
+0
-0
src/components/teacher/addAnswerChildren.vue
+0
-0
src/components/teacher/addVideo.vue
+5
-1
src/components/videoList/packages/vue-mini-player/src/VuePlayer.vue
+1
-1
No files found.
src/components/student/answer.vue
View file @
79da9020
This diff is collapsed.
Click to expand it.
src/components/teacher/addAnswerChildren.vue
View file @
79da9020
This diff is collapsed.
Click to expand it.
src/components/teacher/addVideo.vue
View file @
79da9020
...
...
@@ -44,6 +44,7 @@
accept=
"video/*"
:on-change=
"handlePhotoChange"
:limit=
"1"
ref=
"uploadRef"
:show-file-list=
"false"
>
<el-button
slot=
"trigger"
type=
"primary"
style=
"margin-left: 10px;"
title=
"只能上传视频文件"
>
上传视频
</el-button>
</el-upload>
...
...
@@ -160,6 +161,7 @@
this
.
videoName
=
file
.
name
this
.
fileList
.
push
(
file
.
raw
);
this
.
submitForm
();
},
//移除
handleRemove
(
file
)
{
...
...
@@ -195,7 +197,9 @@
this
.
fileList
=
[]
this
.
video
=
''
this
.
$message
.
success
(
'添加成功'
);
this
.
videoList
()
this
.
videoList
();
// 重置上传组件
this
.
$refs
.
uploadRef
.
clearFiles
();
}
})
},
...
...
src/components/videoList/packages/vue-mini-player/src/VuePlayer.vue
View file @
79da9020
...
...
@@ -23,7 +23,7 @@
<source
v-for=
"(item, index) in vUrl"
:key=
"index"
:src=
"item"
:type=
"`$
{getUrlType(item)}`
">
type=
"video/mp4
"
>
Your browser does not support the video element.
</video>
</
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