import{_ as t}from"./tit-q4NjGaCE.js";import{H as a}from"./Header-hbN0HDAk.js";import{_ as s,by as e}from"./common-store-e_1WBubm.js";import{U as i,r as l,j as o,b as r,q as n,u as m,h as u,x as d,t as v,F as c,e as p,s as b,o as f}from"./vendor-jA_NIjzi.js";import"./common-utils-8H8K2JPG.js";import"./vendor-crypto-Vtl7-GZS.js";/* empty css              */import"./SvgIcon-unOD6nfS.js";import"./vendor-mqtt-lYGapirz.js";const g={class:"rebate-details"},j={class:"rebate-container"},h={class:"rebate-items"},_={class:"rebate-tit"},x={class:"rebate-table"},N={class:"title"},y=s({__name:"pltLottDetails",setup(s){const{t:y}=i(),R=l({}),w=l("0.00");return(t=>{if(isNaN(t))return t;const a=parseFloat(t);if(isNaN(a))return!1;const s=a.toString(),e=s.indexOf(".");if(e<0)return s+".00";s.length-e-1<2||s.substring(0,e+3)})(1.2),o((()=>{(async()=>{const t=await e();if(!t.success)return t.message&&b(t.message);R.value=t.data,t.data.length>=1&&(w.value=t.data.maxRebateAmont)})()})),(s,e)=>(f(),r("div",g,[n(a,{title:m(y)("返水详情"),isRightShow:!1},null,8,["title"]),u("div",j,[e[0]||(e[0]=u("div",{class:"top"},[u("img",{class:"top-tit",src:t,alt:""})],-1)),u("div",h,[u("div",_,[d(v(R.value.thirdGameName)+" ",1),u("span",null,v(0!==parseFloat(R.value.maxRebateAmount)&&R.value.maxRebateAmount?m(y)("每日上限")+R.value.maxRebateAmount:m(y)("每日无上限")),1)]),u("div",x,[u("div",N,[u("div",null,v(m(y)("彩种名称")),1),u("div",null,v(m(y)("返水比例")),1)]),(f(!0),r(c,null,p(R.value.rateConfigList,((t,a)=>(f(),r("div",{key:a},[u("div",null,v(t.lotteryName),1),u("div",null,v(t.rateShow),1)])))),128))])])])]))}},[["__scopeId","data-v-a0d950fa"],["__file","pltLottDetails.vue"]]);export{y as default};
