import{c as e,r as a,v as s,x as l,z as t,A as n,F as o,b0 as p,e as c,D as r,B as i,y as m,Q as d,U as u,az as x,aB as v}from"./base-lib.js?v=1761009159";import{f}from"./utils-lib.js?v=1761009159";import"./__commonjsHelpers__.js?v=1761009159";const y={class:"p-[2rem]"},D={class:"flex text-[2.1rem] items-center"},b={class:""},h={class:"my-[2rem] py-[1.5rem] pl-32px list-disc bg-light"},_=["innerHTML"],g={key:0,class:"overflow-hidden py-12px text-center"},k={class:"flex justify-center"},w={class:"text-small"},C=["innerHTML"],T={key:1},j=e({__name:"index",props:{compData:{}},setup(e,{expose:j}){const H=e,L=a(!1),M=a(!1),A=v(()=>{L.value=!1},2500);return j({onConfirm:async e=>{if(!M.value)return L.value=!0,void A();await H.compData.onConfirm(),e()},onCancel:e=>{e(),H.compData.onCancel&&H.compData.onCancel()}}),(e,a)=>{const v=f,j=u,H=x;return s(),l("div",y,[t("div",D,[a[1]||(a[1]=t("i",{class:"svgtofont-el-warning-filled text-warning !text-[3rem] pr-4"},null,-1)),t("p",b,n(e.compData.title||"风险操作,此功能不懂请勿开启!"),1)]),t("ul",h,[(s(!0),l(o,null,p(e.compData.content,(e,a)=>(s(),l("li",{class:"h-[2.4rem]",key:a,innerHTML:e},null,8,_))),128))]),e.compData.isShowAppCode?(s(),l("div",g,[a[2]||(a[2]=t("div",{class:"mt-4px"},"Android/IOS应用 扫码下载",-1)),t("div",k,[c(v,{src:"other/bt_app.png",class:"block w-[12rem] h-[12rem]"})])])):r("",!0),c(H,{visible:m(L),"popper-class":"popper-danger",width:"160",placement:"top-start",content:"请勾选，已了解风险选项"},{reference:i(()=>[c(j,{modelValue:m(M),"onUpdate:modelValue":a[0]||(a[0]=e=>d(M)?M.value=e:null),class:"mt-12px px-16px"},{default:i(()=>[t("div",w,[e.compData.checkTip?(s(),l("span",{key:0,innerHTML:e.compData.checkTip},null,8,C)):(s(),l("span",T,"我已了解详情,并愿意承担风险！"))])]),_:1},8,["modelValue"])]),_:1},8,["visible"])])}}});export{j as default};
