zy1125 преди 1 година
родител
ревизия
3ea7ae6940
променени са 4 файла, в които са добавени 52 реда и са изтрити 15 реда
  1. 42 4
      src/assets/css/home.scss
  2. 2 2
      src/assets/css/right.scss
  3. 2 2
      src/components/UeVideo.vue
  4. 6 7
      src/components/home.vue

+ 42 - 4
src/assets/css/home.scss

@@ -28,10 +28,41 @@
28 28
 // 点击模型弹出框
29 29
 .modelInfo {
30 30
     position: absolute;
31
-    background: rgba(255, 255, 255, 0.17);
31
+    // background: rgba(255, 255, 255, 0.17);
32
+    background-color: #ffffff00;
32 33
     border-radius: 10px;
33 34
     backdrop-filter: blur(30.5px);
34
-    z-index: 9988;
35
+    z-index: 8;
36
+
37
+   
38
+    .model-detail {
39
+        // background-color: #fff;
40
+        border-top-left-radius: 10px;
41
+        border-top-right-radius: 10px;
42
+        overflow: hidden;
43
+        .list {
44
+            width: 202px;
45
+            text-align: center;
46
+            height: 30px;
47
+            line-height: 30px;
48
+            font-size: 12px;
49
+            color: #fff;
50
+            background-color: rgba(255, 255, 255, 0.31);
51
+            font-size: 12px;
52
+            font-family: Microsoft YaHei UI;
53
+            font-weight: 700;
54
+    
55
+
56
+        }
57
+        .listtitle {
58
+            width: 100%;
59
+            height: 30px;
60
+            display: flex;
61
+            align-items: center;
62
+            background-color: rgba(142, 142, 142, 0.18);
63
+        }
64
+
65
+    }
35 66
 
36 67
     // .model-detail {
37 68
     //     position: absolute;
@@ -44,7 +75,6 @@
44 75
     //     // flex-wrap: wrap;
45 76
     //     // padding: 10px;
46 77
 
47
-
48 78
     //     span {
49 79
     //         font-size: 16px;
50 80
 
@@ -70,4 +100,12 @@
70 100
     //         }
71 101
     //     }
72 102
     // }
73
-}
103
+}
104
+
105
+// .asd  .list:first-child {
106
+//     /* Your styles here */
107
+//     // border-radius: 10px;
108
+//     border-top-left-radius: 10px;
109
+//     border-top-right-radius: 10px;
110
+//     // background-color: aqua;
111
+//   }

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

@@ -19,12 +19,12 @@
19 19
 ::v-deep  .el-carousel__arrow--left{
20 20
 
21 21
     left: -7px;
22
-    top: 54%;
22
+    top: 55%;
23 23
 }
24 24
 ::v-deep  .el-carousel__arrow--right{
25 25
 
26 26
     right: -7px;
27
-    top: 54%;
27
+    top: 55%;
28 28
 }
29 29
 ::v-deep .el-carousel {
30 30
 

+ 2 - 2
src/components/UeVideo.vue

@@ -1,7 +1,7 @@
1 1
 
2 2
 <template>
3
-  <!-- <div  ref="video" id="player"></div> -->
4
-  <div style="background-color: rgba(156, 167, 84, 0.667); width: 100vw;height: 100vh;position: absolute;" ></div>
3
+  <div  ref="video" id="player"></div>
4
+  <!-- <div style="background-color: rgba(156, 167, 84, 0.667); width: 100vw;height: 100vh;position: absolute;" ></div> -->
5 5
   <Login :class="loginShow ? '' : 'hidden'"></Login>
6 6
   <home></home>
7 7
   <!-- <div @click="toUE" style="position: absolute;top: 5%; left: 50%;background-color: darkcyan;z-index: 200">向UE发信息</div> -->

+ 6 - 7
src/components/home.vue

@@ -11,21 +11,20 @@
11 11
 
12 12
         </el-container>
13 13
         <div ref="popoverRef" id="popoverRef" class="modelInfo" >
14
-            <div class="model-detail" >
15
-                <div v-for="item in classDeviceInfo"  style="margin-bottom: 5px;">
14
+            <div class="model-detail"  >
15
+                <div v-for="item in classDeviceInfo" >
16 16
                     
17
-                    <div style="width: 180px;text-align: center;height: 30px;line-height: 30px;font-size: 12px;color: #fff; background-color: #49484890;: blur(20px);">
17
+                    <div class="list">
18 18
                     {{ item[0].value }}
19 19
                     </div>
20
-                    <div v-for="item2 in item"  style="width: 180px;height: 30px;display: flex;align-items: center;">
20
+                    <div   v-for="item2 in item" class="listtitle">
21 21
                         
22
-                       <span style="color: #fff;margin-left: 5px; font-weight: 700;"> {{ item2.name }} :</span>
22
+                       <span style="color: #fff;margin-left: 5px; font-weight: 700;padding-left: 8px; "> {{ item2.name }} :</span>
23 23
                        <span v-if="item2.value!='在线'" style=" font-family: 100; margin-left: 5px;color: #ffffffeb;">{{ item2.value }}</span>
24 24
                        <span v-else style=" font-family: 100; margin-left: 5px;color: #10C383;">{{ item2.value }}</span>
25 25
                     </div>
26 26
                    
27
-                    <!-- <span :class="item.online ? 'green' : item.online == 'false' ? 'red' : ''">213
28
-                    </span> -->
27
+      
29 28
 
30 29
                 </div>
31 30
             </div>