Kaynağa Gözat

style: 注册底部按钮样式

TIANYONG 1 yıl önce
ebeveyn
işleme
14392a394c

+ 8 - 0
src/views/student-register/register-new/index.module.less

@@ -77,6 +77,14 @@
 
 }
 
+.submitBox {
+  :global {
+    .van-sticky--fixed {
+      bottom: 50px !important;
+    }
+  }
+}
+
 .submitBtn {
   margin: 25px;
   width: calc(100% - 50px);

+ 1 - 1
src/views/student-register/register-new/index.tsx

@@ -485,7 +485,7 @@ export default defineComponent({
           prototcolType="REGISTER"
         /> */}
 
-        <MSticky position="bottom">
+        <MSticky position="bottom" class={styles.submitBox}>
           <Button
             type="primary"
             class={styles.submitBtn}