Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dpe_video_editor
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
template admin
dpe_video_editor
Commits
c810faa8
Commit
c810faa8
authored
Jun 29, 2024
by
李维
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加视频上传组件
parent
797e5629
Changes
5
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
594 additions
and
440 deletions
+594
-440
package-lock.json
form_vue/package-lock.json
+29
-4
package.json
form_vue/package.json
+3
-0
App.vue
form_vue/src/App.vue
+16
-436
VideoUploader.vue
form_vue/src/components/VideoUploader.vue
+542
-0
main.js
form_vue/src/main.js
+4
-0
No files found.
form_vue/package-lock.json
View file @
c810faa8
...
...
@@ -9,8 +9,11 @@
"version"
:
"0.1.0"
,
"dependencies"
:
{
"axios"
:
"^1.7.2"
,
"crypto-js"
:
"^4.2.0"
,
"echarts"
:
"^5.5.0"
,
"element-ui"
:
"^2.15.14"
,
"spark-md5"
:
"^3.0.2"
,
"uuid"
:
"^10.0.0"
,
"vue"
:
"^2.6.14"
},
"devDependencies"
:
{
...
...
@@ -2097,6 +2100,11 @@
"semver"
:
"bin/semver"
}
},
"node_modules/crypto-js"
:
{
"version"
:
"4.2.0"
,
"resolved"
:
"https://registry.npmmirror.com/crypto-js/-/crypto-js-4.2.0.tgz"
,
"integrity"
:
"sha512-KALDyEYgpY+Rlob/iriUtjV6d5Eq+Y191A5g4UqLAi8CyGP9N1+FdVbkc1SxKc2r4YAYqG8JzO2KGL+AizD70Q=="
},
"node_modules/css-declaration-sorter"
:
{
"version"
:
"6.4.1"
,
"resolved"
:
"https://registry.npmmirror.com/css-declaration-sorter/-/css-declaration-sorter-6.4.1.tgz"
,
...
...
@@ -6590,6 +6598,15 @@
"websocket-driver"
:
"^0.7.4"
}
},
"node_modules/sockjs/node_modules/uuid"
:
{
"version"
:
"8.3.2"
,
"resolved"
:
"https://registry.npmmirror.com/uuid/-/uuid-8.3.2.tgz"
,
"integrity"
:
"sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg=="
,
"dev"
:
true
,
"bin"
:
{
"uuid"
:
"dist/bin/uuid"
}
},
"node_modules/source-map"
:
{
"version"
:
"0.6.1"
,
"resolved"
:
"https://registry.npmmirror.com/source-map/-/source-map-0.6.1.tgz"
,
...
...
@@ -6616,6 +6633,11 @@
"source-map"
:
"^0.6.0"
}
},
"node_modules/spark-md5"
:
{
"version"
:
"3.0.2"
,
"resolved"
:
"https://registry.npmmirror.com/spark-md5/-/spark-md5-3.0.2.tgz"
,
"integrity"
:
"sha512-wcFzz9cDfbuqe0FZzfi2or1sgyIrsDwmPwfZC4hiNidPdPINjeUwNfv5kldczoEAcjl9Y1L3SM7Uz2PUEQzxQw=="
},
"node_modules/spdx-correct"
:
{
"version"
:
"3.2.0"
,
"resolved"
:
"https://registry.npmmirror.com/spdx-correct/-/spdx-correct-3.2.0.tgz"
,
...
...
@@ -7135,10 +7157,13 @@
}
},
"node_modules/uuid"
:
{
"version"
:
"8.3.2"
,
"resolved"
:
"https://registry.npmmirror.com/uuid/-/uuid-8.3.2.tgz"
,
"integrity"
:
"sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg=="
,
"dev"
:
true
,
"version"
:
"10.0.0"
,
"resolved"
:
"https://registry.npmmirror.com/uuid/-/uuid-10.0.0.tgz"
,
"integrity"
:
"sha512-8XkAphELsDnEGrDxUOHB3RGvXz6TeuYSGEZBOjtTtPm2lwhGBjLgOzLHB63IUWfBpNucQjND6d3AOudO+H3RWQ=="
,
"funding"
:
[
"https://github.com/sponsors/broofa"
,
"https://github.com/sponsors/ctavan"
],
"bin"
:
{
"uuid"
:
"dist/bin/uuid"
}
...
...
form_vue/package.json
View file @
c810faa8
...
...
@@ -8,8 +8,11 @@
},
"dependencies"
:
{
"axios"
:
"^1.7.2"
,
"crypto-js"
:
"^4.2.0"
,
"echarts"
:
"^5.5.0"
,
"element-ui"
:
"^2.15.14"
,
"spark-md5"
:
"^3.0.2"
,
"uuid"
:
"^10.0.0"
,
"vue"
:
"^2.6.14"
},
"devDependencies"
:
{
...
...
form_vue/src/App.vue
View file @
c810faa8
This diff is collapsed.
Click to expand it.
form_vue/src/components/VideoUploader.vue
0 → 100644
View file @
c810faa8
This diff is collapsed.
Click to expand it.
form_vue/src/main.js
View file @
c810faa8
...
...
@@ -9,8 +9,10 @@ Vue.use(ElementUI);
Vue
.
config
.
productionTip
=
false
Vue
.
prototype
.
$getData
=
()
=>
{
console
.
log
(
"
===== getData =====
"
);
return
new
Promise
((
resolve
,
reject
)
=>
{
(
window
).
courseware
.
getData
((
data
)
=>
{
console
.
log
(
data
);
resolve
(
data
)
},
"
default_key
"
)
})
...
...
@@ -19,6 +21,8 @@ Vue.prototype.$getData = () => {
Vue
.
prototype
.
$getDPEData
=
getDPEData
;
Vue
.
prototype
.
$setData
=
(
data
)
=>
{
console
.
log
(
"
===== setData =====
"
);
console
.
log
(
data
);
(
window
).
courseware
.
setData
(
data
,
null
,
"
default_key
"
)
}
...
...
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