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-hbN0HDAk.js";import{P as d}from"./email-list-a6od0y7w.js";import{_ as p,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:"forgotWithdrawalPassword"},g={class:"forgotWithdrawalPassword-item"},h=p({__name:"index",setup(p){const{t:h}=e(),w=o("none"),_=a(),k=o(null),y=o(1),P=f(),V=s((()=>2==+y.value?h("忘记取款密码"):h("设置新取款密码"))),{cfg:b}=c();switch(b.forgetPayPasswordType){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 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",g,[r(d,{mod:w.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{h as default};
