Bladeren bron

fix: 优化首页样式

zhangwenya 8 maanden geleden
bovenliggende
commit
501bd509bb
1 gewijzigde bestanden met toevoegingen van 5 en 4 verwijderingen
  1. 5 4
      src/views/index/css/style.scss

+ 5 - 4
src/views/index/css/style.scss

@@ -168,13 +168,14 @@
   .app-health {
     height: calc(70vh - 138px);
     position: relative;
-    width: calc(100% - 750px);
+    //width: calc(100% - 750px);
+    min-width: 660px;
     margin: 0 10px;
     background-image: url("@/assets/images/center-bg.png");
     background-repeat: no-repeat;
     background-position: center center;
-    background-size: 70%;
-
+    //background-size: 70%;
+    background-size: 550px;
     .h-img {
       width: 120px;
     }
@@ -182,7 +183,7 @@
     .a-h-item {
       position: absolute;
       top: 29%;
-      left: 9%;
+      left: 6%;
       text-align: center;
       cursor: pointer;
     }