瀏覽代碼

样式调整

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
 .modelInfo {
29
 .modelInfo {
30
     position: absolute;
30
     position: absolute;
31
-    background: rgba(255, 255, 255, 0.17);
31
+    // background: rgba(255, 255, 255, 0.17);
32
+    background-color: #ffffff00;
32
     border-radius: 10px;
33
     border-radius: 10px;
33
     backdrop-filter: blur(30.5px);
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
     // .model-detail {
67
     // .model-detail {
37
     //     position: absolute;
68
     //     position: absolute;
@@ -44,7 +75,6 @@
44
     //     // flex-wrap: wrap;
75
     //     // flex-wrap: wrap;
45
     //     // padding: 10px;
76
     //     // padding: 10px;
46
 
77
 
47
-
48
     //     span {
78
     //     span {
49
     //         font-size: 16px;
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
 ::v-deep  .el-carousel__arrow--left{
19
 ::v-deep  .el-carousel__arrow--left{
20
 
20
 
21
     left: -7px;
21
     left: -7px;
22
-    top: 54%;
22
+    top: 55%;
23
 }
23
 }
24
 ::v-deep  .el-carousel__arrow--right{
24
 ::v-deep  .el-carousel__arrow--right{
25
 
25
 
26
     right: -7px;
26
     right: -7px;
27
-    top: 54%;
27
+    top: 55%;
28
 }
28
 }
29
 ::v-deep .el-carousel {
29
 ::v-deep .el-carousel {
30
 
30
 

+ 2 - 2
src/components/UeVideo.vue

@@ -1,7 +1,7 @@
1
 
1
 
2
 <template>
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
   <Login :class="loginShow ? '' : 'hidden'"></Login>
5
   <Login :class="loginShow ? '' : 'hidden'"></Login>
6
   <home></home>
6
   <home></home>
7
   <!-- <div @click="toUE" style="position: absolute;top: 5%; left: 50%;background-color: darkcyan;z-index: 200">向UE发信息</div> -->
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
         </el-container>
12
         </el-container>
13
         <div ref="popoverRef" id="popoverRef" class="modelInfo" >
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
                     {{ item[0].value }}
18
                     {{ item[0].value }}
19
                     </div>
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
                        <span v-if="item2.value!='在线'" style=" font-family: 100; margin-left: 5px;color: #ffffffeb;">{{ item2.value }}</span>
23
                        <span v-if="item2.value!='在线'" style=" font-family: 100; margin-left: 5px;color: #ffffffeb;">{{ item2.value }}</span>
24
                        <span v-else style=" font-family: 100; margin-left: 5px;color: #10C383;">{{ item2.value }}</span>
24
                        <span v-else style=" font-family: 100; margin-left: 5px;color: #10C383;">{{ item2.value }}</span>
25
                     </div>
25
                     </div>
26
                    
26
                    
27
-                    <!-- <span :class="item.online ? 'green' : item.online == 'false' ? 'red' : ''">213
28
-                    </span> -->
27
+      
29
 
28
 
30
                 </div>
29
                 </div>
31
             </div>
30
             </div>