(function(e){function t(t){for(var r,a,s=t[0],o=t[1],u=t[2],l=0,d=[];l=26?n("div",{key:"class-list",staticClass:"options"},[n("div",{staticClass:"option"},[e._m(0),n("div",{staticClass:"o_bd"},[e._v("乐团声部训练")]),n("span",{staticClass:"o_ft"},[e._v("\n 现价:¥"+e._s(e.result.classAmount)+"\n ")])]),e._m(1),e._m(2),e._m(3)]):n("div",{key:"class-list",staticClass:"options"},[n("div",{staticClass:"option"},[e._m(4),n("div",{staticClass:"o_bd"},[e._v("乐团课")]),21==e.result.payMethod||25==e.result.payMethod?n("span",{key:"class-price",staticClass:"o_ft"},[n("del",[e._v("原价:¥23520")]),e._v(" 现价:免费\n ")]):n("span",{key:"class-price",staticClass:"o_ft"},[n("del",[e._v("原价:¥23520")]),e._v(" 现价:¥"+e._s(e.result.classAmount)+"\n ")])])]),e.result.payMethod>=26?n("div",{staticClass:"coutInfo"},[n("i",{staticClass:"trumpet_icon"}),e._v("年度安排十个月训练,共计168课时,120元/课时,原价20160元,现仅支付"+e._s(e.result.classAmount)+"元/月(约合34.5元/课时) \n ")]):e._e()]),n("div",{staticClass:"section"},[n("h2",{staticClass:"title line_bottom"},[e._v("乐器")]),21==e.result.payMethod||22==e.result.payMethod||e.result.payMethod>26||25==e.result.payMethod&&!e.result.isCopperPipe?n("div",{staticClass:"options"},e._l(e.instrument.config,function(t,r){return n("div",{key:t.name,class:[e.instrument.config.length>1?"oc":""],on:{click:function(t){return e.instrumentF(r)}}},[n("div",{staticClass:"option"},[n("div",{staticClass:"o_"},[n("i",{staticClass:"check_default",class:[t.checked?"check_active":""]})]),t.marketPrice>0?n("div",{key:"name",staticClass:"o_bd"},[e._v(e._s(e.instrument.name)+"-"),n("span",{staticClass:"c"},[e._v(e._s(t.name)+" ")])]):n("div",{key:"name",staticClass:"o_bd"},[e._v(e._s(t.name))]),t.marketPrice>0?n("span",{staticClass:"o_ft"},[n("del",[e._v("原价:¥"+e._s(t.marketPrice))]),e._v(" 现价:¥"+e._s(t.referencePrice)+"\n ")]):e._e()]),t.marketPrice>0?n("div",{staticClass:"configuration"},[n("div",{staticClass:"config"},[e._m(5,!0),n("div",{staticClass:"content"},[n("p",[e._v(e._s(e.instrument.configuration)+" "+e._s(t.texture))])])])]):e._e()])}),0):e._e(),25==e.result.payMethod&&e.result.isCopperPipe||26==e.result.payMethod?n("div",{staticClass:"options"},[e._l(e.instrument.config,function(t){return n("div",{key:t.name,staticClass:"oc",on:{click:function(n){return e.instrumentF2("default",t)}}},[t.default?n("div",{staticClass:"option"},[n("div",{staticClass:"o_"},[n("i",{staticClass:"check_default",class:[t.checked?"check_active":""]})]),n("div",{staticClass:"o_bd"},[e._v(e._s(e.instrument.name)+"-"),n("span",{staticClass:"c"},[e._v(e._s(t.name)+" ")])]),25==e.result.payMethod?n("span",{staticClass:"o_ft"},[n("del",[e._v("原价:¥"+e._s(t.marketPrice))]),e._v(" 免费试用\n ")]):e._e(),"26"==e.result.payMethod?n("span",{staticClass:"o_ft"},[n("del",[e._v("原价:¥"+e._s(t.marketPrice))]),e._v(" 押金:¥800\n ")]):e._e()]):e._e(),t.default?n("div",{staticClass:"configuration"},[n("div",{staticClass:"config"},[e._m(6,!0),n("div",{staticClass:"content"},[n("p",[e._v(e._s(e.instrument.configuration)+" "+e._s(t.texture))])])])]):e._e()])}),e._l(e.instrument.config,function(t){return n("div",{key:t.marketPrice,on:{click:function(n){return e.instrumentF2("self",t)}}},[t.marketPrice<=0?n("div",{staticClass:"option"},[n("div",{staticClass:"o_"},[n("i",{staticClass:"check_default",class:[t.checked?"check_active":""]})]),n("div",{staticClass:"o_bd"},[e._v(e._s(t.name)+"\n ")])]):e._e()])})],2):e._e()]),n("div",{staticClass:"section"},[n("h2",{staticClass:"title line_bottom"},[e._v("辅件")]),e._l(e.instrument.auxiliaries,function(t,r){return n("div",{key:t.name,staticClass:"options",on:{click:function(t){return e.auxiliarie(r)}}},[n("div",{staticClass:"option"},[n("div",{staticClass:"o_hd"},[n("i",{staticClass:"check_default",class:[t.checked?"check_active":""]})]),n("div",{staticClass:"o_bd"},[e._v(e._s(t.name))]),n("span",{staticClass:"o_ft"},[n("del",[e._v("原价:¥"+e._s(t.marketPrice))]),e._v("\n "+e._s(0==t.referencePrice?"免费":"现价:¥"+t.referencePrice)+"\n ")])])])})],2),n("div",{staticClass:"section"},[n("h2",{staticClass:"title line_bottom"},[e._v("其它")]),e._l(e.baseInfo.other,function(t){return n("div",{key:t.name,staticClass:"options"},[n("div",{staticClass:"option"},[e._m(7,!0),n("div",{staticClass:"o_bd"},[e._v(e._s(t.name))]),n("span",{staticClass:"o_ft"},[n("del",[e._v("原价:¥"+e._s(t.marketPrice))]),e._v(" \n "+e._s(0==t.referencePrice?"免费":"现价:¥"+t.referencePrice)+"\n ")])])])})],2),n("div",{staticClass:"buy"},[n("div",{staticClass:"price"},[n("p",{staticClass:"oldprice"},[n("del",{staticClass:"text"},[e._v("原价")]),n("del",[e._v("¥"+e._s(e.orderInfo.marketPrice))])]),n("p",{staticClass:"now_price"},[n("span",{staticClass:"text"},[e._v("仅需支付")]),n("span",[e._v("¥"+e._s(e.orderInfo.referencePrice))])])]),n("a",{on:{click:e.buy}},[e._v("购买")])]),n("van-popup",{attrs:{id:"protocolPopup",position:"bottom"},model:{value:e.popupStatus,callback:function(t){e.popupStatus=t},expression:"popupStatus"}},[n("protocol",{attrs:{proto:e.protocolData},on:{popupClose:e.onPopupClose}})],1)],1)},k=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"0_hd"},[n("i",{staticClass:"check_default check_active"})])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"option"},[n("div",{staticClass:"0_hd"},[n("i",{staticClass:"check_default check_active"})]),n("div",{staticClass:"o_bd"},[e._v("乐团合奏训练")])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"option"},[n("div",{staticClass:"0_hd"},[n("i",{staticClass:"check_default check_active"})]),n("div",{staticClass:"o_bd"},[e._v("基础技能训练")])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"option"},[n("div",{staticClass:"0_hd"},[n("i",{staticClass:"check_default check_active"})]),n("div",{staticClass:"o_bd"},[e._v("假期集中训练")])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"0_hd"},[n("i",{staticClass:"check_default check_active"})])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"title"},[n("span",[e._v("配置参数")])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"title"},[n("span",[e._v("配置参数")])])},function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"o_hd"},[n("i",{staticClass:"check_default check_active"})])}],P=(n("7f7f"),n("ac6a"),n("28a5"),{flute:{name:"长笛",config:[{default:1,name:"初级配置",marketPrice:3150,referencePrice:2680,checked:!0,texture:"白铜管体",index:1},{default:0,name:"标准配置",marketPrice:4500,referencePrice:3570,checked:!1,texture:"进口镍白铜管体、法式键",index:2},{default:0,name:"自备",marketPrice:0,referencePrice:0,checked:!1,index:99}],configuration:"C调 表面镀银厚度:8μm 管材厚度:0.42mm",auxiliaries:[{name:"节拍器",marketPrice:120,referencePrice:95,checked:!0,index:1},{name:"谱架",marketPrice:80,referencePrice:65,checked:!0,index:2},{name:"乐器维护",marketPrice:480,referencePrice:300,checked:!0,index:8}]},clarinet:{name:"单簧管",config:[{default:1,name:"初级配置",marketPrice:3280,referencePrice:2780,checked:!0,texture:"胶木",index:3},{default:0,name:"标准配置",marketPrice:4580,referencePrice:3650,checked:!1,texture:"聚碳酸酯、蓝钢针弹簧线",index:4},{default:0,name:"自备",marketPrice:0,referencePrice:0,checked:!1,index:99}],configuration:"降B调、八字螺丝固定键柱 按键铍铜、镍白铜 喇叭口直径:8cm",auxiliaries:[{index:1,name:"节拍器",marketPrice:120,checked:!0,referencePrice:95},{index:2,name:"谱架",marketPrice:80,checked:!0,referencePrice:65},{index:4,name:"软木膏",marketPrice:30,checked:!0,referencePrice:25},{index:5,name:"哨片",marketPrice:150,checked:!0,referencePrice:120},{index:8,name:"乐器维护",marketPrice:480,checked:!0,referencePrice:300}]},saxophone:{name:"萨克斯管",config:[{default:1,name:"初级配置",marketPrice:4200,referencePrice:3550,checked:!0,texture:"/",index:5},{default:0,name:"标准配置",marketPrice:6080,referencePrice:4500,checked:!1,texture:"68铜、实心保护盖、蓝钢针弹簧线",index:6},{default:0,name:"自备",marketPrice:0,referencePrice:0,checked:!1,index:99}],configuration:"降E调、黄铜材质、表面电泳处理 喇叭口直径:11.8cm",auxiliaries:[{index:1,name:"节拍器",marketPrice:120,checked:!0,referencePrice:95},{index:2,name:"谱架",marketPrice:80,checked:!0,referencePrice:65},{index:4,name:"软木膏",marketPrice:30,checked:!0,referencePrice:25},{index:5,name:"哨片",marketPrice:150,checked:!0,referencePrice:120},{index:8,name:"乐器维护",marketPrice:480,checked:!0,referencePrice:300}]},trumpet:{name:"小号",config:[{default:1,name:"标准配置",marketPrice:4800,referencePrice:3650,checked:!0,texture:"白铜变音管磷铜发音管",index:7},{default:0,name:"自备",marketPrice:0,referencePrice:0,checked:!1,index:99}],configuration:"降B调 特殊结构:可调试调音管控制环 喇叭口直径:123mm 内管:11.66mm",auxiliaries:[{index:1,name:"节拍器",marketPrice:120,checked:!0,referencePrice:95},{index:2,name:"谱架",marketPrice:80,checked:!0,referencePrice:65},{index:3,name:"活塞油",marketPrice:30,checked:!0,referencePrice:25},{index:7,name:"调音管油",marketPrice:30,checked:!0,referencePrice:25},{index:8,name:"乐器维护",marketPrice:480,checked:!0,referencePrice:300}]},trombone:{name:"长号",config:[{default:1,name:"标准配置",marketPrice:5550,referencePrice:3870,checked:!0,texture:"白铜内外伸缩管",index:8},{default:0,name:"自备",marketPrice:0,referencePrice:0,checked:!1,index:99}],configuration:"降B/F调、喇叭口:215mm、内管:13.9mm管:13.9mm",auxiliaries:[{index:1,name:"节拍器",marketPrice:120,checked:!0,referencePrice:95},{index:2,name:"谱架",marketPrice:80,checked:!0,referencePrice:65},{index:3,name:"活塞油",marketPrice:30,checked:!0,referencePrice:25},{index:6,name:"拉杆油",marketPrice:30,checked:!0,referencePrice:25},{index:8,name:"乐器维护",marketPrice:480,checked:!0,referencePrice:300}]},horn:{name:"圆号",config:[{default:1,name:"标准配置",marketPrice:5500,referencePrice:3910,checked:!0,texture:"白铜变音管磷铜发音管",index:9},{default:0,name:"自备",marketPrice:0,referencePrice:0,checked:!1,index:99}],configuration:"降B/F调、结构:双排管 喇叭口直径:306mm 内管:11.5mm",auxiliaries:[{index:1,name:"节拍器",marketPrice:120,checked:!0,referencePrice:95},{index:2,name:"谱架",marketPrice:80,checked:!0,referencePrice:65},{index:3,name:"活塞油",marketPrice:30,checked:!0,referencePrice:25},{index:7,name:"调音管油",marketPrice:30,checked:!0,referencePrice:25},{index:8,name:"乐器维护",marketPrice:480,checked:!0,referencePrice:300}]},upperBass:{name:"上低音号",config:[{default:1,name:"标准配置",marketPrice:5800,referencePrice:3980,checked:!0,texture:"白铜变音管磷铜发音管",index:10},{default:0,name:"自备",marketPrice:0,referencePrice:0,checked:!1,index:99}],configuration:"降B调、结构:三立键 喇叭口直径:278mm、内管:13.4mm",auxiliaries:[{index:1,name:"节拍器",marketPrice:120,checked:!0,referencePrice:95},{index:2,name:"谱架",marketPrice:80,checked:!0,referencePrice:65},{index:3,name:"活塞油",marketPrice:30,checked:!0,referencePrice:25},{index:7,name:"调音管油",marketPrice:30,checked:!0,referencePrice:25},{index:8,name:"乐器维护",marketPrice:480,checked:!0,referencePrice:300}]},snareDrum:{name:"小军鼓",config:[{default:1,name:"标准配置",marketPrice:3700,referencePrice:3190,checked:!0,texture:"",index:11},{default:0,name:"自备",marketPrice:0,referencePrice:0,checked:!1,index:99}],configuration:"珍珠镍小军鼓,桦木鼓腔,高碳钢纱带",auxiliaries:[{index:1,name:"节拍器",marketPrice:120,checked:!0,referencePrice:95},{index:2,name:"谱架",marketPrice:80,checked:!0,referencePrice:65}]}}),C={other:[{name:"教材",marketPrice:7680,referencePrice:0},{name:"乐谱",marketPrice:7680,referencePrice:0}]},g=n("4328"),b=n.n(g),x=n("345a"),y=n("2241"),I={name:"home",components:{Protocol:x["default"],Dialog:y["a"]},data:function(){return{popupStatus:!1,protocolData:{},result:{},instrument:{},baseInfo:{},money:580,orderInfo:{marketPrice:0,referencePrice:0,auxiliarie:null,instrumentId:null},form:{apiContent:"",host:"",merNo:"",notifyUrl:"",sign:"",signType:"",timestamp:"",version:""}}},mounted:function(){var e=this;this.baseInfo=C,axios.post("/user/getUserRegisterViewDetail",b.a.stringify({stuId:this.$route.query.stuId})).then(function(t){var n=t.data.data;e.result={payMethod:n.fee_type_,subName:n.sub_name_,grade:n.grade_,voicyPart:n.sub_name_.split(".")[1],isCopperPipe:n.isCopperPipe,patriarchName:n.patriarch_name_,patriarchPhone:n.patriarch_phone_,stuName:n.name_,stuClass:n.g_class_,classAmount:n.fee_amount_,course_id:n.course_id_},e.instrument=P[e.cnToEn(e.result.voicyPart)],25!=n.fee_type_&&26!=n.fee_type_||e.instrument.config.forEach(function(e){e.checked=!1});var r=sessionStorage.getItem("homeConfig");if(r){r=JSON.parse(r),e.instrument.config.forEach(function(e){e.index==r.config?e.checked=!0:e.checked=!1});var a=r.auxiliaries.split(",");e.instrument.auxiliaries.forEach(function(e){e.checked=!1,a.forEach(function(t){e.index==parseInt(t)&&(e.checked=!0)})}),sessionStorage.removeItem("homeConfig")}e.calcPrice()})},methods:{auxiliarie:function(e){this.instrument.auxiliaries[e].checked=!this.instrument.auxiliaries[e].checked,this.calcPrice()},instrumentF:function(e){for(var t=0;t26)&&(r.mClass=20160,r.rClass=this.result.classAmount);for(var a=this.instrument.config,i=0;i=2?y["a"].alert({title:"提示",message:"报名已截止,请联系教务老师",confirmButtonColor:"#269a93"}):e.$router.push({path:"register",query:{phone:e.dataList.phoneNumber,cityId:n.cityId,classId:n.classId,schoolId:n.schoolId,branchId:e.dataList.branchId}}):y["a"].alert({title:"提示",message:a.msg,confirmButtonColor:"#269a93"})})},statusList:function(e){var t;switch(e){case 0:t="报名中";break;case 1:t="缴费中";break}return t}}},A=q,B=(n("195e"),Object(l["a"])(A,w,M,!1,null,"15802eae",null)),j=B.exports;r["a"].use(v["a"]);var D=new v["a"]({base:"/",routes:[{path:"/",name:"login",component:j},{path:"/home",name:"home",component:E},{path:"/alipay",name:"alipay",component:function(){return n.e("chunk-3c8cb0e0").then(n.bind(null,"5e84"))}},{path:"/payment",name:"payment",component:function(){return n.e("chunk-fc3f7e80").then(n.bind(null,"2b6e"))}},{path:"/protocol",name:"protocol",component:function(){return Promise.resolve().then(n.bind(null,"345a"))}},{path:"/login",name:"login",component:j},{path:"/register",name:"register",component:function(){return n.e("chunk-986fe2ae").then(n.bind(null,"7803"))}}],scrollBehavior:function(){return{x:0,y:0}}}),T=n("b970");n("157a");r["a"].use(T["a"]),r["a"].config.productionTip=!1,new r["a"]({store:h,router:D,render:function(e){return e(f)}}).$mount("#app")},"5c48":function(e,t,n){},6204:function(e,t,n){"use strict";var r=n("cedb"),a=n.n(r);a.a},"7c55":function(e,t,n){"use strict";var r=n("5c48"),a=n.n(r);a.a},"7eba":function(e,t,n){"use strict";var r=n("faba"),a=n.n(r);a.a},ab46:function(e,t,n){e.exports=n.p+"img/cachet.221665cb.png"},cedb:function(e,t,n){},cf05:function(e,t,n){e.exports=n.p+"img/logo.a3831ddf.png"},faba:function(e,t,n){}}); //# sourceMappingURL=app.57bda2b9.js.map