Commit 54eea2fa authored by 黄媛媛's avatar 黄媛媛

11

parent 9fefd1e8
......@@ -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(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment