liushengqiang há 2 anos atrás
pai
commit
1f778ef7f9
1 ficheiros alterados com 12 adições e 7 exclusões
  1. 12 7
      src/page-gym/header-top/settting/index.module.less

+ 12 - 7
src/page-gym/header-top/settting/index.module.less

@@ -31,20 +31,25 @@
     width: 300px;
     height: 86vh;
     background-color: #fff;
-    max-height: 310px;
+    max-height: 460px;
     --van-tabs-line-height: 50px;
     --van-tab-active-text-color: var(--van-primary-color);
 
     :global {
-        .van-swipe-item {
+        .van-tabs__content {
             height: calc(86vh - 50px);
-            overflow-y: auto;
-            padding: 0 10px 10px 10px;
 
-            &::-webkit-scrollbar {
-                width: 0;
-                display: none;
+            .van-tab__panel:first-child {
+                height: 100%;
+                overflow-y: auto;
+                padding: 0 10px 10px 10px;
+
+                &::-webkit-scrollbar {
+                    width: 0;
+                    display: none;
+                }
             }
+
         }
 
         .van-tabs__nav--line {