chatapp-h5/h5/js/availableIncome-ChekD7Wo-1776148658686.js
2026-04-14 17:58:21 +08:00

8 lines
21 KiB
JavaScript

import{_ as Ae,k as Be,I as Ce,r as d,o as De,a as Se,c as r,l as b,q as n,b as e,t as i,m as w,G as Ee,v as u,F as j,x as I,n as m,J as Le,aj as je,ai as Ie,aK as ze,a9 as W,S as k,V as Fe,$ as Re,u as Te,j as l,y as M,aL as Ne,aM as Oe}from"./index-CIAVq8iD-1776148658686.js";import{_ as Y}from"./arrow-Cf0JWzXk-1776148658686.js";import{_ as te}from"./coin-Dqu2_ND9-1776148658686.js";import{g as Pe,c as Me}from"./payeeStore-BUBSCe8t-1776148658686.js";import{a as h,s as ae}from"./toast-aIWCznBB-1776148658686.js";import{u as Ye}from"./identity-TzakE_vG-1776148658686.js";import{h as se}from"./imageHandler-DstQGL3Z-1776148658686.js";import{G as $e}from"./GeneralHeader-ClI1i1Ud-1776148658686.js";import{G as C}from"./GradientBorder-CfwSeIMB-1776148658686.js";import{m as Ge}from"./MaskLayer-CMaJd7Gb-1776148658686.js";const Ve={class:"transfer"},Ue={class:"content"},qe={style:{display:"flex","justify-content":"space-between","align-items":"center","margin-bottom":"10px"}},He={style:{"font-weight":"600"}},We={style:{color:"rgba(0, 0, 0, 0.4)"}},Je={style:{padding:"16px"}},Ke={style:{"font-weight":"700",color:"#333","font-size":"1.1em"}},Qe={style:{padding:"16px",display:"flex","flex-direction":"column",gap:"10px"}},Xe={style:{display:"flex","align-items":"center","justify-content":"space-between"}},Ze=["onClick"],et={style:{display:"flex","flex-direction":"column",gap:"8px"}},tt={style:{"font-weight":"700","font-size":"1.1em"}},at={style:{"font-weight":"500","font-size":"1.4em"}},st={style:{display:"flex","justify-content":"space-around","align-items":"center","margin-bottom":"12px"}},it=["onClick"],nt={key:0},ot={style:{padding:"16px"}},lt={style:{display:"grid","grid-template-columns":"repeat(3, 1fr)",gap:"12px"}},rt=["onClick"],dt={style:{"font-weight":"500",color:"#131111"}},ct={style:{display:"flex","justify-content":"center","margin-top":"10px"}},ut=["disabled"],pt={key:1},ft={style:{"font-weight":"600","margin-bottom":"10px"}},gt={style:{padding:"16px",display:"flex","align-items":"center","justify-content":"center"}},vt={key:0,style:{width:"100%"}},yt={style:{display:"flex","align-items":"center",gap:"4px"}},ht={style:{width:"3.5em","align-self":"stretch",display:"flex","align-items":"center","justify-content":"center"}},_t=["src","alt"],mt={style:{flex:"1","min-width":"0","align-self":"stretch",display:"flex","flex-direction":"column",gap:"4px"}},xt={style:{"font-weight":"700",overflow:"hidden","white-space":"nowrap","text-overflow":"ellipsis"}},bt={style:{"font-size":"0.9em","font-weight":"500",color:"rgba(0, 0, 0, 0.4)"}},wt={key:1,style:{display:"flex","justify-content":"center","align-items":"center"}},kt={key:2},At={style:{padding:"16px"}},Bt={style:{display:"grid","grid-template-columns":"repeat(3, 1fr)",gap:"4px"}},Ct=["onClick"],Dt={style:{"font-weight":"500",color:"#131111"}},St={style:{display:"flex","justify-content":"center","margin-top":"10px"}},Et=["disabled"],Lt={key:3},jt={style:{display:"flex","align-items":"flex-end","margin-bottom":"10px"}},It={style:{"font-weight":"600"}},zt={key:0,style:{"font-weight":"600",margin:"0 4px"}},Ft={key:1,style:{"font-weight":"510","font-size":"0.9em",background:"linear-gradient(248deg, #75ff98 5.66%, #3dff54 42.49%)","background-clip":"text","-webkit-background-clip":"text","-webkit-text-fill-color":"transparent"}},Rt={key:2,style:{"font-weight":"510","font-size":"0.9em",background:"linear-gradient(248deg, #ff7578 5.66%, #ff3d40 42.49%)","background-clip":"text","-webkit-background-clip":"text","-webkit-text-fill-color":"transparent"}},Tt={key:3,style:{"font-weight":"510","font-size":"0.9em",background:"linear-gradient(248deg, #ffe675 5.66%, #ffc53d 42.49%)","background-clip":"text","-webkit-background-clip":"text","-webkit-text-fill-color":"transparent"}},Nt={style:{padding:"16px"}},Ot={style:{"font-weight":"510","font-size":"1em"}},Pt={key:1,style:{width:"100%",display:"flex","flex-direction":"column",gap:"8px"}},Mt={style:{display:"flex","justify-content":"space-between","align-items":"center"}},Yt={style:{"font-weight":"510","font-size":"1em"}},$t={style:{display:"flex","align-items":"center",gap:"4px"}},Gt=["src"],Vt={style:{"font-weight":"500"}},Ut={style:{color:"rgba(0, 0, 0, 0.4)","font-weight":"600","font-size":"0.8em","overflow-wrap":"break-word"}},qt={style:{"font-weight":"500"}},Ht={style:{color:"rgba(0, 0, 0, 0.4)","font-weight":"600","font-size":"0.8em","overflow-wrap":"break-word"}},Wt={style:{display:"flex","justify-content":"center","align-items":"center"}},Jt={style:{color:"rgba(0, 0, 0, 0.8)","font-weight":"700","font-size":"1.3em"}},Kt={style:{color:"rgba(0, 0, 0, 0.4)","font-weight":"600","font-size":"1.1em"}},Qt={style:{width:"80%",display:"flex","justify-content":"space-between","align-items":"center"}},Xt={style:{color:"rgba(0, 0, 0, 0.8)","font-weight":"700","font-size":"1.3em"}},Zt={style:{color:"rgba(0, 0, 0, 0.8)","font-weight":"600","font-size":"1em"}},ea={style:{color:"rgba(0, 0, 0, 0.4)","font-weight":"600","font-size":"0.7em"}},ta={style:{display:"flex","justify-content":"center","align-items":"center"}},aa={style:{margin:"0","font-size":"18px","font-weight":"600",color:"#333"}},sa={style:{"box-shadow":"0 0 4px 0 rgba(0, 0, 0, 0.25)","border-radius":"8px",padding:"12px"}},ia={style:{"font-size":"0.9em","font-weight":"600","margin-bottom":"4px"}},na={key:0,style:{"font-size":"0.9em","font-weight":"600","margin-bottom":"4px"}},oa={key:0,style:{"font-size":"0.9em","font-weight":"600"}},la={key:1,style:{"font-size":"0.9em","font-weight":"600"}},ra={style:{"box-shadow":"0 0 4px 0 rgba(0, 0, 0, 0.25)","border-radius":"8px",padding:"12px"}},da=["placeholder","value"],ca={style:{color:"rgba(0, 0, 0, 0.4)","font-weight":"600","font-size":"0.9em"}},ua={style:{display:"flex","justify-content":"center","align-items":"center"}},pa={style:{color:"rgba(0, 0, 0, 0.8)","font-weight":"700","font-size":"1.3em"}},fa={style:{color:"rgba(0, 0, 0, 0.8)","font-weight":"600","font-size":"1.1em"}},ga={__name:"availableIncome",setup(va){const{t:s,locale:$}=Be(),G=Te(),ie=Le(),x=Ye();$.value&&Ce($.value);const p=d(null),f=d(null),A=d(ie.query.activeAction||"Exchange"),V=d({}),J=d({}),U=d({}),D=d({}),S=k(()=>[{label:s("bd"),value:"bd",detail:s("my_bd_salary"),salary:D.value?.availableBalance||0},{label:s("bd_leader"),value:"bd_leader",detail:s("my_bd_leader_salary"),salary:U.value?.availableBalance||0}]),B=d(0),ne=d("background: #FFCA80;color: #FFF;"),oe=a=>{B.value=a},q=k(()=>{switch(x.identity){case"ADMIN":return"ADMIN_SALARY";case"BD_LEADER":return S.value[B.value].value=="bd"?"BD_SALARY":"BD_LEADER_SALARY";case"BD":return"BD_SALARY"}}),le=k(()=>{switch(x.identity){case"ADMIN":return V.value?.availableBalance||0;case"BD_LEADER":return J.value?.availableBalance||0;case"BD":return D.value?.availableBalance||0}}),K=k(()=>{switch(x.identity){case"ADMIN":return V.value?.availableBalance||0;case"BD_LEADER":return S.value[B.value].value=="bd"?D.value?.availableBalance||0:U.value?.availableBalance||0;case"BD":return D.value?.availableBalance||0}}),z=d(!1),E=d(!1),F=d(!1),R=d(!1),L=d(null),re=k(()=>z.value||E.value||R.value||F.value),_=d(null),g=()=>{z.value=!1,E.value=!1,R.value=!1,F.value=!1},de=d([{name:"Exchange",lang:"exchange"},{name:"Transfer",lang:"transfer"},{name:"Cash out",lang:"cash_out"}]),ce=()=>{T.value&&v.value?.status==="PASS"?F.value=!0:T.value||(E.value=!0)},c=W({id:null,account:"",name:"",avatar:"",type:"",isHost:!1,isAgency:!1,hasSalary:!1}),Q=W([{id:1,amount:10500,price:1},{id:2,amount:52500,price:5},{id:3,amount:105e3,price:10},{id:4,amount:525e3,price:50},{id:5,amount:105e4,price:100},{id:6,amount:21e5,price:200}]),X=W([{id:1,coins:10500,cash:1},{id:2,coins:52500,cash:5},{id:3,coins:105e3,cash:10},{id:4,coins:525e3,cash:50},{id:5,coins:105e4,cash:100},{id:6,coins:21e5,cash:200}]),v=d(null),T=k(()=>v.value!=null),H=a=>$.value==="ar"?`${a}$`:`$${a}`,ue=a=>{let t=a.target.value;t=t.replace(/[^\d.]/g,"");const o=t.split(".");o.length>2&&(t=o[0]+"."+o.slice(1).join("")),parseFloat(t)>K.value&&(t=K.value.toString()),a.target.value=t,L.value=parseFloat(t)||0},pe=()=>{const a=Pe();a&&Object.assign(c,a)},fe=()=>{Object.assign(c,{id:null,account:"",name:"",avatar:"",type:"",isHost:!1,isAgency:!1,hasSalary:!1}),Me()},N=()=>{G.push({path:"/bank-cards",query:{from:"/available-income",activeAction:"Cash out"}})},Z=k(()=>v.value?.status=="PASS"&&_.value?.id&&L.value>=50),ge=()=>{G.push("/income-details")},ee=()=>{G.push({path:"/search-payee",query:{from:"/available-income",activeAction:"Transfer"}})},ve=a=>{A.value=a,p.value=null,f.value=null},ye=a=>{p.value===a.id?p.value=null:p.value=a.id},he=a=>{f.value===a.id?f.value=null:f.value=a.id},_e=async()=>{try{const a=await je();if(console.log("提现信息列表:",a),a.status&&a.body?.length>0){let o=JSON.parse(a.body[0].passportFrontUrl).map(y=>y);v.value={previewUrls:o,...a.body[0]}}}catch(a){console.error("获取提现信息列表失败:",a),h(a.response?.errorMsg)}},me=async()=>{try{const a=await Ie();console.log("银行卡列表:",a),a.status&&a.body&&a.body.forEach(t=>{t.use&&(_.value=t)})}catch(a){console.error("获取银行卡列表失败:",a)}},xe=async()=>{const a=await Re();a.status&&a.body&&(J.value=a.body||{})},O=async a=>{try{const t=await Fe(a);t.status&&t.body&&(a==="ADMIN_SALARY"?V.value=t.body||{}:a==="BD_LEADER_SALARY"?U.value=t.body||{}:a==="BD_SALARY"&&(D.value=t.body||{}))}catch(t){console.error("Failed to fetch bank balance:",t),h(s("failed_to_load_balance"))}},P=()=>{switch(x.identity){case"ADMIN":O("ADMIN_SALARY");break;case"BD_LEADER":xe(),O("BD_LEADER_SALARY"),O("BD_SALARY");break;case"BD":O("BD_SALARY");break}},be=async()=>{if(!p.value){h(s("please_select_amount"));return}if(!c.id){h(s("please_select_payee"));return}const a=Q.find(o=>o.id===p.value);console.log("当前身份:",x.identity);const t={amount:a.price,acceptUserId:c.id,salaryType:q.value};try{(await ze(t)).status?(ae(s("transfer_dollar_success",{price:a.price,name:c.name})),p.value=null,P()):h(s("transfer_dollar_failed",{price:a.price}))}catch(o){console.error("Transfer failed:",o),h(o.response?.errorMsg||s("transfer_error"))}},we=async()=>{if(!f.value){h(s("please_select_coin_amount"));return}const a=X.find(t=>t.id===f.value);console.log("当前身份:",x.identity);try{const t=await Ne({amount:a.cash,salaryType:q.value});(t.status===!0||t.errorCode===0)&&(ae(s("exchange_success",{price:a.cash})),g(),P()),f.value=null}catch(t){g(),console.error("Exchange failed:",t),h(t.response?.errorMsg||s("exchange_error_occurred"))}},ke=async()=>{if(Z.value)try{(await Oe({amount:L.value,acceptBankCardId:_.value.id,salaryType:q.value})).status&&(g(),P(),R.value=!0)}catch(a){g(),console.log("提现失败:",a.response?.errorMsg),h(s("something_went_wrong"))}else!_.value?.id&&L.value>=50&&(g(),E.value=!0)};return De(()=>{P(),pe(),_e(),me()}),Se(()=>{fe()}),(a,t)=>(l(),r("div",Ve,[b($e,{showLanguageList:!0,title:n(s)("available_salaries"),color:"black"},null,8,["title"]),e("div",Ue,[e("div",null,[e("div",qe,[e("div",He,i(n(s)("available_salaries")),1),e("div",{style:{display:"flex","align-items":"center"},onClick:ge},[e("div",We,i(n(s)("details")),1),t[6]||(t[6]=e("img",{src:Y,alt:"",width:"16px",class:"flipImg"},null,-1))])]),b(C,{style:{"margin-bottom":"12px"}},{default:w(()=>[e("div",Je,[e("span",Ke,i(H(le.value||0)),1)])]),_:1}),n(x).identity=="BD_LEADER"?(l(),Ee(C,{key:0,style:{"margin-bottom":"12px"}},{default:w(()=>[e("div",Qe,[e("div",Xe,[(l(!0),r(j,null,I(S.value,(o,y)=>(l(),r("div",{key:y,style:m([{width:"45%","border-radius":"999px","font-weight":"700",padding:"10px 0","font-size":"1.1em","text-align":"center"},B.value===y?ne.value:""]),onClick:ya=>oe(y)},i(o.label),13,Ze))),128))]),e("div",et,[e("div",tt,i(S.value[B.value]?.detail),1),e("div",at," $"+i(S.value[B.value]?.salary),1)])])]),_:1})):u("",!0)]),e("div",st,[(l(!0),r(j,null,I(de.value,o=>(l(),r("div",{key:o.name,onClick:y=>ve(o.name),style:m([{"border-radius":"20px",color:"white","font-weight":"600",padding:"8px 12px"},{background:A.value===o.name?"linear-gradient(269deg, #FEB219 7.04%, #FF9326 96.78%)":"linear-gradient(135deg, #A2A2A2 2.82%, #646464 99.15%)"}])},i(n(s)(o.lang)),13,it))),128))]),A.value==="Exchange"?(l(),r("div",nt,[b(C,{style:{"margin-bottom":"20px"}},{default:w(()=>[e("div",ot,[e("div",lt,[(l(!0),r(j,null,I(X,o=>(l(),r("div",{key:o.id,onClick:y=>he(o),style:m({display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",border:f.value===o.id?"2px solid #ffb700":"2px solid #ffdb81",borderRadius:"12px",cursor:"pointer",transition:"all 0.2s",backgroundColor:f.value===o.id?"#fdca49":"#ffe5a1",aspectRatio:"1/1"})},[t[7]||(t[7]=e("img",{src:te,alt:"",style:{width:"2.5em"}},null,-1)),t[8]||(t[8]=e("div",{style:{"font-weight":"500",color:"#373232"}},null,-1)),e("div",dt,i(H(o.cash)),1)],12,rt))),128))])])]),_:1}),e("div",ct,[e("button",{style:m([{width:"70%",padding:"12px",color:"white",border:"none","border-radius":"32px","font-weight":"600",cursor:"pointer",transition:"all 0.2s"},{background:f.value?"linear-gradient(269deg, #FEB219 7.04%, #FF9326 96.78%)":"#ccc",opacity:f.value?1:.6}]),onClick:t[0]||(t[0]=o=>z.value=!0),disabled:!f.value},i(n(s)("exchange")),13,ut)])])):u("",!0),A.value==="Transfer"?(l(),r("div",pt,[e("div",ft,i(n(s)("transfer_to_others")),1),b(C,{style:{"margin-bottom":"12px"}},{default:w(()=>[e("div",gt,[c.id?(l(),r("div",vt,[e("div",yt,[e("div",ht,[e("img",{src:c.avatar||"",alt:c.name,style:{display:"block",width:"100%","aspect-ratio":"1/1","border-radius":"50%","object-fit":"cover"},onError:t[1]||(t[1]=(...o)=>n(se)&&n(se)(...o))},null,40,_t)]),e("div",mt,[e("div",xt,i(c.name),1),e("div",bt,i(n(s)("user_id_prefix"))+" "+i(c.goodID||c.account),1)]),e("button",{style:{width:"auto","background-color":"transparent",color:"rgba(0, 0, 0, 0.4)",border:"1px solid #e6e6e6","border-radius":"12px","font-size":"0.9em","font-weight":"500",padding:"2px 8px",cursor:"pointer"},onClick:ee},i(n(s)("change")),1)])])):(l(),r("div",wt,[e("div",{style:{"font-weight":"590",color:"rgba(0, 0, 0, 0.8)",padding:"10px 16px","border-radius":"8px",background:"#ffe5a1"},onClick:ee},i(n(s)("search")),1)]))])]),_:1})])):u("",!0),A.value==="Transfer"?(l(),r("div",kt,[b(C,{style:{"margin-bottom":"12px"}},{default:w(()=>[e("div",At,[e("div",Bt,[(l(!0),r(j,null,I(Q,o=>(l(),r("div",{key:o.id,onClick:y=>ye(o),style:m({display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",border:p.value===o.id?"2px solid #ffb700":"2px solid #ffdb81",borderRadius:"12px",cursor:"pointer",transition:"all 0.2s",backgroundColor:p.value===o.id?"#fdca49":"#ffe5a1",aspectRatio:"1/1"})},[t[9]||(t[9]=e("img",{src:te,alt:"",style:{width:"2.5em"}},null,-1)),t[10]||(t[10]=e("div",{style:{"font-weight":"500",color:"#373232"}},null,-1)),e("div",Dt,i(H(o.price)),1)],12,Ct))),128))])])]),_:1}),e("div",St,[e("button",{style:m([{width:"70%",padding:"12px",color:"white",border:"none","border-radius":"32px","font-weight":"600",cursor:"pointer",transition:"all 0.2s"},{background:!p.value||!c.id?"#ccc":"linear-gradient(269deg, #FEB219 7.04%, #FF9326 96.78%)",opacity:!p.value||!c.id?.6:1}]),onClick:be,disabled:!p.value||!c.id},i(n(s)("transfer")),13,Et)])])):u("",!0),A.value==="Cash out"?(l(),r("div",Lt,[e("div",null,[e("div",jt,[e("div",It,i(n(s)("kyc")),1),T.value?(l(),r("div",zt,":")):u("",!0),v.value?.status==="PASS"?(l(),r("div",Ft,i(n(s)("review_passed")),1)):u("",!0),v.value?.status==="NOT_PASS"?(l(),r("div",Rt,i(n(s)("review_failed")),1)):u("",!0),v.value?.status==="PENDING"?(l(),r("div",Tt,i(n(s)("awaiting_review")),1)):u("",!0)]),b(C,{style:{"margin-bottom":"12px"}},{default:w(()=>[e("div",Nt,[T.value?(l(),r("div",Pt,[e("div",Mt,[e("span",Yt,i(n(s)("passport_id_card_title"))+":",1),e("img",{src:Y,alt:"",style:{width:"6vw"},onClick:N,class:"flipImg"})]),e("div",$t,[(l(!0),r(j,null,I(v.value.previewUrls,o=>(l(),r("img",{src:o,alt:"",style:{display:"block",width:"15vw","aspect-ratio":"1/1","object-fit":"cover","border-radius":"5vw"}},null,8,Gt))),256))]),e("div",Vt,i(n(s)("contact_number"))+":",1),e("div",Ut,i(v.value.contactNumber),1),e("div",qt,i(n(s)("other_description"))+":",1),e("div",Ht,i(v.value.otherDescription),1)])):(l(),r("div",{key:0,style:{display:"flex","justify-content":"space-between","align-items":"center"},onClick:N},[e("span",Ot,i(n(s)("complete_information")),1),t[11]||(t[11]=e("img",{src:Y,alt:"",style:{width:"6vw"},class:"flipImg"},null,-1))]))])]),_:1})]),e("div",Wt,[e("div",{style:m([{"margin-top":"10px",width:"80%","border-radius":"32px",padding:"12px",color:"#fff","font-weight":"590","text-align":"center"},{background:v.value?.status==="PASS"?"linear-gradient(269deg, #FEB219 7.04%, #FF9326 96.78%)":"#ccc",opacity:v.value?.status==="PASS"?1:.6}]),onClick:ce},i(n(s)("cash_out")),5)])])):u("",!0)]),b(Ge,{maskLayerShow:re.value,onClick:g},{default:w(()=>[z.value?(l(),r("div",{key:0,style:{width:"100vw",height:"100vh",display:"flex","justify-content":"center","align-items":"center"},onClick:g},[e("div",{style:{width:"80%","border-radius":"12px",background:"#fff",padding:"12px",display:"flex","flex-direction":"column","align-items":"center",gap:"4px"},onClick:t[2]||(t[2]=M(()=>{},["stop"]))},[e("div",Jt,i(n(s)("tips")),1),e("div",Kt,i(n(s)("confirm_exchange")),1),e("div",Qt,[e("div",{style:{display:"flex","justify-content":"center","align-items":"center",background:"#fff","border-radius":"70px",border:"1px solid #ffb805",color:"#ffb805","font-weight":"800",padding:"8px 12px",width:"40%"},onClick:g},i(n(s)("cancel")),1),e("div",{style:{display:"flex","justify-content":"center","align-items":"center","border-radius":"70px",background:"linear-gradient(269deg, #feb219 7.04%, #ff9326 96.78%)",color:"#fff","font-weight":"800",padding:"8px 12px",width:"40%"},onClick:we},i(n(s)("confirm")),1)])])])):u("",!0),E.value?(l(),r("div",{key:1,style:{width:"100vw",height:"100vh",display:"flex","justify-content":"center","align-items":"center"},onClick:g},[e("div",{style:{width:"80%","border-radius":"12px",background:"#fff",padding:"12px",display:"flex","flex-direction":"column","align-items":"center",gap:"4px"},onClick:t[3]||(t[3]=M(()=>{},["stop"]))},[e("div",Xt,i(n(s)("prompt")),1),e("div",Zt,i(n(s)("fill_info_tips")),1),e("div",ea,i(n(s)("card_issue_tips")),1),e("div",{style:{display:"flex","justify-content":"center","align-items":"center","border-radius":"999999px",background:"linear-gradient(269deg, #feb219 7.04%, #ff9326 96.78%)","box-shadow":`-1px 0 5px 0 rgba(255, 255, 255, 0.7) inset,
-3.5px 0 7.5px 0 rgba(255, 255, 255, 0.2) inset,
1px 0 5px 0 rgba(255, 255, 255, 0.7) inset,
3.5px 0 7.5px 0 rgba(255, 255, 255, 0.2) inset`,color:"#fff","font-weight":"800",padding:"8px 12px",width:"50%"},onClick:N},i(n(s)("to_improve")),1)])])):u("",!0),F.value?(l(),r("div",{key:2,style:{position:"fixed",bottom:"0",width:"100%"},onClick:g},[e("div",{style:{background:"white","border-radius":"16px 16px 0 0","max-height":"80vh",display:"flex","flex-direction":"column",gap:"10px",padding:"20px"},onClick:t[4]||(t[4]=M(()=>{},["stop"]))},[e("div",ta,[e("div",aa,i(n(s)("cash_out")),1)]),e("div",sa,[e("div",ia,i(n(s)("withdrawal_method"))+": "+i(_.value?.cardType||""),1),_.value?(l(),r("div",na,i(n(s)("card_number"))+": "+i(_.value?.cardNo),1)):u("",!0),e("div",{style:{display:"flex","justify-content":"space-between","align-items":"center"},onClick:N},[_.value?(l(),r("div",oa,i(n(s)("change_withdrawal_method")),1)):(l(),r("div",la,i(n(s)("please_select_bank_card")),1)),t[12]||(t[12]=e("img",{src:Y,alt:"",style:{width:"6vw"},class:"flipImg"},null,-1))])]),e("div",ra,[e("input",{name:"",id:"",placeholder:n(s)("enter_cash_out_amount"),style:{width:"100%",outline:"none",border:"none","background-color":"transparent",color:"black"},value:L.value,onInput:ue,dir:"ltr",inputmode:"decimal"},null,40,da)]),e("div",ca,i(n(s)("cash_out_minimum")),1),e("div",ua,[e("div",{style:m([{"margin-top":"10px",width:"80%","border-radius":"32px",padding:"12px",color:"#fff","font-weight":"590","text-align":"center"},{background:Z.value?"linear-gradient(269deg, #FEB219 7.04%, #FF9326 96.78%)":"linear-gradient(135deg, #D1CED6 2.82%, #7C7882 99.15%)"}]),onClick:ke},i(n(s)("cash_out")),5)])])])):u("",!0),R.value?(l(),r("div",{key:3,style:{width:"100vw",height:"100vh",display:"flex","justify-content":"center","align-items":"center"},onClick:g},[e("div",{style:{width:"80%","border-radius":"12px",background:"#fff",padding:"12px",display:"flex","flex-direction":"column","align-items":"center",gap:"4px"},onClick:t[5]||(t[5]=M(()=>{},["stop"]))},[e("div",pa,i(n(s)("tips")),1),e("div",fa,i(n(s)("cash_withdrawal_tips")),1),e("div",{style:{display:"flex","justify-content":"center","align-items":"center","border-radius":"999999px",background:"linear-gradient(269deg, #feb219 7.04%, #ff9326 96.78%)","box-shadow":`-1px 0 5px 0 rgba(255, 255, 255, 0.7) inset,
-3.5px 0 7.5px 0 rgba(255, 255, 255, 0.2) inset,
1px 0 5px 0 rgba(255, 255, 255, 0.7) inset,
3.5px 0 7.5px 0 rgba(255, 255, 255, 0.2) inset`,color:"#fff","font-weight":"700",padding:"8px 12px",width:"50%"},onClick:g},i(n(s)("receive")),1)])])):u("",!0)]),_:1},8,["maskLayerShow"])]))}},Da=Ae(ga,[["__scopeId","data-v-56d72aa1"]]);export{Da as default};