|
@@ -44,6 +44,11 @@ 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'
|
|
|
+import title2 from './images/title2.png'
|
|
|
+import btn4 from './images/btn4.png'
|
|
|
+import btn5 from './images/btn5.png'
|
|
|
+import btn3 from './images/btn3.png'
|
|
|
+import btn6 from './images/btn6.png'
|
|
|
|
|
|
const classList: any = [];
|
|
|
for (let i = 1; i <= 40; i++) {
|
|
@@ -129,7 +134,7 @@ export default defineComponent({
|
|
|
cityCode: null,
|
|
|
regionCode: null,
|
|
|
|
|
|
- showResultPopup: true,
|
|
|
+ showResultPopup: false,
|
|
|
reslutPopupType: '' as any,
|
|
|
resultPopupContent: '',
|
|
|
registerType: '', // 报名类型
|
|
@@ -1433,8 +1438,10 @@ export default defineComponent({
|
|
|
background: 'transparent',
|
|
|
overflow: 'visible !important'
|
|
|
}}>
|
|
|
- <CodeDialog type="INFO" showButton={false}>
|
|
|
+ <div class={styles.studentSectionPopup}>
|
|
|
+ <img src={title2} class={styles.title2} />
|
|
|
<div class={styles.studentInfo}>
|
|
|
+ <div class={styles.studentInner}>
|
|
|
<Cell
|
|
|
border={false}
|
|
|
title="学生姓名"
|
|
@@ -1465,28 +1472,19 @@ export default defineComponent({
|
|
|
title="激活码"
|
|
|
value={forms.activationCode}></Cell>
|
|
|
)}
|
|
|
- </div>
|
|
|
+
|
|
|
<div class={styles.studentBtnGroup}>
|
|
|
- <Button
|
|
|
- round
|
|
|
- block
|
|
|
- onClick={() => (forms.showConfirmPopup = false)}>
|
|
|
- 取消
|
|
|
- </Button>
|
|
|
- <Button
|
|
|
- round
|
|
|
- block
|
|
|
- disabled={forms.submitLoading}
|
|
|
- loading={forms.submitLoading}
|
|
|
- color="linear-gradient( 305deg, #3192FF 0%, #40C8FF 100%)"
|
|
|
- onClick={() => {
|
|
|
+ <img src={btn5} class={[styles.btn, styles.cancelBtn]} onClick={() => (forms.showConfirmPopup = false)} />
|
|
|
+ <img src={btn4} class={[styles.btn, styles.primaryBtn]} onClick={() => {
|
|
|
+ if(forms.submitLoading) return
|
|
|
forms.showConfirmPopup = false;
|
|
|
onSubmit();
|
|
|
- }}>
|
|
|
- 确认
|
|
|
- </Button>
|
|
|
+ }} />
|
|
|
</div>
|
|
|
- </CodeDialog>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ </div>
|
|
|
</Popup>
|
|
|
|
|
|
<Popup
|
|
@@ -1497,12 +1495,13 @@ export default defineComponent({
|
|
|
}}>
|
|
|
<CodeDialog
|
|
|
type={forms.reslutPopupType}
|
|
|
- btnText={
|
|
|
- forms.reslutPopupType === 'ACTIVATING' ||
|
|
|
- forms.reslutPopupType === 'ACTIVATING-TWO'
|
|
|
- ? '立即下载激活'
|
|
|
- : '我知道了'
|
|
|
- }
|
|
|
+ // btnText={
|
|
|
+ // forms.reslutPopupType === 'ACTIVATING' ||
|
|
|
+ // forms.reslutPopupType === 'ACTIVATING-TWO'
|
|
|
+ // ? '立即下载激活'
|
|
|
+ // : '我知道了'
|
|
|
+ // }
|
|
|
+ btnImg={forms.reslutPopupType === 'ACTIVATING' || forms.reslutPopupType === 'ACTIVATING-TWO' ? btn6 : btn3}
|
|
|
onConfirm={() => {
|
|
|
//
|
|
|
if (
|