12 |
- (function(e){function t(t){for(var n,a,s=t[0],o=t[1],u=t[2],l=0,d=[];l<s.length;l++)a=s[l],i[a]&&d.push(i[a][0]),i[a]=0;for(n in o)Object.prototype.hasOwnProperty.call(o,n)&&(e[n]=o[n]);m&&m(t);while(d.length)d.shift()();return c.push.apply(c,u||[]),r()}function r(){for(var e,t=0;t<c.length;t++){for(var r=c[t],n=!0,a=1;a<r.length;a++){var s=r[a];0!==i[s]&&(n=!1)}n&&(c.splice(t--,1),e=o(o.s=r[0]))}return e}var n={},a={app:0},i={app:0},c=[];function s(e){return o.p+"js/"+({}[e]||e)+"."+{"chunk-3c8cb0e0":"f49fbeb4","chunk-618edccf":"271d087c","chunk-8caa900e":"8fda8697"}[e]+".js"}function o(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,o),r.l=!0,r.exports}o.e=function(e){var t=[],r={"chunk-3c8cb0e0":1,"chunk-618edccf":1,"chunk-8caa900e":1};a[e]?t.push(a[e]):0!==a[e]&&r[e]&&t.push(a[e]=new Promise(function(t,r){for(var n="css/"+({}[e]||e)+"."+{"chunk-3c8cb0e0":"ff7e01af","chunk-618edccf":"6559479a","chunk-8caa900e":"10619da1"}[e]+".css",i=o.p+n,c=document.getElementsByTagName("link"),s=0;s<c.length;s++){var u=c[s],l=u.getAttribute("data-href")||u.getAttribute("href");if("stylesheet"===u.rel&&(l===n||l===i))return t()}var d=document.getElementsByTagName("style");for(s=0;s<d.length;s++){u=d[s],l=u.getAttribute("data-href");if(l===n||l===i)return t()}var m=document.createElement("link");m.rel="stylesheet",m.type="text/css",m.onload=t,m.onerror=function(t){var n=t&&t.target&&t.target.src||i,c=new Error("Loading CSS chunk "+e+" failed.\n("+n+")");c.code="CSS_CHUNK_LOAD_FAILED",c.request=n,delete a[e],m.parentNode.removeChild(m),r(c)},m.href=i;var f=document.getElementsByTagName("head")[0];f.appendChild(m)}).then(function(){a[e]=0}));var n=i[e];if(0!==n)if(n)t.push(n[2]);else{var c=new Promise(function(t,r){n=i[e]=[t,r]});t.push(n[2]=c);var u,l=document.createElement("script");l.charset="utf-8",l.timeout=120,o.nc&&l.setAttribute("nonce",o.nc),l.src=s(e),u=function(t){l.onerror=l.onload=null,clearTimeout(d);var r=i[e];if(0!==r){if(r){var n=t&&("load"===t.type?"missing":t.type),a=t&&t.target&&t.target.src,c=new Error("Loading chunk "+e+" failed.\n("+n+": "+a+")");c.type=n,c.request=a,r[1](c)}i[e]=void 0}};var d=setTimeout(function(){u({type:"timeout",target:l})},12e4);l.onerror=l.onload=u,document.head.appendChild(l)}return Promise.all(t)},o.m=e,o.c=n,o.d=function(e,t,r){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},o.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(o.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)o.d(r,n,function(t){return e[t]}.bind(null,n));return r},o.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="/",o.oe=function(e){throw console.error(e),e};var u=window["webpackJsonp"]=window["webpackJsonp"]||[],l=u.push.bind(u);u.push=t,u=u.slice();for(var d=0;d<u.length;d++)t(u[d]);var m=l;c.push([0,"chunk-vendors"]),r()})({0:function(e,t,r){e.exports=r("56d7")},1777:function(e,t,r){"use strict";var n=r("f4bd"),a=r.n(n);a.a},"345a":function(e,t,r){"use strict";r.r(t);var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"protocol"},[r("div",{staticClass:"container"},[r("h1",[e._v("《乐器借用协议》")]),e._v("\n 甲方:深圳大雅乐盟网络教育股份有限公司 "),r("br"),r("div",{staticStyle:{display:"flex"}},[e._v("乙方:\n "),r("div",{staticStyle:{flex:"1 auto"}},[r("div",{staticClass:"iInfo"},[r("span",[e._v("家长姓名 "+e._s(e.proto.patriarchName))]),r("span",[e._v("电话:"+e._s(e.proto.patriarchPhone))])]),r("div",{staticClass:"iInfo"},[r("span",[e._v("学生姓名:"+e._s(e.proto.stuName))]),r("span",[e._v("所在班级:"+e._s(e.proto.grade))])]),r("div",{staticClass:"iInfo"},[r("span",[e._v("所在声部:"+e._s(e.proto.subName))])])])]),e._v(" \t \n \n 为了促进学校乐团健康、持续发展,让更多的学生在校园拥有良好的器乐学习机会,甲方基于公益普惠的原则,决定提供价值****元的KEY品牌全新乐器供乙方在学校乐团期间免费使用。现根据《中华人民共和国合同法》等法律法规规定,为明确甲乙双方权利义务,经协商一致,就乙方借用乐器事宜达成如下协议:\n "),r("h2",[e._v("一、甲方权利与义务:")]),e._v("\n 1、乙方所借用的乐器为甲方资产,乐器所有权归属甲方所有,甲方有权在必要时向乙方收回借用乐器并退还押金。"),r("br"),e._v("\n 2、甲方所提供乐器为全新的KEY品牌乐器。在乙方签订本协议、交纳乐器使用押金后,甲方即将乐器交付给乙方供其在学校乐团期间免费使用。"),r("br"),e._v("\n 3、乙方归还乐器时,双方当面当场验收,经甲方维修技师检验确认乐器无人为损坏、可正常使用后,甲方在七个工作日内全额不计息退还乙方已交纳的押金。"),r("br"),e._v("\n 4、如乙方已购买甲方乐器保养服务,甲方需在乙方借用期间协助乙方处理乐器维修和保养问题。\n "),r("h2",[e._v("二、乙方权利与义务:")]),e._v("\n 1、乙方在签订本协议、交纳乐器使用押金¥800元(大写人民币捌佰元整)后,享有所借用乐器在学校乐团期间的免费使用权。乙方应当爱惜乐器并妥善保管,不得将该乐器转租、借用、出售、典当、质押或抵押,也不得将乐器交于非专业人士使用。乐器借用政策,每位团员仅可享受一次,退团后再次加入乐团的,将无法享受乐器借用政策。"),r("br"),e._v("\n 2、乐器日常维护由乙方自行完成,每次练习完毕后需按老师要求对乐器进行擦拭并装箱保管。如因人为原因(包括但不限于磕、碰、摔等)造成乐器损坏的,乙方需自行承担维修费用;如因非甲方原因导致乐器无法正常使用(正常使用磨损除外)或乐器毁损、灭失、遗失的,乙方须按本协议中明示的乐器团购价格进行赔付。"),r("br"),e._v("\n 3、当乙方决定不再继续乐团学习时,应在退团之日起1日内将其借用的乐器归还甲方,双方当面当场验收,经甲方维修技师检验确认乐器无人为损坏、可正常使用后,乙方可按照本协议约定获得已交纳的押金;经甲方维修技师检验,乐器存在损坏的,乙方应承担相应的维修费用,如乐器已经无法正常使用的,乙方须按本协议中明示的乐器团购价格进行赔付,甲方有权从应退还乙方的押金中先行扣除维修费用、赔付费用,如甲方扣除押金后仍然不足以弥补维修费用、赔付费用的,甲方有权继续要求乙方支付剩余费用。"),r("br"),e._v("\n 4、乙方终止乐团学习2个月内,仍未将乐器归还给甲方的,则视为乙方违约,乙方所交押金甲方有权不予退还,同时乙方须按乐器团购价格进行赔付。\n "),r("h2",[e._v("三、乐器标准:")]),r("div",{staticClass:"iInfo"},[r("span",[e._v("名称:"+e._s(e.proto.voicyPart))]),r("span",[e._v("品牌:key")])]),r("div",{staticClass:"iInfo"},[r("span",[e._v("型号:"+e._s(e.proto.name))]),r("span",[e._v("团购价格:¥"+e._s(e.proto.referencePrice))])]),r("h2",[e._v("四、违约责任")]),e._v(" \n 1、当事人一方不履行合同义务或者履行合同义务不符合约定的,均构成违约,守约方有权以书面通知的方式要求违约方纠正其违约行为并采取及时、有效的补救措施消除违约后果,并赔偿守约方因违约方之违约行为而遭致的损失。若违约方在收到守约方的上述通知后5日内未纠正其违约行为的,守约方有权在做出书面通知的情况下,单方解除本协议,违约方应赔偿守约方因此遭致的全部损失。"),r("br"),e._v("\n 2、乙方应始终维护甲方的知识产权以及品牌形象,本协议期间以及本协议因任何原因失效、被撤销、解除或终止后,均不得直接或间接通过任何公众媒体(包括但不限于传统大众媒体,以及微信、微博、博客、直播平台等社交平台)发表损害甲方(包括但不限于其产品、服务或甲方授课老师)声誉的言论或实施任何类似行为,否则乙方应赔偿甲方因此遭受的全部损失。\n "),r("h2",[e._v("五、保密条款")]),e._v("\n 1、双方对本协议的条款、本协议的签订及履行情况以及通过签订和履行本协议而获知的对方及对方关联公司的任何信息均负有保密义务。任何一方不得以任何形式透露给第三方(有关法律法规要求和甲乙双方的法律、会计顾问、授权雇员除外),也不得擅自使用。\n 2、本保密义务期限不受本协议期限的限制。本协议失效、被撤销、解除或终止等任何情况下,双方均应遵守本保密义务。\n "),r("h2",[e._v("六、不可抗力")]),e._v("\n 1、一方遇到不可抗力事件(指甲乙双方无法控制、无法预见或即使预见也无法避免的事件,该事件妨碍、影响或延误任何一方履行本协议的全部或部分义务,该事件包括但不限于自然灾害(如水灾、地震等)、火灾、政府行为、法律或政策变化(含学校合作变化)、战争或其他任何类似事件)时,受影响方应当立即书面通知对方,并告知该不可抗力事件对本协议可能产生的影响,并在该不可抗力事件发生后5日内向对方提供该事件的详细信息及由有关机构出具的解释受影响方因此无法履行本协议项下全部或部分义务的相关证明。"),r("br"),e._v("\n 2、由于上述不可抗力事件致使受影响方无法履行或无法按时履行本协议项下全部或部分义务的,双方于彼此间均不承担违约责任,但双方应在相互信任的基础上协商解决,尽力减少不可抗力事件对本协议的影响,并采取合理方式进行调整(包括但不限于另行签订补充协议等),尽量避免损失的扩大。"),r("br"),e._v("\n 3、不可抗力事件消失或结束后,除双方另行协商一致外,受到不可抗力影响的一方应当立即采取措施继续履行本协议,如不可抗力事件持续30日以上的,则任何一方有权以书面通知对方的方式单方解除本协议。\n "),r("h2",[e._v("七、适用法律及争议解决方式")]),e._v("\n 1、本协议的订立、效力、履行、解释及争议解决均适用中华人民共和国法律。"),r("br"),e._v("\n 2、因履行本协议发生的一切争议,甲乙双方应友好协商解决;如双方在发生争议后30日内无法通过协商解决时,任何一方有权向甲方所在地有管辖权的人民法院提起诉讼解决。\n "),r("h2",[e._v("八、其他")]),e._v("\n 1、本协议自双方按照本协议约定方式签署之日起生效,有效期至双方履行完本协议约定的全部义务时止。"),r("br"),e._v("\n 2、双方确认并同意,本协议的电子版本与纸质版本具有同等法律效力。双方发生争议时,电子合同打印件可作为证据提交。双方通过网络以在线方式签订本协议的 ,则以乙方点击“确认”或“同意”等相关按钮或以电子签名的方式作为对合同内容的同意、确认以及本协议的签署;如双方签订纸质版本协议的,则本协议壹式贰份,甲方盖公章或合同专用章并且乙方签字作为有效签署方式,并且双方各执壹份,每份具有同等法律效力。"),r("br"),e._v("\n 3、本协议未尽事宜或对本协议的任何修改、补充,由双方另行协商后以签订补充协议的方式解决,补充协议与本协议具有同等法律效力;双方没有约定也没有协商一致的,遵照相关法律法规规定执行。"),r("br"),e._v("\n 4、双方因履行本协议而相互发出或者提供的所有通知、文件、资料,均以本协议中所列明的电话、APP推送消息送达,乙方如果变更电话号码的,应当自变更后1日内通知甲方且获得甲方确认,甲方通过电话、APP方式无法联系乙方或者甲方认为必要时,甲方也可以通过特快专递至乙方住址的方式向乙方发出上述任何通知、文件、资料等,并在甲方寄出特快专递后第5日视为送达成功。\n\n\n "),e._m(0),r("div",{staticClass:"btnback",on:{click:e.goBack}},[e._v("我同意")])])])},a=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"signature"},[n("span",[e._v("甲方签章 "),n("img",{staticClass:"cachet",attrs:{src:r("ab46"),alt:""}})]),n("span",[e._v("乙方签字:")])])}],i={name:"protocol",props:["proto"],data:function(){return{}},mounted:function(){console.log(!0),window.scroll(0,0)},methods:{goBack:function(){this.$emit("popupClose",!1)}}},c=i,s=(r("c357"),r("2877")),o=Object(s["a"])(c,n,a,!1,null,"e6a7b85e",null);t["default"]=o.exports},"4a55":function(e,t,r){},"56d7":function(e,t,r){"use strict";r.r(t);r("cadf"),r("551c"),r("f751"),r("097d");var n=r("2b0e"),a=r("bc3a"),i=r.n(a),c={baseURL:"/api"},s=i.a.create(c);s.interceptors.request.use(function(e){return e},function(e){return Promise.reject(e)}),s.interceptors.response.use(function(e){return e},function(e){return Promise.reject(e)}),Plugin.install=function(e){e.axios=s,window.axios=s,Object.defineProperties(e.prototype,{axios:{get:function(){return s}},$axios:{get:function(){return s}}})},n["a"].use(Plugin);Plugin;var o=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{attrs:{id:"app"}},[r("router-view")],1)},u=[],l=(r("7c55"),r("2877")),d={},m=Object(l["a"])(d,o,u,!1,null,null,null),f=m.exports,p=r("2f62");n["a"].use(p["a"]);var h=new p["a"].Store({state:{},mutations:{},actions:{}}),v=r("8c4f"),_=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"home"},[r("header",[e._v("乐团注册")]),r("div",{staticClass:"section"},[r("h2",{staticClass:"title line_bottom"},[e._v("课程")]),e.result.payMethod>=26?r("p",{key:"indate-price",staticClass:"indate"},[r("span",[e._v("现价:¥"+e._s(e.result.classAmount))])]):e._e(),e.result.payMethod>=26?r("div",{key:"class-list",staticClass:"options"},[e._m(0),e._m(1),e._m(2),e._m(3)]):r("div",{key:"class-list",staticClass:"options"},[r("div",{staticClass:"option"},[e._m(4),r("div",{staticClass:"o_bd"},[e._v("乐团课")]),21==e.result.payMethod||25==e.result.payMethod?r("span",{key:"class-price",staticClass:"o_ft"},[r("del",[e._v("原价:¥23520")]),e._v(" 现价:免费\n ")]):r("span",{key:"class-price",staticClass:"o_ft"},[r("del",[e._v("原价:¥23520")]),e._v(" 现价:¥"+e._s(e.result.classAmount)+"\n ")])])]),e.result.payMethod>=26?r("div",{staticClass:"coutInfo"},[r("i",{staticClass:"trumpet_icon"}),e._v("年度安排十个月训练,共计168课时,120元/课时,原价20160元,现仅支付"+e._s(e.result.classAmount)+"元/月(约合34.5元/课时) \n ")]):e._e()]),r("div",{staticClass:"section"},[r("h2",{staticClass:"title line_bottom"},[e._v("乐器")]),21==e.result.payMethod||22==e.result.payMethod||e.result.payMethod>26||25==e.result.payMethod&&1==e.result.isCopperPipe?r("div",{staticClass:"options"},e._l(e.instrument.config,function(t,n){return r("div",{key:t.name,class:[e.instrument.config.length>1?"oc":""],on:{click:function(t){return e.instrumentF(n)}}},[r("div",{staticClass:"option"},[r("div",{staticClass:"o_"},[r("i",{staticClass:"check_default",class:[t.checked?"check_active":""]})]),t.marketPrice>0?r("div",{key:"name",staticClass:"o_bd"},[e._v(e._s(e.instrument.name)+"-"),r("span",{staticClass:"c"},[e._v(e._s(t.name)+" ")])]):r("div",{key:"name",staticClass:"o_bd"},[e._v(e._s(t.name))]),t.marketPrice>0?r("span",{staticClass:"o_ft"},[r("del",[e._v("原价:¥"+e._s(t.marketPrice))]),e._v(" 现价:¥"+e._s(t.referencePrice)+"\n ")]):e._e()]),t.marketPrice>0?r("div",{staticClass:"configuration"},[r("div",{staticClass:"config"},[e._m(5,!0),r("div",{staticClass:"content"},[r("p",[e._v(e._s(e.instrument.configuration)+" "+e._s(t.texture))])])])]):e._e()])}),0):e._e(),25==e.result.payMethod&&0==e.result.isCopperPipe||26==e.result.payMethod?r("div",{staticClass:"options"},[e._l(e.instrument.config,function(t){return r("div",{key:t.name,staticClass:"oc",on:{click:function(r){return e.instrumentF2("default",t)}}},[t.default?r("div",{staticClass:"option"},[r("div",{staticClass:"o_"},[r("i",{staticClass:"check_default",class:[t.checked?"check_active":""]})]),r("div",{staticClass:"o_bd"},[e._v(e._s(e.instrument.name)+"-"),r("span",{staticClass:"c"},[e._v(e._s(t.name)+" ")])]),25==e.result.payMethod?r("span",{staticClass:"o_ft"},[r("del",[e._v("原价:¥"+e._s(t.marketPrice))]),e._v(" 免费试用\n ")]):e._e(),"26"==e.result.payMethod?r("span",{staticClass:"o_ft"},[r("del",[e._v("原价:¥"+e._s(t.marketPrice))]),e._v(" 押金:¥800\n ")]):e._e()]):e._e(),t.default?r("div",{staticClass:"configuration"},[r("div",{staticClass:"config"},[e._m(6,!0),r("div",{staticClass:"content"},[r("p",[e._v(e._s(e.instrument.configuration)+" "+e._s(t.texture))])])])]):e._e()])}),e._l(e.instrument.config,function(t){return r("div",{key:t.marketPrice,on:{click:function(r){return e.instrumentF2("self",t)}}},[t.marketPrice<=0?r("div",{staticClass:"option"},[r("div",{staticClass:"o_"},[r("i",{staticClass:"check_default",class:[t.checked?"check_active":""]})]),r("div",{staticClass:"o_bd"},[e._v(e._s(t.name)+"\n ")])]):e._e()])})],2):e._e()]),r("div",{staticClass:"section"},[r("h2",{staticClass:"title line_bottom"},[e._v("辅件")]),e._l(e.instrument.auxiliaries,function(t,n){return r("div",{key:t.name,staticClass:"options",on:{click:function(t){return e.auxiliarie(n)}}},[r("div",{staticClass:"option"},[r("div",{staticClass:"o_hd"},[r("i",{staticClass:"check_default",class:[t.checked?"check_active":""]})]),r("div",{staticClass:"o_bd"},[e._v(e._s(t.name))]),r("span",{staticClass:"o_ft"},[r("del",[e._v("原价:¥"+e._s(t.marketPrice))]),e._v("\n "+e._s(0==t.referencePrice?"免费":"现价:¥"+t.referencePrice)+"\n ")])])])})],2),r("div",{staticClass:"section"},[r("h2",{staticClass:"title line_bottom"},[e._v("其它")]),e._l(e.baseInfo.other,function(t){return r("div",{key:t.name,staticClass:"options"},[r("div",{staticClass:"option"},[e._m(7,!0),r("div",{staticClass:"o_bd"},[e._v(e._s(t.name))]),r("span",{staticClass:"o_ft"},[r("del",[e._v("原价:¥"+e._s(t.marketPrice))]),e._v(" \n "+e._s(0==t.referencePrice?"免费":"现价:¥"+t.referencePrice)+"\n ")])])])})],2),r("div",{staticClass:"buy"},[r("div",{staticClass:"price"},[r("p",{staticClass:"oldprice"},[r("del",{staticClass:"text"},[e._v("原价")]),r("del",[e._v("¥"+e._s(e.orderInfo.marketPrice))])]),r("p",{staticClass:"now_price"},[r("span",{staticClass:"text"},[e._v("仅需支付")]),r("span",[e._v("¥"+e._s(e.orderInfo.referencePrice))])])]),r("a",{on:{click:e.buy}},[e._v("购买")])]),r("van-popup",{attrs:{id:"protocolPopup",position:"bottom"},model:{value:e.popupStatus,callback:function(t){e.popupStatus=t},expression:"popupStatus"}},[r("protocol",{attrs:{proto:e.protocolData},on:{popupClose:e.onPopupClose}})],1)],1)},k=[function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"option"},[r("div",{staticClass:"0_hd"},[r("i",{staticClass:"check_default check_active"})]),r("div",{staticClass:"o_bd"},[e._v("乐团声部训练")])])},function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"option"},[r("div",{staticClass:"0_hd"},[r("i",{staticClass:"check_default check_active"})]),r("div",{staticClass:"o_bd"},[e._v("乐团合奏训练")])])},function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"option"},[r("div",{staticClass:"0_hd"},[r("i",{staticClass:"check_default check_active"})]),r("div",{staticClass:"o_bd"},[e._v("基础技能训练")])])},function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"option"},[r("div",{staticClass:"0_hd"},[r("i",{staticClass:"check_default check_active"})]),r("div",{staticClass:"o_bd"},[e._v("假期集中训练")])])},function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"0_hd"},[r("i",{staticClass:"check_default check_active"})])},function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"title"},[r("span",[e._v("参数")])])},function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"title"},[r("span",[e._v("参数")])])},function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"o_hd"},[r("i",{staticClass:"check_default check_active"})])}],P=(r("7f7f"),r("ac6a"),r("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:!1,index:1},{name:"谱架",marketPrice:80,referencePrice:65,checked:!1,index:2},{name:"乐器维护",marketPrice:480,referencePrice:300,checked:!1,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:!1,referencePrice:95},{index:2,name:"谱架",marketPrice:80,checked:!1,referencePrice:65},{index:4,name:"软木膏",marketPrice:30,checked:!1,referencePrice:25},{index:5,name:"哨片",marketPrice:150,checked:!1,referencePrice:120},{index:8,name:"乐器维护",marketPrice:480,checked:!1,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:!1,referencePrice:95},{index:2,name:"谱架",marketPrice:80,checked:!1,referencePrice:65},{index:4,name:"软木膏",marketPrice:30,checked:!1,referencePrice:25},{index:5,name:"哨片",marketPrice:150,checked:!1,referencePrice:120},{index:8,name:"乐器维护",marketPrice:480,checked:!1,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:!1,referencePrice:95},{index:2,name:"谱架",marketPrice:80,checked:!1,referencePrice:65},{index:3,name:"活塞油",marketPrice:30,checked:!1,referencePrice:25},{index:7,name:"调音管油",marketPrice:30,checked:!1,referencePrice:25},{index:8,name:"乐器维护",marketPrice:480,checked:!1,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:!1,referencePrice:95},{index:2,name:"谱架",marketPrice:80,checked:!1,referencePrice:65},{index:3,name:"活塞油",marketPrice:30,checked:!1,referencePrice:25},{index:6,name:"拉杆油",marketPrice:30,checked:!1,referencePrice:25},{index:8,name:"乐器维护",marketPrice:480,checked:!1,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:!1,referencePrice:95},{index:2,name:"谱架",marketPrice:80,checked:!1,referencePrice:65},{index:3,name:"活塞油",marketPrice:30,checked:!1,referencePrice:25},{index:7,name:"调音管油",marketPrice:30,checked:!1,referencePrice:25},{index:8,name:"乐器维护",marketPrice:480,checked:!1,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:!1,referencePrice:95},{index:2,name:"谱架",marketPrice:80,checked:!1,referencePrice:65},{index:3,name:"活塞油",marketPrice:30,checked:!1,referencePrice:25},{index:7,name:"调音管油",marketPrice:30,checked:!1,referencePrice:25},{index:8,name:"乐器维护",marketPrice:480,checked:!1,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:!1,referencePrice:95},{index:2,name:"谱架",marketPrice:80,checked:!1,referencePrice:65}]}}),C={other:[{name:"教材",marketPrice:7680,referencePrice:0},{name:"乐谱",marketPrice:7680,referencePrice:0}]},b=r("4328"),g=r.n(b),x=r("345a"),y=r("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",g.a.stringify({stuId:this.$route.query.stuId})).then(function(t){var r=t.data.data;e.result={payMethod:r.fee_type_,subName:r.sub_name_,grade:r.grade_,voicyPart:r.sub_name_.split(".")[1],isCopperPipe:r.isCopperPipe,patriarchName:r.patriarch_name_,patriarchPhone:r.patriarch_phone_,stuName:r.name_,stuClass:r.g_class_,classAmount:r.fee_amount_,course_id:r.course_id_},e.instrument=P[e.cnToEn(e.result.voicyPart)],25!=r.fee_type_&&26!=r.fee_type_||e.instrument.config.forEach(function(e){e.checked=!1}),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;t<this.instrument.config.length;t++)this.instrument.config[t].checked=!1;this.instrument.config[e].checked=!0,this.calcPrice()},instrumentF2:function(e,t){25!=this.result.payMethod&&26!=this.result.payMethod||t.checked||"自备"==t.name||this.protocol();for(var r=0;r<this.instrument.config.length;r++)this.instrument.config[r].checked=!1,"default"==e&&1==this.instrument.config[r].default&&(this.instrument.config[r].checked=!0),"self"==e&&"自备"==this.instrument.config[r].name&&(this.instrument.config[r].checked=!0);this.calcPrice()},buy:function(){var e=this,t=this.$route.query,r={branchId:t.branchId,userId:t.stuId,amount:this.orderInfo.referencePrice,courseId:this.result.course_id,classId:t.classId},n=this.orderInfo.instrumentIndex;n&&99!=n&&0!=n&&(r.instrument=n),this.orderInfo.auxiliarie&&(r.adjunct=this.orderInfo.auxiliarie),axios.post("/yqpay/toPay",g.a.stringify(r)).then(function(t){var r=t.data;console.log(r.data),r.data?(e.form=r.data,e.onSubmit()):y["a"].alert({title:"提示",message:r.msg})})},onSubmit:function(){var e=this.form;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()},protocol:function(){for(var e=this.result,t={patriarchName:e.patriarchName,patriarchPhone:e.patriarchPhone,stuName:e.stuName,grade:e.grade,subName:e.subName,voicyPart:e.voicyPart,payMethod:e.payMethod,isCopperPipe:e.isCopperPipe},r=this.instrument.config,n=0;n<r.length;n++)r[n].default&&(t.name=r[n].name,t.referencePrice=r[n].referencePrice,t.marketPrice=r[n].marketPrice);this.protocolData=t,this.popupStatus=!0},cnToEn:function(e){var t={"长笛":"flute","单簧管":"clarinet","萨克斯管":"saxophone","小号":"trumpet","长号":"trombone","圆号":"horn","上低音号":"upperBass","小军鼓":"snareDrum"};return t[e]},calcPrice:function(){var e,t,r=this.result.payMethod,n={mClass:0,rClass:0,mInstrument:0,rInstrument:0,mAuxiliarie:0,rAuxiliarie:0,mOther:0,rOther:0};21!=r&&25!=r||(n.mClass=23520,n.rClass=0),22==r&&(n.mClass=23520,n.rClass=this.result.classAmount),(26==r||r>26)&&(n.mClass=20160,n.rClass=this.result.classAmount);for(var a=this.instrument.config,i=0;i<a.length;i++)a[i].checked&&(n.mInstrument=parseInt(a[i].marketPrice),t=a[i].index,0==a[i].marketPrice?n.rInstrument=0:25==r?1==this.result.isCopperPipe?n.rInstrument=parseInt(a[i].referencePrice):(n.rInstrument=0,t=99):n.rInstrument=26==r?800:parseInt(a[i].referencePrice));for(var c=this.instrument.auxiliaries,s=0;s<c.length;s++)c[s].checked&&(n.mAuxiliarie+=parseInt(c[s].marketPrice),n.rAuxiliarie+=parseInt(c[s].referencePrice),e?e+=","+c[s].index:e=c[s].index);for(var o=this.baseInfo.other,u=0;u<o.length;u++)n.mOther+=o[u].marketPrice,n.rOther+=o[u].referencePrice;this.orderInfo={marketPrice:parseInt(n.mClass+n.mInstrument+n.mAuxiliarie+n.mOther),referencePrice:parseInt(n.rClass+n.rInstrument+n.rAuxiliarie+n.rOther),auxiliarie:e,instrumentIndex:t}},onPopupClose:function(e){document.querySelector("#protocolPopup").scroll(0,0),this.popupStatus=!1}}},S=I,N=(r("1777"),Object(l["a"])(S,_,k,!1,null,"b520f3d6",null)),E=N.exports,w=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"login"},[e._m(0),r("div",{staticClass:"bandSection"},[r("div",{staticClass:"school"},[e._v("\n "+e._s(e.dataList.schoolName)+"\n ")]),r("div",{staticClass:"phoneSection"},[r("i",{staticClass:"man_icon"}),r("input",{directives:[{name:"model",rawName:"v-model",value:e.dataList.phoneNumber,expression:"dataList.phoneNumber"}],staticClass:"phone",attrs:{type:"number",pattern:"[0-9]",placeholder:"请输入手机号报名或查询进度"},domProps:{value:e.dataList.phoneNumber},on:{input:function(t){t.target.composing||e.$set(e.dataList,"phoneNumber",t.target.value)}}})])]),r("div",{staticClass:"btn-group"},[r("van-button",{staticClass:"btn",attrs:{size:"large"},on:{click:e.onSubmit}},[e._v("报名 / 查询进度")])],1),r("van-popup",{staticClass:"popup",model:{value:e.popupStatus,callback:function(t){e.popupStatus=t},expression:"popupStatus"}},[r("div",{staticClass:"pContainer"},[r("i",{staticClass:"message_icon"}),r("div",{staticClass:"content"},[r("p",{staticClass:"status"},[e._v(e._s(e.statusList(e.popupText)))]),0==e.popupText?r("p",{staticClass:"dec"},[e._v("请您耐心等待")]):e._e()])]),r("div",{staticClass:"pGroup"},[r("van-button",{staticClass:"button",on:{click:function(t){e.popupStatus=!1}}},[e._v("取消")]),r("van-button",{staticClass:"button",on:{click:function(t){e.popupStatus=!1}}},[e._v("确定")])],1)])],1)},$=[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"logo"},[n("img",{attrs:{src:r("cf05"),alt:""}})])}],M=r("b650"),O=r("e41f"),q=r("d399"),A={name:"login",components:{Button:M["a"],Popup:O["a"],Toast:q["a"],Dialog:y["a"]},data:function(){return{popupStatus:!1,popupText:"",dataList:{schoolName:"",phoneNumber:"",branchId:""}}},mounted:function(){var e=this,t=this.$route.query,r={clazzId:t.classId,schoolId:t.schoolId};axios.post("/user/getClassDetail",g.a.stringify(r)).then(function(t){var r=t.data;e.dataList.schoolName=r.data.name,e.dataList.branchId=r.data.branchId})},methods:{onSubmit:function(){var e=this;if(!/^1(3|4|5|6|7|8|9)\d{9}$/.test(this.dataList.phoneNumber))return Object(q["a"])("手机号输入有误"),!1;var t=this.$route.query;axios.get("/user/getUserDetailByPhone?clazzId=".concat(t.classId,"&phone=").concat(this.dataList.phoneNumber)).then(function(r){var n=r.data;n.status?n.data?1==parseInt(n.data.pushStatus)?y["a"].alert({title:"提示",message:"恭喜您,报名成功"}):2==parseInt(n.data.pushStatus)&&0==parseInt(n.data.status)&&e.$router.push({path:"home",query:{branchId:n.data.branchId,stuId:n.data.id,classId:n.data.classId}}):e.$router.push({path:"register",query:{phone:e.dataList.phoneNumber,cityId:t.cityId,classId:t.classId,schoolId:t.schoolId,branchId:e.dataList.branchId}}):y["a"].alert({title:"提示",message:n.msg})})},statusList:function(e){var t;switch(e){case 0:t="报名中";break;case 1:t="缴费中";break}return t}}},j=A,L=(r("de9a"),Object(l["a"])(j,w,$,!1,null,"5d657917",null)),T=L.exports;n["a"].use(v["a"]);var B=new v["a"]({mode:"history",base:"/",routes:[{path:"/",name:"login",component:T},{path:"/home",name:"home",component:E},{path:"/alipay",name:"alipay",component:function(){return r.e("chunk-3c8cb0e0").then(r.bind(null,"5e84"))}},{path:"/payment",name:"payment",component:function(){return r.e("chunk-618edccf").then(r.bind(null,"2b6e"))}},{path:"/protocol",name:"protocol",component:function(){return Promise.resolve().then(r.bind(null,"345a"))}},{path:"/login",name:"login",component:T},{path:"/register",name:"register",component:function(){return r.e("chunk-8caa900e").then(r.bind(null,"7803"))}}],scrollBehavior:function(){return{x:0,y:0}}}),D=r("b970");r("157a");n["a"].use(D["a"]),n["a"].config.productionTip=!1,new n["a"]({store:h,router:B,render:function(e){return e(f)}}).$mount("#app")},"5c48":function(e,t,r){},"7c55":function(e,t,r){"use strict";var n=r("5c48"),a=r.n(n);a.a},ab46:function(e,t,r){e.exports=r.p+"img/cachet.221665cb.png"},c1f7:function(e,t,r){},c357:function(e,t,r){"use strict";var n=r("4a55"),a=r.n(n);a.a},cf05:function(e,t,r){e.exports=r.p+"img/logo.2e9164b9.png"},de9a:function(e,t,r){"use strict";var n=r("c1f7"),a=r.n(n);a.a},f4bd:function(e,t,r){}});
- //# sourceMappingURL=app.1b957136.js.map
|