import{ag as e,q as t,x as s,a4 as a,a5 as l,aN as c,v as i,bf as n,aW as p}from"./vendor-BXdGExd0.js";const x={class:"fixed inset-0 z-50 flex items-center justify-center bg-black/60"},o={class:"w-full px-[30px] max-w-[450px]"},r={class:"px-[50px] w-full text-center"},d={class:"text-[#1D1D1D] text-[20px] font-bold leading-[1.2]"},u={class:"text-[#DB2639] text-[30px] font-bold"},f=e({__name:"index",props:{reward:{},title:{}},emits:["ppw-close","callback"],setup(e,{emit:f}){const m=f;let b=null;const v=()=>{b&&clearTimeout(b),m("callback"),m("ppw-close")};return t(()=>{b=setTimeout(()=>{v()},2e3)}),s(()=>{b&&clearTimeout(b)}),(t,s)=>(p(),a("div",x,[l("div",o,[l("div",{class:"w-full aspect-[588/757] bg-no-repeat flex flex-col justify-end items-center",style:c({backgroundImage:`url(${i("https://ggjs.bdrcp.cn/pwa/1.0.1/assets/verdor-BkFCFyBS.png")})`,backgroundSize:"100% 100%"})},[l("div",r,[l("h2",d,n(e.title||"恭喜获得"),1)]),s[1]||(s[1]=l("div",{class:"h-[10px]"},null,-1)),l("div",u," 金币 +"+n(e.reward),1),s[2]||(s[2]=l("div",{class:"h-[20px]"},null,-1)),l("button",{class:"w-[200px] h-[40px] rounded-[20px] bg-[#DB2639] flex items-center justify-center active:opacity-80 transition-opacity",onClick:v},[...s[0]||(s[0]=[l("span",{class:"text-white text-[15px] font-medium"}," 我知道了 ",-1)])]),s[3]||(s[3]=l("div",{class:"h-[20px]"},null,-1))],4)])]))}});export{f as default};
