Parcourir la source

建筑可游玩 继续完善样式

任一存 il y a 2 ans
Parent
commit
84cbb25868
1 fichiers modifiés avec 2 ajouts et 3 suppressions
  1. 2 3
      src/views/Serve/index.vue

+ 2 - 3
src/views/Serve/index.vue

@@ -518,7 +518,7 @@ activated() {}, //如果页面有keep-alive缓存功能,这个函数会触发
     border-radius: 1.1vw;
     overflow: hidden;
     position: relative;
-    padding: 3.7vw 3.5vw 4.5vw;
+    padding: 3.7vw 3.5vw 2vw;
     > h3 {
       font-size: 3.5vw;
       font-weight: bold;
@@ -549,8 +549,7 @@ activated() {}, //如果页面有keep-alive缓存功能,这个函数会触发
         color: #535353;
         line-height: 1.1em;
         > img {
-          width: 100%;
-          height: auto;
+          height: 8vw;
           margin-bottom: 2.7vw;
         }
       }