import{_ as a,b as s}from"./index-4c745ab9.js";import{d as n,o as e,a as c,g as t,F as i,i as r,m as k,t as o,e as l,f as b}from"./vendor-edc0678f.js";const d={class:"bankItem"},p={class:"bank-content"},m=["onClick"],u={class:"top-content"},y={class:"bank-type"},f={key:0,class:"scl"},v=["onClick"],N={class:"name"},_={class:"bankNumber"},h={key:0,class:"bank"},j={key:1,class:"bank"},C=a({__name:"bank-item",props:{bankList:{type:Array,default:[]}},setup(a){const C=n(),A=a,B=a=>{C.push({path:"/edit-bank",query:{data:encodeURI(JSON.stringify(a))}})};return(a,n)=>{const C=s;return e(),c("div",d,[t("ul",p,[(e(!0),c(i,null,r(A.bankList,a=>(e(),c("li",{key:a.id,onClick:s=>B(a)},[t("div",u,[t("p",y,[k(o(a.bankName),1),a.coin?(e(),c("span",f,"（"+o(a.coin)+"）",1)):l("",!0)]),t("div",{class:"normal",onClick:s=>B(a)},[b(C,{name:"bianji",class:"bianji"})],8,v)]),t("p",N,o(a.userName),1),t("p",_,o(a.cardNumber),1),a.bankAddress?(e(),c("p",h,o(a.bankAddress),1)):l("",!0),a.bankBranch?(e(),c("p",j,o(a.bankBranch),1)):l("",!0)],8,m))),128))])])}}},[["__scopeId","data-v-38883bce"]]);export{C as B};
