lex 1 год назад
Родитель
Сommit
9c7153a2df

+ 8 - 1
src/views/student-register/index.module-apply.less → src/views/student-register/index-apply.module.less

@@ -449,7 +449,14 @@
       padding: 0 5px;
       font-weight: 600;
     }
+
+    p {
+      display: flex;
+      align-items: center;
+    }
   }
+
+
 }
 
 .radioSection {
@@ -522,7 +529,7 @@
   }
 
   .memberNumer {
-    margin: 16px 16px 0;
+    margin: 0 12px 8px;
     background: #E8F8FF;
     border-radius: 8px;
     padding: 8px 0 8px 10px;

+ 7 - 7
src/views/student-register/index-apply.tsx

@@ -30,7 +30,7 @@ import {
   setLogin,
   setLoginInit
 } from '@/state';
-import styles from './index.module.less';
+import styles from './index-apply.module.less';
 import MSticky from '@/components/m-sticky';
 // import MVideo from '@/components/m-video';
 import { useRoute, useRouter } from 'vue-router';
@@ -1350,7 +1350,7 @@ export default defineComponent({
             class={[
               styles.studentSection,
               styles.studentSectionForm,
-              styles.noSendDay
+              forms.giftVipDay <= 0 && styles.noSendDay
             ]}>
             {/* <div class={styles.title1}></div> */}
 
@@ -1555,7 +1555,7 @@ export default defineComponent({
                   forms.classStatus = true;
                 }}
               />
-              {/* {forms.giftVipDay > 0 ? (
+              {forms.giftVipDay > 0 ? (
                 <div class={styles.memberNumer}>
                   <img src={iconGift} class={styles.iconGift} />
 
@@ -1566,7 +1566,7 @@ export default defineComponent({
                 </div>
               ) : (
                 ''
-              )} */}
+              )}
             </Form>
           </div>
           {/* <div class={styles.studentSection}>
@@ -1690,8 +1690,8 @@ export default defineComponent({
               }}
             </Cell>
 
-            {/* {forms.detailVip.membershipDays ? (
-              <div class={styles.memberNumer}>
+            {forms.detailVip.membershipDays ? (
+              <div class={[styles.memberNumer, styles.aiMemberNumber]}>
                 <img src={iconGift} class={styles.iconGift} />
                 <p>
                   现在购买赠送乐器AI学练工具
@@ -1700,7 +1700,7 @@ export default defineComponent({
               </div>
             ) : (
               ''
-            )} */}
+            )}
           </div>
 
           {/* {forms.joinType === 'tradition' && (

+ 1 - 1
vite.config.ts

@@ -16,7 +16,7 @@ function resolve(dir: string) {
 // const proxyUrl = 'https://test.lexiaoya.cn/';
 // const proxyUrl = 'https://kt.colexiu.com/';
 // const proxyUrl = 'http://192.168.3.143:7093/';
-const proxyUrl = 'https://test.kt.colexiu.com/';
+const proxyUrl = 'https://dev.kt.colexiu.com/';
 export default defineConfig({
   base: './',
   plugins: [