success.dcf8dc1a.js 4.6 KB

1
  1. import{d as c,ah as p,r as d,$ as l,m as A,c as a,B as u,q as g,f as n,o as f}from"./index.332c7f08.js";import{w as y}from"./wx_bg.3aff1fb2.js";const B="_successContainer_10xky_1",w="_iconSuccess_10xky_6",x="_applyTip_10xky_24",b="_downloadBtn_10xky_28",E="_wxpopup_10xky_41";var s={successContainer:B,iconSuccess:w,applyTip:x,downloadBtn:b,wxpopup:E},V="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/gED//Pv/eVD/Z0D/59//aEH/gFf/gVb/gVj/gVn/glj/Xzr/+/n/YDr/YTv/j2r/f1b/gVb/gVf/gVb/gFj/dF3/aUP/aUL/b0f/9fP/dEz/8+7/7ef/59//4df/aUL/s5n/dEv/gFf/////Xzr/YDv/5+D/+Pb/49r/tZ7/g1v/ZD7/jWn/b0j/xLf/fVT/akT/bUb/dU3//Pv/ZkD/Yj3/n4n/eVD/yb3/x7r/ppH/e1L/c0v/uKf/d1j/8/D/7en/29L/08n/kHb/cVH/q5f/lHv/hGf/f2L/e1yBzgoVAAAAOHRSTlMAgfjrl3cHOBJYh0dAKuPTtKyUeGsbBPiM19bLfnljUzH79fXuiYNxZ1MaC8O6rO7r5+DYzqOgnJ2Z2bQAAAQQSURBVHja7NdbisMwDIVhYZsmzUMuhHQtx5Ab3f+i5rkzY+xS1RKtvhX8xBc5ZAy/Zp4G78DM+WGaG3ra0vV4o75b6BltcHgzF1oqdvWowF+pzC2gknCjApcR1YyXgu8zoqIx/40CqgrZ/YzKMju79ajMt5oWLLtoi0N1bqG0DgI6SushoKekBiLSs3+GiJlSJoiYKGWAiIFSPER4SnEQ4SgFQizIgizoFwv6x3nsW3zBth8nZ9B9jS9b73xB5xoZrCdb0BFZHGxBe2SxswVt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ZrPreveJw+/JLRMRqvsVyPRuuzd/wECy0dDU8wuNQAAAABJRU5ErkJggg==",m=c({name:"apply-success",setup(){const i=p(),t=d({wxStatus:!1,type:"student",androidUrl:"",buttonText:"\u4E0B\u8F7D\u7BA1\u4E50\u56E2\u5B66\u5458\u7AEF",t:"apply"});t.t=i.query.t,t.t==="pay"?document.title="\u62A5\u540D\u6210\u529F":document.title="\u4FE1\u606F\u63D0\u4EA4\u6210\u529F";const r=()=>{if(n().weixin){t.wxStatus=!0;return}let e="",o="";location.origin.indexOf("online.lexiaoya.cn")>-1?t.type==="student"?(e="https://apps.apple.com/cn/app/%E7%AE%A1%E4%B9%90%E5%9B%A2/id1671474346?uo=4 ",o=t.androidUrl):t.type==="teacher"?(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",o=t.androidUrl):t.type==="manage"&&(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",o=t.androidUrl):t.type==="student"?(e="https://www.pgyer.com/2Wg2",o=t.androidUrl):t.type==="teacher"?(e="https://www.pgyer.com/v5yB",o=t.androidUrl):t.type==="manage"&&(e="https://www.pgyer.com/DGrR",o=t.androidUrl),n().ios||/(iPhone|iPad|iPod|iOS)/i.test(navigator.userAgent)?e&&(window.location.href=e):/(Android)/i.test(navigator.userAgent)?window.location.href=o:f("\u8BF7\u7528\u624B\u673A\u6216\u79FB\u52A8\u8BBE\u5907\u6253\u5F00")};return l(async()=>{let e="android-student";t.type==="student"?e="android-student":t.type==="teacher"?e="android-teacher":t.type==="manage"&&(e="android-school");try{const{data:o}=await A.get("/api-student/open/appVersionInfo/queryLatestByPlatform",{params:{platform:e,status:"history"}});t.androidUrl=o.downloadUrl}catch{}document.title=t.buttonText}),()=>a("div",{class:s.successContainer},[a("img",{src:V,class:s.iconSuccess},null),a("h2",null,[t.t==="pay"?"\u62A5\u540D\u6210\u529F":"\u4FE1\u606F\u63D0\u4EA4\u6210\u529F\uFF01"]),a("p",{class:t.t==="pay"?"":s.applyTip},[t.t==="pay"?"\u60A8\u5DF2\u5B8C\u6210\u4E50\u56E2\u62A5\u540D\uFF0C\u8BF7\u7559\u610F\u4E50\u56E2\u5F00\u8BAD\u901A\u77E5":"\u60A8\u5DF2\u5B8C\u6210\u4FE1\u606F\u63D0\u4EA4\uFF0C\u8BF7\u6536\u5230\u5F00\u56E2\u4FE1\u606F\u540E\uFF0C\u624D\u4E3A\u5B66\u751F\u51C6\u5907\u76F8\u5E94\u5DE5\u5177\u3002"]),t.t==="pay"&&a(u,{class:s.downloadBtn,onClick:r},{default:()=>[g("\u7ACB\u5373\u4E0B\u8F7D\u7BA1\u4E50\u56E2APP")]}),t.wxStatus&&a("div",{class:s.wxpopup,onClick:()=>{t.wxStatus=!1}},[a("img",{src:y,alt:""},null)])])}});export{m as default};