Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
national_museum_vod
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
qzhxx
national_museum_vod
Commits
16a99035
Commit
16a99035
authored
Apr 29, 2021
by
xulili
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://111.203.232.171:8888/qzhxx/national_museum_vod
parents
0cd73f45
5e465a31
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
16 additions
and
8 deletions
+16
-8
details.vue
src/page/content/display/content/details.vue
+7
-0
add.vue
src/page/content/learn/content/add.vue
+7
-6
add.vue
src/page/content/video/copyright/add.vue
+2
-2
No files found.
src/page/content/display/content/details.vue
View file @
16a99035
...
...
@@ -195,6 +195,7 @@
</
template
>
<
script
>
let
Base64
=
require
(
'js-base64'
).
Base64
export
default
{
data
()
{
const
keyMap
=
{
...
...
@@ -232,6 +233,12 @@ export default {
.
then
((
res
)
=>
{
if
(
res
.
data
.
resultCode
===
"200"
)
{
vm
.
contentData
=
res
.
data
.
data
;
// console.log(vm.contentData.videoList)
const
videos
=
vm
.
contentData
.
videoList
for
(
var
i
=
0
;
i
<
videos
.
length
;
i
++
){
videos
[
i
].
fileUrl
=
Base64
.
decode
(
videos
[
i
].
intro
)
}
vm
.
contentData
.
videoList
=
videos
vm
.
contentData
.
imagesList
=
[];
vm
.
contentData
.
dirList
=
[];
vm
.
contentData
.
datumList
.
forEach
((
item
)
=>
{
...
...
src/page/content/learn/content/add.vue
View file @
16a99035
...
...
@@ -189,6 +189,8 @@
</template>
<
script
>
let
Base64
=
require
(
'js-base64'
).
Base64
import
uploadImg
from
"@/page/content/components/uploadVue/uploadImg"
;
import
videoDialog
from
"@/page/content/components/dialog/videoDialog"
;
import
audioPlay
from
"@/page/content/components/audioPlay"
;
...
...
@@ -273,13 +275,12 @@ export default {
methods
:
{
// 视频预览
videoPreview
(
row
)
{
console
.
log
(
row
)
console
.
log
(
row
.
videoList
)
this
.
$refs
.
videoDialog
.
dialogVisible
=
true
;
this
.
$refs
.
videoDialog
.
videoList
=
row
.
videoList
// this.$refs.videoDialog.videoImg = row.cover;
// let videoList0 = row.videoList[0];
// this.$refs.videoDialog.videoSrc = videoList0 ? videoList0.fileUrl : "";
const
videos
=
row
.
videoList
for
(
var
i
=
0
;
i
<
videos
.
length
;
i
++
){
videos
[
i
].
fileUrl
=
Base64
.
decode
(
videos
[
i
].
intro
)
}
this
.
$refs
.
videoDialog
.
videoList
=
videos
},
// 展板预览
displayPreview
(
row
)
{
...
...
src/page/content/video/copyright/add.vue
View file @
16a99035
...
...
@@ -9,7 +9,7 @@
</div>
<el-form
:model=
"ruleForm"
:rules=
"rule"
:rules=
"rule
s
"
ref=
"ruleForm"
label-width=
"140px"
class=
"demo-form-inline party-form"
...
...
@@ -69,7 +69,7 @@
ref=
"classForm"
label-width=
"80px"
label-position=
"top"
:rules=
"rule
s
"
:rules=
"rule"
id=
"ruleo"
class=
"party-form"
>
...
...
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