481a68ed73716bf3d3c35659112ea296.json 5.8 KB

1
  1. {"remainingRequest":"C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\node_modules\\babel-loader\\lib\\index.js!C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\node_modules\\style-vw-loader\\index.js??ref--0-2!C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\src\\views\\videoSurveillance\\video.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\src\\views\\videoSurveillance\\video.vue","mtime":1664262106926},{"path":"C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\babel.config.js","mtime":1663828782900},{"path":"C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\node_modules\\babel-loader\\lib\\index.js","mtime":315532800000},{"path":"C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000},{"path":"C:\\Users\\100zone\\Desktop\\baizong\\community\\SmartCommunity\\videoSurveillance\\node_modules\\style-vw-loader\\index.js","mtime":1540864632000}],"contextDependencies":[],"result":["//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nimport myVideoPlayerVue from \"./myVideoPlayer.vue\";\nexport default {\n components: {\n myVideoPlayerVue: myVideoPlayerVue\n },\n props: {\n videoUrlList: []\n },\n computed: {},\n watch: {\n videoUrlList: function videoUrlList(news) {\n var _this = this;\n\n if (!!news.length) {\n news.map(function (item) {\n _this.getVideo(item);\n });\n }\n }\n },\n data: function data() {\n return {\n urlArr: ['http://cmgw-vpc.lechange.com:8888/LCO/7D100C2PAZ6C590/0/0/20220112T081910/051edef3559a8eca65febb70e504acdb.m3u8']\n };\n },\n methods: {\n getVideo: function getVideo(urlId) {// this.$http\n // .post('/sc-community/dahuaDevice/getRealTimeUrl', { channelId: urlId, streamType: '1', type: 'hls' })\n // .then(({ status, data, msg }) => {\n // if (status === 0 && data) {\n // if (data.indexOf('10.35.239.168:7086') != -1) {\n // let newUrl = data.replace('10.35.239.168:7086', '60.191.94.122:20046');\n // this.urlArr.push(newUrl);\n // }\n // }\n // });\n }\n },\n mounted: function mounted() {}\n};",{"version":3,"mappings":";;;;;;;;;;;;;;;AAgBA;AAEA;AACAA;AACAC;AADA,GADA;AAIAC;AACAC;AADA,GAJA;AAOAC,cAPA;AAQAC;AACAF,gBADA,wBACAG,IADA,EACA;AAAA;;AACA;AACAA;AACA;AACA,SAFA;AAGA;AACA;AAPA,GARA;AAiBAC,MAjBA,kBAiBA;AACA;AACAC;AADA;AAGA,GArBA;AAsBAC;AACAC,YADA,oBACAC,KADA,EACA,CACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAZA,GAtBA;AAoCAC,SApCA,qBAoCA;AApCA","names":["components","myVideoPlayerVue","props","videoUrlList","computed","watch","news","data","urlArr","methods","getVideo","urlId","mounted"],"sourceRoot":"src/views/videoSurveillance","sources":["video.vue"],"sourcesContent":["<template>\r\n <div class=\"videoContent\">\r\n <div class=\"videoList\" v-for=\"(item, index) in urlArr\" :key=\"index\">\r\n <my-video-playerVue\r\n :videoData=\"[\r\n {\r\n type: 'application/x-mpegURL', // 类型\r\n withCredentials: false,\r\n src: item\r\n }\r\n ]\"\r\n ></my-video-playerVue>\r\n </div>\r\n </div>\r\n</template>\r\n<script >\r\nimport myVideoPlayerVue from './myVideoPlayer.vue';\r\n\r\nexport default {\r\n components: {\r\n myVideoPlayerVue\r\n },\r\n props: {\r\n videoUrlList: []\r\n },\r\n computed: {},\r\n watch: {\r\n videoUrlList(news) {\r\n if (!!news.length) {\r\n news.map((item) => {\r\n this.getVideo(item);\r\n });\r\n }\r\n }\r\n },\r\n data() {\r\n return {\r\n urlArr: ['http://cmgw-vpc.lechange.com:8888/LCO/7D100C2PAZ6C590/0/0/20220112T081910/051edef3559a8eca65febb70e504acdb.m3u8']\r\n };\r\n },\r\n methods: {\r\n getVideo(urlId) {\r\n // this.$http\r\n // .post('/sc-community/dahuaDevice/getRealTimeUrl', { channelId: urlId, streamType: '1', type: 'hls' })\r\n // .then(({ status, data, msg }) => {\r\n // if (status === 0 && data) {\r\n // if (data.indexOf('10.35.239.168:7086') != -1) {\r\n // let newUrl = data.replace('10.35.239.168:7086', '60.191.94.122:20046');\r\n // this.urlArr.push(newUrl);\r\n // }\r\n // }\r\n // });\r\n }\r\n },\r\n mounted() {}\r\n};\r\n</script>\r\n<style lang=\"scss\" scoped>\r\n.videoContent {\r\n &.content_most {\r\n display: grid;\r\n row-gap: 20px;\r\n column-gap: 20px;\r\n grid-template-columns: repeat(2, minmax(0, 1fr));\r\n }\r\n .videoList {\r\n width: 100%;\r\n height: 100%;\r\n }\r\n}\r\n</style>"]}]}