!(function () { function e(t) { return ( (e = 'function' == typeof Symbol && 'symbol' == typeof Symbol.iterator ? function (e) { return typeof e; } : function (e) { return e && 'function' == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? 'symbol' : typeof e; }), e(t) ); } function t(e, t) { var n = Object.keys(e); if (Object.getOwnPropertySymbols) { var r = Object.getOwnPropertySymbols(e); t && (r = r.filter(function (t) { return Object.getOwnPropertyDescriptor(e, t).enumerable; })), n.push.apply(n, r); } return n; } function n(e) { for (var n = 1; n < arguments.length; n++) { var o = null != arguments[n] ? arguments[n] : {}; n % 2 ? t(Object(o), !0).forEach(function (t) { r(e, t, o[t]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(o)) : t(Object(o)).forEach(function (t) { Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(o, t)); }); } return e; } function r(t, n, r) { return ( (n = (function (t) { var n = (function (t, n) { if ('object' !== e(t) || null === t) return t; var r = t[Symbol.toPrimitive]; if (void 0 !== r) { var o = r.call(t, n || 'default'); if ('object' !== e(o)) return o; throw new TypeError('@@toPrimitive must return a primitive value.'); } return ('string' === n ? String : Number)(t); })(t, 'string'); return 'symbol' === e(n) ? n : String(n); })(n)) in t ? Object.defineProperty(t, n, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : (t[n] = r), t ); } function o() { 'use strict'; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ o = function () { return t; }; var t = {}, n = Object.prototype, r = n.hasOwnProperty, a = Object.defineProperty || function (e, t, n) { e[t] = n.value; }, i = 'function' == typeof Symbol ? Symbol : {}, l = i.iterator || '@@iterator', c = i.asyncIterator || '@@asyncIterator', u = i.toStringTag || '@@toStringTag'; function s(e, t, n) { return ( Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }), e[t] ); } try { s({}, ''); } catch (j) { s = function (e, t, n) { return (e[t] = n); }; } function d(e, t, n, r) { var o = t && t.prototype instanceof h ? t : h, i = Object.create(o.prototype), l = new C(r || []); return a(i, '_invoke', { value: P(e, n, l) }), i; } function f(e, t, n) { try { return { type: 'normal', arg: e.call(t, n) }; } catch (j) { return { type: 'throw', arg: j }; } } t.wrap = d; var p = {}; function h() {} function g() {} function m() {} var _ = {}; s(_, l, function () { return this; }); var v = Object.getPrototypeOf, y = v && v(v(S([]))); y && y !== n && r.call(y, l) && (_ = y); var b = (m.prototype = h.prototype = Object.create(_)); function w(e) { ['next', 'throw', 'return'].forEach(function (t) { s(e, t, function (e) { return this._invoke(t, e); }); }); } function x(t, n) { function o(a, i, l, c) { var u = f(t[a], t, i); if ('throw' !== u.type) { var s = u.arg, d = s.value; return d && 'object' == e(d) && r.call(d, '__await') ? n.resolve(d.__await).then( function (e) { o('next', e, l, c); }, function (e) { o('throw', e, l, c); } ) : n.resolve(d).then( function (e) { (s.value = e), l(s); }, function (e) { return o('throw', e, l, c); } ); } c(u.arg); } var i; a(this, '_invoke', { value: function (e, t) { function r() { return new n(function (n, r) { o(e, t, n, r); }); } return (i = i ? i.then(r, r) : r()); } }); } function P(e, t, n) { var r = 'suspendedStart'; return function (o, a) { if ('executing' === r) throw new Error('Generator is already running'); if ('completed' === r) { if ('throw' === o) throw a; return F(); } for (n.method = o, n.arg = a; ; ) { var i = n.delegate; if (i) { var l = E(i, n); if (l) { if (l === p) continue; return l; } } if ('next' === n.method) n.sent = n._sent = n.arg; else if ('throw' === n.method) { if ('suspendedStart' === r) throw ((r = 'completed'), n.arg); n.dispatchException(n.arg); } else 'return' === n.method && n.abrupt('return', n.arg); r = 'executing'; var c = f(e, t, n); if ('normal' === c.type) { if (((r = n.done ? 'completed' : 'suspendedYield'), c.arg === p)) continue; return { value: c.arg, done: n.done }; } 'throw' === c.type && ((r = 'completed'), (n.method = 'throw'), (n.arg = c.arg)); } }; } function E(e, t) { var n = t.method, r = e.iterator[n]; if (void 0 === r) return ( (t.delegate = null), ('throw' === n && e.iterator.return && ((t.method = 'return'), (t.arg = void 0), E(e, t), 'throw' === t.method)) || ('return' !== n && ((t.method = 'throw'), (t.arg = new TypeError( "The iterator does not provide a '" + n + "' method" )))), p ); var o = f(r, e.iterator, t.arg); if ('throw' === o.type) return (t.method = 'throw'), (t.arg = o.arg), (t.delegate = null), p; var a = o.arg; return a ? a.done ? ((t[e.resultName] = a.value), (t.next = e.nextLoc), 'return' !== t.method && ((t.method = 'next'), (t.arg = void 0)), (t.delegate = null), p) : a : ((t.method = 'throw'), (t.arg = new TypeError('iterator result is not an object')), (t.delegate = null), p); } function L(e) { var t = { tryLoc: e[0] }; 1 in e && (t.catchLoc = e[1]), 2 in e && ((t.finallyLoc = e[2]), (t.afterLoc = e[3])), this.tryEntries.push(t); } function A(e) { var t = e.completion || {}; (t.type = 'normal'), delete t.arg, (e.completion = t); } function C(e) { (this.tryEntries = [{ tryLoc: 'root' }]), e.forEach(L, this), this.reset(!0); } function S(e) { if (e) { var t = e[l]; if (t) return t.call(e); if ('function' == typeof e.next) return e; if (!isNaN(e.length)) { var n = -1, o = function t() { for (; ++n < e.length; ) if (r.call(e, n)) return (t.value = e[n]), (t.done = !1), t; return (t.value = void 0), (t.done = !0), t; }; return (o.next = o); } } return { next: F }; } function F() { return { value: void 0, done: !0 }; } return ( (g.prototype = m), a(b, 'constructor', { value: m, configurable: !0 }), a(m, 'constructor', { value: g, configurable: !0 }), (g.displayName = s(m, u, 'GeneratorFunction')), (t.isGeneratorFunction = function (e) { var t = 'function' == typeof e && e.constructor; return ( !!t && (t === g || 'GeneratorFunction' === (t.displayName || t.name)) ); }), (t.mark = function (e) { return ( Object.setPrototypeOf ? Object.setPrototypeOf(e, m) : ((e.__proto__ = m), s(e, u, 'GeneratorFunction')), (e.prototype = Object.create(b)), e ); }), (t.awrap = function (e) { return { __await: e }; }), w(x.prototype), s(x.prototype, c, function () { return this; }), (t.AsyncIterator = x), (t.async = function (e, n, r, o, a) { void 0 === a && (a = Promise); var i = new x(d(e, n, r, o), a); return t.isGeneratorFunction(n) ? i : i.next().then(function (e) { return e.done ? e.value : i.next(); }); }), w(b), s(b, u, 'Generator'), s(b, l, function () { return this; }), s(b, 'toString', function () { return '[object Generator]'; }), (t.keys = function (e) { var t = Object(e), n = []; for (var r in t) n.push(r); return ( n.reverse(), function e() { for (; n.length; ) { var r = n.pop(); if (r in t) return (e.value = r), (e.done = !1), e; } return (e.done = !0), e; } ); }), (t.values = S), (C.prototype = { constructor: C, reset: function (e) { if ( ((this.prev = 0), (this.next = 0), (this.sent = this._sent = void 0), (this.done = !1), (this.delegate = null), (this.method = 'next'), (this.arg = void 0), this.tryEntries.forEach(A), !e) ) for (var t in this) 't' === t.charAt(0) && r.call(this, t) && !isNaN(+t.slice(1)) && (this[t] = void 0); }, stop: function () { this.done = !0; var e = this.tryEntries[0].completion; if ('throw' === e.type) throw e.arg; return this.rval; }, dispatchException: function (e) { if (this.done) throw e; var t = this; function n(n, r) { return ( (i.type = 'throw'), (i.arg = e), (t.next = n), r && ((t.method = 'next'), (t.arg = void 0)), !!r ); } for (var o = this.tryEntries.length - 1; o >= 0; --o) { var a = this.tryEntries[o], i = a.completion; if ('root' === a.tryLoc) return n('end'); if (a.tryLoc <= this.prev) { var l = r.call(a, 'catchLoc'), c = r.call(a, 'finallyLoc'); if (l && c) { if (this.prev < a.catchLoc) return n(a.catchLoc, !0); if (this.prev < a.finallyLoc) return n(a.finallyLoc); } else if (l) { if (this.prev < a.catchLoc) return n(a.catchLoc, !0); } else { if (!c) throw new Error('try statement without catch or finally'); if (this.prev < a.finallyLoc) return n(a.finallyLoc); } } } }, abrupt: function (e, t) { for (var n = this.tryEntries.length - 1; n >= 0; --n) { var o = this.tryEntries[n]; if ( o.tryLoc <= this.prev && r.call(o, 'finallyLoc') && this.prev < o.finallyLoc ) { var a = o; break; } } a && ('break' === e || 'continue' === e) && a.tryLoc <= t && t <= a.finallyLoc && (a = null); var i = a ? a.completion : {}; return ( (i.type = e), (i.arg = t), a ? ((this.method = 'next'), (this.next = a.finallyLoc), p) : this.complete(i) ); }, complete: function (e, t) { if ('throw' === e.type) throw e.arg; return ( 'break' === e.type || 'continue' === e.type ? (this.next = e.arg) : 'return' === e.type ? ((this.rval = this.arg = e.arg), (this.method = 'return'), (this.next = 'end')) : 'normal' === e.type && t && (this.next = t), p ); }, finish: function (e) { for (var t = this.tryEntries.length - 1; t >= 0; --t) { var n = this.tryEntries[t]; if (n.finallyLoc === e) return this.complete(n.completion, n.afterLoc), A(n), p; } }, catch: function (e) { for (var t = this.tryEntries.length - 1; t >= 0; --t) { var n = this.tryEntries[t]; if (n.tryLoc === e) { var r = n.completion; if ('throw' === r.type) { var o = r.arg; A(n); } return o; } } throw new Error('illegal catch attempt'); }, delegateYield: function (e, t, n) { return ( (this.delegate = { iterator: S(e), resultName: t, nextLoc: n }), 'next' === this.method && (this.arg = void 0), p ); } }), t ); } function a(e, t, n, r, o, a, i) { try { var l = e[a](i), c = l.value; } catch (u) { return void n(u); } l.done ? t(c) : Promise.resolve(c).then(r, o); } function i(e) { return function () { var t = this, n = arguments; return new Promise(function (r, o) { var i = e.apply(t, n); function l(e) { a(i, r, o, l, c, 'next', e); } function c(e) { a(i, r, o, l, c, 'throw', e); } l(void 0); }); }; } System.register( [ './index-legacy-ffa013bd.js', './index-legacy-f98009d4.js', './index-legacy-530275b0.js', './index-legacy-7557f50e.js', './index-legacy-e3657f89.js', './index-legacy-3039d6c2.js', './index-legacy-e7735b65.js' ], function (e, t) { 'use strict'; var r, a, l, c, u, s, d, f, p, h, g, m, _, v, y; return { setters: [ function (e) { (r = e.D), (a = e.d), (l = e.U), (c = e.x), (u = e.y), (s = e.a), (d = e.A), (f = e.F), (p = e.C), (h = e.V), (g = e.E); }, function (e) { m = e.A; }, function (e) { _ = e.F; }, function (e) { v = e.C; }, function (e) { y = e.F; }, null, null ], execute: function () { var b = document.createElement('style'); (b.textContent = '._container_1484w_1{min-height:100vh;background-color:#005cba;background-image:url(' + new URL('icon_bg-7f4f95b6.png', t.meta.url).href + ');background-repeat:no-repeat;background-size:100%;padding-top:50Px}._container_1484w_1 ._titleIcon_1484w_9{display:block;max-width:100%;height:26Px;margin:.21333rem auto}._title_1484w_9{font-size:.8rem;font-family:AlimamaShuHeiTi-Bold,AlimamaShuHeiTi;font-weight:700;color:#021f67;line-height:.96rem;padding:.32rem .42667rem;text-align:center}._tagWrap_1484w_24{display:flex;justify-content:center}._tagWrap_1484w_24 ._tag_1484w_24{font-size:.42667rem;font-family:Alibaba-PuHuiTi-M,Alibaba-PuHuiTi;font-weight:400;color:#fff;line-height:.58667rem;background:linear-gradient(90deg,#02BAFF 0%,#007AFE 100%);border-radius:.21333rem;margin:0 auto;display:flex;align-items:center;padding:.10667rem .16rem}._tagWrap_1484w_24 ._tag_1484w_24 span{font-size:28Px;color:#c5eefd}._contentWrap_1484w_45{padding-top:5.54667rem}._contentWrap_1484w_45 ._content_1484w_45{background:rgba(255,255,255,.5);border-radius:20Px 20Px 0 0;border:.05333rem solid #FFFFFF;border-bottom:none;padding:.32rem;padding-bottom:50Px}._contentWrap_1484w_45 ._icon_1484w_56{display:block;max-width:100%;height:26Px;margin:.21333rem auto}._contentWrap_1484w_45 ._group_1484w_62{border-radius:18Px;overflow:hidden;margin-bottom:12Px}._contentWrap_1484w_45 ._group_1484w_62 .van-field__control{justify-content:flex-end}._contentWrap_1484w_45 ._group_1484w_62 .van-field__label{font-size:16Px;color:#666}._contentWrap_1484w_45 ._group_1484w_62 .van-field__error-message{text-align:right}._contentWrap_1484w_45 ._radio_1484w_77{padding:.10667rem .26667rem;background:#F5F6FA;border:none;font-size:14Px;line-height:.58667rem;color:#626264;font-weight:400;border-radius:.16rem;margin:0 .16rem}._tips_1484w_88{font-size:.34667rem;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#f64650;line-height:.48rem;background:#FFEBEB;border-radius:8Px;padding:8Px}._submit_1484w_98{margin-top:18Px;background-color:transparent;height:50Px;padding:0;border:none}._submit_1484w_98:before{display:none}._submitIcon_1484w_108{display:block;max-width:100%;max-height:50Px}._successWrap_1484w_113{position:relative;max-width:76vw;display:flex;flex-direction:column;align-items:center}._successWrap_1484w_113 ._p1_1484w_120{position:absolute;max-width:94vw;transform:translate(12Px,-84Px)}._successWrap_1484w_113 ._p2_1484w_125{max-width:100%;position:relative;z-index:1}._successWrap_1484w_113 ._btnWrap_1484w_130{position:relative;top:-2Px;display:flex;flex-direction:column;align-items:center;background-color:#fff;width:100%;border-radius:0 0 16Px 16Px;padding:0 0 20Px}._successWrap_1484w_113 ._btnWrap_1484w_130 ._btnTitle_1484w_141{font-size:17Px;font-family:PingFangSC-Semibold,PingFang SC;font-weight:600;color:#021f67;line-height:24Px;padding:15Px 0;text-align:center}._successWrap_1484w_113 ._btnWrap_1484w_130 ._btnDes_1484w_150{font-size:15Px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#777;line-height:21Px;text-align:center;padding-bottom:20Px}._successWrap_1484w_113 ._btnWrap_1484w_130 ._btn_1484w_130{width:172Px;height:40Px;font-size:16Px;font-family:PingFangSC-Semibold,PingFang SC;font-weight:600;color:#eef8fe;line-height:22Px;background:linear-gradient(135deg,#00B9FF 0%,#007AFF 100%);margin:0 auto}\n'), document.head.appendChild(b); var w = '_container_1484w_1', x = '_titleIcon_1484w_9', P = '_title_1484w_9', E = '_tagWrap_1484w_24', L = '_tag_1484w_24', A = '_contentWrap_1484w_45', C = '_content_1484w_45', S = '_icon_1484w_56', F = '_group_1484w_62', j = '_radio_1484w_77', O = '_tips_1484w_88', k = '_submit_1484w_98', W = '_submitIcon_1484w_108', R = '_successWrap_1484w_113', U = '_p1_1484w_120', I = '_p2_1484w_125', T = '_btnWrap_1484w_130', N = '_btnTitle_1484w_141', z = '_btnDes_1484w_150', V = '_btn_1484w_130', Y = '' + new URL('icon_school-246e55f8.png', t.meta.url).href, M = '' + new URL('icon_person-e885956c.png', t.meta.url).href, q = '' + new URL('icon_submit-1b1e3ed1.png', t.meta.url).href, G = '' + new URL('logo-f2c1f146.png', t.meta.url).href, B = '' + new URL('icon_p1-49eb8f11.png', t.meta.url).href, D = '' + new URL('icon_p2-ecea3fa8.png', t.meta.url).href; e( 'default', a({ name: 'SchoolRegister', setup: function () { var e = l(), t = { nature: [ { label: '公立', value: 'PUBLIC' }, { label: '私立', value: 'PRIVATE' } ], types: [ { label: '小学', value: 'PRIMARY' }, { label: '初中', value: 'JUNIOR' }, { label: '小初一体', value: 'PRIMARY_JUNIOR' } ], grades: [ { label: '六年制', value: 'SIX_YEAR_SYSTEM' }, { label: '五年制', value: 'FIVE_YEAR_SYSTEM' } ], genaral: [ { label: '男', value: '1' }, { label: '女', value: '0' } ] }, a = c({ name: '', regionCode: '', cityCode: '', provinceCode: '', schoolNature: 'PUBLIC', schoolType: 'PRIMARY', gradeYear: 'SIX_YEAR_SYSTEM', emergencyContact: '', emergencyContactPhone: '', educationalAdministrationUsername: '', educationalAdministrationPhone: '', genaral: '1', code: '', buyGoods: !0, tenantId: e.query.id || '', sourceForm: 'TEACHER' }), b = c({ cityName: '', showArea: !1, success: !1, areaList: {}, sendMsg: '发送验证码' }), H = function () { r.get('/edu-app/open/sysArea/queryAllProvince').then( function (e) { var t, n, r, o; 200 === (null == e ? void 0 : e.code) && ((b.areaList = ((t = e.data), (n = {}), (r = {}), (o = {}), t.forEach(function (e) { n[e.code] = e.name; }), t.forEach(function (e) { var t; null === (t = e.areas) || void 0 === t || t.forEach(function (e) { r[e.code] = e.name; }); }), t.forEach(function (e) { var t; null === (t = e.areas) || void 0 === t || t.forEach(function (e) { var t; null === (t = e.areas) || void 0 === t || t.forEach(function (e) { o[e.code] = e.name; }); }); }), { province_list: n, city_list: r, county_list: o })), console.log('🚀 ~ data.areaList:', b.areaList)); } ); }; u(function () { H(); }); var X = (function () { var e = i( o().mark(function e() { return o().wrap( function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return ( (e.prev = 0), (e.next = 3), (t = { clientId: 'cooleshow-student', type: 'REGISTER', mobile: a.educationalAdministrationPhone }), r.post('/edu-app/open/sendSms', { data: t, requestType: 'form' }) ); case 3: J(), g('验证码已发送'), (e.next = 10); break; case 7: (e.prev = 7), (e.t0 = e.catch(0)), (b.sendMsg = '重新发送'); case 10: case 'end': return e.stop(); } var t; }, e, null, [[0, 7]] ); }) ); return function () { return e.apply(this, arguments); }; })(), J = function () { b.sendMsg = '30s'; var e = 30; setInterval(function () { e--, (b.sendMsg = ''.concat(e, 's后重新发送')), e <= 0 && (b.sendMsg = '重新发送'); }, 1e3); }, $ = (function () { var e = i( o().mark(function e() { var t; return o().wrap(function (e) { for (;;) switch ((e.prev = e.next)) { case 0: return ( (e.next = 2), (o = n({}, a)), r.post('/edu-app/open/school/add', { data: o }) ); case 2: 200 === (null == (t = e.sent) ? void 0 : t.code) && (g('提交成功'), (b.success = !0)); case 4: case 'end': return e.stop(); } var o; }, e); }) ); return function () { return e.apply(this, arguments); }; })(); return function () { return s('div', { class: w }, [ s('img', { class: x, src: G }, null), s('div', { class: P }, [e.query.name]), s('div', { class: E }, [ s('div', { class: L }, [ s('span', null, [d('·')]), d(' 音乐数字课堂学校登记 '), s('span', null, [d('·')]) ]) ]), s('div', { class: A }, [ s('div', { class: C }, [ s( _, { onSubmit: function () { return $(); } }, { default: function () { return [ s( v, { class: F }, { default: function () { return [ s('img', { src: Y, class: S }, null), s( y, { border: !0, name: 'name', label: '学校全称', rows: '1', autosize: !0, type: 'textarea', placeholder: '请输入学校全称', inputAlign: 'right', modelValue: a.name, 'onUpdate:modelValue': function ( e ) { return (a.name = e); }, rules: [ { required: !0, message: '请输入学校全称' } ] }, null ), s( y, { isLink: !0, border: !0, label: '所属城市', placeholder: '请选择', readonly: !0, inputAlign: 'right', modelValue: b.cityName, 'onUpdate:modelValue': function ( e ) { return (b.cityName = e); }, onClick: function () { return (b.showArea = !0); }, rules: [ { required: !0, message: '请选择' } ] }, null ), s( y, { center: !0, border: !0, name: 'schoolNature', label: '办学性质' }, { input: function () { return s(f, null, [ t.nature.map(function (e) { return s( p, { class: j, size: 'small', color: e.value === a.schoolNature ? '#198CFE' : '', onClick: function () { return (a.schoolNature = e.value); } }, { default: function () { return [e.label]; } } ); }) ]); } } ), s( y, { center: !0, border: !0, label: '学校类型', labelWidth: '70px' }, { input: function () { return s(f, null, [ t.types.map(function (e) { return s( p, { class: j, size: 'small', color: e.value === a.schoolType ? '#198CFE' : '', onClick: function () { return (a.schoolType = e.value); } }, { default: function () { return [e.label]; } } ); }) ]); } } ), s( y, { center: !0, border: !0, label: '学年制' }, { input: function () { return s(f, null, [ t.grades.map(function (e) { return s( p, { class: j, size: 'small', color: e.value === a.gradeYear ? '#198CFE' : '', onClick: function () { return (a.gradeYear = e.value); } }, { default: function () { return [e.label]; } } ); }) ]); } } ) ]; } } ), s( v, { class: F }, { default: function () { return [ s('img', { src: M, class: S }, null), s( y, { border: !0, name: 'emergencyContact', label: '校长姓名', placeholder: '请输入校长姓名', inputAlign: 'right', maxlength: 6, modelValue: a.emergencyContact, 'onUpdate:modelValue': function ( e ) { return (a.emergencyContact = e); }, rules: [ { required: !0, message: '请输入校长姓名' } ] }, null ), s( y, { border: !0, name: 'emergencyContactPhone', label: '校长联系方式', maxlength: 11, placeholder: '请输入校长手机号码', inputAlign: 'right', modelValue: a.emergencyContactPhone, 'onUpdate:modelValue': function ( e ) { return (a.emergencyContactPhone = e); }, rules: [ { required: !0, message: '请输入校长手机号码' }, { pattern: /^1[3456789]\d{9}$/, message: '请输入正确的手机号码' } ] }, null ), s( y, { border: !0, name: 'educationalAdministrationUsername', label: '负责人姓名', placeholder: '请输入负责人姓名', inputAlign: 'right', maxlength: 6, modelValue: a.educationalAdministrationUsername, 'onUpdate:modelValue': function ( e ) { return (a.educationalAdministrationUsername = e); }, rules: [ { required: !0, message: '请输入负责人姓名' } ] }, null ), s( y, { border: !0, name: 'educationalAdministrationPhone', label: '负责人联系方式', labelWidth: '40%', inputAlign: 'right', placeholder: '请输入负责人手机号码', maxlength: 11, modelValue: a.educationalAdministrationPhone, 'onUpdate:modelValue': function ( e ) { return (a.educationalAdministrationPhone = e); }, rules: [ { required: !0, message: '请输入负责人手机号码' }, { pattern: /^1[3456789]\d{9}$/, message: '请输入正确的手机号码' } ] }, null ), s( y, { center: !0, border: !0, label: '性别' }, { input: function () { return s(f, null, [ t.genaral.map(function (e) { return s( p, { class: j, size: 'small', color: e.value === a.genaral ? '#198CFE' : '', onClick: function () { return (a.genaral = e.value); } }, { default: function () { return [e.label]; } } ); }) ]); } } ), s( y, { border: !0, center: !0, name: 'code', label: '验证码', placeholder: '请输入验证码', modelValue: a.code, 'onUpdate:modelValue': function ( e ) { return (a.code = e); }, maxlength: 6, rules: [ { required: !0, message: '请输入验证码' } ] }, { button: function () { return s( p, { size: 'small', type: 'primary', color: '#198CFE', onClick: function () { return X(); } }, { default: function () { return [b.sendMsg]; } } ); } } ), s( 'div', { style: { padding: '10px 16px' } }, [ s('div', { class: O }, [ d( '负责人即为该学校酷乐秀音乐数字课堂老师端管理员,手机号即为酷乐秀音乐数字课堂老师端账号,默认密码为:ktyq+手机号后四位' ) ]) ] ) ]; } } ), s( p, { class: k, round: !0, block: !0, 'native-type': 'submit' }, { default: function () { return [ s('img', { class: W, src: q }, null) ]; } } ) ]; } } ), s( h, { show: b.showArea, 'onUpdate:show': function (e) { return (b.showArea = e); }, position: 'bottom' }, { default: function () { return [ s( m, { areaList: b.areaList, onCancel: function () { return (b.showArea = !1); }, onConfirm: function (e) { var t = e.selectedOptions; (a.provinceCode = t[0].value), (a.cityCode = t[1].value), (a.regionCode = t[2].value), (b.cityName = t .map(function (e) { return e.text; }) .join('-')), (b.showArea = !1); } }, null ) ]; } } ), s( h, { class: 'popup-custom van-scale', transition: 'van-scale', closeOnClickOverlay: !1, show: b.success, 'onUpdate:show': function (e) { return (b.success = e); } }, { default: function () { return [ s('div', { class: R }, [ s('img', { class: U, src: B }, null), s('img', { class: I, src: D }, null), s('div', { class: T }, [ s('div', { class: N }, [d('您已成功登记')]), s('div', { class: z }, [ d('欢迎您使用酷乐秀音乐数字课堂~') ]), s( p, { class: V, type: 'primary', round: !0 }, { default: function () { return [d('我知道了')]; } } ) ]) ]) ]; } } ) ]) ]) ]); }; } }) ); } }; } ); })();