import{U as k,$ as N,r,G as w,V as y,m as d,p as t,ao as B,Y as m,Z as i,ad as f,am as P,ah as g,o as s}from"./common.modules-7ef9f935.js";import{E as A}from"./page-activity-Championship-f257e4a3.js";import{M as z}from"./MayrecordList-d2e81ad1.js";import{A as D,dW as E,_ as V}from"./page-activity-ActivityDetail-6651511c.js";window.getBuildInfo=function(){return{buildTime:"3/28/2025, 7:06:51 PM",branch:"origin/masterBranch/main commitId:afb5d46f657248d3137decf21a49f44fbff20383"}};const x={class:"MyGameRecord__C"},I={key:0,class:"MyGameRecord__C-head"},S={class:"MyGameRecord__C-body"},q={key:1,class:"MyGameRecord__C-body-empty"},F={key:1,class:"MyGameRecord__C-foot"},H={class:"MyGameRecord__C-foot-page"},L=k({__name:"MyGameRecord",props:{typeid:{type:Number,required:!0},goPathName:{type:String,required:!0},hasHead:{type:Boolean,required:!0,default:!0}},setup(_,{expose:u}){const p=_,h=N(),l=r(4),C=r(20),a=r(1),c=r([]),M=o=>{h.push({name:o})},G=()=>{a.value--,n()},R=()=>{a.value++,n()},n=async(o=!1)=>{if(p.typeid==null)return;o&&(a.value=1);const e=await D(E({pageSize:C.value,pageNo:a.value,typeId:p.typeid}));c.value=(e==null?void 0:e.data.list)||[],l.value=(e==null?void 0:e.data.totalPage)||0};return u({getData:n}),w(()=>{n()}),(o,e)=>{const b=y("svg-icon"),v=y("van-icon");return s(),d("div",x,[o.hasHead?(s(),d("div",I,[t("div",{class:"MyGameRecord__C-head-moreB",onClick:e[0]||(e[0]=T=>M(o.goPathName))},[B(m(o.$t("more"))+" ",1),i(b,{name:"rightCircle"})])])):f("v-if",!0),t("div",S,[c.value.length?(s(),P(z,{key:0,mayrecord:c.value},null,8,["mayrecord"])):(s(),d("div",q,[i(A)]))]),c.value.length?(s(),d("div",F,[t("div",{class:g(["MyGameRecord__C-foot-previous",{disabled:a.value<=1}]),onClick:G},[i(v,{name:"arrow-left",class:"MyGameRecord__C-icon",size:"20"})],2),t("div",H,m(a.value)+"/"+m(l.value),1),t("div",{class:g(["MyGameRecord__C-foot-next",{disabled:a.value>=l.value}]),onClick:R},[i(v,{name:"arrow",class:"MyGameRecord__C-icon",size:"20"})],2)])):f("v-if",!0)])}}});const Y=V(L,[["__scopeId","data-v-36ddca8e"],["__file","/var/lib/jenkins/workspace/web-印度-ar050-daman-01/src/components/Home/AllLotteryGames/FD/MyGameRecord.vue"]]);export{Y as F};
//# sourceMappingURL=MyGameRecord-d4a14cdb.js.map
