import { ac as E, c as X, b as W, m as Z, t as z, d as w, ad as K, e as N, w as $, X as j, a as e, k as Q, D as C, E as _, V as b, A as i, L as ee, r as U, x, C as B, z as te, N as k, y as M, R as oe, F as q, U as se, q as ae, P as S, I as G, Q as ne } from './index-0b3380a9.js'; import { M as ue } from './index-919c5bf7.js'; import { M as le } from './index-c2e562a2.js'; import { F as ie, O as de } from './index-1cec3df4.js'; import { R, C as I, u as Y, S as re } from './student-register-store-f0e25580.js'; import { F } from './index-451fefb3.js'; import { I as P } from './index-02bb440b.js'; import { P as V } from './index-3d730154.js'; import { O as ce } from './index-211c0d06.js'; import { C as L } from './index-a7cda64a.js'; import { C as T } from './index-e2c278c3.js'; import { T as O } from './index-f87aeb09.js'; import './plyr-a24de5e8.js'; import './Checker-a18684d0.js'; function pe(t, n) { const { days: r } = n; let { hours: a, minutes: u, seconds: d, milliseconds: f } = n; if ( (t.includes('DD') ? (t = t.replace('DD', E(r))) : (a += r * 24), t.includes('HH') ? (t = t.replace('HH', E(a))) : (u += a * 60), t.includes('mm') ? (t = t.replace('mm', E(u))) : (d += u * 60), t.includes('ss') ? (t = t.replace('ss', E(d))) : (f += d * 1e3), t.includes('S')) ) { const h = E(f, 3); t.includes('SSS') ? (t = t.replace('SSS', h)) : t.includes('SS') ? (t = t.replace('SS', h.slice(0, 2))) : (t = t.replace('S', h.charAt(0))); } return t; } const [me, ge] = X('count-down'), fe = { time: W(0), format: Z('HH:mm:ss'), autoStart: z, millisecond: Boolean }; var he = w({ name: me, props: fe, emits: ['change', 'finish'], setup(t, { emit: n, slots: r }) { const { start: a, pause: u, reset: d, current: f } = K({ time: +t.time, millisecond: t.millisecond, onChange: o => n('change', o), onFinish: () => n('finish') }), h = N(() => pe(t.format, f.value)), y = () => { d(+t.time), t.autoStart && a(); }; return ( $(() => t.time, y, { immediate: !0 }), j({ start: a, pause: u, reset: y }), () => e('div', { role: 'timer', class: ge() }, [ r.default ? r.default(f.value) : h.value ]) ); } }); const _e = Q(he), Ce = '_studentSection_3dvma_7', ye = '_goodsSection_3dvma_25', Se = '_titleTool_3dvma_36', ve = '_titleBuy_3dvma_45', Ae = '_goodsCell_3dvma_52', Fe = '_noSelected_3dvma_57', be = '_selected_3dvma_58', Ee = '_img_3dvma_78', Te = '_brandName_3dvma_91', we = '_model_3dvma_101', De = '_sbtnGroup_3dvma_111', Be = '_btnDetail_3dvma_123', Ie = '_btnVideo_3dvma_124', xe = '_priceCell_3dvma_164', Pe = '_sPriceGroup_3dvma_167', Ne = '_tg_3dvma_175', ke = '_giftCell_3dvma_198', Ge = '_gift_3dvma_198', Re = '_iconGift_3dvma_216', Ve = '_goodsEmpty_3dvma_221', Le = '_shopImg_3dvma_230', Oe = '_goodsContainer_3dvma_234', Ue = '_tips_3dvma_242', Me = '_goSelect_3dvma_247', qe = '_addButton_3dvma_266', Ye = '_paymentContainer_3dvma_285', He = '_needPrice_3dvma_295', Je = '_allPrice_3dvma_308', Xe = '_videoPopup_3dvma_327', s = { 'student-register': '_student-register_3dvma_1', studentSection: Ce, goodsSection: ye, titleTool: Se, titleBuy: ve, goodsCell: Ae, noSelected: Fe, selected: be, delete: '_delete_3dvma_59', img: Ee, brandName: Te, model: we, sbtnGroup: De, btnDetail: Be, btnVideo: Ie, priceCell: xe, sPriceGroup: Pe, tg: Ne, giftCell: ke, gift: Ge, iconGift: Re, goodsEmpty: Ve, shopImg: Le, goodsContainer: Oe, tips: Ue, goSelect: Me, addButton: qe, paymentContainer: Ye, needPrice: He, allPrice: Je, videoPopup: Xe }, We = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAMAAADW3miqAAAAjVBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////8DizOFAAAALnRSTlMA4Y3756eI8JND97N+3co6M+pPKBIE9vLFv2BaHxwYmG9qSiokDwwI1LmuoHNC7/yX5QAAAVdJREFUOMuFktuWgjAMRYMdLBYEFBDxgo7X8Zb//7zRHFiodMF+OjXbJgTonSjwx1rlTjHYncnKMXC4QXurtpJtNX+ivOOXs5pzGyf6cOIJ21DLdwet9GZjUHWvCtai6YV7/JToIUWPKHJgjeqZMc9NDsPXLOfXP8fy66SEtJVTkckhzZl/JSUanbEfOeRrAjeenZAWLMgjBhI3VHFY7AicFUZ9ZUz4d6Av1lcW1LNHhPjUfPedueKKe93NODWaVZOldiHyJTRLG/AP1ZyUbIEI65haJZpJMSXdLyWk+qW4umlplTKFm6qZ9N0ixahxSRcEzyKNUNJEw16pINr1SgFRNumT9s/o9UihvG3TLWGFXqcUIp/GHZLZE4gMc2iRAsb3DpaKeT4EIedVchXzAAIswxbgNDx+LIpBr4bUbTlhQi1iX30oU7JSbn101UWwpw7SQ5yU9MU/KOVbcXkB4UkAAAAASUVORK5CYII=', Ze = '' + new URL('shop-empty-6c02d334.png', import.meta.url).href, ze = '_registerModal_ra8en_1', Ke = '_infoTitle_ra8en_7', $e = '_registerForm_ra8en_13', je = '_tips_ra8en_20', Qe = '_codeText_ra8en_40', et = '_submitBtn_ra8en_45', v = { registerModal: ze, infoTitle: Ke, registerForm: $e, tips: je, codeText: Qe, submitBtn: et }, tt = '' + new URL('info-title-1f45c1de.png', import.meta.url).href, ot = '_imgCode_mq980_1', st = '_codeTitle_mq980_4', at = '_img_mq980_1', nt = '_imgChange_mq980_16', ut = '_field_mq980_23', lt = '_imgCodePopup_mq980_27', A = { imgCode: ot, codeTitle: st, img: at, imgChange: nt, field: ut, imgCodePopup: lt }, it = w({ name: 'o-img-code', props: { value: Boolean, phone: [String, Number], type: { type: String, default: 'LOGIN' } }, emits: ['close', 'sendCode'], data() { return { isSuffix: '/edu-app', showStatus: !1, identifyingCode: null, code: '' }; }, mounted() { (this.showStatus = this.value), this.sendImgCode(); }, watch: { value(t) { this.showStatus = t; }, code(t) { t.length >= 4 && this.checkVerifyLoginImage(); } }, methods: { async sendImgCode() { const { data: t } = await C.get(this.isSuffix + '/open/sendImgCode', { requestType: 'form', hideLoading: !0, params: { phone: this.phone } }); this.identifyingCode = t; }, async updateIdentifyingCode() { this.sendImgCode(); }, async checkVerifyLoginImage() { try { if (this.code.length < 4) return; await C.post('/edu-app/open/verifyImgCode', { requestType: 'form', hideLoading: !0, data: { phone: this.phone, code: this.code } }), await C.post('/edu-app/open/sendSms', { requestType: 'form', hideLoading: !0, data: { clientId: 'cooleshow-student', type: 'REGISTER', mobile: this.phone } }), setTimeout(() => { _('验证码已发送'); }, 100), this.$emit('close'), this.$emit('sendCode'); } catch (t) { (this.code = ''), this.updateIdentifyingCode(); } } }, render() { return e( b, { show: this.showStatus, class: A.imgCodePopup, closeOnClickOverlay: !1, onClose: () => { this.$emit('close'); }, closeable: !0, closeIcon: 'close' }, { default: () => [ e('div', { class: A.imgCode }, [ e('p', { class: A.codeTitle }, [i('输入图形验证码')]), e(R, null, { default: () => [ e( I, { span: '14' }, { default: () => [ e( F, { placeholder: '请输入验证码', modelValue: this.code, 'onUpdate:modelValue': t => (this.code = t), class: A.field, autocomplete: 'off' }, null ) ] } ), e( I, { span: '10', class: A.img }, { default: () => [ e( P, { src: this.identifyingCode, onClick: () => this.updateIdentifyingCode() }, { loading: () => e(ee, { type: 'spinner', size: '20' }, null) } ) ] } ) ] }), e( R, { style: { display: 'flex', justifyContent: 'end' } }, { default: () => [ e( I, { span: '10' }, { default: () => [ e( 'span', { class: A.imgChange, onClick: () => this.updateIdentifyingCode() }, [i('看不清?换一换')] ) ] } ) ] } ) ]) ] } ); } }), dt = Y(), H = []; for (let t = 1; t <= 40; t++) H.push({ text: t + '班', value: t }); const rt = w({ name: 'register-modal', props: { schoolId: { type: String, default: '' }, gradeYear: { type: String, default: '' }, schoolType: { type: String, default: '' } }, emits: ['close', 'submit'], setup(t, { emit: n }) { const r = U(), a = N(() => { let l = []; const p = [ { text: '一年级', value: 1 }, { text: '二年级', value: 2 }, { text: '三年级', value: 3 }, { text: '四年级', value: 4 }, { text: '五年级', value: 5 } ], c = [{ text: '六年级', value: 6 }], g = [ { text: '七年级', value: 7 }, { text: '八年级', value: 8 }, { text: '九年级', value: 9 } ]; return ( t.gradeYear === 'FIVE_YEAR_SYSTEM' ? l.push([...p]) : t.gradeYear === 'SIX_YEAR_SYSTEM' ? l.push([...p, ...c]) : t.gradeYear === 'THREE_YEAR_SYSTEM' ? l.push([...g]) : t.gradeYear === 'FORE_YEAR_SYSTEM' ? l.push([...c, ...g]) : l.push([...p, ...c, ...g]), console.log(l, t.schoolType, t.gradeYear), l ); }), u = x({ countDownStatus: !0, countDownTime: 1e3 * 120, modelValue: !1, imgCodeStatus: !1, gradeNumText: '', currentClassText: '', gradeStatus: !1, classStatus: !1, loading: !1 }), d = x({ autoRegister: !0, client_id: 'cooleshow-student', client_secret: 'cooleshow-student', extra: { nickname: '', currentGradeNum: '', currentClass: '' }, grant_type: 'password', loginType: 'SMS', password: '', username: '' }), f = () => { (u.countDownStatus = !1), te(() => { r.value.start(); }); }, h = () => { if (!k(d.username)) return _('请输入正确的手机号码'); u.imgCodeStatus = !0; }, y = () => { (u.countDownStatus = !0), r.value.reset(); }, o = async () => { try { if (m()) return; u.loading = !0; const { extra: l, ...p } = d, { data: c } = await C.post('/edu-app/userlogin', { hideLoading: !1, requestType: 'form', data: { ...p, extra: JSON.stringify({ ...l, schoolId: t.schoolId }) } }); dt.setToken(c.token_type + ' ' + c.access_token), n('close'), n('submit'); } catch (l) { } finally { u.loading = !1; } }, m = () => { if (k(d.username)) if (d.password) if (d.extra.nickname) if (d.extra.currentGradeNum) { if (!d.password) return _('请选择所在班级'), !0; } else return _('请选择所在年级'), !0; else return _('请输入学生姓名'), !0; else return _('请输入验证码'), !0; else return _('请输入正确的手机号码'), !0; return !1; }; return () => e('div', { class: v.registerModal }, [ e('img', { src: tt, class: v.infoTitle }, null), e( ie, { labelAlign: 'top', class: v.registerForm }, { default: () => [ e( F, { clearable: !0, label: '联系方式(直接监护人)', placeholder: '请输入手机号码', type: 'tel', autocomplete: 'off', modelValue: d.username, 'onUpdate:modelValue': l => (d.username = l), maxlength: 11 }, { label: () => e('div', null, [ i('联系方式(直接监护人)'), e('p', { class: v.tips }, [ i('手机号是数字化器乐课堂的唯一登录账户') ]) ]) } ), e( F, { center: !0, clearable: !0, label: '验证码', placeholder: '请输入验证码', autocomplete: 'off', type: 'number', modelValue: d.password, 'onUpdate:modelValue': l => (d.password = l), maxlength: 6 }, { button: () => u.countDownStatus ? e('span', { class: v.codeText, onClick: h }, [ i('获取验证码') ]) : e( _e, { ref: l => (r.value = l), 'auto-start': !1, time: u.countDownTime, onFinish: y, format: 'ss秒' }, null ) } ), e( F, { clearable: !0, label: '学生姓名', placeholder: '请输入学生姓名', autocomplete: 'off', modelValue: d.extra.nickname, 'onUpdate:modelValue': l => (d.extra.nickname = l) }, null ), e( F, { clearable: !0, label: '所在年级', placeholder: '请选择年级', isLink: !0, readonly: !0, clickable: !1, modelValue: u.gradeNumText, onClick: () => (u.gradeStatus = !0) }, null ), e( F, { clearable: !0, label: '所在班级', placeholder: '请选择班级', isLink: !0, readonly: !0, clickable: !1, modelValue: u.currentClassText, onClick: () => (u.classStatus = !0) }, null ) ] } ), e( de, { center: !0, modelValue: u.modelValue, 'onUpdate:modelValue': l => (u.modelValue = l), prototcolType: 'REGISTER' }, null ), e( B, { type: 'primary', class: v.submitBtn, color: 'linear-gradient(121deg, #FFD892 0%, #FFCB75 100%)', block: !0, onClick: o, disabled: u.loading, loading: u.loading }, { default: () => [i('确认')] } ), u.imgCodeStatus ? e( it, { value: u.imgCodeStatus, 'onUpdate:value': l => (u.imgCodeStatus = l), phone: d.username, onClose: () => { u.imgCodeStatus = !1; }, onSendCode: f }, null ) : null, e( b, { show: u.gradeStatus, 'onUpdate:show': l => (u.gradeStatus = l), position: 'bottom', round: !0, safeAreaInsetBottom: !0, lazyRender: !1, class: 'popupBottomSearch' }, { default: () => [ e( V, { showToolbar: !0, columns: a.value, onCancel: () => (u.gradeStatus = !1), onConfirm: l => { const p = l.selectedOptions[0]; (d.extra.currentGradeNum = p.value), (u.gradeNumText = p.text), (u.gradeStatus = !1); } }, null ) ] } ), e( b, { show: u.classStatus, 'onUpdate:show': l => (u.classStatus = l), position: 'bottom', round: !0, class: 'popupBottomSearch' }, { default: () => [ e( V, { showToolbar: !0, columns: H, onCancel: () => (u.classStatus = !1), onConfirm: l => { const p = l.selectedOptions[0]; (d.extra.currentClass = p.value), (u.currentClassText = p.text), (u.classStatus = !1); } }, null ) ] } ) ]); } }), J = t => { if (t === null) return null; const n = Object.assign({}, t); return ( Object.keys(n).forEach( r => (n[r] = typeof t[r] == 'object' ? J(t[r]) : t[r]) ), Array.isArray(t) ? ((n.length = t.length), Array.from(n)) : n ); }, ct = '_wxPopupDialog_1sfd3_1', pt = '_popupContainer_1sfd3_16', mt = '_title1_1sfd3_22', gt = '_popupTips_1sfd3_29', D = { wxPopupDialog: ct, popupContainer: pt, title1: mt, popupTips: gt }, ft = w({ name: 'm-wx-tip', props: { show: { type: Boolean, default: !0 }, title: { type: String, default: '温馨提示' }, message: { type: String, default: '请使用微信打开' } }, setup(t) { const n = U(!1); return ( M(() => { if (!oe().weixin && t.show) { n.value = !0; return; } }), () => e(q, null, [ e( b, { show: n.value, 'onUpdate:show': r => (n.value = r), round: !0, style: { width: '88%' }, closeOnClickOverlay: !1, class: D.wxPopupDialog }, { default: () => [ e('div', { class: D.popupContainer }, [ e('p', { class: D.title1 }, [t.title]), e('p', { class: D.popupTips }, [t.message]) ]) ] } ) ]) ); } }), It = w({ name: 'student-register', setup() { const t = se(), n = Y(), r = ae(); n.setShoolId(t.query.sId); const a = x({ schoolId: t.query.sId, popupShow: !1, popupRegister: !1, details: [], schoolType: '', gradeYear: '', bugGoods: !1, submitLoading: !1, dialogStatus: !1, dialogMessage: '', dialogConfig: {}, code: '' }), u = async () => { try { const { data: o } = await C.get('/edu-app/userPaymentOrder/unpaid'); o.id && ((a.dialogMessage = '您有待支付的订单,是否继续支付'), (a.dialogStatus = !0), (a.dialogConfig = o)); } catch (o) {} }, d = async () => { try { const { data: o } = await C.get( '/edu-app/open/userOrder/registerGoods/' + a.schoolId, { noAuthorization: !0 } ); n.setVip(o.details || []), (a.details = J(o.details || [])), (a.bugGoods = o.bugGoods), (a.schoolType = o.schoolType), (a.gradeYear = o.gradeYear), console.log(n.getGoods); } catch (o) {} }, f = N(() => { let o = 0, m = 0; return ( n.getVip.forEach(c => { (o += Number(c.currentPrice)), (m += Number(c.originalPrice)); }), n.getGoods.forEach(c => { (o += Number(c.price) * c.quantity), (m += Number(c.originalPrice) * c.quantity); }), { amount: o, originAmount: m } ); }), h = o => { ne({ message: '是否删除该商品', confirmButtonColor: '#FF8633' }).then( () => { n.deleteGoods(o.goodsId); } ); }, y = async () => { try { if (((a.submitLoading = !0), await u(), a.dialogStatus)) { a.submitLoading = !1; return; } const o = await C.get( '/edu-app/userPaymentOrder/registerStatus/' + a.schoolId ), m = n.getVip, l = n.getGoods; if (o.data.hasBuyCourse && m.length > 0) { setTimeout(() => { _('您已购买数字化器乐学练工具,请勿重复购买'); }, 100); return; } if (m.length <= 0 && l.length <= 0) { setTimeout(() => { _('请选择需要购买的商品'); }, 100); return; } const p = []; m.forEach(g => { p.push({ goodsId: g.goodsId, goodsNum: 1, goodsType: g.goodsType, paymentCashAmount: g.currentPrice, paymentCouponAmount: 0 }); }), l.forEach(g => { p.push({ goodsId: g.productId, goodsNum: g.quantity, goodsType: 'INSTRUMENTS', paymentCashAmount: g.price, paymentCouponAmount: 0, goodsSkuId: g.productSkuId }); }); const { data: c } = await C.post( '/edu-app/userPaymentOrder/executeOrder', { hideLoading: !1, data: { paymentType: 'adapay', bizId: a.schoolId, orderType: 'SCHOOL_REGISTER', paymentCashAmount: f.value.amount || 0, paymentCouponAmount: 0, goodsInfos: p, orderName: '学生登记', orderDesc: '学生登记' } } ); r.push({ path: '/order-detail', query: { pm: 1, config: JSON.stringify({ ...c.paymentConfig, paymentType: c.paymentType }), orderNo: c.orderNo } }); } finally { a.submitLoading = !1; } }; return ( M(() => { d(); }), () => e('div', { class: s['student-register'] }, [ e( 'div', { class: s.studentSection, style: { marginTop: '18px' } }, [ e('div', { class: s.titleTool }, null), a.details.map(o => e( L, { class: s.goodsSection, onClick: () => { n.selectedVip(o.goodsId) ? n.deleteVip(o.goodsId) : n.setVip([o]); } }, { default: () => [ e( T, { border: !1, class: s.goodsCell }, { icon: () => e(P, { class: s.img, src: o.goodsUrl }, null), title: () => e('div', { class: s.section }, [ e('div', { class: s.sectionContent }, [ e('h2', null, [ o.goodsName, e( O, { class: s.brandName }, { default: () => [i('12个月')] } ) ]), e('p', { class: [s.model] }, [o.description]), e('div', { class: s.sbtnGroup }, [ e( 'span', { class: s.btnDetail, onClick: m => { m.stopPropagation(), r.push('/student-digital-tools'); } }, [i('查看详情')] ), e( 'span', { class: s.btnVideo, onClick: m => { m.stopPropagation(), (a.popupShow = !0); } }, [i('介绍视频')] ) ]) ]), e( 'i', { class: n.selectedVip(o.goodsId) ? s.selected : s.noSelected }, null ) ]) } ), e( T, { border: !1, class: s.priceCell }, { title: () => e('div', { class: s.sPriceGroup }, [ e('div', { class: s.tg }, [ i('团购价:'), e('span', null, [ e('i', null, [i('¥ ')]), S(o.currentPrice) ]) ]), e('del', null, [i('¥'), S(o.originalPrice)]) ]) } ), e( T, { border: !1, class: s.giftCell }, { title: () => e('div', { class: s.gift }, [ e('img', { src: We, class: s.iconGift }, null), i('现在购买赠送 '), e('span', null, [o.membershipDays || 0]), i('天有效期') ]) } ) ] } ) ) ] ), a.bugGoods && e(q, null, [ e('div', { class: s.studentSection }, [ e('div', { class: s.titleBuy }, null), n.getGoods && n.getGoods.length <= 0 ? e('div', { class: s.goodsEmpty }, [ e('img', { src: Ze, class: s.shopImg }, null), e('div', { class: s.goodsContainer }, [ e('h2', null, [ i('为你的'), e('span', null, [i('音乐之旅')]), i('做好准备') ]), e('p', { class: s.tips }, [i('快去选购乐器吧~')]), e( B, { class: s.goSelect, type: 'primary', onClick: () => { r.push('/goods-list'); } }, { default: () => [ i('进入商城选购'), e(G, { name: 'arrow' }, null) ] } ) ]) ]) : n.getGoods.map(o => e( L, { class: s.goodsSection }, { default: () => [ e( T, { border: !1, class: s.goodsCell }, { icon: () => e(P, { class: s.img, src: o.pic }, null), title: () => e('div', { class: s.section }, [ e('div', { class: s.sectionContent }, [ e('h2', null, [ o.name, e( O, { class: s.brandName }, { default: () => [o.brandName] } ) ]), e('p', { class: [s.model] }, [ i('规格:'), o.spDataJson ]), e('p', { class: [s.model] }, [ o.productSn ]), e( re, { min: 1, max: 99, modelValue: o.quantity, 'onUpdate:modelValue': m => (o.quantity = m) }, null ) ]), e( 'i', { class: s.delete, onClick: () => h(o) }, null ) ]) } ), e( T, { border: !1, class: s.priceCell }, { title: () => e('div', { class: s.sPriceGroup }, [ e('div', { class: s.tg }, [ i('团购价:'), e('span', null, [ e('i', null, [i('¥ ')]), S(o.price) ]) ]), e('del', null, [ i('¥'), S(o.originalPrice) ]) ]) } ) ] } ) ) ]), n.getGoods && n.getGoods.length > 0 && e( B, { class: s.addButton, block: !0, onClick: () => { r.push('/goods-list'); } }, { default: () => [ e(G, { name: 'add-o' }, null), i('进入商城选购') ] } ) ]), e( ue, { position: 'bottom' }, { default: () => [ e('div', { class: s.paymentContainer }, [ e('div', { class: s.payemntPrice }, [ e('span', { class: s.needPrice }, [ e('i', { style: 'font-style: normal' }, [i('¥ ')]), e('span', null, [S(f.value.amount)]) ]), e('del', { class: s.allPrice }, [ i('¥ '), S(f.value.originAmount) ]) ]), e( 'div', { class: s.paymentBtn, onClick: () => { n.getToken ? y() : (a.popupRegister = !0); } }, [ e( B, { disabled: a.submitLoading, loading: a.submitLoading }, { default: () => [i('确认购买')] } ) ] ) ]) ] } ), e( b, { show: a.popupShow, 'onUpdate:show': o => (a.popupShow = o), class: s.videoPopup }, { default: () => [ a.popupShow && e( le, { src: 'https://daya.ks3-cn-beijing.ksyun.com/202105/SWmqmvW.mp4' }, null ) ] } ), e( b, { show: a.popupRegister, 'onUpdate:show': o => (a.popupRegister = o), class: s.registerPopup, position: 'bottom', round: !0 }, { default: () => [ e( rt, { schoolId: a.schoolId, schoolType: a.schoolType, gradeYear: a.gradeYear, onClose: () => (a.popupRegister = !1), onSubmit: y }, null ) ] } ), e( ce, { title: '提示', show: a.dialogStatus, 'onUpdate:show': o => (a.dialogStatus = o), message: a.dialogMessage, confirmButtonText: '继续支付', cancelButtonText: '取消订单', showCancelButton: !0, onConfirm: () => { const o = a.dialogConfig.paymentConfig; r.push({ path: '/order-detail', query: { pm: 1, config: JSON.stringify(o.paymentConfig), orderNo: o.orderNo } }); }, onCancel: async () => { try { await C.post( '/edu-app/userPaymentOrder/cancelPayment/' + a.dialogConfig.orderNo ); } catch (o) {} } }, null ), e(ft, null, null) ]) ); } }); export { It as default };