import{U as o,r as e,a4 as a,G as s,j as t,b as l,q as r,I as n,h as i,o as m,V as u}from"./vendor-jA_NIjzi.js";import{H as v}from"./Header-hbN0HDAk.js";import{P as p}from"./email-list-a6od0y7w.js";import{_ as d,u as f}from"./common-store-e_1WBubm.js";import{V as c}from"./common-utils-8H8K2JPG.js";/* empty css              */import"./SvgIcon-unOD6nfS.js";import"./Auto Layout Horizontal--Hhpreri.js";import"./vendor-html2canvas-6F43d9AR.js";import"./useCount-2hEguuHI.js";import"./popUpDialog-cRaJbZ6V.js";import"./BtnClose-9Q8xqZiI.js";import"./vendor-mqtt-lYGapirz.js";import"./vendor-crypto-Vtl7-GZS.js";const j={class:"forgotPassword"},g={class:"forgotPassword-item"},h=d({__name:"index",setup(d){const{t:h}=o(),w=e("none"),_=a(),k=e(null),y=e(1),P=s((()=>2==+y.value?h("忘记登录密码"):h("设置新密码"))),V=f(),{cfg:b}=c();switch(b.forgetLoginPasswordType){case 1:w.value="phone";break;case 2:w.value="email";break;case 3:w.value="name";break;default:w.value="none"}const I=()=>{var o,e;return 2===k.value.step?_.go(-1):(null==(o=k.value)?void 0:o.step)>1?(y.value=(null==(e=k.value)?void 0:e.step)-1,void(k.value.step=y.value)):_.go(-1)};return t((()=>{(async()=>{var o;(null==(o=null==V?void 0:V.userinfo)?void 0:o.token)&&V.getWalletInfo()})()})),(o,e)=>{const a=u;return m(),l("div",j,[r(v,{title:P.value,isLeftShow:!1,isRightShow:!1},{left:n((()=>[r(a,{name:"arrow-left",onClick:I})])),_:1},8,["title"]),i("div",g,[r(p,{ref_key:"listRef",ref:k,mod:w.value,name:"forgotPassword",modelValue:y.value,"onUpdate:modelValue":e[0]||(e[0]=o=>y.value=o)},null,8,["mod","modelValue"])])])}}},[["__scopeId","data-v-c0598012"],["__file","index.vue"]]);export{h as default};
