Browse Source

修改样式

lex 1 year ago
parent
commit
9743944c0d

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

@@ -17,8 +17,8 @@
 .countdownSection {
   position: relative;
   background: linear-gradient(90deg, #FFBBD1 0%, #FFEFE2 100%), linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.7) 100%);
-  border-radius: 16px;
-  margin: 0 14px 12px;
+  border-radius: 10px;
+  margin: 0 14px 10px;
   padding: 7px 12px 8px;
   border: 1px solid #FFFFFF;
 
@@ -164,7 +164,7 @@
 }
 
 .studentSection {
-  margin: 0 14px 12px;
+  margin: 0 14px 10px;
   padding: 12px 15px;
   background: linear-gradient(180deg, rgba(219, 246, 253) 0%, rgba(255, 255, 255) 30%);
   border-radius: 16px;
@@ -283,7 +283,7 @@
   overflow: hidden;
 
   .selectStudentGroup {
-    margin-left: 13px;
+    margin-left: 10px;
     font-size: 14px;
     color: #1189FF;
     display: flex;
@@ -337,7 +337,7 @@
 
   .fieldTipsGroup {
     margin: 0 14px 0;
-    padding-bottom: 9px;
+    padding-bottom: 6px;
   }
 
   .fieldTips {
@@ -373,6 +373,7 @@
 
   .username {
     padding-top: 15px !important;
+    padding-bottom: 7px !important;
 
     :global {
       .van-field__label {
@@ -497,11 +498,12 @@
   background: linear-gradient(180deg, rgba(219, 246, 253) 0%, rgba(255, 255, 255) 30%);
   border-radius: 16px;
   border: 1px solid #FFFFFF;
-  padding-bottom: 16px;
+  // padding-bottom: 16px;
 
   :global {
     .van-cell {
       background-color: transparent;
+      padding: 8px 14px;
     }
   }
 

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

@@ -1721,7 +1721,8 @@ export default defineComponent({
                         /年
                       </i>
                     </span>
-                    {calcPrice.value.originAmount > calcPrice.value.amount ? (
+                    {calcPrice.value.originAmount > calcPrice.value.amount &&
+                    forms.joinType === 'digitalize' ? (
                       <del class={styles.allPrice}>
                         ¥ {moneyFormat(calcPrice.value.originAmount)}
                       </del>