success-legacy.0bad46d7.js 5.8 KB

1
  1. !function(){function e(e,t,n,r,o,a,i){try{var s=e[a](i),c=s.value}catch(d){return void n(d)}s.done?t(c):Promise.resolve(c).then(r,o)}function t(t){return function(){var n=this,r=arguments;return new Promise((function(o,a){var i=t.apply(n,r);function s(t){e(i,o,a,s,c,"next",t)}function c(t){e(i,o,a,s,c,"throw",t)}s(void 0)}))}}var n=document.createElement("style");n.innerHTML="._successContainer_10xky_1{text-align:center;min-height:100vh;background-color:#fff}._successContainer_10xky_1 ._iconSuccess_10xky_6{padding-top:.88rem;width:1.92rem;height:1.92rem}._successContainer_10xky_1 h2{padding-top:.8rem;font-size:.53333rem;font-weight:600;color:#1a1a1a;line-height:.74667rem}._successContainer_10xky_1 p{padding-top:.4rem;font-size:.37333rem;color:#777;line-height:.53333rem}._successContainer_10xky_1 ._applyTip_10xky_24{padding:.4rem .90667rem;text-align:left}._successContainer_10xky_1 ._downloadBtn_10xky_28{margin-top:1.06667rem;height:1.17333rem;line-height:1.17333rem;background:#FF8057;border-radius:1.04rem;font-size:.48rem;font-weight:600;color:#fff;border:none;line-height:.66667rem;width:85%}._wxpopup_10xky_41{width:100%;height:100vh;position:fixed;top:0;left:0;background:rgba(0,0,0,.5);z-index:9999}._wxpopup_10xky_41 img{width:88%;margin:0 6%}\n",document.head.appendChild(n),System.register(["./index-legacy.90c82f08.js","./wx_bg-legacy.db85001d.js"],(function(e){"use strict";var n,r,o,a,i,s,c,d,g,p,u;return{setters:[function(e){n=e.d,r=e.ah,o=e.r,a=e.$,i=e.m,s=e.c,c=e.B,d=e.q,g=e.f,p=e.o},function(e){u=e.w}],execute:function(){var l="_successContainer_10xky_1",f="_iconSuccess_10xky_6",A="_applyTip_10xky_24",y="_downloadBtn_10xky_28",h="_wxpopup_10xky_41";e("default",n({name:"apply-success",setup:function(){var e=r(),n=o({wxStatus:!1,type:"student",androidUrl:"",buttonText:"下载管乐团学员端",t:"apply"});n.t=e.query.t,"pay"===n.t?document.title="报名成功":document.title="信息提交成功";var x=function(){if(g().weixin)n.wxStatus=!0;else{var e="",t="";location.origin.indexOf("online.lexiaoya.cn")>-1?"student"===n.type?(e="https://apps.apple.com/cn/app/%E7%AE%A1%E4%B9%90%E5%9B%A2/id1671474346?uo=4 ",t=n.androidUrl):"teacher"===n.type?(e="https://apps.apple.com/cn/app/%E7%AE%A1%E4%B9%90%E5%9B%A2%E4%BC%B4%E5%AD%A6%E7%AB%AF/id1670584741?uo=4",t=n.androidUrl):"manage"===n.type&&(e="https://apps.apple.com/cn/app/%E7%AE%A1%E4%B9%90%E5%9B%A2%E7%AE%A1%E7%90%86%E7%AB%AF/id1671473981?uo=4",t=n.androidUrl):"student"===n.type?(e="https://www.pgyer.com/2Wg2",t=n.androidUrl):"teacher"===n.type?(e="https://www.pgyer.com/v5yB",t=n.androidUrl):"manage"===n.type&&(e="https://www.pgyer.com/DGrR",t=n.androidUrl),g().ios||/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)?e&&(window.location.href=e):/(Android)/i.test(navigator.userAgent)?window.location.href=t:p("请用手机或移动设备打开")}};return a(t(regeneratorRuntime.mark((function e(){var t,r,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t="android-student","student"===n.type?t="android-student":"teacher"===n.type?t="android-teacher":"manage"===n.type&&(t="android-school"),e.prev=2,e.next=5,i.get("/api-student/open/appVersionInfo/queryLatestByPlatform",{params:{platform:t,status:"history"}});case 5:r=e.sent,o=r.data,n.androidUrl=o.downloadUrl,e.next=12;break;case 10:e.prev=10,e.t0=e.catch(2);case 12:document.title=n.buttonText;case 13:case"end":return e.stop()}}),e,null,[[2,10]])})))),function(){return s("div",{class:l},[s("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJAAAACQCAMAAADQmBKKAAABIFBMVEUAAAD/gFf/gFf/gFf/gFf/gFf/hVn/flj/fFL/gVf/gFb/gVb/gFj/gVb/gFb/gFf/gVj/gFb/ooP/glf/gFf/hFX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oGyIETTE1UGQ4wOd4TogKHCBesZ6IC3ABOrgeiCICJAvBUKQlcifAlEQBFlAbfeg3VQ8ntoVoBgHaIKu8zWu3+XNgqjGALJce24G+n1SZAHx54mNHzx6nDyzjc4xt56fuk5BUBcgtmV1Ph7Pqedcf0qKLLFck16887mBtoy6wrM4qCGycZDpHCn6fbo20fBa4oGqADGN6YZOReaV8LyzeWB/46CRAzTQiei2JTwf3oItlY2DDFIhp2h+KTwfHR7Q2EFT3SH6cyH+8snpgQw7yDi1i743xevPAN6DcGQT/RqIVydAo7EOaiq6WvBMEWgqDNOexPih0wzGKECc095EV6LmDT4LqrIsHWrRxW98HhThWFzVosu/KAFFvdp+GF1dpHGLMlCdf4NGRa0OykAx/i0sFV2bKAWF2Tf5VHTaRjmo5u0xaNoYNKYGEhA5Br3w56BYJKCg+FmpH0fpkvQo/erYlxKVpZcNr499KVGSFIj8eNvbC6tD6YVV0J8rvW92T442APD20rO8Ry49+Vok9FGdA7KscjaRsJSeYoIsGqxtNkwVKG3z5BWNSPgHdslWoB1Vqxb+Gh2R+vD3RrHcPrAwd7sf9UecyT3ByUa9a4g0G0o8L4UnF+JuGaX+mDwt6qMVuJtqqb9IUDoSnEiAue2Y+qsWxfTTfI8FA8yN2dRfRikfJB414ZrPreveJw+/JLRMRqvsVyPRuuzd/wECy0dDU8wuNQAAAABJRU5ErkJggg==",class:f},null),s("h2",null,["pay"===n.t?"报名成功":"信息提交成功!"]),s("p",{class:"pay"===n.t?"":A},["pay"===n.t?"您已完成乐团报名,请留意乐团开训通知":"您已完成信息提交,请收到开团信息后,才为学生准备相应工具。"]),"pay"===n.t&&s(c,{class:y,onClick:x},{default:function(){return[d("立即下载管乐团APP")]}}),n.wxStatus&&s("div",{class:h,onClick:function(){n.wxStatus=!1}},[s("img",{src:u,alt:""},null)])])}}}))}}}))}();