人生啊人生 пре 1 месец
родитељ
комит
2c0dc214d2
1 измењених фајлова са 10 додато и 6 уклоњено
  1. 10 6
      src/components/Help/Help.vue

+ 10 - 6
src/components/Help/Help.vue

@@ -23,6 +23,8 @@ onMounted(() => {
 </script>
 <style lang="scss" scoped>
 
+$proportion : 0.7;
+
 .Help * {
     -moz-user-select: none;
     -webkit-user-select: none;
@@ -50,21 +52,23 @@ onMounted(() => {
 
         .content {
             position: fixed;
-            width: 96.5rem;
-            height: 58.64rem;
+            width: 96.5rem * $proportion;
+            height: 58.64rem * $proportion;
             top: 50%;
             left: 50%;
-            margin: -29.32rem 0px 0px -48.25rem;
+            margin: -29.32rem * $proportion 0px 0px -48.25rem * $proportion;
             background-image: url("../../assets/help/bg.webp");
             background-position: center;
             background-size: 100% 100%;
             
             .exit {
                 position: absolute;
-                width: 3.85rem;
-                height: 3.85rem;
+                width: 3.85rem * $proportion;
+                height: 3.85rem * $proportion;
                 top: 0px;
-                right: -6rem;
+                right: -6rem * $proportion;
+                // 手势
+                cursor:pointer;
             }
 
         }