liushengqiang há 2 anos atrás
pai
commit
88533277ad
1 ficheiros alterados com 8 adições e 16 exclusões
  1. 8 16
      src/report-share/gym-share/index.module.less

+ 8 - 16
src/report-share/gym-share/index.module.less

@@ -6,7 +6,7 @@
   height: 100vh;
   padding: 20px 30px;
   background-color: #fff;
-  z-index: 10;
+  z-index: 100;
   --van-skeleton-paragraph-height: .8rem;
 }
 
@@ -34,21 +34,8 @@
     height: calc(100vh - var(--header-height) - 15px - var(--android-height, 0));
     border-radius: 10px;
     margin: 0 15px;
-    overflow-x: hidden;
-    overflow-y: auto;
+    overflow: hidden;
     background-color: #fff;
-
-    &::-webkit-scrollbar {
-      width: 0;
-      display: none;
-    }
-
-    :global {
-      #musicAndSelection {
-        overflow: auto;
-        border-radius: 12px;
-      }
-    }
   }
 }
 
@@ -67,12 +54,17 @@
 }
 
 .demos {
+  position: absolute;
+  top: 0;
+  right: 0;
+  background: #fff;
   display: flex;
   justify-content: flex-end;
   align-items: center;
   padding: 6px 10px;
-  z-index: 1;
+  z-index: 20;
   color: #2c3e50;
+  border-radius: 10px;
   &>div {
     display: flex;
     align-items: center;