lex 8 miesięcy temu
rodzic
commit
26d6ce3849

+ 2 - 1
src/views/activation-code/activation-register/index.tsx

@@ -740,6 +740,7 @@ export default defineComponent({
             forms.classList = classList;
           }
         } else {
+          forms.schoolInstrumentSetType = '';
           forms.gradeList = getGradeList();
           forms.classList = classList;
         }
@@ -1147,7 +1148,7 @@ export default defineComponent({
                 }
 
                 if (forms.schoolInstrumentSetType === 'CLASS') {
-                  forms.classList = selectedOption.classList;
+                  forms.classList = selectedOption.classList || [];
                 }
                 if (
                   ['CLASS', 'GRADE'].includes(forms.schoolInstrumentSetType)

+ 9 - 7
src/views/activation-code/index.module.less

@@ -17,6 +17,7 @@
     .van-calendar__confirm {
       --van-calendar-confirm-button-height: 40px;
       --van-button-normal-padding: 18px;
+      --van-calendar-confirm-button-margin: 18px 0;
     }
   }
 }
@@ -188,7 +189,7 @@
       width: 4px;
       height: 14px;
       background: linear-gradient(135deg, #31C7FF 0%, #007AFE 100%);
-      border-radius: 3px;
+      border-radius: 10px;
     }
   }
 
@@ -213,22 +214,22 @@
 
     .num1 {
       background: url('./images/num1.png') no-repeat center;
-      background-size: contain;
+      background-size: cover;
     }
 
     .num2 {
       background: url('./images/num2.png') no-repeat center;
-      background-size: contain;
+      background-size: cover;
     }
 
     .num3 {
       background: url('./images/num3.png') no-repeat center;
-      background-size: contain;
+      background-size: cover;
     }
 
     .num4 {
       background: url('./images/num4.png') no-repeat center;
-      background-size: contain;
+      background-size: cover;
     }
   }
 }
@@ -255,7 +256,7 @@
       width: 4px;
       height: 14px;
       background: #1BA5FF;
-      border-radius: 2px;
+      border-radius: 10px;
     }
   }
 
@@ -296,10 +297,11 @@
 }
 
 .sectionItem {
-  margin: 8px 0;
+  margin: 8px auto;
   background: url('./images/item-bg.png') no-repeat top center;
   background-size: cover;
   min-height: 141px;
+  max-width: 349px;
 
   .itemTitle {
     font-weight: 600;

+ 2 - 1
src/views/download/index.module.less

@@ -44,4 +44,5 @@
 
 .downImg {
   // width: 275px;
-}
+  padding-top: 25px;
+}