import{ag as e,a4 as t,a5 as l,bf as a,v as s,bJ as o,bz as n,ab as r,aW as i}from"./vendor-BXdGExd0.js";import{u as p}from"./vendor-CCpvWbZV.js";import{f as x,P as d}from"./souav-BTAG2baT.js";import"./vendor-CB_mu4eO.js";import"./vendor-Dm9fpm6x.js";import"./vendor-BJZ6tUoe.js";import"./vendor-Dm4oB1Pn.js";import"./vendor-DN37M9Hi.js";import"./vendor-DBhUxCDU.js";import"./vendor-CDxkAdJH.js";import"./vendor-Cv8m7sE6.js";import"./vendor-BCo6x5W8.js";import"./vendor-bo_0oRCG.js";import"./vendor-Dos3PyFQ.js";import"./vendor-Dwl46Tfs.js";import"./vendor-BHR_E30J.js";import"./vendor-DzK633Zd.js";import"./vendor-CfyHAoLP.js";const m={class:"sticky top-0 z-50 flex items-center justify-between h-12 border-b border-[#1D1E22] px-4 bg-[#0E0F12]"},c={class:"absolute inset-0 overflow-y-auto pb-10 pt-12 flex flex-col touch-pan-y"},u={class:"relative w-full aspect-[750/400] mt-[15px]"},b={class:"absolute bottom-[15px] left-[22px]"},f={class:"text-[13px] text-white leading-none"},z={class:"absolute top-[82px] left-[16px]"},v={class:"w-[166px] h-[36px] bg-[#DC4418] rounded-[18px] flex items-center px-[15px]"},h={class:"ml-[5px] flex-1"},j={class:"px-[20px]"},y={class:"space-y-[15px]"},g={class:"h-[48px] bg-white rounded-[24px] px-[20px] flex items-center"},w={class:"h-[48px] bg-white rounded-[24px] px-[20px] flex items-center"},A={class:"mt-[42px]"},F=e({__name:"withdraw",emits:["ppw-close"],setup(e){const F=p(),T=x(),E=e=>{var t;const l=e.target;"INPUT"!==l.tagName&&"BUTTON"!==l.tagName&&(null==(t=document.activeElement)||t.blur())},D=()=>{d.open("WithdrawRecord",{transition:"slide-fade"})};return(e,p)=>(i(),t("div",{class:"min-h-dvh bg-[#0E0F12] flex flex-col relative",onClick:E},[l("header",m,[l("button",{onClick:p[0]||(p[0]=t=>e.$emit("ppw-close")),class:"p-2 -ml-2"},[...p[6]||(p[6]=[l("i",{class:"icon-sprite icon-back"},null,-1)])]),p[7]||(p[7]=l("h1",{class:"text-lg font-medium absolute left-1/2 -translate-x-1/2 text-white font-sans"},"现金提现",-1)),l("button",{onClick:D,class:"px-2 py-1 rounded bg-[#292B32] text-[12px] text-white"}," 提现记录 ")]),l("main",c,[l("div",u,[p[10]||(p[10]=l("img",{src:"https://ggjs.bdrcp.cn/pwa/1.0.1/assets/verdor-DQyYlVeb.png",class:"absolute inset-0 w-full h-full object-fill"},null,-1)),l("div",b,[l("span",f," 您的金币钱包，可提现金额￥"+a(s(T).withdrawalAmount),1)]),l("div",z,[l("div",v,[p[8]||(p[8]=l("span",{class:"text-[#FFF093] text-[32px] font-bold leading-none"},"¥",-1)),l("div",h,[o(l("input",{"onUpdate:modelValue":p[1]||(p[1]=e=>s(F).form.amount=e),type:"text",inputmode:"decimal",placeholder:"0.00",class:"w-full bg-transparent border-none outline-none text-[#FFF093] text-[24px] font-bold text-center placeholder-[#FFF093]/50 h-[36px]"},null,512),[[n,s(F).form.amount]])])])]),l("div",{class:"absolute right-0 bottom-[4px]",onClick:p[2]||(p[2]=(...e)=>s(F).onClickWithdrawAll&&s(F).onClickWithdrawAll(...e))},[...p[9]||(p[9]=[l("div",{class:"relative w-[90px] h-auto flex items-center justify-center cursor-pointer active:opacity-80"},[l("img",{src:"data:image/png;base64, ",class:"w-full"}),l("span",{class:"absolute text-[#CE560E] text-[13px] font-bold leading-none mb-[2px]"},"全部提现")],-1)])])]),l("div",j,[p[11]||(p[11]=r('<div class="mt-4 ml-[5px]"><span class="text-[14px] font-bold text-white">提现方式</span></div><div class="mt-[7px] ml-[11px] flex items-center mb-[23px]"><i class="icon-sprite icon-zfb_selected"></i><img src="https://ggjs.bdrcp.cn/pwa/1.0.1/assets/verdor-DTX7b4Dc.png" class="w-[93px] h-[35px] ml-[20px]"></div>',2)),l("div",y,[l("div",g,[o(l("input",{"onUpdate:modelValue":p[3]||(p[3]=e=>s(F).form.name=e),placeholder:"请输入支付宝真实姓名",class:"w-full bg-transparent text-black text-[15px] placeholder-[#676574] outline-none"},null,512),[[n,s(F).form.name]])]),l("div",w,[o(l("input",{"onUpdate:modelValue":p[4]||(p[4]=e=>s(F).form.account=e),placeholder:"请输入支付宝收款账号",class:"w-full bg-transparent text-black text-[15px] placeholder-[#676574] outline-none"},null,512),[[n,s(F).form.account]])])]),p[12]||(p[12]=l("p",{class:"mt-[15px] text-[#676574] text-[12px] leading-relaxed"}," 注：您填写真实的支付宝账号信息我们会加密存储，请放心填写！虚假信息回导致提现无法到账！ ",-1)),l("div",A,[l("button",{onClick:p[5]||(p[5]=(...e)=>s(F).reqWithdraw&&s(F).reqWithdraw(...e)),class:"w-full h-[48px] bg-[#FE2B54] rounded-[24px] text-white text-[15px] font-medium active:opacity-90 transition-opacity"}," 确认提现 ")]),p[13]||(p[13]=l("div",{class:"mt-[13px] text-[#676574] text-[12px] leading-relaxed whitespace-pre-wrap"},[l("p",null,"提现说明："),l("p",null,"1. 满100元即可提现，提现收取1%的手续费"),l("p",null,"2. 预计3个工作日内到账"),l("p",null,"3. 如有疑问请联系客服")],-1))])])]))}});export{F as default};
