Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
罗超
SuperMan
Commits
54eea2fa
Commit
54eea2fa
authored
Feb 18, 2020
by
黄媛媛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
11
parent
9fefd1e8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
8 deletions
+23
-8
Educationvideo.vue
src/components/Educationvideo.vue
+23
-8
No files found.
src/components/Educationvideo.vue
View file @
54eea2fa
...
...
@@ -202,21 +202,36 @@ export default {
);
},
goUrl
(
path
,
item
){
let
that
=
this
;
this
.
videoDivState
=
true
;
this
.
thisVideoAddress
=
item
.
VideoAddress
;
this
.
AddList
(
item
.
Id
)
let
myVideo
=
this
.
$refs
.
myVideo
;
myVideo
.
play
();
// let msg=JSON.stringify(item)
// this.$router.push({
// name:path,
// query: {
// msg:msg,
// blank: "y"
// }
// });
if
(
!
item
.
VideoWH
||
item
.
VideoWH
==
''
){
myVideo
.
addEventListener
(
'canplay'
,
function
()
{
let
VideoWH
=
this
.
videoWidth
+
','
+
this
.
videoHeight
;
that
.
AddWidthHeight
(
VideoWH
,
item
.
Id
)
});
}
},
AddWidthHeight
(
VideoWH
,
id
)
{
let
msg
=
{
Id
:
id
,
VideoWH
:
VideoWH
}
this
.
apipost
(
"Video_set_SetPCVideoWHInfo"
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
}
}
);
},
//获取线路列表
getLineList
()
{
this
.
apipost
(
...
...
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