SignUpPayment.0c9b3559.js 32 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["SignUpPayment"],{"1a6a":function(t,e,n){},"2d9b":function(t,e,n){},3908:function(t,e,n){"use strict";n.d(e,"a",(function(){return a}));n("433b");var r=n("d399");function a(t){t?r["a"].loading({duration:0,forbidClick:!0,message:"加载中..."}):r["a"].clear()}},4053:function(t,e,n){"use strict";n.r(e);var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"signUpPayment"},[n("m-step",{attrs:{number:4}}),n("van-cell-group",[n("van-cell",{attrs:{title:"报考专业:",border:!1},scopedSlots:t._u([{key:"default",fn:function(){return[t._v(t._s(t.orderInfo.subjectName))]},proxy:!0}])}),n("van-cell",{attrs:{title:"乐理知识:",border:!1},scopedSlots:t._u([{key:"default",fn:function(){return[t._v(t._s(t.orderInfo.examMusicTheoryLevel))]},proxy:!0}])}),n("van-cell",{attrs:{title:"预计考试日期:",border:!1},scopedSlots:t._u([{key:"default",fn:function(){return[t._v(t._s(t.orderInfo.examStartTime))]},proxy:!0}])}),n("van-cell",{attrs:{title:"报名费用:",border:!1},scopedSlots:t._u([{key:"default",fn:function(){return[t._v("¥"+t._s(t.orderInfo.fee))]},proxy:!0}])})],1),n("div",{staticClass:"notice"},[t._v("\n 请考生于考试两周前严格按照系统要求进行报名及缴费,确保所填信息准确无误,确认之后所有信息无法更改,如因填写内容有误而造成损失,责任由报考者本人承担;请考生在报名缴费前确认可在考试时间内参加考试,最终以准考证上的考试信息为准,请务必按照要求参加考试,否则视为弃考。考生如无法保证按照准考证信息参加考试请慎重报考,报名费用一旦支付后均不允许更改报考级别或退款。\n ")]),n("div",{staticClass:"pay-group"},[n("div",{staticClass:"pay-amount"},[n("span",[t._v("¥")]),t._v(t._s(t.orderInfo.fee)+"\n ")]),n("div",{staticClass:"pay-btn"},[n("van-button",{attrs:{color:"#2DC7AA",round:""},on:{click:t.onSubmit}},[t._v("确认并支付")])],1)]),n("m-payment",{attrs:{closeStatus:t.isStatus,amount:Number(t.payMoney),payment:t.payment},on:{onChangeStatus:t.onChangeStatus}})],1)},a=[],i=n("a34a"),o=n.n(i),s=n("ab6b"),u=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"mpayment"},[r("van-popup",{style:{minHeight:"30%"},attrs:{"close-on-click-overlay":!1,"close-icon-position":"top-left",position:"bottom",round:"",closeOnPopstate:!0,"safe-area-inset-bottom":!0},model:{value:t.isShow,callback:function(e){t.isShow=e},expression:"isShow"}},[r("i",{staticClass:"van-icon van-icon-cross van-popup__close-icon van-popup__close-icon--top-left",on:{click:t.onClose}}),r("div",{staticClass:"title van-hairline--bottom"},[t._v("选择支付方式")]),r("div",{staticClass:"payAmount"},[r("p",[t._v("应付金额")]),r("div",{staticClass:"amount"},[t._v(t._s(t.payAmount)),r("span",[t._v("元")])])]),r("van-radio-group",{model:{value:t.payType,callback:function(e){t.payType=e},expression:"payType"}},[r("div",{staticClass:"payment-item van-hairline--bottom",on:{click:function(e){t.payType="zfb"}}},[r("div",{staticClass:"logo-section"},[r("img",{staticClass:"logo",attrs:{src:n("9c08"),alt:""}})]),r("div",{staticClass:"title-section"},[t._v("支付宝支付")]),r("div",{staticClass:"value-section"},[r("van-radio",{attrs:{name:"zfb"}})],1)]),r("div",{staticClass:"payment-item",on:{click:function(e){t.payType="wx"}}},[r("div",{staticClass:"logo-section"},[r("img",{staticClass:"logo",attrs:{src:n("8f37"),alt:""}})]),r("div",{staticClass:"title-section"},[t._v("微信支付")]),r("div",{staticClass:"value-section"},[r("van-radio",{attrs:{name:"wx"}})],1)])]),r("div",{staticClass:"blank"}),r("van-button",{attrs:{type:"primary",block:""},on:{click:t.onSubmit}},[t._v("确认支付")])],1)],1)},c=[],l=n("cf45"),f={name:"mHeader",props:{closeStatus:{type:Boolean,default:!1},amount:{type:Number,default:0},payment:{type:Object}},data:function(){return{isShow:this.closeStatus,payAmount:this.amount,paymentObject:this.payment,payType:"zfb"}},methods:{onClose:function(){var t=this;this.$dialog.confirm({message:"是否放弃本次付款",confirmButtonText:"继续付款",cancelButtonText:"放弃"}).then((function(){})).catch((function(){t.isShow=!1,t.$emit("onChangeStatus",t.isShow)}))},onSubmit:function(){var t=this.payType,e=window.navigator.userAgent.toLowerCase();"micromessenger"==e.match(/MicroMessenger/i)?"zfb"==t?(this.pay_channel="alipay_qr",this.getCodePay("qrCode")):"wx"==t&&(this.pay_channel="wx_pub",this.getCodePay("pay")):"alipayclient"==e.match(/AlipayClient/i)?"zfb"==t?(this.pay_channel="alipay_wap",this.getCodePay("pay")):"wx"==t&&(this.pay_channel="wx_pub",this.getCodePay("qrCode")):("zfb"==t?this.pay_channel="alipay_qr":"wx"==t&&(this.pay_channel="wx_pub"),this.getCodePay("qrCode"))},getCodePay:function(t){var e="qrCode"==t?"/payQRCode":"/payResult";this.$router.push({path:e,query:{payType:this.pay_channel,payment:JSON.stringify(this.paymentObject)}})}},watch:{closeStatus:function(t){this.isShow=t},amount:function(t){this.payAmount=Object(l["b"])(t)},payment:function(t){this.paymentObject=t}}},d=f,p=(n("b175"),n("2877")),y=Object(p["a"])(d,u,c,!1,null,"204e6bcc",null),h=y.exports,m=n("5a0c"),v=n.n(m),g=n("6612"),A=n.n(g),b=n("8900"),S=n("3908");function w(t,e,n,r,a,i,o){try{var s=t[i](o),u=s.value}catch(c){return void n(c)}s.done?e(u):Promise.resolve(u).then(r,a)}function x(t){return function(){var e=this,n=arguments;return new Promise((function(r,a){var i=t.apply(e,n);function o(t){w(i,r,a,o,s,"next",t)}function s(t){w(i,r,a,o,s,"throw",t)}o(void 0)}))}}var O={1:"壹级",2:"贰级",3:"叁级",4:"肆级",5:"伍级",6:"陆级",7:"柒级",8:"捌级",9:"玖级",10:"拾级"},C={name:"signUpPayment",components:{MStep:s["a"],MPayment:h},data:function(){var t=this.$route.query,e=localStorage.getItem("examRegistrationParams")?JSON.parse(localStorage.getItem("examRegistrationParams")):null;return{orderNo:t.orderNo,examRegistrationId:t.examRegistrationId,payMoney:0,orderInfo:{fee:0},params:e,payMap:{},isStatus:!1,paymentResult:null,payment:{}}},mounted:function(){this.__init()},methods:{__init:function(){var t=x(o.a.mark((function t(){var e,n,r;return o.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(Object(S["a"])(!0),t.prev=1,this.examRegistrationId){t.next=6;break}return Object(S["a"])(!1),this.params?this.onParse(this.params):window.history.go(-1),t.abrupt("return");case 6:return t.next=8,Object(b["f"])({examRegistrationId:this.examRegistrationId});case 8:e=t.sent,Object(S["a"])(!1),n=e.data,200==n.code?(r=n.data,this.onParse(r)):this.$toast(n.msg),t.next=16;break;case 14:t.prev=14,t.t0=t["catch"](1);case 16:case"end":return t.stop()}}),t,this,[[1,14]])})));function e(){return t.apply(this,arguments)}return e}(),onParse:function(t){var e=A()(t.theoryLevelFee).add(t.levelFee),n=e.value(),r=t.examMusicTheoryLevel?O[t.examMusicTheoryLevel]+"/¥".concat(A()(t.theoryLevelFee).format("0,0.00")):"免考",a={studentName:t.studentName,subjectName:t.subjectName+"(".concat(O[t.level],"/¥").concat(A()(t.levelFee).format("0,0.00"),")"),examMusicTheoryLevel:r,examStartTime:v()(t.examStartTime).format("YYYY-MM-DD"),fee:A()(n).format("0,0.00")};this.payMoney=n,this.orderInfo=a},onChangeStatus:function(t){this.isStatus=t},onSubmit:function(){var t=x(o.a.mark((function t(){return o.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(!this.orderNo){t.next=5;break}return this.onRePay(),t.abrupt("return");case 5:this.onExamRegistration();case 6:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),onExamRegistration:function(){var t=x(o.a.mark((function t(){var e,n,r,a,i;return o.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return Object(S["a"])(!0),t.prev=1,t.next=4,Object(b["b"])(this.params);case 4:e=t.sent,Object(S["a"])(!1),n=e.data,200==n.code?(this.payMap=n.data.payMap,this.paymentResult=n.data.payMap,r=n.data.payMap.orderNo,this.orderNo=r,a=n.data.examRegister.id,i=window.location.origin,history.replaceState("","Title","".concat(i,"/#/signUpPayment?orderNo=").concat(r,"&examRegistrationId=").concat(a)),this.onSubmitPay()):this.$toast(n.msg),t.next=12;break;case 10:t.prev=10,t.t0=t["catch"](1);case 12:case"end":return t.stop()}}),t,this,[[1,10]])})));function e(){return t.apply(this,arguments)}return e}(),onRePay:function(){var t=x(o.a.mark((function t(){var e,n,r,a,i;return o.a.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return Object(S["a"])(!0),t.prev=1,t.next=4,Object(b["n"])({orderNo:this.orderNo});case 4:e=t.sent,Object(S["a"])(!1),n=e.data,200==n.code?(this.payMap=n.data.payMap,this.paymentResult=n.data.payMap,r=n.data.payMap.orderNo,this.orderNo=r,a=n.data.examRegister.id,i=window.location.origin,history.replaceState("","Title","".concat(i,"/#/signUpPayment?orderNo=").concat(r,"&examRegistrationId=").concat(a)),this.onSubmitPay()):this.$toast(n.msg),t.next=12;break;case 10:t.prev=10,t.t0=t["catch"](1);case 12:case"end":return t.stop()}}),t,this,[[1,10]])})));function e(){return t.apply(this,arguments)}return e}(),onSubmitPay:function(){var t=this.payMap;if("YQPAY"==t.type){var e=t.payMap;document.querySelector("#onSubmit").action=e.host,document.querySelector("#apiContent").value=e.apiContent,document.querySelector("#merNo").value=e.merNo,document.querySelector("#notifyUrl").value=e.notifyUrl,document.querySelector("#sign").value=e.sign,document.querySelector("#signType").value=e.signType,document.querySelector("#timestamp").value=e.timestamp,document.querySelector("#version").value=e.version,document.querySelector("#onSubmit").submit()}else"ADAPAY"==t.type&&(this.payment=t,this.isStatus=!0)}},destroyed:function(){window.removeEventListener("popstate",(function(){}))}},_=C,D=(n("f1cb"),Object(p["a"])(_,r,a,!1,null,"4c0f2f8e",null));e["default"]=D.exports},4127:function(t,e,n){"use strict";var r=n("d2334"),a=n("b313"),i=Object.prototype.hasOwnProperty,o={brackets:function(t){return t+"[]"},comma:"comma",indices:function(t,e){return t+"["+e+"]"},repeat:function(t){return t}},s=Array.isArray,u=Array.prototype.push,c=function(t,e){u.apply(t,s(e)?e:[e])},l=Date.prototype.toISOString,f=a["default"],d={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:r.encode,encodeValuesOnly:!1,format:f,formatter:a.formatters[f],indices:!1,serializeDate:function(t){return l.call(t)},skipNulls:!1,strictNullHandling:!1},p=function(t){return"string"===typeof t||"number"===typeof t||"boolean"===typeof t||"symbol"===typeof t||"bigint"===typeof t},y=function t(e,n,a,i,o,u,l,f,y,h,m,v,g){var A=e;if("function"===typeof l?A=l(n,A):A instanceof Date?A=h(A):"comma"===a&&s(A)&&(A=r.maybeMap(A,(function(t){return t instanceof Date?h(t):t})).join(",")),null===A){if(i)return u&&!v?u(n,d.encoder,g,"key"):n;A=""}if(p(A)||r.isBuffer(A)){if(u){var b=v?n:u(n,d.encoder,g,"key");return[m(b)+"="+m(u(A,d.encoder,g,"value"))]}return[m(n)+"="+m(String(A))]}var S,w=[];if("undefined"===typeof A)return w;if(s(l))S=l;else{var x=Object.keys(A);S=f?x.sort(f):x}for(var O=0;O<S.length;++O){var C=S[O],_=A[C];if(!o||null!==_){var D=s(A)?"function"===typeof a?a(n,C):n:n+(y?"."+C:"["+C+"]");c(w,t(_,D,a,i,o,u,l,f,y,h,m,v,g))}}return w},h=function(t){if(!t)return d;if(null!==t.encoder&&void 0!==t.encoder&&"function"!==typeof t.encoder)throw new TypeError("Encoder has to be a function.");var e=t.charset||d.charset;if("undefined"!==typeof t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=a["default"];if("undefined"!==typeof t.format){if(!i.call(a.formatters,t.format))throw new TypeError("Unknown format option provided.");n=t.format}var r=a.formatters[n],o=d.filter;return("function"===typeof t.filter||s(t.filter))&&(o=t.filter),{addQueryPrefix:"boolean"===typeof t.addQueryPrefix?t.addQueryPrefix:d.addQueryPrefix,allowDots:"undefined"===typeof t.allowDots?d.allowDots:!!t.allowDots,charset:e,charsetSentinel:"boolean"===typeof t.charsetSentinel?t.charsetSentinel:d.charsetSentinel,delimiter:"undefined"===typeof t.delimiter?d.delimiter:t.delimiter,encode:"boolean"===typeof t.encode?t.encode:d.encode,encoder:"function"===typeof t.encoder?t.encoder:d.encoder,encodeValuesOnly:"boolean"===typeof t.encodeValuesOnly?t.encodeValuesOnly:d.encodeValuesOnly,filter:o,formatter:r,serializeDate:"function"===typeof t.serializeDate?t.serializeDate:d.serializeDate,skipNulls:"boolean"===typeof t.skipNulls?t.skipNulls:d.skipNulls,sort:"function"===typeof t.sort?t.sort:null,strictNullHandling:"boolean"===typeof t.strictNullHandling?t.strictNullHandling:d.strictNullHandling}};t.exports=function(t,e){var n,r,a=t,i=h(e);"function"===typeof i.filter?(r=i.filter,a=r("",a)):s(i.filter)&&(r=i.filter,n=r);var u,l=[];if("object"!==typeof a||null===a)return"";u=e&&e.arrayFormat in o?e.arrayFormat:e&&"indices"in e?e.indices?"indices":"repeat":"indices";var f=o[u];n||(n=Object.keys(a)),i.sort&&n.sort(i.sort);for(var d=0;d<n.length;++d){var p=n[d];i.skipNulls&&null===a[p]||c(l,y(a[p],p,f,i.strictNullHandling,i.skipNulls,i.encode?i.encoder:null,i.filter,i.sort,i.allowDots,i.serializeDate,i.formatter,i.encodeValuesOnly,i.charset))}var m=l.join(i.delimiter),v=!0===i.addQueryPrefix?"?":"";return i.charsetSentinel&&("iso-8859-1"===i.charset?v+="utf8=%26%2310003%3B&":v+="utf8=%E2%9C%93&"),m.length>0?v+m:""}},4328:function(t,e,n){"use strict";var r=n("4127"),a=n("9e6a"),i=n("b313");t.exports={formats:i,parse:a,stringify:r}},"5a0c":function(t,e,n){!function(e,n){t.exports=n()}(0,(function(){"use strict";var t="millisecond",e="second",n="minute",r="hour",a="day",i="week",o="month",s="quarter",u="year",c=/^(\d{4})-?(\d{1,2})-?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?.?(\d{1,3})?$/,l=/\[([^\]]+)]|Y{2,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,f=function(t,e,n){var r=String(t);return!r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},d={s:f,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),a=n%60;return(e<=0?"+":"-")+f(r,2,"0")+":"+f(a,2,"0")},m:function(t,e){var n=12*(e.year()-t.year())+(e.month()-t.month()),r=t.clone().add(n,o),a=e-r<0,i=t.clone().add(n+(a?-1:1),o);return Number(-(n+(e-r)/(a?r-i:i-r))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(c){return{M:o,y:u,w:i,d:a,D:"date",h:r,m:n,s:e,ms:t,Q:s}[c]||String(c||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},p={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},y="en",h={};h[y]=p;var m=function(t){return t instanceof b},v=function(t,e,n){var r;if(!t)return y;if("string"==typeof t)h[t]&&(r=t),e&&(h[t]=e,r=t);else{var a=t.name;h[a]=t,r=a}return!n&&r&&(y=r),r||!n&&y},g=function(t,e){if(m(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new b(n)},A=d;A.l=v,A.i=m,A.w=function(t,e){return g(t,{locale:e.$L,utc:e.$u,$offset:e.$offset})};var b=function(){function f(t){this.$L=this.$L||v(t.locale,null,!0),this.parse(t)}var d=f.prototype;return d.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(A.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match(c);if(r)return n?new Date(Date.UTC(r[1],r[2]-1,r[3]||1,r[4]||0,r[5]||0,r[6]||0,r[7]||0)):new Date(r[1],r[2]-1,r[3]||1,r[4]||0,r[5]||0,r[6]||0,r[7]||0)}return new Date(e)}(t),this.init()},d.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},d.$utils=function(){return A},d.isValid=function(){return!("Invalid Date"===this.$d.toString())},d.isSame=function(t,e){var n=g(t);return this.startOf(e)<=n&&n<=this.endOf(e)},d.isAfter=function(t,e){return g(t)<this.startOf(e)},d.isBefore=function(t,e){return this.endOf(e)<g(t)},d.$g=function(t,e,n){return A.u(t)?this[e]:this.set(n,t)},d.year=function(t){return this.$g(t,"$y",u)},d.month=function(t){return this.$g(t,"$M",o)},d.day=function(t){return this.$g(t,"$W",a)},d.date=function(t){return this.$g(t,"$D","date")},d.hour=function(t){return this.$g(t,"$H",r)},d.minute=function(t){return this.$g(t,"$m",n)},d.second=function(t){return this.$g(t,"$s",e)},d.millisecond=function(e){return this.$g(e,"$ms",t)},d.unix=function(){return Math.floor(this.valueOf()/1e3)},d.valueOf=function(){return this.$d.getTime()},d.startOf=function(t,s){var c=this,l=!!A.u(s)||s,f=A.p(t),d=function(t,e){var n=A.w(c.$u?Date.UTC(c.$y,e,t):new Date(c.$y,e,t),c);return l?n:n.endOf(a)},p=function(t,e){return A.w(c.toDate()[t].apply(c.toDate("s"),(l?[0,0,0,0]:[23,59,59,999]).slice(e)),c)},y=this.$W,h=this.$M,m=this.$D,v="set"+(this.$u?"UTC":"");switch(f){case u:return l?d(1,0):d(31,11);case o:return l?d(1,h):d(0,h+1);case i:var g=this.$locale().weekStart||0,b=(y<g?y+7:y)-g;return d(l?m-b:m+(6-b),h);case a:case"date":return p(v+"Hours",0);case r:return p(v+"Minutes",1);case n:return p(v+"Seconds",2);case e:return p(v+"Milliseconds",3);default:return this.clone()}},d.endOf=function(t){return this.startOf(t,!1)},d.$set=function(i,s){var c,l=A.p(i),f="set"+(this.$u?"UTC":""),d=(c={},c[a]=f+"Date",c.date=f+"Date",c[o]=f+"Month",c[u]=f+"FullYear",c[r]=f+"Hours",c[n]=f+"Minutes",c[e]=f+"Seconds",c[t]=f+"Milliseconds",c)[l],p=l===a?this.$D+(s-this.$W):s;if(l===o||l===u){var y=this.clone().set("date",1);y.$d[d](p),y.init(),this.$d=y.set("date",Math.min(this.$D,y.daysInMonth())).toDate()}else d&&this.$d[d](p);return this.init(),this},d.set=function(t,e){return this.clone().$set(t,e)},d.get=function(t){return this[A.p(t)]()},d.add=function(t,s){var c,l=this;t=Number(t);var f=A.p(s),d=function(e){var n=g(l);return A.w(n.date(n.date()+Math.round(e*t)),l)};if(f===o)return this.set(o,this.$M+t);if(f===u)return this.set(u,this.$y+t);if(f===a)return d(1);if(f===i)return d(7);var p=(c={},c[n]=6e4,c[r]=36e5,c[e]=1e3,c)[f]||1,y=this.$d.getTime()+t*p;return A.w(y,this)},d.subtract=function(t,e){return this.add(-1*t,e)},d.format=function(t){var e=this;if(!this.isValid())return"Invalid Date";var n=t||"YYYY-MM-DDTHH:mm:ssZ",r=A.z(this),a=this.$locale(),i=this.$H,o=this.$m,s=this.$M,u=a.weekdays,c=a.months,f=function(t,r,a,i){return t&&(t[r]||t(e,n))||a[r].substr(0,i)},d=function(t){return A.s(i%12||12,t,"0")},p=a.meridiem||function(t,e,n){var r=t<12?"AM":"PM";return n?r.toLowerCase():r},y={YY:String(this.$y).slice(-2),YYYY:this.$y,M:s+1,MM:A.s(s+1,2,"0"),MMM:f(a.monthsShort,s,c,3),MMMM:f(c,s),D:this.$D,DD:A.s(this.$D,2,"0"),d:String(this.$W),dd:f(a.weekdaysMin,this.$W,u,2),ddd:f(a.weekdaysShort,this.$W,u,3),dddd:u[this.$W],H:String(i),HH:A.s(i,2,"0"),h:d(1),hh:d(2),a:p(i,o,!0),A:p(i,o,!1),m:String(o),mm:A.s(o,2,"0"),s:String(this.$s),ss:A.s(this.$s,2,"0"),SSS:A.s(this.$ms,3,"0"),Z:r};return n.replace(l,(function(t,e){return e||y[t]||r.replace(":","")}))},d.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},d.diff=function(t,c,l){var f,d=A.p(c),p=g(t),y=6e4*(p.utcOffset()-this.utcOffset()),h=this-p,m=A.m(this,p);return m=(f={},f[u]=m/12,f[o]=m,f[s]=m/3,f[i]=(h-y)/6048e5,f[a]=(h-y)/864e5,f[r]=h/36e5,f[n]=h/6e4,f[e]=h/1e3,f)[d]||h,l?m:A.a(m)},d.daysInMonth=function(){return this.endOf(o).$D},d.$locale=function(){return h[this.$L]},d.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),r=v(t,e,!0);return r&&(n.$L=r),n},d.clone=function(){return A.w(this.$d,this)},d.toDate=function(){return new Date(this.valueOf())},d.toJSON=function(){return this.isValid()?this.toISOString():null},d.toISOString=function(){return this.$d.toISOString()},d.toString=function(){return this.$d.toUTCString()},f}();return g.prototype=b.prototype,g.extend=function(t,e){return t(e,b,g),g},g.locale=v,g.isDayjs=m,g.unix=function(t){return g(1e3*t)},g.en=h[y],g.Ls=h,g}))},6746:function(t,e,n){},8900:function(t,e,n){"use strict";n.d(e,"o",(function(){return o})),n.d(e,"p",(function(){return s})),n.d(e,"m",(function(){return u})),n.d(e,"d",(function(){return c})),n.d(e,"j",(function(){return l})),n.d(e,"q",(function(){return f})),n.d(e,"l",(function(){return d})),n.d(e,"r",(function(){return p})),n.d(e,"i",(function(){return y})),n.d(e,"g",(function(){return h})),n.d(e,"h",(function(){return m})),n.d(e,"b",(function(){return v})),n.d(e,"c",(function(){return g})),n.d(e,"k",(function(){return A})),n.d(e,"e",(function(){return b})),n.d(e,"f",(function(){return S})),n.d(e,"n",(function(){return w})),n.d(e,"a",(function(){return x}));var r=n("4328"),a=n.n(r),i=n("981f").default;function o(t){return i({url:"/api-auth/code/sendSms",method:"post",data:a.a.stringify(t)})}function s(t){return i({url:"/api-auth/smsLogin",method:"post",data:a.a.stringify(t)})}function u(t){return i({url:"/api-auth/user/noAuth/queryUserByPhone",method:"get",params:t})}function c(t){return i({url:"/api-student/examinationBasic/getInfo",method:"post",data:a.a.stringify(t)})}function l(t){return i({url:"/api-student/student/getStudent",method:"get",params:t})}function f(t){return i({url:"/api-student/student/updateInfo",method:"post",data:a.a.stringify(t)})}function d(t){return i({url:"/api-student/examRegistration/ocr",method:"post",data:t})}function p(t){return i({url:"/api-student/uploadFile",method:"post",data:t})}function y(t){return i({url:"/api-student/examSubject/getExamSubjects",method:"get",params:t})}function h(t){return i({url:"/api-student/examSubjectSong/getExamSubjectLevel",method:"get",params:t})}function m(t){return i({url:"/api-student/examSubjectSong/getExamSubjectSong",method:"get",params:t})}function v(t){return i({url:"/api-student/examRegistration/add",method:"post",data:t})}function g(t){return i({url:"/api-student/examRegistration/update",method:"post",data:t})}function A(t){return i({url:"/api-student/examMusicTheory/getTheoryLevelList",method:"get",params:t})}function b(t){return i({url:"/api-student/examOrder/getExamIngOrder",method:"get",params:t})}function S(t){return i({url:"/api-student/examRegistration/getExamRegistration",method:"get",params:t})}function w(t){return i({url:"/api-student/examRegistration/repay",method:"post",data:a.a.stringify(t)})}function x(t){return i({url:"/api-student/examOrder/closeOrder",method:"post",data:a.a.stringify(t)})}},"8f37":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAsCAMAAAApWqozAAAApVBMVEUAAAAAyAAAwwAAyQAAxgAAyQAAyQAAyAAAyAAAyAAAyQAAyQAAyQAAzAAAygAAyAAAyAAAyAAAyAAAyQAAyAAAyQAAyAAAyAAAyQAAyQAAygAAywAAywAAyQAAyQAAygAAygAAyQAAyAAAyAAAyAAAyAAAyQAAyAAAyAAAygAAygAAyAAAyAAAyQAAyQAAyQAAygAAyQAAygAAyAAAywAAyQAAyACxriw2AAAANnRSTlMA7QT9DNpv9vP7v7GaFgjo3867uLWlhoBaS0UrG6qdUDsi+OTUkWVjMi8oxKB4cmhWxZCMU0HyawkQAAABiUlEQVQ4y9WUyXKCQBRFr8isRBSZFOfZOGV6//9pAdJCQ2hglaqcVS9OdT3ufQ3+jOmhP1I6mjZQnN1hVWee3m0qoHgif/JKFTjLCvVskoBeVHbVNQnR9wX1ZUa19KXclU1qwHkBQxpTIy4YH42qrcrPyLoNqrlIRk4HkZRac+0eE8u6mIjZ16kdL0rTuupEEwBbsarcf0ZdKGk5wDG/paSOQrZbDqUYFvzMlR6crs1PrIOdQYwAecZLRCN2HPgWq+DOXbCDnS8MgJsWH7aHZ19fw8Jc0LNz95wM6LoTMFazYgNDGNy6gEf2tXI44D/K4txgQ2WGhZi9TD1WvZoxXL4vti7WvHJdPKjEoaZx3XSqJETEX2JLQChaLC0O1CGO2ULwEFhYS2qHMUVMr14qthB12rgDVkJotBgiWwK12+R298hQm1wVHJ96nas/UOBUYw/PKPEmfOCqVHZlwV90c5Xxi0X6HeZsUMh2HkqooJ/MtkzeVeBdxuaoN/eDFQTYtAnQlp4v47/wDWJr5wNR5I/fAAAAAElFTkSuQmCC"},"9c08":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAADBklEQVRIS72W/0uVVxzHX+ec57ne1KXFNNOlpTRbKpX0k2gUMUf7oVnQYBUMGrSfBquNbeF+2C+S/RNNBkIQmH0xSGs2JvtlUlMIiSKs0L4typx6733uc844j6b3yiP3Ymuf355zPp/P+/P+fDmfRwC4p6fqpVQnDTQKyLVnyxWDmBaYAa3lCe9I5IZwTyfqhTS/C8wbOV4ckAVyXLFD5HTErgDNy404g12viHTEp7KJvqVc0rpVBf5++NPn2iOdMSYD05aByagJfF2jaN/uBKoHr3t03c8MYHX/f4DmMsmZnbORpoojISJFcORp0CG8K8/GeR5Pt1sWg71XPXrH3iBFRVHYtVamhbLnPclnlbNFPjWcZPhFOoXu+xo/hFUog40rRVDUTHKoShJVgtsThi3diVD1rFO02HpTgeCvlkhw3D6c5KebfnYAa6JgC73hndmCPp4xjLw03Hxu+Ce54KOtXvFNnRMUu/ZcgnuT4d0+z8C6+3Gr4ttaRY4SGANiFiOQpDYM/m3oeai5/lhz6UOXgojgwgOfT/tTkBfxmAdo3aI4XKVoG0rSN6Z5GoN8F2pXCT4qkxysVJTnpyDOOTrwq8fFh0t3VACQ58BQS4SGS4nAcZjYEdhXIbGBbC5c6DCboj+eaDrv+XSNaia8kDnY/q7gWI3i0G9LU7VmxVHo3xOhaqUg5pugg1Il7hv6xg1doz5945pnsbmnorpA8HOjQ0PPIvgU64p86N7t8kGhDArf1JOgbpXkeI2isSR9ZqyZZXbrpYkHKbJxDO51Of9A0zbkpw2MI+DzjZK2eofCHMHopOGTa17Q+6/FZuCrzYr9FRJ37jmZu5uZL/K21YLLzS6THvQ/0rxIQGku7CyRFK8Q+MbQeVfz/WAyuAsTq3+0WvHF+4qiaJC+BQD7tS4Pvqtz+HidpHSFwOZ0ZMJwdVzzy13NnVdZvezkKDiwXvJltTMjIh2xqbA9bFOTzM5fOB3g9cJ5uyvzbS59o5NNQSUsiJT6P/ptYVrAgNb+Ce9I3o1/AXUqQlA5Ce8vAAAAAElFTkSuQmCC"},"9e6a":function(t,e,n){"use strict";var r=n("d2334"),a=Object.prototype.hasOwnProperty,i=Array.isArray,o={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:r.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(t){return t.replace(/&#(\d+);/g,(function(t,e){return String.fromCharCode(parseInt(e,10))}))},u=function(t,e){return t&&"string"===typeof t&&e.comma&&t.indexOf(",")>-1?t.split(","):t},c="utf8=%26%2310003%3B",l="utf8=%E2%9C%93",f=function(t,e){var n,f={},d=e.ignoreQueryPrefix?t.replace(/^\?/,""):t,p=e.parameterLimit===1/0?void 0:e.parameterLimit,y=d.split(e.delimiter,p),h=-1,m=e.charset;if(e.charsetSentinel)for(n=0;n<y.length;++n)0===y[n].indexOf("utf8=")&&(y[n]===l?m="utf-8":y[n]===c&&(m="iso-8859-1"),h=n,n=y.length);for(n=0;n<y.length;++n)if(n!==h){var v,g,A=y[n],b=A.indexOf("]="),S=-1===b?A.indexOf("="):b+1;-1===S?(v=e.decoder(A,o.decoder,m,"key"),g=e.strictNullHandling?null:""):(v=e.decoder(A.slice(0,S),o.decoder,m,"key"),g=r.maybeMap(u(A.slice(S+1),e),(function(t){return e.decoder(t,o.decoder,m,"value")}))),g&&e.interpretNumericEntities&&"iso-8859-1"===m&&(g=s(g)),A.indexOf("[]=")>-1&&(g=i(g)?[g]:g),a.call(f,v)?f[v]=r.combine(f[v],g):f[v]=g}return f},d=function(t,e,n,r){for(var a=r?e:u(e,n),i=t.length-1;i>=0;--i){var o,s=t[i];if("[]"===s&&n.parseArrays)o=[].concat(a);else{o=n.plainObjects?Object.create(null):{};var c="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,l=parseInt(c,10);n.parseArrays||""!==c?!isNaN(l)&&s!==c&&String(l)===c&&l>=0&&n.parseArrays&&l<=n.arrayLimit?(o=[],o[l]=a):o[c]=a:o={0:a}}a=o}return a},p=function(t,e,n,r){if(t){var i=n.allowDots?t.replace(/\.([^.[]+)/g,"[$1]"):t,o=/(\[[^[\]]*])/,s=/(\[[^[\]]*])/g,u=n.depth>0&&o.exec(i),c=u?i.slice(0,u.index):i,l=[];if(c){if(!n.plainObjects&&a.call(Object.prototype,c)&&!n.allowPrototypes)return;l.push(c)}var f=0;while(n.depth>0&&null!==(u=s.exec(i))&&f<n.depth){if(f+=1,!n.plainObjects&&a.call(Object.prototype,u[1].slice(1,-1))&&!n.allowPrototypes)return;l.push(u[1])}return u&&l.push("["+i.slice(u.index)+"]"),d(l,e,n,r)}},y=function(t){if(!t)return o;if(null!==t.decoder&&void 0!==t.decoder&&"function"!==typeof t.decoder)throw new TypeError("Decoder has to be a function.");if("undefined"!==typeof t.charset&&"utf-8"!==t.charset&&"iso-8859-1"!==t.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var e="undefined"===typeof t.charset?o.charset:t.charset;return{allowDots:"undefined"===typeof t.allowDots?o.allowDots:!!t.allowDots,allowPrototypes:"boolean"===typeof t.allowPrototypes?t.allowPrototypes:o.allowPrototypes,arrayLimit:"number"===typeof t.arrayLimit?t.arrayLimit:o.arrayLimit,charset:e,charsetSentinel:"boolean"===typeof t.charsetSentinel?t.charsetSentinel:o.charsetSentinel,comma:"boolean"===typeof t.comma?t.comma:o.comma,decoder:"function"===typeof t.decoder?t.decoder:o.decoder,delimiter:"string"===typeof t.delimiter||r.isRegExp(t.delimiter)?t.delimiter:o.delimiter,depth:"number"===typeof t.depth||!1===t.depth?+t.depth:o.depth,ignoreQueryPrefix:!0===t.ignoreQueryPrefix,interpretNumericEntities:"boolean"===typeof t.interpretNumericEntities?t.interpretNumericEntities:o.interpretNumericEntities,parameterLimit:"number"===typeof t.parameterLimit?t.parameterLimit:o.parameterLimit,parseArrays:!1!==t.parseArrays,plainObjects:"boolean"===typeof t.plainObjects?t.plainObjects:o.plainObjects,strictNullHandling:"boolean"===typeof t.strictNullHandling?t.strictNullHandling:o.strictNullHandling}};t.exports=function(t,e){var n=y(e);if(""===t||null===t||"undefined"===typeof t)return n.plainObjects?Object.create(null):{};for(var a="string"===typeof t?f(t,n):t,i=n.plainObjects?Object.create(null):{},o=Object.keys(a),s=0;s<o.length;++s){var u=o[s],c=p(u,a[u],n,"string"===typeof t);i=r.merge(i,c,n)}return r.compact(i)}},a298:function(t,e,n){"use strict";var r=n("6746"),a=n.n(r);a.a},a34a:function(t,e,n){t.exports=n("96cf")},ab6b:function(t,e,n){"use strict";var r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"mStep"},[n("div",{staticClass:"step"},t._l(t.imgUrlList,(function(e,r){return n("div",{key:r,staticClass:"step-item"},[t.number>=e.index?n("svg-icon",{key:"oneImg",attrs:{iconClass:e.active}}):n("svg-icon",{key:"oneImg",attrs:{iconClass:e.default}}),n("p",{class:[t.number>=e.index?e.activeClass:""]},[t._v(t._s(e.text))])],1)})),0)])},a=[],i=n("0032"),o={name:"mStep",components:{SvgIcon:i["a"]},props:{number:{type:Number,default:1}},data:function(){return{imgUrlList:[{index:1,default:"",active:"icon_account_active",activeClass:"active",text:"账号"},{index:1.5,default:"icon_right_arrow",active:"icon_right_arrow_active",activeClass:"active",text:""},{index:2,default:"icon_baseInfo",active:"icon_baseInfo_active",activeClass:"active",text:"基本信息"},{index:2.5,default:"icon_right_arrow",active:"icon_right_arrow_active",activeClass:"active",text:""},{index:3,default:"icon_level",active:"icon_level_active",activeClass:"active",text:"考级信息"},{index:3.5,default:"icon_right_arrow",active:"icon_right_arrow_active",activeClass:"active",text:""},{index:4,default:"icon_payment",active:"icon_payment_active",activeClass:"active",text:"支付"}]}},methods:{}},s=o,u=(n("a298"),n("2877")),c=Object(u["a"])(s,r,a,!1,null,"7eaaf7a9",null);e["a"]=c.exports},b175:function(t,e,n){"use strict";var r=n("1a6a"),a=n.n(r);a.a},b313:function(t,e,n){"use strict";var r=String.prototype.replace,a=/%20/g,i=n("d2334"),o={RFC1738:"RFC1738",RFC3986:"RFC3986"};t.exports=i.assign({default:o.RFC3986,formatters:{RFC1738:function(t){return r.call(t,a,"+")},RFC3986:function(t){return String(t)}}},o)},d2334:function(t,e,n){"use strict";var r=Object.prototype.hasOwnProperty,a=Array.isArray,i=function(){for(var t=[],e=0;e<256;++e)t.push("%"+((e<16?"0":"")+e.toString(16)).toUpperCase());return t}(),o=function(t){while(t.length>1){var e=t.pop(),n=e.obj[e.prop];if(a(n)){for(var r=[],i=0;i<n.length;++i)"undefined"!==typeof n[i]&&r.push(n[i]);e.obj[e.prop]=r}}},s=function(t,e){for(var n=e&&e.plainObjects?Object.create(null):{},r=0;r<t.length;++r)"undefined"!==typeof t[r]&&(n[r]=t[r]);return n},u=function t(e,n,i){if(!n)return e;if("object"!==typeof n){if(a(e))e.push(n);else{if(!e||"object"!==typeof e)return[e,n];(i&&(i.plainObjects||i.allowPrototypes)||!r.call(Object.prototype,n))&&(e[n]=!0)}return e}if(!e||"object"!==typeof e)return[e].concat(n);var o=e;return a(e)&&!a(n)&&(o=s(e,i)),a(e)&&a(n)?(n.forEach((function(n,a){if(r.call(e,a)){var o=e[a];o&&"object"===typeof o&&n&&"object"===typeof n?e[a]=t(o,n,i):e.push(n)}else e[a]=n})),e):Object.keys(n).reduce((function(e,a){var o=n[a];return r.call(e,a)?e[a]=t(e[a],o,i):e[a]=o,e}),o)},c=function(t,e){return Object.keys(e).reduce((function(t,n){return t[n]=e[n],t}),t)},l=function(t,e,n){var r=t.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(a){return r}},f=function(t,e,n){if(0===t.length)return t;var r=t;if("symbol"===typeof t?r=Symbol.prototype.toString.call(t):"string"!==typeof t&&(r=String(t)),"iso-8859-1"===n)return escape(r).replace(/%u[0-9a-f]{4}/gi,(function(t){return"%26%23"+parseInt(t.slice(2),16)+"%3B"}));for(var a="",o=0;o<r.length;++o){var s=r.charCodeAt(o);45===s||46===s||95===s||126===s||s>=48&&s<=57||s>=65&&s<=90||s>=97&&s<=122?a+=r.charAt(o):s<128?a+=i[s]:s<2048?a+=i[192|s>>6]+i[128|63&s]:s<55296||s>=57344?a+=i[224|s>>12]+i[128|s>>6&63]+i[128|63&s]:(o+=1,s=65536+((1023&s)<<10|1023&r.charCodeAt(o)),a+=i[240|s>>18]+i[128|s>>12&63]+i[128|s>>6&63]+i[128|63&s])}return a},d=function(t){for(var e=[{obj:{o:t},prop:"o"}],n=[],r=0;r<e.length;++r)for(var a=e[r],i=a.obj[a.prop],s=Object.keys(i),u=0;u<s.length;++u){var c=s[u],l=i[c];"object"===typeof l&&null!==l&&-1===n.indexOf(l)&&(e.push({obj:i,prop:c}),n.push(l))}return o(e),t},p=function(t){return"[object RegExp]"===Object.prototype.toString.call(t)},y=function(t){return!(!t||"object"!==typeof t)&&!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))},h=function(t,e){return[].concat(t,e)},m=function(t,e){if(a(t)){for(var n=[],r=0;r<t.length;r+=1)n.push(e(t[r]));return n}return e(t)};t.exports={arrayToObject:s,assign:c,combine:h,compact:d,decode:l,encode:f,isBuffer:y,isRegExp:p,maybeMap:m,merge:u}},f1cb:function(t,e,n){"use strict";var r=n("2d9b"),a=n.n(r);a.a}}]);