import{d as n,a as s,j as e,B as o}from"./vendor.a0144ce9.js";import{e as i}from"./index.3d95a92c.js";import{w as u}from"./wx_bg.993c33e7.js";const a="_inviteSuccess_1k1g9_1",c="_h2_1k1g9_10",p="_tips_1k1g9_16",r="_btnDownload_1k1g9_22",d="_wxpopup_1k1g9_26";var t={inviteSuccess:a,h2:c,tips:p,btnDownload:r,wxpopup:d},l="./assets/success_tips.737b42b1.png",x=n({name:"inviteSuccess",data(){return{wxStatus:!1}},methods:{onDownload(){if(i().weixin){this.wxStatus=!0;return}/(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="https://appstore.ks3-cn-beijing.ksyuncs.com/clx-student-domain.apk":this.$toast("\u8BF7\u7528\u624B\u673A\u6216\u79FB\u52A8\u8BBE\u5907\u6253\u5F00")}},render(){return s("div",{class:t.inviteSuccess},[s("img",{src:l},null),s("p",{class:t.h2},[e("\u606D\u559C\u4F60\u6CE8\u518C\u6210\u529F")]),s("p",{class:t.tips},[e("\u4E0B\u8F7D\u9177\u4E50\u79C0APP\u5F00\u542F\u5668\u4E50\u5B66\u4E60\u4E4B\u65C5\uFF01")]),!i().isApp&&s("div",{class:"btnGroup"},[s(o,{type:"primary",round:!0,class:t.btnDownload,onClick:this.onDownload},{default:()=>[e("\u4E0B\u8F7D\u9177\u4E50\u79C0")]})]),this.wxStatus&&s("div",{class:t.wxpopup,onClick:()=>{this.wxStatus=!1}},[s("img",{src:u,alt:""},null)])])}});export{x as default};
