|
@@ -1,1012 +0,0 @@
|
|
|
-import {
|
|
|
- d as z,
|
|
|
- u as D,
|
|
|
- a as O,
|
|
|
- r as l,
|
|
|
- b as S,
|
|
|
- P as N,
|
|
|
- c as P,
|
|
|
- e as R,
|
|
|
- s as C,
|
|
|
- f as e,
|
|
|
- N as _,
|
|
|
- g,
|
|
|
- h as I,
|
|
|
- i as q,
|
|
|
- j as B,
|
|
|
- k as m,
|
|
|
- l as G,
|
|
|
- m as Y,
|
|
|
- o as Q,
|
|
|
- n as H,
|
|
|
- p as k,
|
|
|
- q as x,
|
|
|
- t as X,
|
|
|
- v as $,
|
|
|
- w as ee,
|
|
|
- x as oe
|
|
|
-} from './index-6f73a5a0-1694138600520.js';
|
|
|
-import { s as W, u as se } from './api-ec982176-1694138600520.js';
|
|
|
-import { o as U, c as L } from './closeEye-b6c1caaa-1694138600520.js';
|
|
|
-import { d as ae, m as te } from './ding-8e9054d5-1694138600520.js';
|
|
|
-import { s as le } from './state-72990c21-1694138600520.js';
|
|
|
-const ne = '' + new URL('login_styles-ceba7cd4.png', import.meta.url).href,
|
|
|
- ue = '' + new URL('login-left-588cef70.png', import.meta.url).href,
|
|
|
- ce = '' + new URL('loginright-bff46f2c.png', import.meta.url).href,
|
|
|
- re = '' + new URL('colLogo-1855284b.png', import.meta.url).href,
|
|
|
- ie = '_stylesWrap_550iz_29',
|
|
|
- de = '_loginLeft_550iz_36',
|
|
|
- Ae = '_loginRight_550iz_43',
|
|
|
- ge = '_colLogo_550iz_56',
|
|
|
- pe = '_prefixIcon_550iz_69',
|
|
|
- fe = '_pwdIcon_550iz_74',
|
|
|
- me = '_formTitle_550iz_79',
|
|
|
- we = '_dot_550iz_89',
|
|
|
- ve = '_submitBtm_550iz_96',
|
|
|
- he = '_forgetBtm_550iz_108',
|
|
|
- Ie = '_sendInput_550iz_115',
|
|
|
- Be = '_sendMsg_550iz_118',
|
|
|
- Ce = '_loginTabs_550iz_147',
|
|
|
- Fe = '_loginForgot_550iz_147',
|
|
|
- ye = '_showModalTone_550iz_182',
|
|
|
- be = '_studentRemove_550iz_185',
|
|
|
- Ee = '_submitAppBtn_550iz_197',
|
|
|
- Me = '_downMove_550iz_200',
|
|
|
- Re = '_downMoveBg_550iz_207',
|
|
|
- ze = '_dingPng_550iz_214',
|
|
|
- xe = '_closeAble_550iz_223',
|
|
|
- Ue = '_alertWrap_550iz_263',
|
|
|
- Le = '_alertInfo_550iz_278',
|
|
|
- Te = '_infoIcon_550iz_287',
|
|
|
- De = '_down_550iz_200',
|
|
|
- o = {
|
|
|
- 'no-pwd': '_no-pwd_550iz_1',
|
|
|
- 'n-input__input-el': '_n-input__input-el_550iz_4',
|
|
|
- 'view-account-form': '_view-account-form_550iz_8',
|
|
|
- 'view-account': '_view-account_550iz_8',
|
|
|
- 'view-account-container': '_view-account-container_550iz_20',
|
|
|
- stylesWrap: ie,
|
|
|
- loginLeft: de,
|
|
|
- loginRight: Ae,
|
|
|
- colLogo: ge,
|
|
|
- 'view-account-form-wrap': '_view-account-form-wrap_550iz_60',
|
|
|
- prefixIcon: pe,
|
|
|
- pwdIcon: fe,
|
|
|
- formTitle: me,
|
|
|
- dot: we,
|
|
|
- submitBtm: ve,
|
|
|
- forgetBtm: he,
|
|
|
- sendInput: Ie,
|
|
|
- sendMsg: Be,
|
|
|
- 'view-account-form-top': '_view-account-form-top_550iz_129',
|
|
|
- 'view-account-form-top-desc': '_view-account-form-top-desc_550iz_133',
|
|
|
- 'view-account-form-other': '_view-account-form-other_550iz_137',
|
|
|
- 'default-color': '_default-color_550iz_140',
|
|
|
- 'ant-checkbox-wrapper': '_ant-checkbox-wrapper_550iz_144',
|
|
|
- loginTabs: Ce,
|
|
|
- loginForgot: Fe,
|
|
|
- showModalTone: ye,
|
|
|
- studentRemove: be,
|
|
|
- submitAppBtn: Ee,
|
|
|
- downMove: Me,
|
|
|
- downMoveBg: Re,
|
|
|
- dingPng: ze,
|
|
|
- closeAble: xe,
|
|
|
- alertWrap: Ue,
|
|
|
-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V+CkuGEY7UKIMwC22oDey9KxLOtetqBLAiyTtLW1qVNTUw1EVCvXUiJ6U11d/Xx4eFjuCF0/i17DrglcdigCuzTMdXjRYdeWuexQdNilYa7D/xuHU4/5cwDWZtqUuLYqxw6Jo9qnlO6/j/kFd5FSWFdVBXcZKOujoK5bc5wPy9at+Mkg39YXHS46bHPgFzDvx5wYznYqAAAAAElFTkSuQmCC',
|
|
|
- j =
|
|
|
- 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAsCAYAAAAehFoBAAAAAXNSR0IArs4c6QAAAa1JREFUWEftmS9Mw1AQxu/ahBnsBAmISvSus4RgqEBO4YBgEeC3eRBYAjjUJKIYQrDrTSMrWIKYxYykPTLR5LHQvxthTa6yvXvv1+v3vr68QyhwtdttJ4qiLiLuAcCGiNgF0nJDEDECgA8RebZtuz8cDsO8JMwLIKIjEbkGgPW82AWffyLiGTPfZ42TCey67k4cxy8AkPtiC8Im6WJZ1m4QBK9p46WCeJ7XmEwmbyLiLAmm0DCIGDabzW3f96e/JaQCu667H8exbyRNEfHQcZzHwWDwVWj2nKBOp7MWhuGBiDwAQCMJtyzLC4LgqRRwq9U6B4DLJAkR75j5ZBmg82MQ0a2IHBv3L0aj0VUpYCLqiUjXAO4zc++PgAvPlSoJBc74NGWKoxWuonGt8KxqiKgukchHJaGSmLMSlYRKQiUBAGUWQpXfsZlTZi7d/FSptlZYbU1tTW0t2zvUJdQlVsEliMgDgBsR2TR5EHEMAKfMbB4s/kD+Fw0T0fs8rHEuN2bmrbSlp8BFFl3tJFFll7bUc4naHWjXrmVQu6bMTF+1ansZC6I+jcUEepVat988fMRLRmtCKgAAAABJRU5ErkJggg==',
|
|
|
- Oe = z({
|
|
|
- name: 'codeLogin',
|
|
|
- setup(F, { emit: w }) {
|
|
|
- const h = D(),
|
|
|
- f = O(),
|
|
|
- r = l(),
|
|
|
- s = S(),
|
|
|
- d = l(!1),
|
|
|
- t = l(!0),
|
|
|
- u = N.BASE_LOGIN_NAME,
|
|
|
- n = P(),
|
|
|
- i = R({ username: '', password: '', isCaptcha: !0 }),
|
|
|
- v = l(!1),
|
|
|
- c = l(60),
|
|
|
- E = '发送短信',
|
|
|
- y = C.get('userInfo-teacher');
|
|
|
- y && (i.username = JSON.parse(y).username);
|
|
|
- const a = async () => {
|
|
|
- r.value.validate(async A => {
|
|
|
- if (!A) {
|
|
|
- const { username: Z, password: V } = i;
|
|
|
- s.loading('登录中...'),
|
|
|
- (d.value = !0),
|
|
|
- C.set('userInfo-teacher', JSON.stringify({ username: Z }));
|
|
|
- const K = {
|
|
|
- username: Z,
|
|
|
- password: V,
|
|
|
- loginType: 'SMS',
|
|
|
- grant_type: 'password',
|
|
|
- client_id: 'cooleshow-teacher',
|
|
|
- client_secret: 'cooleshow-teacher'
|
|
|
- };
|
|
|
- try {
|
|
|
- await n.login(K),
|
|
|
- s.destroyAll(),
|
|
|
- t.value
|
|
|
- ? C.set('userInfo', JSON.stringify(i))
|
|
|
- : C.remove('userInfo');
|
|
|
- const M = decodeURIComponent('/');
|
|
|
- s.success('登录成功,即将进入系统'),
|
|
|
- f.name === u ? h.replace('/') : h.replace(M);
|
|
|
- } catch (M) {
|
|
|
- s.destroyAll(), (d.value = !1), s.error(M.msg), console.log(M);
|
|
|
- } finally {
|
|
|
- d.value = !1;
|
|
|
- }
|
|
|
- }
|
|
|
- });
|
|
|
- },
|
|
|
- p = async () => {
|
|
|
- if (!i.username) {
|
|
|
- s.error('请输入手机号');
|
|
|
- return;
|
|
|
- }
|
|
|
- try {
|
|
|
- const A = await W({
|
|
|
- clientId: 'cooleshow-teacher',
|
|
|
- mobile: i.username,
|
|
|
- type: 'LOGIN'
|
|
|
- });
|
|
|
- b();
|
|
|
- } catch (A) {
|
|
|
- console.log(A);
|
|
|
- }
|
|
|
- },
|
|
|
- b = () => {
|
|
|
- if (v.value) return;
|
|
|
- v.value = !0;
|
|
|
- const A = setInterval(() => {
|
|
|
- c.value--,
|
|
|
- console.log(c.value),
|
|
|
- c.value <= 0 && ((v.value = !1), clearInterval(A));
|
|
|
- }, 1e3);
|
|
|
- };
|
|
|
- return () =>
|
|
|
- e('div', { class: o['view-account-form-wrap'] }, [
|
|
|
- e(
|
|
|
- _,
|
|
|
- { ref: r, 'label-placement': 'left', size: 'large', model: i },
|
|
|
- {
|
|
|
- default: () => [
|
|
|
- e(
|
|
|
- g,
|
|
|
- {
|
|
|
- path: 'username',
|
|
|
- rule: [
|
|
|
- { required: !0, message: '请输入手机号', trigger: 'blur' }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- default: () => [
|
|
|
- e(
|
|
|
- I,
|
|
|
- {
|
|
|
- maxlength: 11,
|
|
|
- value: i.username,
|
|
|
- 'onUpdate:value': A => (i.username = A),
|
|
|
- placeholder: '请输入手机号'
|
|
|
- },
|
|
|
- {
|
|
|
- prefix: () =>
|
|
|
- e(
|
|
|
- 'img',
|
|
|
- { src: j, class: o.prefixIcon, alt: '' },
|
|
|
- null
|
|
|
- )
|
|
|
- }
|
|
|
- )
|
|
|
- ]
|
|
|
- }
|
|
|
- ),
|
|
|
- e(
|
|
|
- g,
|
|
|
- {
|
|
|
- path: 'password',
|
|
|
- rule: [
|
|
|
- { required: !0, message: '请输入验证码', trigger: 'blur' }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- default: () => [
|
|
|
- e(q, null, {
|
|
|
- default: () => [
|
|
|
- e(
|
|
|
- I,
|
|
|
- {
|
|
|
- value: i.password,
|
|
|
- 'onUpdate:value': A => (i.password = A),
|
|
|
- type: 'text',
|
|
|
- showPasswordOn: 'click',
|
|
|
- placeholder: '请输入验证码',
|
|
|
- inputProps: { autocomplete: 'off' },
|
|
|
- class: o.sendInput,
|
|
|
- maxlength: 6,
|
|
|
- onKeydown: A => {
|
|
|
- (A.code === 'Enter' ||
|
|
|
- A.code === 'NumpadEnter') &&
|
|
|
- a();
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- prefix: () =>
|
|
|
- e(
|
|
|
- 'img',
|
|
|
- { src: J, class: o.prefixIcon, alt: '' },
|
|
|
- null
|
|
|
- ),
|
|
|
- suffix: () =>
|
|
|
- e(
|
|
|
- B,
|
|
|
- {
|
|
|
- class: o.sendMsg,
|
|
|
- disabled: v.value,
|
|
|
- onClick: () => p()
|
|
|
- },
|
|
|
- {
|
|
|
- default: () => [v.value ? c.value + 'S' : E]
|
|
|
- }
|
|
|
- )
|
|
|
- }
|
|
|
- )
|
|
|
- ]
|
|
|
- })
|
|
|
- ]
|
|
|
- }
|
|
|
- ),
|
|
|
- e(
|
|
|
- g,
|
|
|
- { class: o['default-color'] },
|
|
|
- {
|
|
|
- default: () => [
|
|
|
- e('div', { class: [o.flex, o['justify-between']] }, [
|
|
|
- e('div', { class: o['flex-initial'] }, null)
|
|
|
- ])
|
|
|
- ]
|
|
|
- }
|
|
|
- ),
|
|
|
- e(g, null, {
|
|
|
- default: () => [
|
|
|
- e(
|
|
|
- B,
|
|
|
- {
|
|
|
- class: o.submitBtm,
|
|
|
- type: 'primary',
|
|
|
- onClick: a,
|
|
|
- size: 'large',
|
|
|
- disabled: d.value,
|
|
|
- block: !0
|
|
|
- },
|
|
|
- { default: () => [m('立即登录')] }
|
|
|
- )
|
|
|
- ]
|
|
|
- })
|
|
|
- ]
|
|
|
- }
|
|
|
- )
|
|
|
- ]);
|
|
|
- }
|
|
|
- }),
|
|
|
- T =
|
|
|
- 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAsCAYAAAAehFoBAAAAAXNSR0IArs4c6QAAA5RJREFUWEftmV+IG1UUxr8z6UaNPrjSQq1idVHxySLnDkt3XVzBPw8uKIqg9G2RUh+k+KLFpzy2fRCxCtZSn4pPgsJaEZSKLJLdzTlgBUHpKhXaYl1BYbDZxmaOjGyGMSbmJpPGLeQ+Ts75vt98M3Pn3gkh52DmrUEQ7DGzGQAPANhqZgER/Q7gGzOrjI2NnVhaWjqb0+rvdupXZGZmZlutVjtkZnsAFLvoGIC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7aCL6cDSxUTOslFoNADuaYRHxR0R8VGvtTtDjNrdwAWA7M9/gizSg1xDRR63EWwKHYXgvM3/SBGsR8VVmftEYc27cpN7E7u7uKf39/S8x87MAIKIhB42IK7XWX5z3ZJu/WLx48bzBwcGfmHmaN3ZOCLG6lcBEgLsEWWtdRi/zoE8z8/XGGHf7OWwjMtyosX3MXPQm1hBx1cWCjeI0nqq76gq82CWt9VJ/jYwADsPwKWvt601Ze8wYs30iMhmnIaVcBwBv+35CiKe11m8M/4jow/Llyy8fGBj4nZlnehO+McbcGRdoIsellF8DwAovyyc6Ojrm9fT0/O2+G86wlPJhAPDvGv4KgmBhuVwe2lMnywqFwsxareaO/1d4MdcaY9xF4r/ArnaVUr8AwLWe02ZjjHsNT7pJKTe5vdoL/CsRLXK1PATcaM7JcxicOnXq1QcOHHD/UUy6LVmyZNbZs2f7AWBKFDwIAuVuOIeAlVIbmPk1r24+I6LuSSf1AiqlPmXm+z2mZ4hoyxCwlPJLAHD/Ag2ZEGK91vqtSwkchuHj1tptHsNOY8w9EbBrYDo84Ou01q6mL5mFYbjIWvuzBzBgjJkRlcRRZp7TGDxORHOSNjQX6xc1NoJjADDbxUDEY0Q0N8rwCkSMNux1RPTtxQJJo6uUusM1SI05Q1yx/XCaAJPh+w8iEp9LNey2nAAAAABJRU5ErkJggg==',
|
|
|
- Ne = z({
|
|
|
- name: 'codeLogin',
|
|
|
- emits: ['changType'],
|
|
|
- setup(F, { emit: w }) {
|
|
|
- const h = D();
|
|
|
- O();
|
|
|
- const f = l(),
|
|
|
- r = S(),
|
|
|
- s = l(!1),
|
|
|
- d = l(!0);
|
|
|
- N.BASE_LOGIN_NAME;
|
|
|
- const t = l(!1),
|
|
|
- u = P();
|
|
|
- let n = R({ username: '', password: '', isCaptcha: !0 });
|
|
|
- const i = C.get('userInfo-teacher');
|
|
|
- i && (n = R({ ...JSON.parse(i) }));
|
|
|
- const v = async () => {
|
|
|
- f.value.validate(async c => {
|
|
|
- if (!c) {
|
|
|
- const { username: E, password: y } = n;
|
|
|
- s.value = !0;
|
|
|
- const a = {
|
|
|
- username: E,
|
|
|
- password: y,
|
|
|
- loginType: 'PASSWORD',
|
|
|
- grant_type: 'password',
|
|
|
- client_id: 'cooleshow-teacher',
|
|
|
- client_secret: 'cooleshow-teacher'
|
|
|
- };
|
|
|
- try {
|
|
|
- await u.login(a),
|
|
|
- r.destroyAll(),
|
|
|
- d.value
|
|
|
- ? C.set('userInfo-teacher', JSON.stringify(n))
|
|
|
- : C.remove('userInfo-teacher');
|
|
|
- const p = decodeURIComponent('/');
|
|
|
- console.log(p, 'toPath'),
|
|
|
- r.success('登录成功,即将进入系统'),
|
|
|
- h.replace(p);
|
|
|
- } catch (p) {
|
|
|
- console.log(p, 'e');
|
|
|
- } finally {
|
|
|
- s.value = !1;
|
|
|
- }
|
|
|
- }
|
|
|
- });
|
|
|
- };
|
|
|
- return () =>
|
|
|
- e('div', { class: o['view-account-form-wrap'] }, [
|
|
|
- e(
|
|
|
- _,
|
|
|
- { ref: f, 'label-placement': 'left', size: 'large', model: n },
|
|
|
- {
|
|
|
- default: () => [
|
|
|
- e(
|
|
|
- g,
|
|
|
- {
|
|
|
- path: 'username',
|
|
|
- rule: [
|
|
|
- { required: !0, message: '请输入用户名', trigger: 'blur' }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- default: () => [
|
|
|
- e(
|
|
|
- I,
|
|
|
- {
|
|
|
- maxlength: 11,
|
|
|
- value: n.username,
|
|
|
- 'onUpdate:value': c => (n.username = c),
|
|
|
- placeholder: '请输入用户名'
|
|
|
- },
|
|
|
- {
|
|
|
- prefix: () =>
|
|
|
- e(
|
|
|
- 'img',
|
|
|
- { src: Se, class: o.prefixIcon, alt: '' },
|
|
|
- null
|
|
|
- )
|
|
|
- }
|
|
|
- )
|
|
|
- ]
|
|
|
- }
|
|
|
- ),
|
|
|
- e(
|
|
|
- g,
|
|
|
- {
|
|
|
- path: 'password',
|
|
|
- rule: [
|
|
|
- { required: !0, message: '请输入密码', trigger: 'blur' }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- default: () => [
|
|
|
- e(
|
|
|
- I,
|
|
|
- {
|
|
|
- value: n.password,
|
|
|
- 'onUpdate:value': c => (n.password = c),
|
|
|
- type: 'text',
|
|
|
- showPasswordOn: 'click',
|
|
|
- placeholder: '请输入密码',
|
|
|
- inputProps: { autocomplete: 'off' },
|
|
|
- class: [t.value ? '' : o['no-pwd']],
|
|
|
- onKeydown: c => {
|
|
|
- console.log(c.code),
|
|
|
- (c.code === 'Enter' ||
|
|
|
- c.code === 'NumpadEnter') &&
|
|
|
- v();
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- prefix: () =>
|
|
|
- e(
|
|
|
- 'img',
|
|
|
- { src: T, class: o.prefixIcon, alt: '' },
|
|
|
- null
|
|
|
- ),
|
|
|
- suffix: () =>
|
|
|
- e(
|
|
|
- 'img',
|
|
|
- {
|
|
|
- src: t.value ? U : L,
|
|
|
- class: o.pwdIcon,
|
|
|
- alt: '',
|
|
|
- onClick: () => {
|
|
|
- t.value = !t.value;
|
|
|
- }
|
|
|
- },
|
|
|
- null
|
|
|
- )
|
|
|
- }
|
|
|
- )
|
|
|
- ]
|
|
|
- }
|
|
|
- ),
|
|
|
- e(
|
|
|
- g,
|
|
|
- { class: o['default-color'] },
|
|
|
- {
|
|
|
- default: () => [
|
|
|
- e('div', { class: [o.flex, o['justify-between']] }, [
|
|
|
- e('div', { class: o['flex-initial'] }, [
|
|
|
- e(
|
|
|
- G,
|
|
|
- {
|
|
|
- checked: d.value,
|
|
|
- 'onUpdate:checked': c => (d.value = c)
|
|
|
- },
|
|
|
- { default: () => [m('记住密码')] }
|
|
|
- )
|
|
|
- ])
|
|
|
- ])
|
|
|
- ]
|
|
|
- }
|
|
|
- ),
|
|
|
- e(g, null, {
|
|
|
- default: () => [
|
|
|
- e(
|
|
|
- B,
|
|
|
- {
|
|
|
- class: o.submitBtm,
|
|
|
- type: 'primary',
|
|
|
- onClick: v,
|
|
|
- size: 'large',
|
|
|
- disabled: s.value,
|
|
|
- loading: s.value,
|
|
|
- block: !0
|
|
|
- },
|
|
|
- { default: () => [m('立即登录')] }
|
|
|
- )
|
|
|
- ]
|
|
|
- }),
|
|
|
- e(g, null, {
|
|
|
- default: () => [
|
|
|
- e(
|
|
|
- B,
|
|
|
- {
|
|
|
- text: !0,
|
|
|
- class: o.forgetBtm,
|
|
|
- onClick: () => {
|
|
|
- w('changType');
|
|
|
- },
|
|
|
- size: 'large',
|
|
|
- block: !0
|
|
|
- },
|
|
|
- { default: () => [m('忘记密码')] }
|
|
|
- )
|
|
|
- ]
|
|
|
- })
|
|
|
- ]
|
|
|
- }
|
|
|
- )
|
|
|
- ]);
|
|
|
- }
|
|
|
- }),
|
|
|
- Pe = z({
|
|
|
- name: 'forgotPassword',
|
|
|
- emits: ['changType'],
|
|
|
- setup(F, { emit: w }) {
|
|
|
- D(), O();
|
|
|
- const h = l(),
|
|
|
- f = S(),
|
|
|
- r = l(!1);
|
|
|
- l(!0), N.BASE_LOGIN_NAME;
|
|
|
- const s = l(!1),
|
|
|
- d = l(!1);
|
|
|
- P();
|
|
|
- const t = R({
|
|
|
- mobile: '',
|
|
|
- password: '',
|
|
|
- password1: '',
|
|
|
- code: '',
|
|
|
- isCaptcha: !0
|
|
|
- }),
|
|
|
- u = l(!1),
|
|
|
- n = l(60),
|
|
|
- i = '发送短信',
|
|
|
- v = (a, p, b) => {
|
|
|
- const A = /^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z]{6,20}$/;
|
|
|
- p === ''
|
|
|
- ? b(new Error('请再次输入密码'))
|
|
|
- : p !== t.password
|
|
|
- ? b(new Error('两次输入密码不一致!'))
|
|
|
- : A.test(p)
|
|
|
- ? b()
|
|
|
- : b(new Error('密码为6-20位数字和字母组合'));
|
|
|
- },
|
|
|
- c = async () => (
|
|
|
- h.value.validate(async a => {
|
|
|
- if (!a) {
|
|
|
- f.loading('修改中...'), (r.value = !0);
|
|
|
- try {
|
|
|
- return (
|
|
|
- await se({ ...t, clientType: 'TEACHER' }),
|
|
|
- f.success('修改成功'),
|
|
|
- (r.value = !1),
|
|
|
- w('changType'),
|
|
|
- !1
|
|
|
- );
|
|
|
- } catch (p) {
|
|
|
- return (r.value = !1), f.error(p.msg), !1;
|
|
|
- }
|
|
|
- }
|
|
|
- }),
|
|
|
- !1
|
|
|
- ),
|
|
|
- E = async () => {
|
|
|
- if (!t.mobile) {
|
|
|
- f.error('请输入手机号');
|
|
|
- return;
|
|
|
- }
|
|
|
- try {
|
|
|
- const a = await W({
|
|
|
- clientId: 'cooleshow-teacher',
|
|
|
- mobile: t.mobile,
|
|
|
- type: 'PASSWORD'
|
|
|
- });
|
|
|
- y();
|
|
|
- } catch (a) {
|
|
|
- console.log(a);
|
|
|
- }
|
|
|
- },
|
|
|
- y = () => {
|
|
|
- if (u.value) return;
|
|
|
- u.value = !0;
|
|
|
- const a = setInterval(() => {
|
|
|
- n.value--,
|
|
|
- console.log(n.value),
|
|
|
- n.value <= 0 && ((u.value = !1), clearInterval(a));
|
|
|
- }, 1e3);
|
|
|
- };
|
|
|
- return () =>
|
|
|
- e('div', { class: o['view-account-form-wrap'] }, [
|
|
|
- e(
|
|
|
- _,
|
|
|
- { ref: h, 'label-placement': 'left', size: 'large', model: t },
|
|
|
- {
|
|
|
- default: () => [
|
|
|
- e(
|
|
|
- g,
|
|
|
- {
|
|
|
- path: 'mobile',
|
|
|
- rule: [
|
|
|
- { required: !0, message: '请输入手机号', trigger: 'blur' }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- default: () => [
|
|
|
- e(
|
|
|
- I,
|
|
|
- {
|
|
|
- maxlength: 11,
|
|
|
- value: t.mobile,
|
|
|
- 'onUpdate:value': a => (t.mobile = a),
|
|
|
- placeholder: '请输入手机号'
|
|
|
- },
|
|
|
- {
|
|
|
- prefix: () =>
|
|
|
- e(
|
|
|
- 'img',
|
|
|
- { src: j, class: o.prefixIcon, alt: '' },
|
|
|
- null
|
|
|
- )
|
|
|
- }
|
|
|
- )
|
|
|
- ]
|
|
|
- }
|
|
|
- ),
|
|
|
- e(
|
|
|
- g,
|
|
|
- {
|
|
|
- path: 'password',
|
|
|
- rule: [
|
|
|
- {
|
|
|
- required: !0,
|
|
|
- pattern: /^(?![0-9]+$)(?![a-zA-Z]+$)[0-9A-Za-z]{6,20}$/,
|
|
|
- message: '密码为6-20位数字和字母组合',
|
|
|
- trigger: 'blur'
|
|
|
- }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- default: () => [
|
|
|
- e(
|
|
|
- I,
|
|
|
- {
|
|
|
- value: t.password,
|
|
|
- 'onUpdate:value': a => (t.password = a),
|
|
|
- type: 'text',
|
|
|
- showPasswordOn: 'click',
|
|
|
- placeholder: '请输入密码',
|
|
|
- inputProps: { autocomplete: 'off' },
|
|
|
- class: [s.value ? '' : o['no-pwd']]
|
|
|
- },
|
|
|
- {
|
|
|
- prefix: () =>
|
|
|
- e(
|
|
|
- 'img',
|
|
|
- { src: T, class: o.prefixIcon, alt: '' },
|
|
|
- null
|
|
|
- ),
|
|
|
- suffix: () =>
|
|
|
- e(
|
|
|
- 'img',
|
|
|
- {
|
|
|
- src: s.value ? U : L,
|
|
|
- class: o.pwdIcon,
|
|
|
- alt: '',
|
|
|
- onClick: () => {
|
|
|
- s.value = !s.value;
|
|
|
- }
|
|
|
- },
|
|
|
- null
|
|
|
- )
|
|
|
- }
|
|
|
- )
|
|
|
- ]
|
|
|
- }
|
|
|
- ),
|
|
|
- e(
|
|
|
- g,
|
|
|
- {
|
|
|
- path: 'password1',
|
|
|
- rule: [{ validator: v, trigger: 'blur', required: !0 }]
|
|
|
- },
|
|
|
- {
|
|
|
- default: () => [
|
|
|
- e(
|
|
|
- I,
|
|
|
- {
|
|
|
- value: t.password1,
|
|
|
- 'onUpdate:value': a => (t.password1 = a),
|
|
|
- type: 'text',
|
|
|
- showPasswordOn: 'click',
|
|
|
- placeholder: '请确认密码',
|
|
|
- inputProps: { autocomplete: 'off' },
|
|
|
- class: [d.value ? '' : o['no-pwd']]
|
|
|
- },
|
|
|
- {
|
|
|
- prefix: () =>
|
|
|
- e(
|
|
|
- 'img',
|
|
|
- { src: T, class: o.prefixIcon, alt: '' },
|
|
|
- null
|
|
|
- ),
|
|
|
- suffix: () =>
|
|
|
- e(
|
|
|
- 'img',
|
|
|
- {
|
|
|
- src: d.value ? U : L,
|
|
|
- class: o.pwdIcon,
|
|
|
- alt: '',
|
|
|
- onClick: () => {
|
|
|
- d.value = !d.value;
|
|
|
- }
|
|
|
- },
|
|
|
- null
|
|
|
- )
|
|
|
- }
|
|
|
- )
|
|
|
- ]
|
|
|
- }
|
|
|
- ),
|
|
|
- e(
|
|
|
- g,
|
|
|
- {
|
|
|
- path: 'code',
|
|
|
- rule: [
|
|
|
- { required: !0, message: '请输入验证码', trigger: 'blur' }
|
|
|
- ]
|
|
|
- },
|
|
|
- {
|
|
|
- default: () => [
|
|
|
- e(q, null, {
|
|
|
- default: () => [
|
|
|
- e(
|
|
|
- I,
|
|
|
- {
|
|
|
- value: t.code,
|
|
|
- 'onUpdate:value': a => (t.code = a),
|
|
|
- type: 'text',
|
|
|
- showPasswordOn: 'click',
|
|
|
- placeholder: '请输入验证码',
|
|
|
- inputProps: { autocomplete: 'off' },
|
|
|
- class: o.sendInput,
|
|
|
- onKeydown: a => {
|
|
|
- (a.code === 'Enter' ||
|
|
|
- a.code === 'NumpadEnter') &&
|
|
|
- c();
|
|
|
- }
|
|
|
- },
|
|
|
- {
|
|
|
- prefix: () =>
|
|
|
- e(
|
|
|
- 'img',
|
|
|
- { src: J, class: o.prefixIcon, alt: '' },
|
|
|
- null
|
|
|
- ),
|
|
|
- suffix: () =>
|
|
|
- e(
|
|
|
- B,
|
|
|
- {
|
|
|
- class: o.sendMsg,
|
|
|
- disabled: u.value,
|
|
|
- onClick: () => E()
|
|
|
- },
|
|
|
- {
|
|
|
- default: () => [u.value ? n.value + 'S' : i]
|
|
|
- }
|
|
|
- )
|
|
|
- }
|
|
|
- )
|
|
|
- ]
|
|
|
- })
|
|
|
- ]
|
|
|
- }
|
|
|
- ),
|
|
|
- e(g, null, {
|
|
|
- default: () => [
|
|
|
- e(
|
|
|
- B,
|
|
|
- {
|
|
|
- class: [o.submitBtm, o.submitForgoBtm],
|
|
|
- type: 'primary',
|
|
|
- onClick: c,
|
|
|
- size: 'large',
|
|
|
- disabled: r.value,
|
|
|
- block: !0
|
|
|
- },
|
|
|
- { default: () => [m('确认')] }
|
|
|
- )
|
|
|
- ]
|
|
|
- }),
|
|
|
- e(g, null, {
|
|
|
- default: () => [
|
|
|
- e(
|
|
|
- B,
|
|
|
- {
|
|
|
- text: !0,
|
|
|
- class: o.forgetBtm,
|
|
|
- onClick: () => {
|
|
|
- w('changType');
|
|
|
- },
|
|
|
- size: 'large',
|
|
|
- block: !0
|
|
|
- },
|
|
|
- { default: () => [m('返回登录')] }
|
|
|
- )
|
|
|
- ]
|
|
|
- })
|
|
|
- ]
|
|
|
- }
|
|
|
- )
|
|
|
- ]);
|
|
|
- }
|
|
|
- }),
|
|
|
- _e =
|
|
|
- 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAAXNSR0IArs4c6QAAAi9JREFUaEPt2a9LBEEUwPHvBUFEg0EQ0SD+BTaLSbCYTAo2k0WDlvMHCCJisWgwWRVMJoNgMtj8CwSDv8BgUhEElYFdWZe7nbcz78Fx7Na7ebOfeTtvZnZrtMlVaxMHFaTVMlllpMqI0QhIHq0hYBx4Ay6AT6N7ScN2ApNAN3AF3Ev680GGgT2gIwn2AKwDr5LgAf/pBXaAwaTtF7AC3Pli+SALwFQuyCOwZoDJI9Juz4HDWMg8MN0giDamGcJ1fQYcxUL6gP3kec3H0sIUId6BJeAlFuLajwDbRhgfYgO49SHc7745ksawwKghykC0M6OKKAvRwqgjQiCxGBNEKCQUY4aIgfgwT8BqZtE0RcRCpJif3LY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rcIy5aZ0V9NAGIILnOFiSH4aatgHIcXiFg0VNhVLRCiDSty9k/SY1wa8gZiMPCxOCdqX1dpTUfW/7tKu30Yu2fb1Spy+MGQE1CmPfrQOs0MP5KGI1PAAUNdpen5bW0U9z9TyOLE/ytQEYKutIraauJ4t2sC3NtZ/RwXV5YuUyn0dTw4yOB4Ge9eqd5omhMQ+lHtDIZQI31jYZbkoa6hWo7YBWzyV7RlgDZN2QH3lp7YBoxzEojr1VB8UYyqqjdAxl1WVD89a15jpmfT2x5sKqXaHbrCu9P01pn9rR5pptAAAAAElFTkSuQmCC',
|
|
|
- Ve = z({
|
|
|
- name: 'login-page',
|
|
|
- setup() {
|
|
|
- const F = l(!1),
|
|
|
- w = l('pwdLogin'),
|
|
|
- h = l(),
|
|
|
- f = l(),
|
|
|
- r = l();
|
|
|
- Y();
|
|
|
- const s = l(!1),
|
|
|
- d = async u => {
|
|
|
- u.preventDefault(),
|
|
|
- console.log('checkInstall', u),
|
|
|
- (r.value = u),
|
|
|
- console.log('beforeoutcome'),
|
|
|
- window.matchMedia('(display-mode: standalone)').matches
|
|
|
- ? (le.application = window.matchMedia(
|
|
|
- '(display-mode: standalone)'
|
|
|
- ).matches)
|
|
|
- : (console.log(r.value, 'popEvent.value'),
|
|
|
- r.value &&
|
|
|
- ((s.value = !0),
|
|
|
- setTimeout(() => {
|
|
|
- const n = document.querySelector('#submitBtn');
|
|
|
- console.log(n),
|
|
|
- n &&
|
|
|
- n.addEventListener('click', () => {
|
|
|
- (s.value = !1),
|
|
|
- r.value &&
|
|
|
- (r.value.prompt(),
|
|
|
- r.value.userChoice.then(i => {
|
|
|
- i.outcome === 'accepted'
|
|
|
- ? (console.log('用户已同意添加到桌面'),
|
|
|
- (s.value = !1))
|
|
|
- : (console.log('用户已取消添加到桌面'),
|
|
|
- (s.value = !1));
|
|
|
- }));
|
|
|
- });
|
|
|
- }, 500)));
|
|
|
- };
|
|
|
- window.addEventListener('beforeinstallprompt', d, { once: !0 }),
|
|
|
- Q(() => {
|
|
|
- window.removeEventListener('beforeinstallprompt', d);
|
|
|
- }),
|
|
|
- H(async () => {});
|
|
|
- const t = () => {
|
|
|
- const u = navigator.userAgent.toLowerCase(),
|
|
|
- n = (function () {
|
|
|
- return /macintosh|mac os x/i.test(navigator.userAgent);
|
|
|
- })();
|
|
|
- (u.indexOf('win32') >= 0 || u.indexOf('wow32') >= 0) &&
|
|
|
- window.open(
|
|
|
- 'https://appstore.ks3-cn-beijing.ksyuncs.com/ChromeStandaloneSetup32.exe'
|
|
|
- ),
|
|
|
- (u.indexOf('win64') >= 0 || u.indexOf('wow64') >= 0) &&
|
|
|
- window.open(
|
|
|
- 'https://appstore.ks3-cn-beijing.ksyuncs.com/ChromeStandaloneSetup64.exe'
|
|
|
- ),
|
|
|
- n &&
|
|
|
- window.open(
|
|
|
- 'https://appstore.ks3-cn-beijing.ksyuncs.com/googlechrome-mac.dmg'
|
|
|
- );
|
|
|
- };
|
|
|
- return () =>
|
|
|
- e('div', { class: o['view-account'] }, [
|
|
|
- e('div', { class: o['view-account-container'] }, [
|
|
|
- e('img', { src: ue, class: o.loginLeft, alt: '' }, null),
|
|
|
- e('img', { src: ce, class: o.loginRight, alt: '' }, null),
|
|
|
- e('div', { class: o.stylesWrap }, [
|
|
|
- e('img', { src: ne, alt: '' }, null)
|
|
|
- ])
|
|
|
- ]),
|
|
|
- e('div', { class: o['view-account-form'] }, [
|
|
|
- e('img', { class: o.colLogo, src: re }, null),
|
|
|
- '14:56',
|
|
|
- F.value
|
|
|
- ? e(
|
|
|
- k,
|
|
|
- {
|
|
|
- key: 'forgotPassword',
|
|
|
- 'default-value': w.value,
|
|
|
- class: [o.loginTabs, o.loginForgot],
|
|
|
- ref: f,
|
|
|
- 'justify-content': 'center'
|
|
|
- },
|
|
|
- {
|
|
|
- default: () => [
|
|
|
- e(
|
|
|
- x,
|
|
|
- { name: 'forgotPassword', tab: '重置密码' },
|
|
|
- {
|
|
|
- default: () => [
|
|
|
- e(
|
|
|
- Pe,
|
|
|
- {
|
|
|
- onChangType: () => {
|
|
|
- (F.value = !1), (w.value = 'pwdLogin');
|
|
|
- }
|
|
|
- },
|
|
|
- null
|
|
|
- )
|
|
|
- ]
|
|
|
- }
|
|
|
- )
|
|
|
- ]
|
|
|
- }
|
|
|
- )
|
|
|
- : e(
|
|
|
- k,
|
|
|
- {
|
|
|
- key: 'pwdLogin',
|
|
|
- ref: h,
|
|
|
- 'default-value': w.value,
|
|
|
- class: [o.loginTabs],
|
|
|
- 'justify-content': 'center'
|
|
|
- },
|
|
|
- {
|
|
|
- default: () => [
|
|
|
- e(
|
|
|
- x,
|
|
|
- { name: 'pwdLogin', tab: '密码登录' },
|
|
|
- {
|
|
|
- default: () => [
|
|
|
- e(
|
|
|
- Ne,
|
|
|
- {
|
|
|
- onChangType: () => {
|
|
|
- (F.value = !0), (w.value = 'forgotPassword');
|
|
|
- }
|
|
|
- },
|
|
|
- null
|
|
|
- )
|
|
|
- ]
|
|
|
- }
|
|
|
- ),
|
|
|
- e(
|
|
|
- x,
|
|
|
- { name: 'codeLogin', tab: '短信验证' },
|
|
|
- { default: () => [e(Oe, null, null)] }
|
|
|
- )
|
|
|
- ]
|
|
|
- }
|
|
|
- ),
|
|
|
- e('div', { class: o.alertWrap }, [
|
|
|
- e('div', { class: o.alertInfo }, [
|
|
|
- e(X, { src: Ze, class: o.infoIcon, previewDisabled: !0 }, null),
|
|
|
- m('为了您更好的上课体验,推荐使用Chrome浏览器')
|
|
|
- ]),
|
|
|
- e('div', { class: o.down, onClick: t }, [m('立即下载')])
|
|
|
- ])
|
|
|
- ]),
|
|
|
- e(
|
|
|
- $,
|
|
|
- { show: s.value, 'onUpdate:show': u => (s.value = u) },
|
|
|
- {
|
|
|
- default: () => [
|
|
|
- e('div', { class: o.downMove }, [
|
|
|
- e('img', { src: ae, class: o.dingPng, alt: '' }, null),
|
|
|
- e('img', { src: te, class: o.downMoveBg, alt: '' }, null),
|
|
|
- e(
|
|
|
- 'img',
|
|
|
- {
|
|
|
- src: _e,
|
|
|
- class: o.closeAble,
|
|
|
- onClick: () => {
|
|
|
- s.value = !1;
|
|
|
- },
|
|
|
- alt: ''
|
|
|
- },
|
|
|
- null
|
|
|
- ),
|
|
|
- e('h2', null, [m('温馨提示')]),
|
|
|
- e('p', null, [
|
|
|
- m(
|
|
|
- '检测到您尚未安装“音乐数字课堂”应用程序,为了更好的使用体验,是否立即下载?'
|
|
|
- )
|
|
|
- ]),
|
|
|
- e(
|
|
|
- ee,
|
|
|
- { style: { padding: '25px 0 0 0' }, justify: 'center' },
|
|
|
- {
|
|
|
- default: () => [
|
|
|
- e(
|
|
|
- B,
|
|
|
- oe(
|
|
|
- { id: 'submitBtn' },
|
|
|
- {
|
|
|
- class: o.submitAppBtn,
|
|
|
- round: !0,
|
|
|
- type: 'primary'
|
|
|
- }
|
|
|
- ),
|
|
|
- { default: () => [m('立即下载')] }
|
|
|
- )
|
|
|
- ]
|
|
|
- }
|
|
|
- )
|
|
|
- ])
|
|
|
- ]
|
|
|
- }
|
|
|
- )
|
|
|
- ]);
|
|
|
- }
|
|
|
- });
|
|
|
-export { Ve as default };
|