← Back
Editing: index98.js
import e from"./index106.js?v=VERSION_NUMBER";import{_ as l}from"./index107.js?v=VERSION_NUMBER";import{u as a,d as t,C as s,e as i}from"./utils-lib.js?v=VERSION_NUMBER";import o from"./ali-bind-user.js?v=VERSION_NUMBER";import r from"./tencent-bind-user.js?v=VERSION_NUMBER";import{c as n,r as c,n as p,p as m,v as u,x as d,M as v,C as g,N as h,y as b,B as f,e as w,A as _,K as j,q as x,ax as y}from"./base-lib.js?v=VERSION_NUMBER";import"./index104.js?v=VERSION_NUMBER";import"./index100.js?v=VERSION_NUMBER";import"./useController.js?v=VERSION_NUMBER";import"./__commonjsHelpers__.js?v=VERSION_NUMBER";import"./bt_logo_new.js?v=VERSION_NUMBER";const k={key:3,class:"list-disc help-text-info -ml-7rem"},D={key:4},C=i(n({__name:"index",setup(i){const{mainHeight:n,forceLtd:C,aliyunEcsLtd:q}=a(),H=c(!0),L=c("bind"),S=c({client:0,login:0}),A=c("div"),B=e=>{L.value=e};return p((()=>{(async()=>{var e,l;try{const a=await s();if(a.status)if(0!==(null==(e=a.data)?void 0:e.login)){switch(S.value.client=a.data.client,S.value.login=a.data.login,null==(l=a.data)?void 0:l.client){case 1:A.value=r;break;case 2:A.value=o}H.value=!1}else H.value=!0;else H.value=!0}catch(a){H.value=!0}})()})),m((()=>{localStorage.clear(),sessionStorage.clear()})),(a,s)=>{const i=l,o=e;return x(),u("div",{class:"flex flex-col items-center mt-[4%]",style:j({"min-height":d(n)-200+"px"})},[d(C)?(x(),v(i,{key:0,class:"w-[44rem]",closable:!1,type:"warning",title:"注意事项:当前面板为企业版,绑定账号后,无法随意解绑或切换账号,绑定成功会赠送14天免费企业版授权。"})):g("",!0),d(H)?(x(),v(o,{key:1,class:"w-[44rem]",compData:{title:"绑定宝塔官网账号",btn:"登录"}})):g("",!0),d(H)||d(q)?g("",!0):(x(),v(h(d(A)),{key:2,class:"w-[44rem]",compData:{title:"绑定宝塔官网账号",btn:"登录",authData:d(S),onChangeType:B,isDialog:!1}},null,8,["compData"])),"bind"!==d(L)||d(q)?g("",!0):(x(),u("ul",k,[s[2]||(s[2]=b("li",null,"为了您能更好的体验面板功能,请先绑定堡塔账号;",-1)),s[3]||(s[3]=b("li",null,"单个宝塔帐号支持多台服务器绑定;",-1)),s[4]||(s[4]=b("li",null,"绑定帐号没有接管服务器的功能权限,请放心使用;",-1)),s[5]||(s[5]=b("li",null,"帐号绑定过程中遇到问题请联系客服处理;",-1)),s[6]||(s[6]=b("li",null,"客服电话:0769-23030556",-1)),b("li",null,[s[1]||(s[1]=f(" 客服咨询: ")),w(d(y),{placement:"bottom",width:"150",trigger:"hover","popper-class":"white-tips-popover",class:"inline-block relative leading-[2.4rem]"},{reference:_((()=>s[0]||(s[0]=[b("span",{class:"bt-link"},"查看二维码",-1)]))),default:_((()=>[w(d(t),{width:"150",src:"/other/customer-qrcode.png",alt:"客服咨询"})])),_:1})])])),"other"!==d(L)||d(q)?g("",!0):(x(),u("li",D,[s[8]||(s[8]=f(" 如果遇到问题,请联系客服处理: ")),w(d(y),{placement:"bottom",width:"150",trigger:"hover","popper-class":"white-tips-popover",class:"inline-block relative leading-[2.4rem]"},{reference:_((()=>s[7]||(s[7]=[b("span",{class:"bt-link"},"查看二维码",-1)]))),default:_((()=>[w(d(t),{width:"150",src:"/other/customer-qrcode.png",alt:"客服咨询"})])),_:1})]))],4)}}}),[["__scopeId","data-v-7e103634"]]);export{C as default};
Save File
Cancel