index.5569f428.js 17 KB

12345
  1. <<<<<<<< HEAD:dist/assets/index.5569f428.js
  2. import{d as A,aV as g,r as b,$ as m,e as w,bh as E,m as c,f as s,ah as u,c as a,q as i,B as y,P as j,be as C,bf as D}from"./index.ffe80dbe.js";import{q as f}from"./index.339fc024.js";import{I as l}from"./index.7e972106.js";const M="_bindWeChat_h1af0_1",I="_largeLogo_h1af0_5",L="_smallLogo_h1af0_13",V="_tips_h1af0_19",x="_phone_h1af0_26",G="_btnGroup_h1af0_32",k="_wxPopupDialog_h1af0_35",q="_popupContainer_h1af0_50",B="_title1_h1af0_56",O="_popupTips_h1af0_63";var t={bindWeChat:M,largeLogo:I,smallLogo:L,tips:V,phone:x,btnGroup:G,wxPopupDialog:k,popupContainer:q,title1:B,popupTips:O},R="./assets/icon-logo.39c9825e.png",T="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANAAAADQCAMAAABBeh9GAAABUFBMVEUAAAD/+Of/+Oj/+en/+en/+Of/+Oj/+Of/9+f/9+j/+er/+ef/9ev//+P/+Of/+Oj/+Oj/9+j/9+f/+Of/9+j/+Oj/+Of/+Oj/+On/+ej/+uv/9uz/+Oj/9+f/+Of/9+f/9+f/9+j/9+b/9+j/9+f/9+j/+ej/++r/+uX/9ub/9+f/sIH/QwD/qXj/pHL/pnX/nGn/YCL/ZSj/XR7/q3r/om//rn7/Whv/rXz/oG3/VRX/YyX/aCv/lF//ekH/nmv/dz3/mGT/hU7/jFb/RgT/WBj/cDX/iFH/gUn/bjL/TAv/UBD/ay//kV3/cjj/UxL/jlj/fUT/mmb/lmH/ai3/dDr/ilP/kFr/g0v/Tg3/f0b/SAb/Sgj/6tT/mWX/9OP/59H/8N7/3ML/7dn/4cn/wZz/yqj/r4T/17v/07X/uJD/tIr/xKL/za//vJb/pHnpbta7AAAAKnRSTlMAiPFKEfeQ4sFbJxYMBO56deff18awgXBWNx8I9JjZ0s/KuqafZVM+Mu+Rur7pAAANnElEQVR42tTUh5GDMBSE4ScJkB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NUlq7rbMfb+B8xHfoMghS3vBgMMFrOBrKDyDYbkQSzVNocxKoBvIlUwSHs/30zDrImTR3yCcfmJvDnlsGCNyZN4hR2iIQ8aAWvUjZy7KdgkEnIqEbCsiMmhuIB9r5QcSV9wY2rJgXaCM2tVkmVltcIlOXKyiI8SrklmLRJnEj7IOiELklrCF52dybBzpuHVvHMyhu8z/CsePRnRPwoEYqkv9EeXekFQlsM1ol+KrofA0nwoxN7Rj3W7CKZpn5CCpRt905YyIRE+nT/HoYu+LFk3jM9c419Rc1ax+9Afk6bciLaySY79cGdVNitY8w4H5gxERzfDqAAAAABJRU5ErkJggg==",X=A({name:"bind-wechat",setup(){const p=g();console.log(p.query);const o=b({showPopup:!1,code:"",phone:"",time:"",popupMessage:"\u8BF7\u4F7F\u7528\u5FAE\u4FE1\u6253\u5F00"}),d=async e=>{try{const{data:n}=await c.get(s.platformApi+"/open/paramConfig/wechatAppId");n&&(C(),D(n,e))}catch{}},h=async()=>{try{await c.post(s.platformApi+"/open/user/updateOpenId",{data:{clientType:s.platformType,code:o.code,phone:o.phone}}),s.platformType==="STUDENT"?window.location.href="https://mp.weixin.qq.com/s?__biz=MzkxMDMwOTI5Nw==&mid=2247485362&idx=3&sn=9b265d36b5dabe7f9393fc679c367540&chksm=c12c256cf65bac7ae2a865435b950f6e1285afd226356db0ffde815b1ee345f29cfcdb798cc9#rd":s.platformType==="TEACHER"?window.location.href="https://mp.weixin.qq.com/s?__biz=MzkxMDMwOTI5Nw==&mid=2247485362&idx=2&sn=e3eaa3b85315535fcf4fd344c0a9b548&chksm=c12c256cf65bac7a898b0bce0d59f02ff924b6a0eabd9ba3fa67a87a0bdb98b916c328fe43f0#rd":s.platformType==="SCHOOL"&&(window.location.href="https://mp.weixin.qq.com/s?__biz=MzkxMDMwOTI5Nw==&mid=2247485362&idx=1&sn=b9081f35ec8a09897a6a14c2ff617b35&chksm=c12c256cf65bac7ae7ad2627454d296870483070b861729a40c2b9deda54b097e75be206b49f#rd")}catch{}};return m(async()=>{if(w().weixin){const e=E();if(e)o.code=e;else{const n=window.location.origin+window.location.pathname+"#"+p.path+"?"+f.stringify({...p.query});await d(n);return}}else{o.showPopup=!0;return}try{const e=window.location.hash?window.location.hash.split("?")[1]:"",n=window.atob(decodeURIComponent(e)),r=f.parse(n);if(o.phone=r.phone,o.time=r.time,!o.phone){o.popupMessage="\u94FE\u63A5\u5DF2\u5931\u6548",o.showPopup=!0;return}}catch{}try{if(o.time){const{data:e}=await c.get(s.platformApi+"/open/paramConfig/queryByParamName",{requestType:"form",params:{paramName:"qr_code_expire_hours"}});u(Number(o.time)).add(e.paramValue,"hour").isBefore(u())&&(o.popupMessage="\u4E8C\u7EF4\u7801\u5DF2\u5931\u6548",o.showPopup=!0)}}catch{}}),()=>a("div",{class:t.bindWeChat},[a(l,{class:t.largeLogo,src:T},null),a(l,{src:R,class:t.smallLogo},null),a("p",{class:t.tips},[i("\u540C\u610F\u7BA1\u4E50\u56E2\u83B7\u53D6\u60A8\u7684\u5FAE\u4FE1\u4FE1\u606F")]),a("p",{class:t.phone},[o.phone]),a("div",{class:t.btnGroup},[a(y,{type:"primary",size:"large",round:!0,onClick:h},{default:()=>[i("\u786E\u8BA4\u6388\u6743")]})]),a(j,{show:o.showPopup,"onUpdate:show":e=>o.showPopup=e,round:!0,style:{width:"88%",marginTop:"-6vh"},closeOnClickOverlay:!1,class:t.wxPopupDialog},{default:()=>[a("div",{class:t.popupContainer},[a("p",{class:t.title1},[i("\u6E29\u99A8\u63D0\u793A")]),a("p",{class:t.popupTips},[o.popupMessage])])]})])}});export{X as default};
  3. ========
  4. import{d as A,ah as g,r as b,$ as m,f as w,bm as E,m as c,g as s,ai as u,c as a,q as i,B as y,P as j,bj as C,bk as D}from"./index.1c621181.js";import{q as f}from"./index.339fc024.js";import{I as l}from"./index.4c221cbe.js";const M="_bindWeChat_h1af0_1",I="_largeLogo_h1af0_5",L="_smallLogo_h1af0_13",V="_tips_h1af0_19",x="_phone_h1af0_26",k="_btnGroup_h1af0_32",G="_wxPopupDialog_h1af0_35",q="_popupContainer_h1af0_50",B="_title1_h1af0_56",O="_popupTips_h1af0_63";var t={bindWeChat:M,largeLogo:I,smallLogo:L,tips:V,phone:x,btnGroup:k,wxPopupDialog:G,popupContainer:q,title1:B,popupTips:O},R="./assets/icon-logo.39c9825e.png",T="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANAAAADQCAMAAABBeh9GAAABUFBMVEUAAAD/+Of/+Oj/+en/+en/+Of/+Oj/+Of/9+f/9+j/+er/+ef/9ev//+P/+Of/+Oj/+Oj/9+j/9+f/+Of/9+j/+Oj/+Of/+Oj/+On/+ej/+uv/9uz/+Oj/9+f/+Of/9+f/9+f/9+j/9+b/9+j/9+f/9+j/+ej/++r/+uX/9ub/9+f/sIH/QwD/qXj/pHL/pnX/nGn/YCL/ZSj/XR7/q3r/om//rn7/Whv/rXz/oG3/VRX/YyX/aCv/lF//ekH/nmv/dz3/mGT/hU7/jFb/RgT/WBj/cDX/iFH/gUn/bjL/TAv/UBD/ay//kV3/cjj/UxL/jlj/fUT/mmb/lmH/ai3/dDr/ilP/kFr/g0v/Tg3/f0b/SAb/Sgj/6tT/mWX/9OP/59H/8N7/3ML/7dn/4cn/wZz/yqj/r4T/17v/07X/uJD/tIr/xKL/za//vJb/pHnpbta7AAAAKnRSTlMAiPFKEfeQ4sFbJxYMBO56deff18awgXBWNx8I9JjZ0s/KuqafZVM+Mu+Rur7pAAANnElEQVR42tTUh5GDMBSE4ScJkBDBIhoMznn7L/A6uLmg5K+Dndn5yZ1izg27Df1BNu8VWN+NPPTDjZl8LuijVPoxDl2Kb6TdMD50RfFLBFMrfmhVTCQUr1JkHX6ty0RJEdptLyn+KL1sdxSVnTnjn84mmk3lvYcV/T2G7817Dmv4fqagqvwEy055uJgnRsIBacKkPGEcjnDmf1IycjjER7+Tlk0Nx+rNQt5MLTxoJ/LjpeCJepF7ZQaPspIcExJeSUEuFVd4dy3IGdEggEaQG0uGQDInBddHB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yIRE+nT/HoYu+LFk3jM9c419Rc1ax+9Afk6bciLaySY79cGdVNitY8w4H5gxERzfDqAAAAABJRU5ErkJggg==",X=A({name:"bind-wechat",setup(){const p=g();console.log(p.query);const o=b({showPopup:!1,code:"",phone:"",time:"",popupMessage:"\u8BF7\u4F7F\u7528\u5FAE\u4FE1\u6253\u5F00"}),d=async e=>{try{const{data:n}=await c.get(s.platformApi+"/open/paramConfig/wechatAppId");n&&(C(),D(n,e))}catch{}},h=async()=>{try{await c.post(s.platformApi+"/open/user/updateOpenId",{data:{clientType:s.platformType,code:o.code,phone:o.phone}}),s.platformType==="STUDENT"?window.location.href="https://mp.weixin.qq.com/s?__biz=MzkxMDMwOTI5Nw==&mid=2247485362&idx=3&sn=9b265d36b5dabe7f9393fc679c367540&chksm=c12c256cf65bac7ae2a865435b950f6e1285afd226356db0ffde815b1ee345f29cfcdb798cc9#rd":s.platformType==="TEACHER"?window.location.href="https://mp.weixin.qq.com/s?__biz=MzkxMDMwOTI5Nw==&mid=2247485362&idx=2&sn=e3eaa3b85315535fcf4fd344c0a9b548&chksm=c12c256cf65bac7a898b0bce0d59f02ff924b6a0eabd9ba3fa67a87a0bdb98b916c328fe43f0#rd":s.platformType==="SCHOOL"&&(window.location.href="https://mp.weixin.qq.com/s?__biz=MzkxMDMwOTI5Nw==&mid=2247485362&idx=1&sn=b9081f35ec8a09897a6a14c2ff617b35&chksm=c12c256cf65bac7ae7ad2627454d296870483070b861729a40c2b9deda54b097e75be206b49f#rd")}catch{}};return m(async()=>{if(w().weixin){const e=E();if(e)o.code=e;else{const n=window.location.origin+window.location.pathname+"#"+p.path+"?"+f.stringify({...p.query});await d(n);return}}else{o.showPopup=!0;return}try{const e=window.location.hash?window.location.hash.split("?")[1]:"",n=window.atob(decodeURIComponent(e)),r=f.parse(n);if(o.phone=r.phone,o.time=r.time,!o.phone){o.popupMessage="\u94FE\u63A5\u5DF2\u5931\u6548",o.showPopup=!0;return}}catch{}try{if(o.time){const{data:e}=await c.get(s.platformApi+"/open/paramConfig/queryByParamName",{requestType:"form",params:{paramName:"qr_code_expire_hours"}});u(Number(o.time)).add(e.paramValue,"hour").isBefore(u())&&(o.popupMessage="\u4E8C\u7EF4\u7801\u5DF2\u5931\u6548",o.showPopup=!0)}}catch{}}),()=>a("div",{class:t.bindWeChat},[a(l,{class:t.largeLogo,src:T},null),a(l,{src:R,class:t.smallLogo},null),a("p",{class:t.tips},[i("\u540C\u610F\u7BA1\u4E50\u56E2\u83B7\u53D6\u60A8\u7684\u5FAE\u4FE1\u4FE1\u606F")]),a("p",{class:t.phone},[o.phone]),a("div",{class:t.btnGroup},[a(y,{type:"primary",size:"large",round:!0,onClick:h},{default:()=>[i("\u786E\u8BA4\u6388\u6743")]})]),a(j,{show:o.showPopup,"onUpdate:show":e=>o.showPopup=e,round:!0,style:{width:"88%",marginTop:"-6vh"},closeOnClickOverlay:!1,class:t.wxPopupDialog},{default:()=>[a("div",{class:t.popupContainer},[a("p",{class:t.title1},[i("\u6E29\u99A8\u63D0\u793A")]),a("p",{class:t.popupTips},[o.popupMessage])])]})])}});export{X as default};
  5. >>>>>>>> online:dist/assets/index.4ff91fde.js