Commit fa63a9c8 authored by 黄媛媛's avatar 黄媛媛

update

parent 9eecd254
...@@ -429,19 +429,36 @@ export default { ...@@ -429,19 +429,36 @@ export default {
}); });
}, },
goUrl(path,item){ goUrl(path,item){
let that=this;
this.videoDivState=true; this.videoDivState=true;
this.thisVideoAddress=item.VideoAddress; this.thisVideoAddress=item.VideoAddress;
this.AddList(item.Id) this.AddList(item.Id)
let myVideo=this.$refs.myVideo; let myVideo=this.$refs.myVideo;
myVideo.play(); myVideo.play();
// let msg=JSON.stringify(item) if(!item.VideoWH || item.VideoWH==''){
// this.$router.push({ myVideo.addEventListener('canplay', function () {
// name:path, let VideoWH=this.videoWidth+','+this.videoHeight;
// query: { that.AddWidthHeight(VideoWH,item.Id)
// msg:msg,
// blank: "y" });
// } }
// });
},
AddWidthHeight(VideoWH,id) {
let msg={
Id:id,
VideoWH:VideoWH
}
this.apipost(
"Video_set_SetPCVideoWHInfo",msg,
res => {
if (res.data.resultCode == 1) {
}
}
);
}, },
AddList(id) { AddList(id) {
this.apipost( 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