Преглед на файлове

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}