Jelajahi Sumber

尾部flex布局清除

yangc 8 tahun lalu
induk
melakukan
bbb9011dca
1 mengubah file dengan 2 tambahan dan 3 penghapusan
  1. 2 3
      components/mobile/MobileFooter.vue

+ 2 - 3
components/mobile/MobileFooter.vue

@@ -33,15 +33,14 @@
     bottom:0;
     width:100%;
     height:.98rem;
-    display:flex;
     text-align: center;
-    justify-content:space-between;
     border-top:.02rem solid #ccc;
     background: #ffffff;
     z-index: 10;
   }
   .mobile-footer span{
-    flex:1;
+    display: inline-block;
+    width: 2.5rem;
     font-size:.32rem;
     color:#b0b0b0;
     padding-top:.1rem;