1b05616b7e2f394368c0c457e49b4a65.json 5.3 KB

1
  1. {"remainingRequest":"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\\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//\n\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",{"version":3,"sources":["video.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAgBA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA","file":"video.vue","sourceRoot":"src/views/videoSurveillance","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>"]}]}