Browse Source

日报分享

zhujindu 8 tháng trước cách đây
mục cha
commit
8aaada1b1f
1 tập tin đã thay đổi với 5 bổ sung4 xóa
  1. 5 4
      src/components/share.vue

+ 5 - 4
src/components/share.vue

@@ -213,22 +213,23 @@ export default {
   width: 100%;
   height: 100%;
   overflow: hidden;
-  position: absolute;
+  position: fixed;
   top: 0;
   z-index: 11;
+  // overflow-y: auto;
 
   .share-content {
     background: url('../assets/shareBack.png') no-repeat center center;
     background-size: cover;
     background-attachment: local;
     width: 100%;
-    // height: 100%;
+    height: 100%;
     padding: vw(30);
     position: absolute;
-    // z-index: -1;
     padding-bottom: vw(190);
     top: 0;
     z-index: -1;
+    overflow-y: auto;
   }
 
   .header {
@@ -343,7 +344,7 @@ export default {
   #html2canvas {
     width: 100%;
     height: 100%;
-    position: fixed;
+    position: absolute;
     top: 0;
     z-index: 9;
     overflow-y: auto;