import{U as I,$ as D,r as a,E as P,V as c,m,p as t,Z as o,an as B,ah as C,Y as b,ad as T,o as r,W as z,X as E,am as V,M as A}from"./common.modules-7ef9f935.js";import{aY as S,bq as Y,dY as H,_ as U}from"./page-activity-ActivityDetail-6651511c.js";import{M as j}from"./MayrecordList-70b8c8b5.js";import"./native/index-1870b44d.js";import"./en-fc63d25a.js";window.getBuildInfo=function(){return{buildTime:"3/28/2025, 7:06:51 PM",branch:"origin/masterBranch/main commitId:afb5d46f657248d3137decf21a49f44fbff20383"}};const q={class:"BettingRecordWin__C"},F={class:"BettingRecordWin__C-head"},X={class:"BettingRecordWin__C-nav"},Z=["innerHTML"],$={class:"BettingRecordWin__C-list"},J={key:0,class:"BettingRecordWin__C-foot"},K={class:"BettingRecordWin__C-foot-page"},O=I({__name:"index",setup(W){const p=D(),g=S();let l=a([]);const d=a([]),f=a(0),e=a(1),_=a(4),h=u=>{v.value=u.name,e.value=1,s()},v=a(0),s=async()=>{const[u,n]=await Y(H({pageSize:20,pageNo:e.value,typeId:v.value}));d.value=n.list||[],_.value=n.totalPage},w=async()=>{await g.getWinGoData(),l.value=g.getWingo,v.value=l.value[0].typeID,s()};function R(){p.go(-1)}const k=()=>{e.value--,s()},x=()=>{e.value++,s()};return P(()=>{w()}),(u,n)=>{const L=c("NavBar"),M=c("van-tab"),N=c("van-tabs"),y=c("van-icon");return r(),m("div",q,[t("div",F,[o(L,{"left-arrow":"",onClickLeft:R,class:"main",title:"Win Go"})]),t("div",X,[o(N,{active:f.value,"onUpdate:active":n[0]||(n[0]=i=>f.value=i),onClickTab:h},{default:B(()=>[(r(!0),m(z,null,E(A(l),(i,G)=>(r(),V(M,{key:G,name:i.typeID},{title:B(()=>[t("div",{innerHTML:i.typeName.replace(/<br ?\/?>/,"")},null,8,Z)]),_:2},1032,["name"]))),128))]),_:1},8,["active"])]),t("div",$,[o(j,{mayrecord:d.value},null,8,["mayrecord"])]),d.value.length?(r(),m("div",J,[t("div",{class:C(["BettingRecordWin__C-foot-previous",{disabled:e.value<=1}]),onClick:k},[o(y,{name:"arrow-left",class:"BettingRecordWin__C-icon",size:"20"})],2),t("div",K,b(e.value)+"/"+b(_.value),1),t("div",{class:C(["BettingRecordWin__C-foot-next",{disabled:e.value>=_.value}]),onClick:x},[o(y,{name:"arrow",class:"BettingRecordWin__C-icon",size:"20"})],2)])):T("v-if",!0)])}}});const oe=U(O,[["__scopeId","data-v-6d173501"],["__file","/var/lib/jenkins/workspace/web-印度-ar050-daman-01/src/views/home/AllLotteryGames/BettingRecordWin/index.vue"]]);export{oe as default};
//# sourceMappingURL=index-74476797.js.map
