import{G as I,R as P,r as o,C as z,H as c,I as u,J as a,Q as s,au as D,ao as y,P as C,an as A,N as r,K as G,M as F,at as H}from"./common.modules-8cbc64b2.js";import{br as S,A as T,ef as V,_ as E}from"./page-activity-ActivityDetail-11971e62.js";import{M as j}from"./MayrecordList-800706d2.js";import{F as J}from"./page-main-BetRecords-1e884b74.js";import"./page-turntable-assets-d6267459.js";import"./native/index-15fb3a5d.js";import"./en-5d34117c.js";import"./page-activity-DailySignIn-aa4b91fa.js";import"./page-activity-Bonus-36161c6d.js";import"./page-home-AllGames-1b3c8b5f.js";const K={class:"BettingRecord5D__C"},Q={class:"BettingRecord5D__C-head"},U={class:"BettingRecord5D__C-nav"},q=["innerHTML"],O={class:"BettingRecord5D__C-list"},W={key:0,class:"BettingRecord5D__C-foot"},X={class:"BettingRecord5D__C-foot-page"},Y=I({__name:"index",setup(Z){const B=P(),m=S(),l=o(J),_=o([]),p=o(0),t=o(1),d=o(4),R=e=>{v.value=e.name,t.value=1,n()},v=o(0),n=async()=>{const e=await T(V({pageSize:20,pageNo:t.value,typeId:v.value}));_.value=(e==null?void 0:e.data.list)||[],d.value=(e==null?void 0:e.data.totalPage)||0},b=async()=>{await m.get5DData(),l.value=m.get5D,v.value=l.value[0].typeID,await n()};function k(){B.go(-1)}const L=()=>{t.value--,n()},h=()=>{t.value++,n()};return z(()=>{b()}),(e,g)=>{const w=c("NavBar"),x=c("van-tab"),N=c("van-tabs"),f=c("van-icon");return r(),u("div",K,[a("div",Q,[s(w,{"left-arrow":"",onClickLeft:k,class:"main",title:"5D Lotre"})]),a("div",U,[s(N,{active:p.value,"onUpdate:active":g[0]||(g[0]=i=>p.value=i),onClickTab:R},{default:D(()=>[(r(!0),u(G,null,F(l.value,(i,M)=>(r(),H(x,{key:M,name:i.typeID},{title:D(()=>[a("div",{innerHTML:i.typeName.replace(/<br ?\/?>/,"")},null,8,q)]),_:2},1032,["name"]))),128))]),_:1},8,["active"])]),a("div",O,[s(j,{mayrecord:_.value},null,8,["mayrecord"])]),_.value.length?(r(),u("div",W,[a("div",{class:y(["BettingRecord5D__C-foot-previous",{disabled:t.value<=1}]),onClick:L},[s(f,{name:"arrow-left",class:"BettingRecord5D__C-icon",size:"20"})],2),a("div",X,C(t.value)+"/"+C(d.value),1),a("div",{class:y(["BettingRecord5D__C-foot-next",{disabled:t.value>=d.value}]),onClick:h},[s(f,{name:"arrow",class:"BettingRecord5D__C-icon",size:"20"})],2)])):A("v-if",!0)])}}});const le=E(Y,[["__scopeId","data-v-8ab0e403"],["__file","/usr/local/jenkins-prod/workspace/ar055-india-bdg/src/views/home/AllLotteryGames/BettingRecord5D/index.vue"]]);export{le as default};
