소스 검색

图片自适应

bding 10 달 전
부모
커밋
884ec9cfd3
1개의 변경된 파일2개의 추가작업 그리고 4개의 파일을 삭제
  1. 2 4
      src/views/report/disseminatePage.vue

+ 2 - 4
src/views/report/disseminatePage.vue

@@ -30,15 +30,13 @@ watch(
 <style lang="scss" scoped>
 .container-disseminate {
   width: 100%;
-  height: 100vh;
+  height: auto;
   display: flex;
   justify-content: center;
-  overflow: hidden;
-  overflow: auto;
   img {
     margin-left: -50px;
     width: 820px;
-    height: 1401px;
+    height: 100%;
   }
 }
 </style>