1 |
- !function(){function e(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 t(t){for(var r=1;r<arguments.length;r++){var o=null!=arguments[r]?arguments[r]:{};r%2?e(Object(o),!0).forEach((function(e){n(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):e(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}function n(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e,t,n,r,o,i,a){try{var u=e[i](a),s=u.value}catch(c){return void n(c)}u.done?t(s):Promise.resolve(s).then(r,o)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(o,i){var a=e.apply(t,n);function u(e){r(a,o,i,u,s,"next",e)}function s(e){r(a,o,i,u,s,"throw",e)}u(void 0)}))}}var i=document.createElement("style");i.innerHTML='._preApply_126yu_1{--van-tab-active-text-color: var(--van-primary-color);--van-tab-text-color: #333;--van-tab-font-size: .42667rem}._preApply_126yu_1 .van-tab{font-weight:600}._preApply_126yu_1 .van-tabs__wrap{padding-bottom:.08rem}._preApply_126yu_1 .van-field__error-message{text-align:right}._preApply_126yu_1 ._popupContainer_126yu_15 ._dialogTitle_126yu_15{text-align:left;font-size:.48rem;font-weight:500;color:#333;line-height:.66667rem;padding:.53333rem 0 .53333rem .66667rem}._preApply_126yu_1 ._popupContainer_126yu_15 ._dialogTitle_126yu_15 i{display:inline-block;width:.10667rem;height:.37333rem;background:#ff8057;border-radius:.05333rem;margin-right:.16rem}._preApply_126yu_1 ._popupContainer_126yu_15 ._popupTips_126yu_31{text-align:center;padding:.4rem 0 1.2rem;font-size:.42667rem}._preApply_126yu_1 ._banner_126yu_36{background:url(./assets/banner.288a8f8c.png) no-repeat center center;background-size:cover;height:3.78667rem;width:100%}._preApply_126yu_1 ._banner_126yu_36 ._orchestraName_126yu_42{display:block;padding:2.29333rem .48rem 0;max-width:6.13333rem;font-size:.42667rem;color:#fff;text-align:justify}._applyTitle_126yu_50{display:flex;align-items:center;padding:.53333rem .53333rem .32rem;font-size:.42667rem;font-weight:600;color:#333}._applyTitle_126yu_50:before{display:inline-block;content:" ";margin-right:.16rem;width:.10667rem;height:.37333rem;background:linear-gradient(180deg,#ffb790 0%,#ff8057 100%);border-radius:.08rem}._applyCellGroup_126yu_67{margin:0 .34667rem}._applyCellGroup_126yu_67 .van-cell{font-size:.42667rem;padding:.48rem .32rem}._radioSection_126yu_74{position:relative;min-width:.85333rem;justify-content:center}._radioSection_126yu_74 ._radioItem_126yu_79{position:absolute;top:0;left:0;right:0;bottom:0;opacity:0}._radioSection_126yu_74+._radioSection_126yu_74{margin-left:.32rem}._mlr13_126yu_90{margin:0 .34667rem}._paymentTips_126yu_93{background:#ffffff;border-radius:.26667rem;padding:.32rem .37333rem;margin-bottom:.32rem;font-size:.37333rem;color:#777;font-size:400;line-height:.53333rem;text-align:justify}._paymentContainer_126yu_104{display:flex;align-items:center;justify-content:space-between;font-size:.37333rem;padding:.4rem .32rem calc(.4rem + env(safe-area-inset-bottom)) .32rem}._paymentContainer_126yu_104 ._needPrice_126yu_111{display:flex;align-items:center;color:#333;padding-bottom:.18667rem}._paymentContainer_126yu_104 ._needPrice_126yu_111 span{font-size:.58667rem;font-weight:700;color:#ff4e19}._paymentContainer_126yu_104 ._needPrice_126yu_111 span span{font-size:.48rem;margin-right:.05333rem}._paymentContainer_126yu_104 ._allPrice_126yu_126{color:#aaa}._paymentContainer_126yu_104 .van-button{height:1.06667rem;line-height:1.06667rem;min-width:2.98667rem}._sectionCell_126yu_134{margin-bottom:.32rem;padding:.4rem .32rem;border-radius:.26667rem;overflow:hidden;--van-checkbox-border-color: transparent}._sectionCell_126yu_134 .van-cell{padding:0}._sectionCell_126yu_134 ._checkbox_126yu_144{margin-right:.32rem}._sectionCell_126yu_134 ._extra_126yu_147{padding:.26667rem 0 0 .93333rem}._sectionCell_126yu_134 ._extra_126yu_147 ._sectionPrice_126yu_150{display:flex;align-items:center;color:#aaa;font-weight:600;flex-wrap:wrap}._sectionCell_126yu_134 ._extra_126yu_147 ._price_126yu_157{display:flex;align-items:center;font-size:.37333rem;color:#333;padding-right:.32rem;font-weight:400}._sectionCell_126yu_134 ._extra_126yu_147 ._price_126yu_157 span{font-size:.42667rem;font-weight:700;color:#ff4e19}._sectionCell_126yu_134 ._extra_126yu_147 ._price_126yu_157 ._free_126yu_170{font-size:.37333rem}._sectionCell_126yu_134 ._gives_126yu_173{margin-top:.48rem;padding-top:.21333rem;border-top:.02667rem solid #f2f2f2}._sectionCell_126yu_134 ._gives_126yu_173 ._sectionTips_126yu_178{display:flex;align-items:center;font-size:.37333rem;color:#ff4e19;padding:.13333rem .16rem;background:#ffebdd;border-radius:.16rem}._sectionCell_126yu_134 ._gives_126yu_173 ._iconGives_126yu_187{width:.85333rem;height:.48rem;margin-right:.21333rem}._sectionCell_126yu_134 ._iconChecked_126yu_192{font-size:.48rem}._sectionCell_126yu_134 ._iconChecked_126yu_192 .van-icon__image{width:100%;height:100%}._sectionCell_126yu_134 .van-checkbox__icon--disabled .van-icon{border-color:transparent;background-color:transparent;opacity:.6}._sectionCell_126yu_134 .van-checkbox__icon--checked .van-icon{border-color:transparent;background-color:transparent}._numFont_126yu_208{font-family:DINA}._numFont_126yu_208 ._numPrefix_126yu_211{font-size:.37333rem!important;margin-right:.05333rem}._section_126yu_134{display:flex}._section_126yu_134 ._img_126yu_218{width:2.34667rem;height:2.34667rem;border-radius:.16rem;overflow:hidden;flex-shrink:0;margin-right:.37333rem}._section_126yu_134 h2{font-size:.42667rem;font-weight:500;color:#333;line-height:.58667rem}._section_126yu_134 ._brandName_126yu_232{line-height:.48rem;font-size:.32rem;padding:0 .16rem;border-radius:.10667rem}._section_126yu_134 ._model_126yu_238{padding-top:.08rem;font-size:.34667rem;color:#777;line-height:.48rem}._orderCellGroup_126yu_244{margin:0 .34667rem .32rem}._orderCellGroup_126yu_244 .van-cell{padding-left:.32rem;padding-right:.32rem}._payTime_126yu_251{font-size:.42667rem;color:#777;flex:0 auto}._payStatus_126yu_256{color:#ff4e19}._paySuccess_126yu_259{color:var(--van-primary)}._imgGroup_126yu_262{padding:.4rem .32rem .48rem .16rem!important}._imgGroup_126yu_262 ._img_126yu_218{width:1.86667rem;height:1.86667rem;border-radius:.16rem;overflow:hidden}._imgGroup_126yu_262 .van-grid-item__content{padding:0}._imgGroup_126yu_262 ._orderPriceInfo_126yu_274{display:flex;align-content:center}._imgGroup_126yu_262 ._orderPriceInfo_126yu_274>div{flex:1 auto}._imgGroup_126yu_262 ._orderPriceInfo_126yu_274 ._orderPriceNum_126yu_281{flex:0 auto;width:2.66667rem;text-align:right;display:flex;flex-direction:column;justify-content:center}._imgGroup_126yu_262 ._orderPriceInfo_126yu_274 ._orderPriceNum_126yu_281 ._opNums_126yu_289{font-size:.42667rem;font-family:DINA;font-weight:700;color:#333;line-height:.37333rem}._imgGroup_126yu_262 ._orderPriceInfo_126yu_274 ._orderPriceNum_126yu_281 ._opNums_126yu_289 span{font-size:.32rem}._imgGroup_126yu_262 ._orderPriceInfo_126yu_274 ._orderPriceNum_126yu_281 ._opBuyLength_126yu_299{font-size:.34667rem;color:#777;line-height:.48rem}._btnGroup_126yu_304{padding-top:0}._btnGroup_126yu_304 ._btnPrice_126yu_307{font-family:DINA;font-size:.58667rem;font-weight:700;color:#ff4e19}._btnGroup_126yu_304 .van-cell__value{flex:1 auto;display:flex;justify-content:flex-end}._btnGroup_126yu_304 .van-button{height:.8rem;line-height:.8rem;min-width:2.13333rem}._btnGroup_126yu_304 .van-button+.van-button{margin-left:.26667rem}._btnGroup_126yu_304 ._btns_126yu_326{display:flex}._preApplyC_126yu_329{--van-dialog-message-font-size: .42667rem !important}._dialogTitle_126yu_15{padding-left:.66667rem;text-align:left;font-size:.48rem;font-weight:500;color:#333;line-height:.66667rem;padding-bottom:.32rem}._dialogTitle_126yu_15 i{display:inline-block;width:.10667rem;height:.37333rem;background:#ff8057;border-radius:.05333rem;margin-right:.16rem}._dialogRefund_126yu_349{padding:.53333rem 0 .4rem .66667rem}._refundContent_126yu_352{padding:0 .53333rem .66667rem}._refundContent_126yu_352 ._tips_126yu_355{font-size:.4rem;color:#333;line-height:.56rem}._container_126yu_360 .van-button{font-size:.48rem;font-weight:500}._refundTitle_126yu_364{padding-top:.66667rem;font-size:.42667rem;font-weight:600;color:#333;line-height:.58667rem}._refundTitle_126yu_364 span{color:#f44541}._phoneName_126yu_374{background:#f2f2f2;border-radius:.16rem}\n',document.head.appendChild(i),System.register(["./index-legacy.48c8d62c.js","./index-legacy.cbf38263.js","./index-legacy.269a0b91.js","./index-legacy.55fe5b03.js","./index-legacy.085e5a7e.js","./index-legacy.93204044.js","./index-legacy.384d768f.js","./index-legacy.8cf5f94f.js","./index-legacy.5f9a78b4.js","./countUp.min-legacy.52e432a0.js","./index-legacy.d1078003.js","./index-legacy.5a3e4145.js","./index-legacy.4e061cf8.js","./index-legacy.23554efd.js","./index-legacy.087e0425.js","./index-legacy.0e0de364.js","./index-legacy.8895675d.js","./index-legacy.04f465c8.js","./index-legacy.8429fc95.js","./index-legacy.a2ac81dd.js","./index-legacy.ef66d7bb.js","./Checker-legacy.3526dce7.js","./function-call-legacy.ac971547.js","./ImagePreview-legacy.caacc6f4.js","./index-legacy.71047e87.js","./index-legacy.c75fe8a2.js","./use-tab-status-legacy.6949b1de.js"],(function(e){"use strict";var n,r,i,a,u,s,c,l,d,p,f,g,_,m,y,h,b,x,v,C,I,k,A,S,P,T,w,N,j,G,R,F,B,V,O,U,z,E,D,q,L,Y,M,K,H,X,Z;return{setters:[function(e){n=e.d,r=e.aV,i=e.ag,a=e.r,u=e.$,s=e.c,c=e.q,l=e.o,d=e.B,p=e.P,f=e.aW,g=e.m,_=e.F,m=e.a5,y=e.b3,h=e._,b=e.ai,x=e.ak,v=e.e,C=e.bh,I=e.bi,k=e.bf},function(e){A=e.F},function(e){S=e.C},function(e){P=e.F},function(e){T=e.R,w=e.a},function(e){N=e.T},function(e){j=e.P},function(e){G=e.O},function(e){R=e.i,F=e.M,B=e.G},function(e){V=e.C},function(e){O=e.O},function(e){U=e.O},function(e){z=e.C},function(e){E=e.C},function(e){D=e.C},function(e){q=e.I},function(e){L=e.a},function(e){Y=e.L},function(e){M=e.G,K=e.a},function(e){H=e.S},function(e){X=e.T,Z=e.a},function(){},function(){},function(){},function(){},function(){},function(){}],execute:function(){for(var J={preApply:"_preApply_126yu_1",popupContainer:"_popupContainer_126yu_15",dialogTitle:"_dialogTitle_126yu_15",popupTips:"_popupTips_126yu_31",banner:"_banner_126yu_36",orchestraName:"_orchestraName_126yu_42",applyTitle:"_applyTitle_126yu_50",applyCellGroup:"_applyCellGroup_126yu_67",radioSection:"_radioSection_126yu_74",radioItem:"_radioItem_126yu_79",mlr13:"_mlr13_126yu_90",paymentTips:"_paymentTips_126yu_93",paymentContainer:"_paymentContainer_126yu_104",needPrice:"_needPrice_126yu_111",allPrice:"_allPrice_126yu_126",sectionCell:"_sectionCell_126yu_134",checkbox:"_checkbox_126yu_144",extra:"_extra_126yu_147",sectionPrice:"_sectionPrice_126yu_150",price:"_price_126yu_157",free:"_free_126yu_170",gives:"_gives_126yu_173",sectionTips:"_sectionTips_126yu_178",iconGives:"_iconGives_126yu_187",iconChecked:"_iconChecked_126yu_192",numFont:"_numFont_126yu_208",numPrefix:"_numPrefix_126yu_211",section:"_section_126yu_134",img:"_img_126yu_218",brandName:"_brandName_126yu_232",model:"_model_126yu_238",orderCellGroup:"_orderCellGroup_126yu_244",payTime:"_payTime_126yu_251",payStatus:"_payStatus_126yu_256",paySuccess:"_paySuccess_126yu_259",imgGroup:"_imgGroup_126yu_262",orderPriceInfo:"_orderPriceInfo_126yu_274",orderPriceNum:"_orderPriceNum_126yu_281",opNums:"_opNums_126yu_289",opBuyLength:"_opBuyLength_126yu_299",btnGroup:"_btnGroup_126yu_304",btnPrice:"_btnPrice_126yu_307",btns:"_btns_126yu_326",preApplyC:"_preApplyC_126yu_329",dialogRefund:"_dialogRefund_126yu_349",refundContent:"_refundContent_126yu_352",tips:"_tips_126yu_355",container:"_container_126yu_360",refundTitle:"_refundTitle_126yu_364",phoneName:"_phoneName_126yu_374"},Q=[],W=1;W<=40;W++)Q.push({text:W+"班",value:W});var $=n({name:"apply",props:{schoolSystem:{type:String,default:"sixYearSystem"},registerInfo:{type:Object,defualt:{}},code:{type:String,default:""}},emits:["next"],setup:function(e,n){n.slots,n.attrs;var _=n.emit,m=r();i();var y=a({detail:{},currentGrade:[{text:"一年级",value:1},{text:"二年级",value:2},{text:"三年级",value:3},{text:"四年级",value:4},{text:"五年级",value:5}],classList:Q,subjectList:[],gradeStatus:!1,classStatus:!1,subjectStatus:!1,pattern:/^1(3|4|5|6|7|8|9)\d{9}$/,nameReg:/^[\u4E00-\u9FA5]+$/,subjectChangeStatus:!1}),h=a({username:null,sex:null,currentGrade:null,currentGradeTxt:null,currentClass:"",currentClassTxt:null,registerSubjectId:"",registerSubjectTxt:null,parentName:null,phone:null}),b=function(){var e=o(regeneratorRuntime.mark((function e(){var t,n,r,o,i,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,g.get("/api-student/orchestraRegister/register/"+m.query.id);case 3:t=e.sent,n=t.data,r=n||{},y.detail=r,o=y.currentGrade.find((function(e){return e.value==r.currentGrade})),i=y.classList.find((function(e){return e.value==r.currentClass})),a=y.subjectList.find((function(e){return e.value==r.registerSubjectId})),h.username=r.username,h.sex=r.sex?1:0,h.currentGrade=r.currentGrade,h.currentGradeTxt=o?o.text:"",h.currentClass=r.currentClass,h.currentClassTxt=i.text,h.registerSubjectId=r.registerSubjectId,h.registerSubjectTxt=a?a.text:"",h.parentName=r.parentName,h.phone=r.phone,e.next=25;break;case 22:e.prev=22,e.t0=e.catch(0),console.log(e.t0);case 25:case"end":return e.stop()}}),e,null,[[0,22]])})));return function(){return e.apply(this,arguments)}}(),x=function(){var e=o(regeneratorRuntime.mark((function e(){var t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,g.post("/api-student/open/orchestraSubjectConfig/pageByOrchestraId",{data:{orchestraId:m.query.id,page:1,rows:100}});case 3:t=e.sent,(t.data.rows||[]).forEach((function(e){y.subjectList.push({text:e.name,value:e.subjectId})})),e.next=10;break;case 8:e.prev=8,e.t0=e.catch(0);case 10:case"end":return e.stop()}}),e,null,[[0,8]])})));return function(){return e.apply(this,arguments)}}(),v=function(e){return y.nameReg.test(e)&&e.length>=2&&e.length<=15},C=function(e){return e?y.nameReg.test(e)?e.length<2||e.length>15?"学员姓名必须为2~15个字":"":"学员姓名必须为中文":"请填写学员真实姓名"},I=function(){var n=o(regeneratorRuntime.mark((function n(){var r;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,r=t({orchestraId:m.query.id,schoolId:y.detail.schoolId},h),y.detail.id&&(r.id=y.detail.id),n.next=5,g.post("/api-student/orchestraRegister/save",{hideLoading:!1,data:t(t({},r),{},{code:e.code})});case 5:setTimeout((function(){_("next","payment")}),100),n.next=10;break;case 8:n.prev=8,n.t0=n.catch(0);case 10:case"end":return n.stop()}}),n,null,[[0,8]])})));return function(){return n.apply(this,arguments)}}();return u(o(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,x();case 2:return"sixYearSystem"===e.schoolSystem&&y.currentGrade.push({text:"六年级",value:6}),t.next=5,b();case 5:case"end":return t.stop()}}),t)})))),function(){return s("div",{class:J.preApplyC},[s(A,{validateFirst:!0,scrollToError:!0,onSubmit:I,ref:"form",class:J.form},{default:function(){return[s("div",{class:J.applyTitle},[c("学生信息")]),s(S,{inset:!0,class:J.applyCellGroup},{default:function(){return[s(P,{required:!0,label:"学生信息",placeholder:"请填写学生真实姓名",inputAlign:"right",modelValue:h.username,"onUpdate:modelValue":function(e){return h.username=e},maxlength:15,rules:[{validator:v,message:C}]},null),s(P,{required:!0,label:"性别",inputAlign:"right",rules:[{required:!0,message:"请选择性别"}]},{input:function(){return s(T,{modelValue:h.sex,"onUpdate:modelValue":function(e){return h.sex=e}},{default:function(){return[s(N,{size:"large",type:"primary",color:1!==h.sex?"#EAEAEA":"#FF8057",textColor:1!==h.sex?"#AAA":"#FFF",class:J.radioSection,round:!0},{default:function(){return[s(w,{class:J.radioItem,name:1},null),c("男生")]}}),s(N,{size:"large",type:"primary",color:0!==h.sex?"#EAEAEA":"#FF8057",textColor:0!==h.sex?"#AAA":"#FFF",class:J.radioSection,round:!0},{default:function(){return[s(w,{class:J.radioItem,name:0},null),c("女生")]}})]}})}}),s(P,{required:!0,label:"年级",inputAlign:"right",readonly:!0,isLink:!0,placeholder:"请选择年级",modelValue:h.currentGradeTxt,"onUpdate:modelValue":function(e){return h.currentGradeTxt=e},onClick:function(){return y.gradeStatus=!0},rules:[{required:!0,message:"请选择年级"}]},null),s(P,{required:!0,label:"班级",inputAlign:"right",readonly:!0,isLink:!0,placeholder:"请选择班级",modelValue:h.currentClassTxt,"onUpdate:modelValue":function(e){return h.currentClassTxt=e},onClick:function(){return y.classStatus=!0},rules:[{required:!0,message:"请选择班级"}]},null)]}}),s("div",{class:J.applyTitle},[c("声部信息")]),s(S,{inset:!0,class:J.applyCellGroup},{default:function(){return[s(P,{required:!0,label:"声部",inputAlign:"right",readonly:!0,isLink:!0,placeholder:"请选择声部",modelValue:h.registerSubjectTxt,"onUpdate:modelValue":function(e){return h.registerSubjectTxt=e},onClick:function(){var t,n,r;y.subjectList.length<=0?l("暂无报名声部"):"LEARNING"===(null===(t=e.registerInfo)||void 0===t?void 0:t.registerStatus)||"OUTOF_ORCHESTRA"===(null===(n=e.registerInfo)||void 0===n?void 0:n.registerStatus)&&(null===(r=e.registerInfo)||void 0===r?void 0:r.orderNumber)>0?y.subjectChangeStatus=!0:y.subjectStatus=!0},rules:[{required:!0,message:"请选择声部"}]},null)]}}),s("div",{class:J.applyTitle},[c("家长信息")]),s(S,{inset:!0,class:J.applyCellGroup},{default:function(){return[s(P,{required:!0,label:"家长姓名",inputAlign:"right",placeholder:"请填写家长真实姓名",modelValue:h.parentName,"onUpdate:modelValue":function(e){return h.parentName=e},maxlength:15,rules:[{required:!0,message:"请填写家长真实姓名"}]},null),s(P,{required:!0,label:"手机号",inputAlign:"right",placeholder:"请输入手机号",modelValue:h.phone,"onUpdate:modelValue":function(e){return h.phone=e},maxlength:11,type:"tel",rules:[{pattern:y.pattern,message:"输入监护人手机号码有误"}]},null)]}}),s("div",{class:"btnGroup",style:{paddingTop:"30px"}},[s(d,{type:"primary",round:!0,block:!0,"native-type":"submit"},{default:function(){return[c("下一步")]}})])]}}),s(p,{show:y.gradeStatus,"onUpdate:show":function(e){return y.gradeStatus=e},position:"bottom",round:!0,safeAreaInsetBottom:!0,lazyRender:!1,class:"popupBottomSearch"},{default:function(){return[s(j,{showToolbar:!0,columns:y.currentGrade,onCancel:function(){return y.gradeStatus=!1},onConfirm:function(e){var t=e.selectedOptions[0];h.currentGrade=t.value,h.currentGradeTxt=t.text,y.gradeStatus=!1}},null)]}}),s(p,{show:y.classStatus,"onUpdate:show":function(e){return y.classStatus=e},position:"bottom",round:!0,class:"popupBottomSearch"},{default:function(){return[s(j,{showToolbar:!0,columns:y.classList,onCancel:function(){return y.classStatus=!1},onConfirm:function(e){var t=e.selectedOptions[0];h.currentClass=t.value,h.currentClassTxt=t.text,y.classStatus=!1}},null)]}}),s(p,{show:y.subjectStatus,"onUpdate:show":function(e){return y.subjectStatus=e},position:"bottom",round:!0,class:"popupBottomSearch"},{default:function(){return[s(j,{showToolbar:!0,columns:y.subjectList,onCancel:function(){return y.subjectStatus=!1},onConfirm:function(e){var t=e.selectedOptions[0];h.registerSubjectId=t.value,h.registerSubjectTxt=t.text,y.subjectStatus=!1}},null)]}}),s(f,{show:y.subjectChangeStatus,"onUpdate:show":function(e){return y.subjectChangeStatus=e},message:"您已有报名订单,不可更换声部",messageAlign:"center",confirmButtonText:"确定"},{title:function(){return s("div",{class:J.dialogTitle},[s("i",null,null),c("提示")])}})])}}}),ee="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAeCAYAAAA/xX6fAAAAAXNSR0IArs4c6QAAAn5JREFUSEu9lk1ME0EUx3/T0hYa0BBNJCZEDVGiB48GDsjNix4pFTHePXgwKmoQXSpoKCfPXhQJgnjUizflQOPZBI0mRJRAgIiIVVpCx8xutx90t9sPs3Pcee/93nvzn9kncHkJJ54EgdbdAeIsgnYkRxE06n6SdQSfkcyCfI32Ykaor0VWUaDUznch5BCSVqfE9H3BJ6S4I7TJl3b2lkB5P3SEHc8E0FYSqNAohjd1QQxMz+/eKgDKSE8nqZTKcH+FMNNtDY+nS9x9/jY3Th4wDXsD+KuEme5JPJ4zudAMMN3G9/+hst25ruFNnTLbmwVq4dkqzsypITGhTbUbulLqVmpETjt5VbcvQkq9Qr9ng+G5kqVfKVVdmXtTx4XUuk+DyFNSpTEJ7oH6vbDyzSaE7BRSC0eBGxVDTMcDh+BSP9Q1wNMIfJ2zChkVcjD8DklHVcCDLXDxNtTVw3YSHvfDqkWVghlV4RLQZAv01oCUkNqxNmk+Br23IBCEZAImR2H+g124ZVXhFpKApYXK+PKosfVsGFa/55sdPgE9feCvhcRfmBiBhY/2zRIkigMbGuHKI/D54feGcTZri0bAlpMQvga+AGzFYfwhLH4pfjI60KmleuDraehPeBKBfU0Qugo1PvizCeMPYKngnbaC6y11Fk1u6+K/oDYI6mzjGzA2DCsLpWkuLZoRoM/Ro7kVem8a4lBrcx3GhrItdgygG0TLu/hK/kqR2wkD9mO5NEzGSl38cp82JRK1FLScZT5tysfVx9tMUrr5e9KrNOYY937AOtSYZ9wZMTKtdXOIykDdHBNzle7aIJwHzY765xC02Yz6MZCvqh71y7nXpdr+AzQ6A1zwOYWrAAAAAElFTkSuQmCC",te="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAAAXNSR0IArs4c6QAAAk9JREFUSEvFljFoVEEQhr+5A1NdISgImiKFhCTYihYxnSgRxZA3AbGRaKeChVYWr7AxjaB2GmxEyDwvYjAodpoiwVZyElJYaFBQsHiNEd6NbHgXLmpyd0FettydmX/n35nZX2ix3F3MbLBUKg27+1HgoIjsDm7u/gNYFpH5er0+q6pzIuJbhZStDs1sFLgF9La6WH6+BNxU1aeb2f8T0Mx63P2JiBzJHT8Bz4FZ4D3wLd/fCxwChoEzQHee+YKInFPVj38C/wVoZkNAuOEeYEVEYnd/pKpZCzbKInLB3WNgP/AdGFXVN81+GwBzsNfALmAmTdPz4+PjaZt0rplNTk5WKpXKY+A08As43gy6DhhoBN6FzETk7uLi4rU4juudgDVs4zguDQwM3HH3q3mmhxv0rgNOTU3N5282U6vVzm4XrBm0v7//WcjU3RfGxsZChbMGmFdjEt4sTdO+TmncjIWc3g/5m0aheiX0WZIkYbNXRC5FUfRwOzRu5pMkyUV3fwAsRVHUJ9Vq9ViWZaGSQun3tKrGTi9jZmUgtEe3uw+FKTIBXAfuq+qVTgO2Y29m94DLIjIR6Hzr7oPASVV91U6ATm3M7ATwUkTmQoZfgH3AAVVd6TRYO/ZmFgbBZ+BryPCnu3cBXaoaGvW/LzMLg2RVRFaLB9wJSgsrGmAuUHrb3W8U1haFN37ho63w4d1oukK/pzzLYj/gHDTomWIkRoPaQkVUE2hxMrF5chcmhJtBQ59OT08PZll2Kogsd98g9UVkOYikcrn8YmRkpKXU/w3FMJTtm1XXOwAAAABJRU5ErkJggg==",ne=n({name:"payment",emits:["next"],setup:function(){var e=r(),n=i(),p=a({check:[],checkboxRefs:[],details:[],goodsInfo:{},textBookInfo:{},repaireInfo:{},vipInfo:{},paymentOrderDetails:[],orderInfo:{needPrice:0,originalPrice:0},memberBaoStatus:!1,goodsStatus:!1,selectGoodsId:null,currentPrice:0,selectGoodsInfo:{},dialogStatus:!1,dialogMessage:"",dialogConfig:{}}),f=function(){var e=o(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,g.get("/api-student/userPaymentOrder/unpaid");case 3:t=e.sent,(n=t.data).id&&(p.dialogMessage="您有待支付的订单,是否继续支付",p.dialogStatus=!0,p.dialogConfig=n),e.next=10;break;case 8:e.prev=8,e.t0=e.catch(0);case 10:case"end":return e.stop()}}),e,null,[[0,8]])})));return function(){return e.apply(this,arguments)}}(),b=function(){var n=o(regeneratorRuntime.mark((function n(){var r,o,i;return regeneratorRuntime.wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,g.get("/api-student/orchestraRegister/registerGoods/"+e.query.id);case 3:r=n.sent,o=r.data,(o.paymentOrderDetails||[]).forEach((function(e){p.paymentOrderDetails.push(e.goodsType)})),(i=o.details||[]).forEach((function(e){if("INSTRUMENTS"===e.goodsType){var n=e.goodsUrl?e.goodsUrl.split(",")[0]:"";p.goodsInfo=t(t({},e),{},{goodsUrl:n})}else if("TEXTBOOK"===e.goodsType){var r=e.goodsUrl?e.goodsUrl.split(",")[0]:"";p.textBookInfo=t(t({},e),{},{goodsUrl:r})}else"REPAIR"===e.goodsType?p.repaireInfo=t({},e):"VIP"===e.goodsType&&(p.vipInfo=t({},e));p.details=i,p.paymentOrderDetails.includes(e.goodsType)||"REPAIR"===e.goodsType||p.check.push(e.goodsId)})),v(),n.next=14;break;case 12:n.prev=12,n.t0=n.catch(0);case 14:case"end":return n.stop()}}),n,null,[[0,12]])})));return function(){return n.apply(this,arguments)}}(),x=function(e){p.checkboxRefs[e].toggle(),v()},v=function(){var e=p.details,t={needPrice:0,originalPrice:0};e.forEach((function(e){p.check.includes(e.goodsId)&&!p.paymentOrderDetails.includes(e.goodsType)&&(t.needPrice+=parseFloat(e.currentPrice||0),t.originalPrice+=parseFloat(e.originalPrice||0))})),p.orderInfo=t,I()},C=a({needPrice:null,originalPrice:null}),I=function(){h((function(){C.needPrice?C.needPrice.update(p.orderInfo.needPrice):(C.needPrice=new V("needPrice",p.orderInfo.needPrice,{decimalPlaces:2}),C.needPrice.error?console.error(C.needPrice.error):C.needPrice.start())}))},k=function(){var t=o(regeneratorRuntime.mark((function t(){var r,o,i,a,u,s;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(t.prev=0,!(p.check.length<=0)){t.next=4;break}return l("请选择您要购买的商品"),t.abrupt("return");case 4:return v(),r=[],o=p.details,i=!1,o.forEach((function(e){p.check.includes(e.goodsId)&&!p.paymentOrderDetails.includes(e.goodsType)&&r.push({goodsId:e.goodsId,goodsNum:1,goodsType:e.goodsType,paymentCashAmount:e.currentPrice,paymentCouponAmount:0}),"INSTRUMENTS"===e.goodsType&&p.check.includes(e.goodsId)&&!p.paymentOrderDetails.includes(e.goodsType)&&(i=!0)})),a=p.repaireInfo,i&&a.goodsId&&r.push({goodsId:a.goodsId,goodsNum:1,goodsType:a.goodsType,paymentCashAmount:a.currentPrice,paymentCouponAmount:0}),console.log({bizId:e.query.id,orderType:"ORCHESTRA",paymentCashAmount:p.orderInfo.needPrice||0,paymentCouponAmount:0,goodsInfos:r}),t.next=14,g.post("/api-student/userPaymentOrder/executeOrder",{hideLoading:!1,data:{bizId:e.query.id,orderType:"ORCHESTRA",paymentCashAmount:p.orderInfo.needPrice||0,paymentCouponAmount:0,goodsInfos:r,orderName:"乐团报名缴费",orderDesc:"乐团报名缴费"}});case 14:u=t.sent,s=u.data,console.log(s),n.push({path:"/orderDetail",query:{pm:1,config:JSON.stringify(s.paymentConfig),orderNo:s.orderNo}}),t.next=23;break;case 20:t.prev=20,t.t0=t.catch(0),console.log(t.t0);case 23:case"end":return t.stop()}}),t,null,[[0,20]])})));return function(){return t.apply(this,arguments)}}();return u((function(){b(),f()})),function(){return s(_,null,[s("div",{class:J.applyTitle},[c("报名须知")]),s("div",{class:[J.paymentTips,J.mlr13]},[s("p",null,[c("1、您注册时所选择的乐团声部,即为乐团录取最终确认的声部,请您务必仔细填写;")]),s("p",null,[c("2、所有参与乐团的学生免费赠送选报声部教材,教材随乐器一同发放,若您自备乐器,则需承担教材运费。")])]),s(z,{modelValue:p.check,"onUpdate:modelValue":function(e){return p.check=e},style:{paddingBottom:"20px"},onChange:function(){v()}},{default:function(){return[!p.paymentOrderDetails.includes("INSTRUMENTS")&&s(_,null,[s(S,{inset:!0,class:[J.mlr13,J.sectionCell],onClick:function(){return x(p.goodsInfo.goodsId)}},{default:function(){return[s(D,{border:!1},{icon:function(){return s(E,{name:p.goodsInfo.goodsId,class:J.checkbox,ref:function(e){return p.checkboxRefs[p.goodsInfo.goodsId]=e},onClick:function(e){e.stopPropagation()}},{icon:function(e){return s(m,{class:J.iconChecked,name:e.checked?ee:te},null)}})},title:function(){return s("div",{class:J.section},[s(q,{class:J.img,src:p.goodsInfo.goodsUrl,onClick:function(e){e.stopPropagation(),p.selectGoodsId=p.goodsInfo.goodsId,p.currentPrice=p.goodsInfo.currentPrice,p.selectGoodsInfo={showFree:!0,originalPrice:p.repaireInfo.originalPrice},p.goodsStatus=!0}},null),s("div",{class:J.sectionContent},[s("h2",{onClick:function(e){e.stopPropagation(),p.selectGoodsId=p.goodsInfo.goodsId,p.currentPrice=p.goodsInfo.currentPrice,p.goodsStatus=!0}},[p.goodsInfo.goodsName]),s(N,{color:"linear-gradient(135deg, #FF8C4A 0%, #FF531C 100%)",textColor:"#fff",class:J.brandName},{default:function(){return[p.goodsInfo.brandName]}}),s("p",{class:[J.model,"van-multi-ellipsis--l2"]},[p.goodsInfo.description])])])}}),s(D,{border:!1},{title:function(){return s("div",{class:J.extra},[s("div",{class:J.sectionPrice},[s("p",{class:J.price},[c("团购价:"),s("span",{class:J.numFont},[s("span",{class:J.numPrefix},[c("¥ ")]),y(p.goodsInfo.currentPrice)])]),s("p",{class:J.originPrice},[c("原价:"),s("del",{class:J.numFont},[c("¥ "),y(p.goodsInfo.originalPrice)])])])])}}),s(D,{center:!0,class:J.gives},{title:function(){return s("div",{class:J.sectionTips},[s(q,{src:R,class:J.iconGives},null),c("赠价值"),p.repaireInfo.originalPrice,c("元乐器维保服务一年")])}})]}})]),!p.paymentOrderDetails.includes("VIP")&&s(_,null,[s(S,{inset:!0,class:[J.mlr13,J.sectionCell],onClick:function(){return x(p.vipInfo.goodsId)}},{default:function(){return[s(D,{border:!1},{icon:function(){return s(E,{name:p.vipInfo.goodsId,class:J.checkbox,ref:function(e){return p.checkboxRefs[p.vipInfo.goodsId]=e},onClick:function(e){e.stopPropagation()}},{icon:function(e){return s(m,{class:J.iconChecked,name:e.checked?ee:te},null)}})},title:function(){return s("div",{class:J.section},[s(q,{class:J.img,src:p.vipInfo.goodsUrl,onClick:function(e){e.stopPropagation(),p.memberBaoStatus=!0}},null),s("div",{class:J.sectionContent},[s("h2",{onClick:function(e){e.stopPropagation(),p.memberBaoStatus=!0}},[p.vipInfo.goodsName]),s(N,{color:"linear-gradient(135deg, #FF8C4A 0%, #FF531C 100%)",textColor:"#fff",class:J.brandName},{default:function(){return[c("6个月")]}}),s("p",{class:[J.model,"van-multi-ellipsis--l2"]},[p.vipInfo.description])])])}}),s(D,null,{title:function(){return s("div",{class:J.extra},[s("div",{class:J.sectionPrice},[s("p",{class:J.price},[c("团购价:"),s("span",{class:J.numFont},[s("span",{class:J.numPrefix},[c("¥")]),y(p.vipInfo.currentPrice)])]),s("p",{class:J.originPrice},[c("原价:"),s("del",{class:J.numFont},[c("¥ "),y(p.vipInfo.originalPrice)])])])])}})]}})]),!p.paymentOrderDetails.includes("TEXTBOOK")&&s(_,null,[s(S,{inset:!0,class:[J.mlr13,J.sectionCell],onClick:function(){}},{default:function(){return[s(D,{border:!1},{icon:function(){return s(E,{name:p.textBookInfo.goodsId,disabled:!0,class:J.checkbox,ref:function(e){return p.checkboxRefs[p.textBookInfo.goodsId]=e},onClick:function(e){e.stopPropagation()}},{icon:function(e){return s(m,{class:J.iconChecked,name:e.checked?ee:te},null)}})},title:function(){return s("div",{class:J.section},[s(q,{class:J.img,src:p.textBookInfo.goodsUrl,onClick:function(e){e.stopPropagation(),p.selectGoodsId=p.textBookInfo.goodsId,p.currentPrice=p.textBookInfo.currentPrice,p.selectGoodsInfo={},p.goodsStatus=!0}},null),s("div",{class:J.sectionContent},[s("h2",{onClick:function(e){e.stopPropagation(),p.selectGoodsId=p.textBookInfo.goodsId,p.currentPrice=p.textBookInfo.currentPrice,p.selectGoodsInfo={},p.goodsStatus=!0}},[p.textBookInfo.goodsName]),s(N,{color:"linear-gradient(135deg, #FF8C4A 0%, #FF531C 100%)",textColor:"#fff",class:J.brandName},{default:function(){return[p.textBookInfo.brandName]}}),s("p",{class:[J.model,"van-multi-ellipsis--l2"]},[p.textBookInfo.description])])])}}),s(D,null,{title:function(){return s("div",{class:J.extra},[s("div",{class:J.sectionPrice},[s("p",{class:J.price},[c("团购价:"),s("span",{class:[p.textBookInfo.currentPrice>0?J.numFont:J.free]},[p.textBookInfo.currentPrice>0?s(_,null,[s("span",{class:J.numPrefix},[c("¥ ")]),y(p.textBookInfo.currentPrice)]):"免费"])]),s("p",{class:J.originPrice},[c("原价:"),s("del",{class:J.numFont},[c("¥ "),y(p.textBookInfo.originalPrice)])])])])}})]}})])]}}),s(G,{position:"bottom",background:"white"},{default:function(){return[s("div",{class:J.paymentContainer},[s("div",{class:J.payemntPrice},[s("p",{class:J.needPrice},[c("支付金额:"),s("span",{class:J.numFont},[s("span",null,[c("¥ ")]),s("i",{style:"font-style: normal",id:"needPrice"},null)])]),s("p",{class:J.allPrice},[s("del",{class:J.numFont},[c("总原价:¥ "),y(p.orderInfo.originalPrice)])])]),s("div",{class:J.paymentBtn},[s(d,{color:"linear-gradient(135deg, #FF8C4A 0%, #FF531C 100%)",round:!0,onClick:k},{default:function(){return[c("立即购买")]}})])])]}}),s(O,{modelValue:p.memberBaoStatus,"onUpdate:modelValue":function(e){return p.memberBaoStatus=e},position:"right"},{default:function(){return[s(F,null,null)]}}),s(O,{modelValue:p.goodsStatus,"onUpdate:modelValue":function(e){return p.goodsStatus=e},position:"right",destroy:!0},{default:function(){return[p.goodsStatus&&s(B,{id:p.selectGoodsId,groupPrice:p.currentPrice,goodsInfo:p.selectGoodsInfo},null)]}}),s(U,{title:"提示",show:p.dialogStatus,"onUpdate:show":function(e){return p.dialogStatus=e},message:p.dialogMessage,confirmButtonText:"继续支付",cancelButtonText:"取消订单",showCancelButton:!0,onConfirm:function(){var e=p.dialogConfig.paymentConfig;n.push({path:"/orderDetail",query:{pm:1,config:JSON.stringify(e.paymentConfig),orderNo:e.orderNo}})},onCancel:(e=o(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,g.post("/api-student/userPaymentOrder/cancelPayment/"+p.dialogConfig.orderNo);case 3:e.next=7;break;case 5:e.prev=5,e.t0=e.catch(0);case 7:case"end":return e.stop()}}),e,null,[[0,5]])}))),function(){return e.apply(this,arguments)})},null)]);var e}}});var re=n({name:"order",emits:["next"],setup:function(){var e=i(),n=r(),l=a({isClick:!1,list:[],listState:{dataShow:!0,loading:!1,finished:!1},params:{page:1,rows:20},resionList:[],refundStatus:!1,resion:null,refundSelect:{},checked:null}),d=function(){var e=o(regeneratorRuntime.mark((function e(){var r,o,i;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(e.prev=0,!l.isClick){e.next=3;break}return e.abrupt("return");case 3:return l.isClick=!0,e.next=6,g.post("/api-student/userPaymentOrder/page",{data:t(t({},l.params),{},{bizId:n.query.id,goodsQuery:!0})});case 6:if(r=e.sent,l.listState.loading=!1,o=r.data||{},!(l.list.length>0&&1===o.current)){e.next=11;break}return e.abrupt("return");case 11:(i=o.rows||[]).goodsInfos&&i.goodsInfos.forEach((function(e){var t=e.goodsUrl?e.goodsUrl.split(",")[0]:"";e.goodsUrl=t})),l.list=l.list.concat(i),l.listState.finished=o.current>=o.pages,l.params.page=o.current+1,l.listState.dataShow=l.list.length>0,l.isClick=!1,e.next=25;break;case 20:e.prev=20,e.t0=e.catch(0),l.listState.dataShow=!1,l.listState.finished=!0,l.isClick=!1;case 25:case"end":return e.stop()}}),e,null,[[0,20]])})));return function(){return e.apply(this,arguments)}}();return u((function(){d()})),function(){var t,n;return s("div",{style:{paddingTop:"20px"}},[l.listState.dataShow?s(Y,{finished:l.listState.finished,finishedText:" ",class:[J.liveList],onLoad:d,immediateCheck:!1},(n=t=l.list.map((function(t){return s(S,{inset:!0,class:J.orderCellGroup,onClick:function(){return function(t){e.push({path:"payment-result",query:{orderNo:t.orderNo,refund:"refund"}})}(t)}},{default:function(){return[s(D,{title:t.createTime,titleClass:J.payTime,value:L[t.status],valueClass:"WAIT_PAY"===t.status?J.payStatus:"PAID"===t.status?J.paySuccess:""},null),s(D,{border:!1,class:J.imgGroup,center:!0},{title:function(){return s("div",{class:J.orderPriceInfo},[s(M,{border:!1,columnNum:3},{default:function(){return[t.goodsInfos&&t.goodsInfos.map((function(e,t){return t<3&&s(K,null,{default:function(){return[s(q,{class:J.img,src:e.goodsUrl},null)]}})}))]}}),s("div",{class:J.orderPriceNum},[s("div",{class:J.opNums},[s("span",null,[c("¥ ")]),y(t.currentPrice)]),s("div",{class:J.opBuyLength},[c("共"),t.goodsInfos&&t.goodsInfos.length||0,c("件")])])])}})]}})})),"function"==typeof n||"[object Object]"===Object.prototype.toString.call(n)&&!x(n)?t:{default:function(){return[t]}})):s(b,{btnStatus:!1,tips:"暂无订单"},null)])}}});e("default",n({name:"pre-apply",setup:function(){var e=r(),n=i(),u=a({tabValue:"apply",heightV:235,registerInfo:{},purchase:!1,register:!0,code:"",dialogStatus:!1,dialogMessage:"",testIsWeixin:!1}),c=function(){var e=o(regeneratorRuntime.mark((function e(t){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if("payment"!==t){e.next=3;break}return e.next=3,l();case 3:h((function(){u.tabValue=t,window.scrollTo(0,0)}));case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),l=function(){var t=o(regeneratorRuntime.mark((function t(){var n,r,o;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,g.get("/api-student/orchestraRegister/registerStatus/"+e.query.id);case 3:if(n=t.sent,r=n.data,u.registerInfo=r||{},"OUTOF_ORCHESTRA"===r.registerStatus?h((function(){u.tabValue="apply"})):(u.register=r.register,r.register&&h((function(){u.tabValue="payment"})),r.purchase&&(u.purchase=r.purchase,h((function(){u.tabValue="order"})))),"REGISTER"===(o=r.status)||"DOING"===o||"DONE"===o){t.next=12;break}return u.dialogMessage="乐团建设中,请稍等",u.dialogStatus=!0,t.abrupt("return");case 12:if(!(r.registerOrchestra>=1)){t.next=16;break}return u.dialogMessage="您已在其它乐团",u.dialogStatus=!0,t.abrupt("return");case 16:t.next=20;break;case 18:t.prev=18,t.t0=t.catch(0);case 20:case"end":return t.stop()}}),t,null,[[0,18]])})));return function(){return t.apply(this,arguments)}}(),d=function(){var t=o(regeneratorRuntime.mark((function t(n){var r,o;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if("apply"!==n){t.next=11;break}return t.prev=1,t.next=4,g.get("/api-student/orchestraRegister/registerStatus/"+e.query.id);case 4:r=t.sent,o=r.data,u.registerInfo=o||{},t.next=11;break;case 9:t.prev=9,t.t0=t.catch(1);case 11:window.scrollTo(0,0);case 12:case"end":return t.stop()}}),t,null,[[1,9]])})));return function(e){return t.apply(this,arguments)}}(),p=function(){var e=o(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,g.get("/api-student/open/paramConfig/wechatAppId");case 3:t=e.sent,(n=t.data)&&k(n),e.next=10;break;case 8:e.prev=8,e.t0=e.catch(0);case 10:case"end":return e.stop()}}),e,null,[[0,8]])})));return function(){return e.apply(this,arguments)}}();if(u.testIsWeixin)l();else if(v().weixin){var f=C();f?(u.code=f,l()):p()}else{I();var _=t({returnUrl:e.path},e.query);n.replace({path:"/loginMusic",query:_})}return function(){return s("div",{class:J.preApply},[s("div",{class:J.banner},[s("p",{class:J.orchestraName},[u.registerInfo.orchestraName])]),s(H,{position:"top"},{default:function(){return[s(X,{lineWidth:20,lineHeight:4,active:u.tabValue,"onUpdate:active":function(e){return u.tabValue=e},onChange:function(e){return d(e)}},{default:function(){return[s(Z,{title:"报名信息",name:"apply",disabled:u.purchase},null),s(Z,{title:"缴费信息",name:"payment",disabled:u.purchase||!u.register},null),s(Z,{title:"我的订单",name:"order",disabled:!u.register},null)]}})]}}),"apply"===u.tabValue&&s($,{onNext:c,code:u.code,registerInfo:u.registerInfo,schoolSystem:u.registerInfo.schoolSystem},null),"payment"===u.tabValue&&s(ne,{onNext:c},null),"order"===u.tabValue&&s(re,{onNext:c},null),s(U,{title:"提示",show:u.dialogStatus,"onUpdate:show":function(e){return u.dialogStatus=e},message:u.dialogMessage,confirmButtonText:"确定",onConfirm:function(){I();var r=t({returnUrl:e.path},e.query);n.replace({path:"/loginMusic",query:r})}},null)])}}}))}}}))}();
|