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