Browse Source

底部样式修改

username 1 year ago
parent
commit
c08687874a

+ 1 - 1
src/app/[locale]/(ordinary)/deposit/page.scss

@@ -1,6 +1,6 @@
 .deposit-box {
-    flex: 1;
     width: 100%;
+    height: calc(100vh - 1.04rem);
     overflow-y: auto;
     padding: 0.1rem .18rem;
     background-color: #1f1f1f;

+ 1 - 1
src/app/[locale]/(ordinary)/profile/page.scss

@@ -1,6 +1,6 @@
 .profile-box {
-    flex: 1;
     width: 100%;
+    height: calc(100vh - 1.04rem);
     overflow-y: auto;
     padding-bottom: .4rem;
     background-color: #1f1f1f;

+ 2 - 2
src/app/[locale]/(ordinary)/sports/page.scss

@@ -1,6 +1,6 @@
 .sports-box {
-    flex: 1;
     width: 100%;
+    height: calc(100vh - 1.04rem);
     overflow-y: auto;
     // -webkit-overflow-scrolling: touch;
     display: flex;
@@ -10,4 +10,4 @@
     background-color: #1f1f1f;
     color: #fff;
     font-size: .16rem;
-}
+}

+ 5 - 2
src/components/DomainFooter/style.module.scss

@@ -1,6 +1,9 @@
 .footer-box {
+  position: fixed;
+  bottom: 0;
+  left: 0;
+  z-index: 10;
   width: 100%;
-  flex: 1;
   min-height: .81rem;
   display: flex;
   flex-direction: column;
@@ -27,4 +30,4 @@
       font-size: .18rem;
     }
   }
-}
+}

+ 4 - 0
src/components/Footer/style.scss

@@ -1,4 +1,8 @@
 .footer-box {
+  position: fixed;
+  bottom: 0;
+  left: 0;
+  z-index: 10;
   width: 100%;
   height: auto;
   background-color: #292929;