|
@@ -33,20 +33,17 @@
|
|
let text = decodeURIComponent(window.location.href);
|
|
let text = decodeURIComponent(window.location.href);
|
|
text = text.split("?")[1]
|
|
text = text.split("?")[1]
|
|
if(text.indexOf('touken') != -1){
|
|
if(text.indexOf('touken') != -1){
|
|
- // this.$router.push({
|
|
|
|
- // path: '/miniProgramVideo'+'?'+text,
|
|
|
|
- // });
|
|
|
|
if(text.indexOf('mpegts') != -1){
|
|
if(text.indexOf('mpegts') != -1){
|
|
|
|
+ console.log('mpegts')
|
|
this.$set(this,'pageType','miniProgramVideoMpegts');
|
|
this.$set(this,'pageType','miniProgramVideoMpegts');
|
|
}else if(text.indexOf('hls') != -1){
|
|
}else if(text.indexOf('hls') != -1){
|
|
|
|
+ console.log('hls')
|
|
this.$set(this,'pageType','miniProgramVideoHls');
|
|
this.$set(this,'pageType','miniProgramVideoHls');
|
|
}else{
|
|
}else{
|
|
|
|
+ console.log('haikang')
|
|
this.$set(this,'pageType','miniProgramVideo');
|
|
this.$set(this,'pageType','miniProgramVideo');
|
|
}
|
|
}
|
|
}else if(text.indexOf('cameraIndexCode') != -1){
|
|
}else if(text.indexOf('cameraIndexCode') != -1){
|
|
- // this.$router.push({
|
|
|
|
- // path: '/miniProgramPlayback'+'?'+text,
|
|
|
|
- // });
|
|
|
|
this.$set(this,'pageType','miniProgramPlayback');
|
|
this.$set(this,'pageType','miniProgramPlayback');
|
|
}
|
|
}
|
|
},
|
|
},
|