1 |
- !function(){var e=document.createElement("style");e.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(e),System.register(["./index-legacy.eb062188.js","./index-legacy.fecc738b.js"],(function(e){"use strict";var a,o,n,t,i,r,p,c,s,h,f,d,l,u,b,m,g;return{setters:[function(e){a=e.d,o=e.ah,n=e.r,t=e.$,i=e.f,r=e.bh,p=e.bi,c=e.m,s=e.g,h=e.ai,f=e.c,d=e.q,l=e.B,u=e.P,b=e.bj,m=e.bk},function(e){g=e.I}],execute:function(){var A="_bindWeChat_h1af0_1",w="_largeLogo_h1af0_5",y="_smallLogo_h1af0_13",j="_tips_h1af0_19",C="_phone_h1af0_26",_="_btnGroup_h1af0_32",E="_wxPopupDialog_h1af0_35",k="_popupContainer_h1af0_50",M="_title1_h1af0_56",x="_popupTips_h1af0_63";e("default",a({name:"bind-wechat",setup(){const e=o();console.log(e.query);const a=n({showPopup:!1,code:"",phone:"",time:"",popupMessage:"请使用微信打开"}),D=async()=>{try{await c.post(s.platformApi+"/open/user/updateOpenId",{data:{clientType:s.platformType,code:a.code,phone:a.phone}}),"STUDENT"===s.platformType?window.location.href="https://mp.weixin.qq.com/s?__biz=MzkxMDMwOTI5Nw==&mid=2247485362&idx=3&sn=9b265d36b5dabe7f9393fc679c367540&chksm=c12c256cf65bac7ae2a865435b950f6e1285afd226356db0ffde815b1ee345f29cfcdb798cc9#rd":"TEACHER"===s.platformType?window.location.href="https://mp.weixin.qq.com/s?__biz=MzkxMDMwOTI5Nw==&mid=2247485362&idx=2&sn=e3eaa3b85315535fcf4fd344c0a9b548&chksm=c12c256cf65bac7a898b0bce0d59f02ff924b6a0eabd9ba3fa67a87a0bdb98b916c328fe43f0#rd":"SCHOOL"===s.platformType&&(window.location.href="https://mp.weixin.qq.com/s?__biz=MzkxMDMwOTI5Nw==&mid=2247485362&idx=1&sn=b9081f35ec8a09897a6a14c2ff617b35&chksm=c12c256cf65bac7ae7ad2627454d296870483070b861729a40c2b9deda54b097e75be206b49f#rd")}catch{}};return t((async()=>{if(i().weixin){{const o=r();if(!o){const a=window.location.origin+window.location.pathname+"#"+e.path+"?"+p.stringify({...e.query});return void(await(async e=>{try{const{data:a}=await c.get(s.platformApi+"/open/paramConfig/wechatAppId");a&&(b(),m(a,e))}catch{}})(a))}a.code=o}try{const e=window.location.hash?window.location.hash.split("?")[1]:"",o=window.atob(decodeURIComponent(e)),n=p.parse(o);if(a.phone=n.phone,a.time=n.time,!a.phone)return a.popupMessage="链接已失效",void(a.showPopup=!0)}catch{}try{if(a.time){const{data:e}=await c.get(s.platformApi+"/open/paramConfig/queryByParamName",{requestType:"form",params:{paramName:"qr_code_expire_hours"}});h(Number(a.time)).add(e.paramValue,"hour").isBefore(h())&&(a.popupMessage="二维码已失效",a.showPopup=!0)}}catch{}}else a.showPopup=!0})),()=>f("div",{class:A},[f(g,{class:w,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+NPPTDjZl8LuijVPoxDl2Kb6TdMD50RfFLBFMrfmhVTCQUr1JkHX6ty0RJEdptLyn+KL1sdxSVnTnjn84mmk3lvYcV/T2G7817Dmv4fqagqvwEy055uJgnRsIBacKkPGEcjnDmf1IycjjER7+Tlk0Nx+rNQt5MLTxoJ/LjpeCJepF7ZQa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lsM1ol+KrofA0nwoxN7Rj3W7CKZpn5CCpRt905YyIRE+nT/HoYu+LFk3jM9c419Rc1ax+9Afk6bciLaySY79cGdVNitY8w4H5gxERzfDqAAAAABJRU5ErkJggg=="},null),f(g,{src:"./assets/icon-logo.39c9825e.png",class:y},null),f("p",{class:j},[d("同意管乐团获取您的微信信息")]),f("p",{class:C},[a.phone]),f("div",{class:_},[f(l,{type:"primary",size:"large",round:!0,onClick:D},{default:()=>[d("确认授权")]})]),f(u,{show:a.showPopup,"onUpdate:show":e=>a.showPopup=e,round:!0,style:{width:"88%",marginTop:"-6vh"},closeOnClickOverlay:!1,class:E},{default:()=>[f("div",{class:k},[f("p",{class:M},[d("温馨提示")]),f("p",{class:x},[a.popupMessage])])]})])}}))}}}))}();
|