소스 검색

style: 注册底部按钮样式

TIANYONG 1 년 전
부모
커밋
14392a394c
2개의 변경된 파일9개의 추가작업 그리고 1개의 파일을 삭제
  1. 8 0
      src/views/student-register/register-new/index.module.less
  2. 1 1
      src/views/student-register/register-new/index.tsx

+ 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}