12345 |
- <<<<<<<< HEAD:dist/assets/index-legacy.5d92e433.js
- !function(){function e(e,n){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n&&(t=t.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),r.push.apply(r,t)}return r}function n(n){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?e(Object(a),!0).forEach((function(e){r(n,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(a)):e(Object(a)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(a,e))}))}return n}function r(e,n,r){return n in e?Object.defineProperty(e,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[n]=r,e}function t(e,n,r,t,a,o,i){try{var c=e[o](i),p=c.value}catch(s){return void r(s)}c.done?n(p):Promise.resolve(p).then(t,a)}function a(e){return function(){var n=this,r=arguments;return new Promise((function(a,o){var i=e.apply(n,r);function c(e){t(i,a,o,c,p,"next",e)}function p(e){t(i,a,o,c,p,"throw",e)}c(void 0)}))}}var o=document.createElement("style");o.innerHTML='._bindWeChat_h1af0_1{overflow:hidden;text-align:center}._bindWeChat_h1af0_1 ._largeLogo_h1af0_5{width:2.77333rem;height:2.77333rem;background:#fff6e4;border-radius:1.38667rem;display:block;margin:1.44rem auto .37333rem}._bindWeChat_h1af0_1 ._smallLogo_h1af0_13{display:block;margin:0 auto;height:.88rem;width:2.69333rem}._bindWeChat_h1af0_1 ._tips_h1af0_19{font-size:.42667rem;color:#777;line-height:.58667rem;padding-top:2.29333rem;padding-bottom:.53333rem}._bindWeChat_h1af0_1 ._phone_h1af0_26{font-size:.53333rem;font-weight:500;color:#333;line-height:.74667rem}._bindWeChat_h1af0_1 ._btnGroup_h1af0_32{padding:4.48rem 1.70667rem .85333rem}._bindWeChat_h1af0_1 ._wxPopupDialog_h1af0_35{overflow:initial}._bindWeChat_h1af0_1 ._wxPopupDialog_h1af0_35:before{position:absolute;content:" ";top:-1.94667rem;left:50%;margin-left:-2.29333rem;display:inline-block;background:url(./assets/wx-no-top.562db7f2.png) no-repeat top center;background-size:contain;width:4.58667rem;height:4.10667rem}._bindWeChat_h1af0_1 ._popupContainer_h1af0_50{background:url(./assets/wx-no-bg.f12a4a6d.png) no-repeat top center;background-size:cover;border-radius:.53333rem;overflow:hidden}._bindWeChat_h1af0_1 ._popupContainer_h1af0_50 ._title1_h1af0_56{padding-top:1.52rem;text-align:center;font-size:.48rem;font-weight:500;color:#3b2300}._bindWeChat_h1af0_1 ._popupContainer_h1af0_50 ._popupTips_h1af0_63{padding-top:.32rem;padding-bottom:1.25333rem;text-align:center;font-size:.4rem;color:#777;line-height:.56rem}\n',document.head.appendChild(o),System.register(["./index-legacy.48c8d62c.js","./index-legacy.c75fe8a2.js","./index-legacy.0e0de364.js"],(function(e){"use strict";var r,t,o,i,c,p,s,u,f,h,d,l,b,m,g,w,y;return{setters:[function(e){r=e.d,t=e.aV,o=e.r,i=e.$,c=e.e,p=e.bh,s=e.m,u=e.f,f=e.ah,h=e.c,d=e.q,l=e.B,b=e.P,m=e.be,g=e.bf},function(e){w=e.q},function(e){y=e.I}],execute:function(){var A="_bindWeChat_h1af0_1",j="_largeLogo_h1af0_5",x="_smallLogo_h1af0_13",k="_tips_h1af0_19",v="_phone_h1af0_26",O="_btnGroup_h1af0_32",C="_wxPopupDialog_h1af0_35",E="_popupContainer_h1af0_50",_="_title1_h1af0_56",D="_popupTips_h1af0_63";e("default",r({name:"bind-wechat",setup:function(){var e=t();console.log(e.query);var r=o({showPopup:!1,code:"",phone:"",time:"",popupMessage:"请使用微信打开"}),M=function(){var e=a(regeneratorRuntime.mark((function e(n){var r,t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,s.get(u.platformApi+"/open/paramConfig/wechatAppId");case 3:r=e.sent,(t=r.data)&&(m(),g(t,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(n){return e.apply(this,arguments)}}(),R=function(){var e=a(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,s.post(u.platformApi+"/open/user/updateOpenId",{data:{clientType:u.platformType,code:r.code,phone:r.phone}});case 3:"STUDENT"===u.platformType?window.location.href="https://mp.weixin.qq.com/s?__biz=MzkxMDMwOTI5Nw==&mid=2247485362&idx=3&sn=9b265d36b5dabe7f9393fc679c367540&chksm=c12c256cf65bac7ae2a865435b950f6e1285afd226356db0ffde815b1ee345f29cfcdb798cc9#rd":"TEACHER"===u.platformType?window.location.href="https://mp.weixin.qq.com/s?__biz=MzkxMDMwOTI5Nw==&mid=2247485362&idx=2&sn=e3eaa3b85315535fcf4fd344c0a9b548&chksm=c12c256cf65bac7a898b0bce0d59f02ff924b6a0eabd9ba3fa67a87a0bdb98b916c328fe43f0#rd":"SCHOOL"===u.platformType&&(window.location.href="https://mp.weixin.qq.com/s?__biz=MzkxMDMwOTI5Nw==&mid=2247485362&idx=1&sn=b9081f35ec8a09897a6a14c2ff617b35&chksm=c12c256cf65bac7ae7ad2627454d296870483070b861729a40c2b9deda54b097e75be206b49f#rd"),e.next=8;break;case 6:e.prev=6,e.t0=e.catch(0);case 8:case"end":return e.stop()}}),e,null,[[0,6]])})));return function(){return e.apply(this,arguments)}}();return i(a(regeneratorRuntime.mark((function t(){var a,o,i,h,d,l,b;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(c().weixin){t.next=5;break}return r.showPopup=!0,t.abrupt("return");case 5:if(a=p()){t.next=13;break}return o=window.location.origin+window.location.pathname+"#"+e.path+"?"+w.stringify(n({},e.query)),t.next=10,M(o);case 10:return t.abrupt("return");case 13:r.code=a;case 14:if(t.prev=14,i=window.location.hash?window.location.hash.split("?")[1]:"",h=window.atob(decodeURIComponent(i)),d=w.parse(h),r.phone=d.phone,r.time=d.time,r.phone){t.next=24;break}return r.popupMessage="链接已失效",r.showPopup=!0,t.abrupt("return");case 24:t.next=28;break;case 26:t.prev=26,t.t0=t.catch(14);case 28:if(t.prev=28,!r.time){t.next=35;break}return t.next=32,s.get(u.platformApi+"/open/paramConfig/queryByParamName",{requestType:"form",params:{paramName:"qr_code_expire_hours"}});case 32:l=t.sent,b=l.data,f(Number(r.time)).add(b.paramValue,"hour").isBefore(f())&&(r.popupMessage="二维码已失效",r.showPopup=!0);case 35:t.next=39;break;case 37:t.prev=37,t.t1=t.catch(28);case 39:case"end":return t.stop()}}),t,null,[[14,26],[28,37]])})))),function(){return h("div",{class:A},[h(y,{class:j,src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANAAAADQCAMAAABBeh9GAAABUFBMVEUAAAD/+Of/+Oj/+en/+en/+Of/+Oj/+Of/9+f/9+j/+er/+ef/9ev//+P/+Of/+Oj/+Oj/9+j/9+f/+Of/9+j/+Oj/+Of/+Oj/+On/+ej/+uv/9uz/+Oj/9+f/+Of/9+f/9+f/9+j/9+b/9+j/9+f/9+j/+ej/++r/+uX/9ub/9+f/sIH/QwD/qXj/pHL/pnX/nGn/YCL/ZSj/XR7/q3r/om//rn7/Whv/rXz/oG3/VRX/YyX/aCv/lF//ekH/nmv/dz3/mGT/hU7/jFb/RgT/WBj/cDX/iFH/gUn/bjL/TAv/UBD/ay//kV3/cjj/UxL/jlj/fUT/mmb/lmH/ai3/dDr/ilP/kFr/g0v/Tg3/f0b/SAb/Sgj/6tT/mWX/9OP/59H/8N7/3ML/7dn/4cn/wZz/yqj/r4T/17v/07X/uJD/tIr/xKL/za//vJb/pHnpbta7AAAAKnRSTlMAiPFKEfeQ4sFbJxYMBO56deff18awgXBWNx8I9JjZ0s/KuqafZVM+Mu+Rur7pAAANnElEQVR42tTUh5GDMBSE4ScJkBDBIhoMznn7L/A6uLmg5K+Dndn5yZ1izg27Df1BNu8VWN+NPPTDjZl8LuijVPoxDl2Kb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yCcfmJvDnlsGCNyZN4hR2iIQ8aAWvUjZy7KdgkEnIqEbCsiMmhuIB9r5QcSV9wY2rJgXaCM2tVkmVltcIlOXKyiI8SrklmLRJnEj7IOiELklrCF52dybBzpuHVvHMyhu8z/CsePRnRPwoEYqkv9EeXekFQlsM1ol+KrofA0nwoxN7Rj3W7CKZpn5CCpRt905YyIRE+nT/HoYu+LFk3jM9c419Rc1ax+9Afk6bciLaySY79cGdVNitY8w4H5gxERzfDqAAAAABJRU5ErkJggg=="},null),h(y,{src:"./assets/icon-logo.39c9825e.png",class:x},null),h("p",{class:k},[d("同意管乐团获取您的微信信息")]),h("p",{class:v},[r.phone]),h("div",{class:O},[h(l,{type:"primary",size:"large",round:!0,onClick:R},{default:function(){return[d("确认授权")]}})]),h(b,{show:r.showPopup,"onUpdate:show":function(e){return r.showPopup=e},round:!0,style:{width:"88%",marginTop:"-6vh"},closeOnClickOverlay:!1,class:C},{default:function(){return[h("div",{class:E},[h("p",{class:_},[d("温馨提示")]),h("p",{class:D},[r.popupMessage])])]}})])}}}))}}}))}();
- ========
- !function(){function e(e,n){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(e);n&&(t=t.filter((function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable}))),r.push.apply(r,t)}return r}function n(n){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?e(Object(a),!0).forEach((function(e){r(n,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(a)):e(Object(a)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(a,e))}))}return n}function r(e,n,r){return n in e?Object.defineProperty(e,n,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[n]=r,e}function t(e,n,r,t,a,o,i){try{var c=e[o](i),p=c.value}catch(s){return void r(s)}c.done?n(p):Promise.resolve(p).then(t,a)}function a(e){return function(){var n=this,r=arguments;return new Promise((function(a,o){var i=e.apply(n,r);function c(e){t(i,a,o,c,p,"next",e)}function p(e){t(i,a,o,c,p,"throw",e)}c(void 0)}))}}var o=document.createElement("style");o.innerHTML='._bindWeChat_h1af0_1{overflow:hidden;text-align:center}._bindWeChat_h1af0_1 ._largeLogo_h1af0_5{width:2.77333rem;height:2.77333rem;background:#fff6e4;border-radius:1.38667rem;display:block;margin:1.44rem auto .37333rem}._bindWeChat_h1af0_1 ._smallLogo_h1af0_13{display:block;margin:0 auto;height:.88rem;width:2.69333rem}._bindWeChat_h1af0_1 ._tips_h1af0_19{font-size:.42667rem;color:#777;line-height:.58667rem;padding-top:2.29333rem;padding-bottom:.53333rem}._bindWeChat_h1af0_1 ._phone_h1af0_26{font-size:.53333rem;font-weight:500;color:#333;line-height:.74667rem}._bindWeChat_h1af0_1 ._btnGroup_h1af0_32{padding:4.48rem 1.70667rem .85333rem}._bindWeChat_h1af0_1 ._wxPopupDialog_h1af0_35{overflow:initial}._bindWeChat_h1af0_1 ._wxPopupDialog_h1af0_35:before{position:absolute;content:" ";top:-1.94667rem;left:50%;margin-left:-2.29333rem;display:inline-block;background:url(./assets/wx-no-top.562db7f2.png) no-repeat top center;background-size:contain;width:4.58667rem;height:4.10667rem}._bindWeChat_h1af0_1 ._popupContainer_h1af0_50{background:url(./assets/wx-no-bg.f12a4a6d.png) no-repeat top center;background-size:cover;border-radius:.53333rem;overflow:hidden}._bindWeChat_h1af0_1 ._popupContainer_h1af0_50 ._title1_h1af0_56{padding-top:1.52rem;text-align:center;font-size:.48rem;font-weight:500;color:#3b2300}._bindWeChat_h1af0_1 ._popupContainer_h1af0_50 ._popupTips_h1af0_63{padding-top:.32rem;padding-bottom:1.25333rem;text-align:center;font-size:.4rem;color:#777;line-height:.56rem}\n',document.head.appendChild(o),System.register(["./index-legacy.c1f63540.js","./index-legacy.c75fe8a2.js","./index-legacy.45d07924.js"],(function(e){"use strict";var r,t,o,i,c,p,s,u,f,h,d,l,b,m,g,w,y;return{setters:[function(e){r=e.d,t=e.ah,o=e.r,i=e.$,c=e.f,p=e.bm,s=e.m,u=e.g,f=e.ai,h=e.c,d=e.q,l=e.B,b=e.P,m=e.bj,g=e.bk},function(e){w=e.q},function(e){y=e.I}],execute:function(){var A="_bindWeChat_h1af0_1",j="_largeLogo_h1af0_5",x="_smallLogo_h1af0_13",k="_tips_h1af0_19",v="_phone_h1af0_26",O="_btnGroup_h1af0_32",C="_wxPopupDialog_h1af0_35",E="_popupContainer_h1af0_50",_="_title1_h1af0_56",D="_popupTips_h1af0_63";e("default",r({name:"bind-wechat",setup:function(){var e=t();console.log(e.query);var r=o({showPopup:!1,code:"",phone:"",time:"",popupMessage:"请使用微信打开"}),M=function(){var e=a(regeneratorRuntime.mark((function e(n){var r,t;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,s.get(u.platformApi+"/open/paramConfig/wechatAppId");case 3:r=e.sent,(t=r.data)&&(m(),g(t,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(n){return e.apply(this,arguments)}}(),R=function(){var e=a(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,s.post(u.platformApi+"/open/user/updateOpenId",{data:{clientType:u.platformType,code:r.code,phone:r.phone}});case 3:"STUDENT"===u.platformType?window.location.href="https://mp.weixin.qq.com/s?__biz=MzkxMDMwOTI5Nw==&mid=2247485362&idx=3&sn=9b265d36b5dabe7f9393fc679c367540&chksm=c12c256cf65bac7ae2a865435b950f6e1285afd226356db0ffde815b1ee345f29cfcdb798cc9#rd":"TEACHER"===u.platformType?window.location.href="https://mp.weixin.qq.com/s?__biz=MzkxMDMwOTI5Nw==&mid=2247485362&idx=2&sn=e3eaa3b85315535fcf4fd344c0a9b548&chksm=c12c256cf65bac7a898b0bce0d59f02ff924b6a0eabd9ba3fa67a87a0bdb98b916c328fe43f0#rd":"SCHOOL"===u.platformType&&(window.location.href="https://mp.weixin.qq.com/s?__biz=MzkxMDMwOTI5Nw==&mid=2247485362&idx=1&sn=b9081f35ec8a09897a6a14c2ff617b35&chksm=c12c256cf65bac7ae7ad2627454d296870483070b861729a40c2b9deda54b097e75be206b49f#rd"),e.next=8;break;case 6:e.prev=6,e.t0=e.catch(0);case 8:case"end":return e.stop()}}),e,null,[[0,6]])})));return function(){return e.apply(this,arguments)}}();return i(a(regeneratorRuntime.mark((function t(){var a,o,i,h,d,l,b;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(c().weixin){t.next=5;break}return r.showPopup=!0,t.abrupt("return");case 5:if(a=p()){t.next=13;break}return o=window.location.origin+window.location.pathname+"#"+e.path+"?"+w.stringify(n({},e.query)),t.next=10,M(o);case 10:return t.abrupt("return");case 13:r.code=a;case 14:if(t.prev=14,i=window.location.hash?window.location.hash.split("?")[1]:"",h=window.atob(decodeURIComponent(i)),d=w.parse(h),r.phone=d.phone,r.time=d.time,r.phone){t.next=24;break}return r.popupMessage="链接已失效",r.showPopup=!0,t.abrupt("return");case 24:t.next=28;break;case 26:t.prev=26,t.t0=t.catch(14);case 28:if(t.prev=28,!r.time){t.next=35;break}return t.next=32,s.get(u.platformApi+"/open/paramConfig/queryByParamName",{requestType:"form",params:{paramName:"qr_code_expire_hours"}});case 32:l=t.sent,b=l.data,f(Number(r.time)).add(b.paramValue,"hour").isBefore(f())&&(r.popupMessage="二维码已失效",r.showPopup=!0);case 35:t.next=39;break;case 37:t.prev=37,t.t1=t.catch(28);case 39:case"end":return t.stop()}}),t,null,[[14,26],[28,37]])})))),function(){return h("div",{class:A},[h(y,{class:j,src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANAAAADQCAMAAABBeh9GAAABUFBMVEUAAAD/+Of/+Oj/+en/+en/+Of/+Oj/+Of/9+f/9+j/+er/+ef/9ev//+P/+Of/+Oj/+Oj/9+j/9+f/+Of/9+j/+Oj/+Of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pXh74kvxQtkewDs5EPeyrsM2B6cjVzG71AQEuQLh5COW3i+1gOKGsHcJ6eBj9wLy+/MvhN4PtAEtaXLNr26t38/wajjQc9r4u+fWL3H4YkquOyhjWxa21HDrZ178GQBwDLWtzWBt3n63pWNB/Xz86fP1ITYIcbcX4AtbI47Ud3Dr5L2MdvMAFuy8NqbuVn4OKR+sm+rrokAZcdHyovVFcg6qHH2d4kuYfJ6qfvMJG7eOpc4yI9o5hPvUPLmLnof4B4ml2xCQ8c9qc6sFMkyPeU/Kt8ac0t3wanVGiTLND+FPSPaywesY7ND+HZgd6CHLT9JqElNT8cD9j7xgXYJxEe7na2Bmkp9L2uC/mkXmRxfC7amTYXQYz/K7rGX4XKg2/K6+G3aVkw+/auOF3sd/wu3px+F2OOfyuLx2k1RHj6BXAgzqOGEev0R7UZZ346FX02IA6oPr6ym0YBoIAOiyqFNUlq7rbMfb+B8xHfoMghS3vBgMMFrOBrKDyDYbkQSzVNocxKoBvIlUwSHs/30zDrImTR3yCcfmJvDnlsGCNyZN4hR2iIQ8aAWvUjZy7KdgkEnIqEbCsiMmhuIB9r5QcSV9wY2rJgXaCM2tVkmVltcIlOXKyiI8SrklmLRJnEj7IOiELklrCF52dybBzpuHVvHMyhu8z/CsePRnRPwoEYqkv9EeXekFQlsM1ol+KrofA0nwoxN7Rj3W7CKZpn5CCpRt905YyIRE+nT/HoYu+LFk3jM9c419Rc1ax+9Afk6bciLaySY79cGdVNitY8w4H5gxERzfDqAAAAABJRU5ErkJggg=="},null),h(y,{src:"./assets/icon-logo.39c9825e.png",class:x},null),h("p",{class:k},[d("同意管乐团获取您的微信信息")]),h("p",{class:v},[r.phone]),h("div",{class:O},[h(l,{type:"primary",size:"large",round:!0,onClick:R},{default:function(){return[d("确认授权")]}})]),h(b,{show:r.showPopup,"onUpdate:show":function(e){return r.showPopup=e},round:!0,style:{width:"88%",marginTop:"-6vh"},closeOnClickOverlay:!1,class:C},{default:function(){return[h("div",{class:E},[h("p",{class:_},[d("温馨提示")]),h("p",{class:D},[r.popupMessage])])]}})])}}}))}}}))}();
- >>>>>>>> online:dist/assets/index-legacy.075a896f.js
|