zy1125 před 1 rokem
rodič
revize
ab8af7de75
2 změnil soubory, kde provedl 4 přidání a 4 odebrání
  1. 1 1
      src/assets/css/right.scss
  2. 3 3
      src/components/right.vue

+ 1 - 1
src/assets/css/right.scss

@@ -271,7 +271,7 @@
271
                         font-size: 11px;
271
                         font-size: 11px;
272
                     
272
                     
273
                         text-indent: 5px;
273
                         text-indent: 5px;
274
-                        width: 80px;
274
+                        padding-right: 5px;
275
                         height: 18px;
275
                         height: 18px;
276
                         line-height: 17px;
276
                         line-height: 17px;
277
                         background-color: rgba(0, 0, 0, 0.38);
277
                         background-color: rgba(0, 0, 0, 0.38);

+ 3 - 3
src/components/right.vue

@@ -249,7 +249,7 @@ export default ({
249
                     }).then((res)=>{
249
                     }).then((res)=>{
250
                         console.log('sadnuq21',res.data);
250
                         console.log('sadnuq21',res.data);
251
                         console.log('sadnuq2121',res.data.httpFlv);
251
                         console.log('sadnuq2121',res.data.httpFlv);
252
-                
252
+                        // array.src='http://kbs-dokdo.gscdn.com/dokdo_300/_definst_/dokdo_300.stream/playlist.m3u8'
253
                        array.src=res.data.httpFlv
253
                        array.src=res.data.httpFlv
254
                     })
254
                     })
255
 
255
 
@@ -262,8 +262,8 @@ export default ({
262
                     "rtsp": array1.src,
262
                     "rtsp": array1.src,
263
                     }).then((res)=>{
263
                     }).then((res)=>{
264
                         console.log('sadnuq212123s2',res.data);
264
                         console.log('sadnuq212123s2',res.data);
265
-                    
266
-                       array.src=res.data.httpFlv
265
+                        // array1.src='http://kbs-dokdo.gscdn.com/dokdo_300/_definst_/dokdo_300.stream/playlist.m3u8'
266
+                       array1.src=res.data.httpFlv
267
                     })
267
                     })
268
                 })
268
                 })
269
 
269