index.195e3463.js 1.3 KB

1
  1. import{d as u,b as i,i as s,A as e,B as n}from"./index.6b776f4b.js";import{w as o}from"./wx_bg.3aa8574a.js";const a="_inviteSuccess_1k1g9_1",c="_h2_1k1g9_10",p="_tips_1k1g9_16",r="_btnDownload_1k1g9_22",l="_wxpopup_1k1g9_26";var t={inviteSuccess:a,h2:c,tips:p,btnDownload:r,wxpopup:l},d="./assets/success_tips.737b42b1.png",h=u({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:d},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(n,{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:o,alt:""},null)])])}});export{h as default};