Quellcode durchsuchen

fix: 双钩页 热点位置适应窄屏

任一存 vor 1 Jahr
Ursprung
Commit
a14f215005
1 geänderte Dateien mit 10 neuen und 0 gelöschten Zeilen
  1. 10 0
      src/views/ShuangGou.vue

+ 10 - 0
src/views/ShuangGou.vue

@@ -180,6 +180,16 @@ const activeVideoIdx = ref(0)
     min-width: 40px;
     min-height: 40px;
   }
+  @media (max-aspect-ratio: 855/835) {
+    .hotspot-1{
+      left: 2vw !important;
+    }
+  }
+  @media (max-aspect-ratio: 1310/835) {
+    .hotspot-2{
+      left: 2vw !important;
+    }
+  }
   >.title{
     position: absolute;
     top: 8.13vh;