import{o as s,g as i,a as n,u as e,t as r,h as o,i as c}from"./app-BYcXwl4U.js";import{i as _,c as l}from"./app-a6cKceqE.js";function u(){_(this),this.goIndividual=function(){window.location="/settings/identity/individual"},this.goEnterprise=function(){window.location="/settings/identity/enterprise"}}const h={class:"identities-box"},y=n("h5",{class:"!mb-4"},"个人实名认证",-1),p={key:0},v={href:"",class:"real-name"},m={class:"status-box"},f={key:0},k={key:1},I={key:2,class:"red"},g={key:3,class:"green"},x={key:1},b=n("a",{href:""},"尚未提交认证 »",-1),w=[b],C=n("h5",{class:"!mb-4"},"企业实名认证",-1),E={key:0},N={href:"",class:"real-name"},B={class:"status-box"},j={key:0},V={key:1},D={key:2,class:"red"},M={key:3,class:"green"},R={key:1},S=n("a",{href:""},"尚未提交认证 »",-1),q=[S],H={__name:"index",setup(z){const t=l(new u);return(A,d)=>(s(),i("div",h,[n("div",{class:"identity-box",onClick:d[0]||(d[0]=c((...a)=>e(t).goIndividual&&e(t).goIndividual(...a),["prevent"]))},[y,e(t).individualIdentity!=null?(s(),i("div",p,[n("div",null,[n("a",v,r(e(t).individualIdentity.realName),1)]),n("div",m,[e(t).individualIdentity.status=="none"?(s(),i("span",f,"等待提交")):o("",!0),e(t).individualIdentity.status=="submitted"?(s(),i("span",k,"审核中")):o("",!0),e(t).individualIdentity.status=="rejected"?(s(),i("span",I,"已驳回")):o("",!0),e(t).individualIdentity.status=="verified"?(s(),i("span",g,"已认证")):o("",!0)])])):(s(),i("div",x,w))]),n("div",{class:"identity-box",onClick:d[1]||(d[1]=c((...a)=>e(t).goEnterprise&&e(t).goEnterprise(...a),["prevent"]))},[C,e(t).enterpriseIdentity!=null?(s(),i("div",E,[n("div",null,[n("a",N,r(e(t).enterpriseIdentity.realName),1)]),n("div",B,[e(t).enterpriseIdentity.status=="none"?(s(),i("span",j,"等待提交")):o("",!0),e(t).enterpriseIdentity.status=="submitted"?(s(),i("span",V,"审核中")):o("",!0),e(t).enterpriseIdentity.status=="rejected"?(s(),i("span",D,"已驳回")):o("",!0),e(t).enterpriseIdentity.status=="verified"?(s(),i("span",M,"已认证")):o("",!0)])])):(s(),i("div",R,q))])]))}};export{H as default};
