zy1125 vor 1 Jahr
Ursprung
Commit
65bf0c9bde
3 geänderte Dateien mit 13 neuen und 10 gelöschten Zeilen
  1. 1 1
      src/components/CircleProgress.vue
  2. 8 5
      src/components/Login.vue
  3. 4 4
      src/components/right.vue

+ 1 - 1
src/components/CircleProgress.vue

@@ -27,7 +27,7 @@
27 27
                 <count-to :useEasing="true" style="font-size: 0.08rem;"  :startVal='1' :endVal='targetValue' :duration='2000'></count-to>
28 28
             </div>
29 29
             <span style="color: antiquewhite;"   v-if="text.includes('课程')">(节)</span>
30
-            <span style="color: antiquewhite;" v-else>()</span>
30
+            <span style="color: antiquewhite;" v-else>()</span>
31 31
         </ul>
32 32
 
33 33
     </div>

+ 8 - 5
src/components/Login.vue

@@ -1,9 +1,11 @@
1 1
 <template>
2 2
     <div class="bg">
3
-        <div class="loginbutton">
3
+      <div style="width: 100%;height: 50px;position: relative;top: 85vh ;z-index: 999;display: flex;align-items: center;justify-content: center;">
4
+        <div class="loginbutton" >
4 5
             <img :src="loginimg" alt="" style="">
5 6
             <span @click="login"> 登录</span>
6 7
         </div>
8
+      </div>
7 9
 
8 10
     </div>
9 11
 </template>
@@ -28,6 +30,7 @@ export default ({
28 30
 
29 31
 <style scoped lang="scss">
30 32
 .bg {
33
+ 
31 34
     position: absolute;
32 35
     box-sizing: border-box;
33 36
     // height: 200vw;
@@ -35,7 +38,7 @@ export default ({
35 38
     height: 100%;
36 39
     margin: 0;
37 40
     padding: 0;
38
-    overflow: hidden;
41
+    // overflow: hidden;
39 42
     // border: 1px solid red;
40 43
 
41 44
     // background-color: darkcyan;
@@ -44,13 +47,13 @@ export default ({
44 47
     background-size: cover;
45 48
     z-index: 888;
46 49
 
50
+    // background-color: #040728;
51
+
47 52
 
48 53
 }
49 54
 
50 55
 .loginbutton {
51
-    position: absolute;
52
-    bottom: 10%;
53
-    left: 46%;
56
+
54 57
     display: flex;
55 58
     background: #6171FF;
56 59
     align-items: center;

+ 4 - 4
src/components/right.vue

@@ -245,8 +245,8 @@ export default ({
245 245
                     }).then((res)=>{
246 246
                         console.log('sadnuq21',res.data);
247 247
                         console.log('sadnuq2121',res.data.httpFlv);
248
-                        // array.src='http://kbs-dokdo.gscdn.com/dokdo_300/_definst_/dokdo_300.stream/playlist.m3u8'
249
-                        array.src=res.data.httpFlv
248
+                         array.src='http://kbs-dokdo.gscdn.com/dokdo_300/_definst_/dokdo_300.stream/playlist.m3u8'
249
+                       // array.src=res.data.httpFlv
250 250
                     })
251 251
 
252 252
                     
@@ -258,8 +258,8 @@ export default ({
258 258
                     "rtsp": array1.src,
259 259
                     }).then((res)=>{
260 260
                         console.log('sadnuq212123s2',res.data);
261
-                        // array1.src='http://kbs-dokdo.gscdn.com/dokdo_300/_definst_/dokdo_300.stream/playlist.m3u8'
262
-                        array.src=res.data.httpFlv
261
+                         array1.src='http://kbs-dokdo.gscdn.com/dokdo_300/_definst_/dokdo_300.stream/playlist.m3u8'
262
+                       // array.src=res.data.httpFlv
263 263
                     })
264 264
                 })
265 265