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