Browse Source

金家渠视频监控

张值绫 3 years ago
parent
commit
7947c88d79

File diff suppressed because it is too large
+ 0 - 1
dist/css/chunk-0aa668b3.3997ee9b.css


File diff suppressed because it is too large
+ 1 - 0
dist/css/chunk-1d3d7e7c.508f8678.css


+ 0 - 1
dist/css/chunk-1f9d951f.8187aa41.css

@@ -1 +0,0 @@
-#videoPlayer[data-v-27505da8]{width:800px;height:600px;margin:50px auto}.box[data-v-27505da8]{display:flex;justify-content:left}.box_ul[data-v-27505da8]{width:300px;height:100vh;background:#39f}.box_ul>li[data-v-27505da8]{width:80%;height:40px;text-align:center;border:1px solid;margin:17px auto;line-height:40px;border-radius:20px;background:#fff}#addclass[data-v-27505da8]{background:#f08080}

+ 1 - 0
dist/css/chunk-72a936a9.62bc6584.css

@@ -0,0 +1 @@
+#videoPlayer[data-v-581bc200]{width:800px;height:600px;margin:50px auto}.box[data-v-581bc200]{display:flex;justify-content:left}.box_ul[data-v-581bc200]{width:300px;height:100vh;background:#39f}.box_ul>li[data-v-581bc200]{width:80%;height:40px;text-align:center;border:1px solid;margin:17px auto;line-height:40px;border-radius:20px;background:#fff}#addclass[data-v-581bc200]{background:#f08080}

File diff suppressed because it is too large
+ 1 - 1
dist/index.html


File diff suppressed because it is too large
+ 2 - 2
dist/js/app.b54dbe61.js


File diff suppressed because it is too large
+ 1 - 1
dist/js/app.b54dbe61.js.map


File diff suppressed because it is too large
+ 0 - 2
dist/js/chunk-0aa668b3.01e2c699.js


File diff suppressed because it is too large
+ 0 - 1
dist/js/chunk-0aa668b3.01e2c699.js.map


File diff suppressed because it is too large
+ 2 - 0
dist/js/chunk-1d3d7e7c.3e43073f.js


File diff suppressed because it is too large
+ 1 - 0
dist/js/chunk-1d3d7e7c.3e43073f.js.map


File diff suppressed because it is too large
+ 0 - 1
dist/js/chunk-1f9d951f.2fbd03ed.js.map


File diff suppressed because it is too large
+ 4 - 4
dist/js/chunk-1f9d951f.2fbd03ed.js


File diff suppressed because it is too large
+ 1 - 0
dist/js/chunk-72a936a9.fbc35e5a.js.map


+ 19 - 31
src/views/jinjiaqu/videos.vue

@@ -30,35 +30,13 @@ var getTime = function () {
       ? "0" + (date.getMonth() + 1)
       : date.getMonth() + 1;
   var day = date.getDate() < 10 ? "0" + date.getDate() : date.getDate();
-  var hour = date.getHours() < 10 ? "0" + date.getHours() : date.getHours();
-  var minutes =
-    date.getMinutes() < 10 ? "0" + date.getMinutes() : date.getMinutes();
-  var seconds =
-    date.getSeconds() < 10 ? "0" + date.getSeconds() : date.getSeconds();
-  var week = date.getDay();
-  var weeks = ["日", "一", "二", "三", "四", "五", "六"];
-  var getWeek = "星期" + weeks[week];
-  return (
-    year +
-    "年" +
-    month +
-    "月" +
-    day +
-    "日" +
-    hour +
-    ":" +
-    minutes +
-    ":" +
-    seconds +
-    getWeek
-  );
+  return year + month + day;
 };
 import Videojs from "video.js";
 export default {
   data() {
     return {
-      nowPlayVideoUrl:
-        "http://1252093142.vod2.myqcloud.com/4704461fvodcq1252093142/48c8a9475285890781000441992/playlist.m3u8",
+      nowPlayVideoUrl: `http://video.nxjiewei.com:8011/jinjiaqu/中部北门值班室俯视北/${getTime()}/out.m3u8`,
       options: {
         autoplay: true, // 设置自动播放
         muted: true, // 设置了它为true,才可实现自动播放,同时视频也被静音 (Chrome66及以上版本,禁止音视频的自动播放)
@@ -71,17 +49,27 @@ export default {
       systemTime: "",
       videos: [
         {
-          name: "视频监控1",
-          src: "http://1252093142.vod2.myqcloud.com/4704461fvodcq1252093142/48c8a9475285890781000441992/playlist.m3u8",
+          name: "中部北门值班室俯视北",
+          src: `http://video.nxjiewei.com:8011/jinjiaqu/中部北门值班室俯视北/${getTime()}/out.m3u8`,
         },
         {
-          name: "视频监控2",
-          src: "http://1252093142.vod2.myqcloud.com/4704461fvodcq1252093142/f865d8a05285890787810776469/playlist.f3.m3u8",
+          name: "中部北门值班室俯视南",
+          src: `http://video.nxjiewei.com:8011/jinjiaqu/中部北门值班室俯视南/${getTime()}/out.m3u8`,
+        },
+        {
+          name: "炸药路线-副立井东门外",
+          src: `http://video.nxjiewei.com:8011/jinjiaqu/炸药路线-副立井东门外/${getTime()}/out.m3u8`,
+        },
+        {
+          name: "炸药路线-副立井东门内",
+          src: `http://video.nxjiewei.com:8011/jinjiaqu/炸药路线-副立井东门内/${getTime()}/out.m3u8`,
+        },
+        {
+          name: "副立井罐笼入口东侧",
+          src: `http://video.nxjiewei.com:8011/jinjiaqu/副立井罐笼入口东侧/${getTime()}/out.m3u8`,
         },
       ],
-      vs:[
-        {name:"111",src:`http://1231231.com/${getTime()}`}
-      ]
+      vs: [{ name: "111", src: `http://1231231.com/${getTime()}` }],
     };
   },
   mounted() {

+ 2 - 4
src/views/jinjiaqu/videoshome.vue

@@ -25,7 +25,7 @@
       </div>
     </div>
   </div>
-  
+
 </template>
 
 <script>
@@ -41,9 +41,7 @@ export default {
         govideo(){
             if(this.names=="admin"&&this.possword=="123456"){
                 this.$router.push("/jinjiaqu/videos")
-            }else if(this.names=="admin1"&&this.possword=="1234567"){
-                this.$router.push("/jinjiaqu/videos")
-            } else{
+            }else{
                 alert("请输入正确的用户名和密码")
             }
         }