import{V as M,a0 as D,r as a,F as P,W as c,m,p as t,$ as o,ao as y,aj as C,Z as B,ad as T,o as r,X as z,Y as V,an as S,N as j}from"./common.modules-adc6b33e.js";import{bf as A,bp as E,d_ as F,_ as H}from"./page-activity-ActivityDetail-b9249b49.js";import{M as U}from"./MayrecordList-c95c652e.js";import"./native/index-0b5e3b14.js";import"./en-8e350547.js";window.getBuildInfo=function(){return{buildTime:"4/17/2025, 12:09:57 PM",branch:" commitId:8bf9f27a915f5dcd9b9436e446b585b05218b863"}};const X={class:"BettingRecordWin__C"},Y={class:"BettingRecordWin__C-head"},Z={class:"BettingRecordWin__C-nav"},$=["innerHTML"],q={class:"BettingRecordWin__C-list"},J={key:0,class:"BettingRecordWin__C-foot"},K={class:"BettingRecordWin__C-foot-page"},O=M({__name:"index",setup(W){const p=D(),g=A();let l=a([]);const _=a([]),f=a(0),e=a(1),d=a(4),h=u=>{v.value=u.name,e.value=1,s()},v=a(0),s=async()=>{const[u,n]=await E(F({pageSize:20,pageNo:e.value,typeId:v.value}));_.value=n.list||[],d.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"),N=c("van-tab"),G=c("van-tabs"),b=c("van-icon");return r(),m("div",X,[t("div",Y,[o(L,{"left-arrow":"",onClickLeft:R,class:"main",title:"Win Go"})]),t("div",Z,[o(G,{active:f.value,"onUpdate:active":n[0]||(n[0]=i=>f.value=i),onClickTab:h},{default:y(()=>[(r(!0),m(z,null,V(j(l),(i,I)=>(r(),S(N,{key:I,name:i.typeID},{title:y(()=>[t("div",{innerHTML:i.typeName.replace(/<br ?\/?>/,"")},null,8,$)]),_:2},1032,["name"]))),128))]),_:1},8,["active"])]),t("div",q,[o(U,{mayrecord:_.value},null,8,["mayrecord"])]),_.value.length?(r(),m("div",J,[t("div",{class:C(["BettingRecordWin__C-foot-previous",{disabled:e.value<=1}]),onClick:k},[o(b,{name:"arrow-left",class:"BettingRecordWin__C-icon",size:"20"})],2),t("div",K,B(e.value)+"/"+B(d.value),1),t("div",{class:C(["BettingRecordWin__C-foot-next",{disabled:e.value>=d.value}]),onClick:x},[o(b,{name:"arrow",class:"BettingRecordWin__C-icon",size:"20"})],2)])):T("v-if",!0)])}}});const oe=H(O,[["__scopeId","data-v-6d173501"],["__file","/usr/local/jenkins-prod/workspace/ar079-india-tashanwin/src/views/home/AllLotteryGames/BettingRecordWin/index.vue"]]);export{oe as default};
//# sourceMappingURL=index-147544ff.js.map
