|  | @@ -32,7 +32,7 @@ import { browser, checkPhone, getUrlCode, moneyFormat } from '@/helpers/utils';
 | 
	
		
			
				|  |  |  import OWxTip from '@/components/m-wx-tip';
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  import MImgCode from '@/components/m-img-code';
 | 
	
		
			
				|  |  | -import MMessageTip from '@/components/m-message-tip';
 | 
	
		
			
				|  |  | +import MMessageTip from '../m-message-tip';
 | 
	
		
			
				|  |  |  import SelectStudent from '@/views/student-register/modal/select-student';
 | 
	
		
			
				|  |  |  import { api_sysAreaQueryAllProvince } from '@/views/school-register/api';
 | 
	
		
			
				|  |  |  import CodeDialog from '../modal/code-dialog';
 | 
	
	
		
			
				|  | @@ -42,6 +42,8 @@ import { storage } from '@/helpers/storage';
 | 
	
		
			
				|  |  |  import { ACCESS_TOKEN } from '@/store/mutation-types';
 | 
	
		
			
				|  |  |  import { api_verification } from '@/views/creation/api';
 | 
	
		
			
				|  |  |  import bannerBg from './images/banner-bg.png';
 | 
	
		
			
				|  |  | +import submitBtn from './images/btn1.png'
 | 
	
		
			
				|  |  | +import title1 from './images/title1.png'
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  const classList: any = [];
 | 
	
		
			
				|  |  |  for (let i = 1; i <= 40; i++) {
 | 
	
	
		
			
				|  | @@ -101,7 +103,7 @@ export default defineComponent({
 | 
	
		
			
				|  |  |        isLoginRegister: false, // 是否已经登录或已注册
 | 
	
		
			
				|  |  |        schoolId: null as any,
 | 
	
		
			
				|  |  |        schoolAreaId: null, // 学校区域编号
 | 
	
		
			
				|  |  | -      activationCode: null as any, // 互通码
 | 
	
		
			
				|  |  | +      activationCode: null as any, // 激活码
 | 
	
		
			
				|  |  |        paymentType: '', // 支付类型
 | 
	
		
			
				|  |  |        paymentChannel: '',
 | 
	
		
			
				|  |  |        multi_user_limit: 1, // 限制注册学生数量
 | 
	
	
		
			
				|  | @@ -127,7 +129,7 @@ export default defineComponent({
 | 
	
		
			
				|  |  |        cityCode: null,
 | 
	
		
			
				|  |  |        regionCode: null,
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -      showResultPopup: false,
 | 
	
		
			
				|  |  | +      showResultPopup: true,
 | 
	
		
			
				|  |  |        reslutPopupType: '' as any,
 | 
	
		
			
				|  |  |        resultPopupContent: '',
 | 
	
		
			
				|  |  |        registerType: '', // 报名类型
 | 
	
	
		
			
				|  | @@ -295,7 +297,7 @@ export default defineComponent({
 | 
	
		
			
				|  |  |          status && showToast('请选择所在班级');
 | 
	
		
			
				|  |  |          return true;
 | 
	
		
			
				|  |  |        } else if (!forms.activationCode) {
 | 
	
		
			
				|  |  | -        status && showToast('请输入互通码');
 | 
	
		
			
				|  |  | +        status && showToast('请输入激活码');
 | 
	
		
			
				|  |  |          return true;
 | 
	
		
			
				|  |  |        }
 | 
	
		
			
				|  |  |        return false;
 | 
	
	
		
			
				|  | @@ -679,7 +681,7 @@ export default defineComponent({
 | 
	
		
			
				|  |  |        forms.schoolLoading = false;
 | 
	
		
			
				|  |  |      };
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -    // 格式化互通码
 | 
	
		
			
				|  |  | +    // 格式化激活码
 | 
	
		
			
				|  |  |      const maskMiddleDigits = (str: string) => {
 | 
	
		
			
				|  |  |        if (!str) {
 | 
	
		
			
				|  |  |          return '';
 | 
	
	
		
			
				|  | @@ -781,6 +783,16 @@ export default defineComponent({
 | 
	
		
			
				|  |  |      };
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      onMounted(async () => {
 | 
	
		
			
				|  |  | +      // otherParams.showOtherMessage = `同一手机号最多创建${forms.multi_user_limit}个学生`;
 | 
	
		
			
				|  |  | +      //             otherParams.showOtherSchool = true;
 | 
	
		
			
				|  |  | +      //             otherParams.showCancelButton = false;
 | 
	
		
			
				|  |  | +      //             otherParams.showCloseButton = true;
 | 
	
		
			
				|  |  | +      //             otherParams.confirmButtonColor =
 | 
	
		
			
				|  |  | +      //               'linear-gradient( 305deg, #40C8FF 0%, #3192FF 100%)';
 | 
	
		
			
				|  |  | +      //             otherParams.confirmButtonText = '我知道了';
 | 
	
		
			
				|  |  | +      //             otherParams.otherType = 'limit';
 | 
	
		
			
				|  |  | +      //             otherParams.messageAlign = 'center';
 | 
	
		
			
				|  |  | +      //             return true;
 | 
	
		
			
				|  |  |        try {
 | 
	
		
			
				|  |  |          storage.remove(ACCESS_TOKEN);
 | 
	
		
			
				|  |  |          removeAuth();
 | 
	
	
		
			
				|  | @@ -824,6 +836,7 @@ export default defineComponent({
 | 
	
		
			
				|  |  |        <div class={[styles['student-register']]}>
 | 
	
		
			
				|  |  |          <img src={bannerBg} class={styles.bannerBg} />
 | 
	
		
			
				|  |  |          <div class={styles.studentRegisterContainer}>
 | 
	
		
			
				|  |  | +          <img src={title1} class={styles.title1} />
 | 
	
		
			
				|  |  |            <div class={[styles.studentSection]}>
 | 
	
		
			
				|  |  |              <Form labelAlign="left" class={styles.registerForm}>
 | 
	
		
			
				|  |  |                <Field
 | 
	
	
		
			
				|  | @@ -1044,7 +1057,7 @@ export default defineComponent({
 | 
	
		
			
				|  |  |                    clearable={false}
 | 
	
		
			
				|  |  |                    required
 | 
	
		
			
				|  |  |                    inputAlign="right"
 | 
	
		
			
				|  |  | -                  label="互通码"
 | 
	
		
			
				|  |  | +                  label="激活码"
 | 
	
		
			
				|  |  |                    readonly={route.query.code ? true : false}
 | 
	
		
			
				|  |  |                    modelValue={maskMiddleDigits(forms.activationCode)}
 | 
	
		
			
				|  |  |                  />
 | 
	
	
		
			
				|  | @@ -1053,8 +1066,8 @@ export default defineComponent({
 | 
	
		
			
				|  |  |                    clearable={false}
 | 
	
		
			
				|  |  |                    required
 | 
	
		
			
				|  |  |                    inputAlign="right"
 | 
	
		
			
				|  |  | -                  label="互通码"
 | 
	
		
			
				|  |  | -                  placeholder="请输入互通码"
 | 
	
		
			
				|  |  | +                  label="激活码"
 | 
	
		
			
				|  |  | +                  placeholder="请输入激活码"
 | 
	
		
			
				|  |  |                    autocomplete="off"
 | 
	
		
			
				|  |  |                    v-model={forms.activationCode}
 | 
	
		
			
				|  |  |                  />
 | 
	
	
		
			
				|  | @@ -1064,21 +1077,14 @@ export default defineComponent({
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |            <MSticky position="bottom">
 | 
	
		
			
				|  |  |              <div class={styles.paymentContainer}>
 | 
	
		
			
				|  |  | -              <Button
 | 
	
		
			
				|  |  | -                onClick={() => {
 | 
	
		
			
				|  |  | -                  // onSubmit();
 | 
	
		
			
				|  |  | +              <img class={[styles.submitBtn, forms.submitLoading && styles.loading]} onClick={() => {
 | 
	
		
			
				|  |  | +                  if(forms.submitLoading) return
 | 
	
		
			
				|  |  |                    if (checkForm() || checkSubmit()) {
 | 
	
		
			
				|  |  |                      forms.submitLoading = false;
 | 
	
		
			
				|  |  |                      return;
 | 
	
		
			
				|  |  |                    }
 | 
	
		
			
				|  |  |                    forms.showConfirmPopup = true;
 | 
	
		
			
				|  |  | -                }}
 | 
	
		
			
				|  |  | -                round
 | 
	
		
			
				|  |  | -                block
 | 
	
		
			
				|  |  | -                disabled={forms.submitLoading}
 | 
	
		
			
				|  |  | -                loading={forms.submitLoading}>
 | 
	
		
			
				|  |  | -                提交
 | 
	
		
			
				|  |  | -              </Button>
 | 
	
		
			
				|  |  | +                }} src={submitBtn} />
 | 
	
		
			
				|  |  |              </div>
 | 
	
		
			
				|  |  |            </MSticky>
 | 
	
		
			
				|  |  |          </div>
 | 
	
	
		
			
				|  | @@ -1456,7 +1462,7 @@ export default defineComponent({
 | 
	
		
			
				|  |  |                {!route.query.code && (
 | 
	
		
			
				|  |  |                  <Cell
 | 
	
		
			
				|  |  |                    border={false}
 | 
	
		
			
				|  |  | -                  title="互通码"
 | 
	
		
			
				|  |  | +                  title="激活码"
 | 
	
		
			
				|  |  |                    value={forms.activationCode}></Cell>
 | 
	
		
			
				|  |  |                )}
 | 
	
		
			
				|  |  |              </div>
 | 
	
	
		
			
				|  | @@ -1517,7 +1523,7 @@ export default defineComponent({
 | 
	
		
			
				|  |  |              )}
 | 
	
		
			
				|  |  |              {forms.reslutPopupType === 'ACTIVATING-TWO' && (
 | 
	
		
			
				|  |  |                <p>
 | 
	
		
			
				|  |  | -                您已使用该互通码,请勿重复提交,请下载
 | 
	
		
			
				|  |  | +                您已使用该激活码,请勿重复提交,请下载
 | 
	
		
			
				|  |  |                  <span style={{ color: '#2B85FF' }}>【音乐数字课堂】</span>
 | 
	
		
			
				|  |  |                  实现互通互联
 | 
	
		
			
				|  |  |                </p>
 |