1 |
- !function(){function t(t,e,n,i,r,a,o){try{var s=t[a](o),c=s.value}catch(d){return void n(d)}s.done?e(c):Promise.resolve(c).then(i,r)}var e=document.createElement("style");e.innerHTML="._inviteSuccess_101db_1{min-height:100vh;background-color:#fff;text-align:center}._inviteSuccess_101db_1 ._backIcon_101db_6{position:fixed;top:.53333rem;font-size:.58667rem;color:#333323;left:.22667rem;border-radius:50%;padding:.16rem}._inviteSuccess_101db_1 img{padding-top:2.66667rem;width:7.28rem}._inviteSuccess_101db_1 ._h2_101db_19{font-size:.53333rem;font-weight:500;color:#333;line-height:.74667rem}._inviteSuccess_101db_1 ._tips_101db_25{padding-top:.26667rem;font-size:.32rem;color:#333;line-height:.45333rem}._inviteSuccess_101db_1 ._btnDownload_101db_31{margin-top:.93333rem;padding:.37333rem 1.2rem}._inviteSuccess_101db_1 ._wxpopup_101db_35{width:100%;height:100vh;position:absolute;top:0;left:0;background:rgba(0,0,0,.5)}._inviteSuccess_101db_1 ._wxpopup_101db_35 img{width:88%;margin:0 6%}\n",document.head.appendChild(e),System.register(["./ResizeObserver.es-legacy.8d60aee1.js","./wx_bg-legacy.bbf15ca1.js"],(function(e){"use strict";var n,i,r,a,o,s,c,d,u;return{setters:[function(t){n=t.d,i=t.n,r=t.y,a=t.f,o=t.j,s=t.N,c=t.A,d=t.B},function(t){u=t.w}],execute:function(){var _="_inviteSuccess_101db_1",p="_backIcon_101db_6",l="_h2_101db_19",h="_tips_101db_25",f="_btnDownload_101db_31",v="_wxpopup_101db_35";e("default",n({name:"inviteSuccess",data:function(){return{wxStatus:!1,androidUrl:"",navBarHeight:0}},mounted:function(){var e,n=this;return(e=regeneratorRuntime.mark((function t(){var e,a;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return i({api:"getNavHeight"},(function(t){var e=t.content,i=e.dpi||2;if(e.navHeight){var r=e.navHeight/i;n.navBarHeight=r}})),t.prev=1,t.next=4,r.get("/api-student/open/appVersionInfo/queryLatestByPlatform",{params:{platform:"android-student",status:"history"}});case 4:e=t.sent,a=e.data,n.androidUrl=a.downloadUrl,t.next=11;break;case 9:t.prev=9,t.t0=t.catch(1);case 11:case"end":return t.stop()}}),t,null,[[1,9]])})),function(){var n=this,i=arguments;return new Promise((function(r,a){var o=e.apply(n,i);function s(e){t(o,r,a,s,c,"next",e)}function c(e){t(o,r,a,s,c,"throw",e)}s(void 0)}))})()},methods:{onBack:function(){a().isApp?i({api:"goBack"}):this.$router.back()},onDownload:function(){a().weixin?this.wxStatus=!0:/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)?window.location.href="https://itunes.apple.com/cn/app/id1626971695?mt=8":/(Android)/i.test(navigator.userAgent)?window.location.href=this.androidUrl:this.$toast("请用手机或移动设备打开")}},render:function(){var t=this;return o("div",{class:_},[a().isApp&&o(s,{name:"arrow-left",class:p,style:{top:"calc(".concat(this.navBarHeight,"px + 12px)")},onClick:this.onBack},null),o("img",{src:"./assets/success_tips.737b42b1.png"},null),o("p",{class:l},[c("恭喜你注册成功")]),o("p",{class:h},[c("下载酷乐秀APP开启器乐学习之旅!")]),!a().isApp&&o("div",{class:"btnGroup"},[o(d,{type:"primary",round:!0,class:f,onClick:this.onDownload},{default:function(){return[c("下载酷乐秀")]}})]),this.wxStatus&&o("div",{class:v,onClick:function(){t.wxStatus=!1}},[o("img",{src:u,alt:""},null)])])}}))}}}))}();
|