zy1125 1 år sedan
förälder
incheckning
65bf0c9bde
3 ändrade filer med 13 tillägg och 10 borttagningar
  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
                 <count-to :useEasing="true" style="font-size: 0.08rem;"  :startVal='1' :endVal='targetValue' :duration='2000'></count-to>
27
                 <count-to :useEasing="true" style="font-size: 0.08rem;"  :startVal='1' :endVal='targetValue' :duration='2000'></count-to>
28
             </div>
28
             </div>
29
             <span style="color: antiquewhite;"   v-if="text.includes('课程')">(节)</span>
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
         </ul>
31
         </ul>
32
 
32
 
33
     </div>
33
     </div>

+ 8 - 5
src/components/Login.vue

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

+ 4 - 4
src/components/right.vue

@@ -245,8 +245,8 @@ export default ({
245
                     }).then((res)=>{
245
                     }).then((res)=>{
246
                         console.log('sadnuq21',res.data);
246
                         console.log('sadnuq21',res.data);
247
                         console.log('sadnuq2121',res.data.httpFlv);
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
                     "rtsp": array1.src,
258
                     "rtsp": array1.src,
259
                     }).then((res)=>{
259
                     }).then((res)=>{
260
                         console.log('sadnuq212123s2',res.data);
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