import{_ as h}from"./Pagination-Di1WVUw7.js";import{b7 as g,O as v,aS as u,aT as s,bf as $,a$ as i,b9 as r,aY as a,N as b,bg as k,bh as T,ba as t,bc as w,b0 as o,b_ as V,bQ as P,aB as C,aX as N}from"./index-xnhGKCfe.js";import{c as _}from"./currency-DTUBf2lI.js";import{P as B}from"./index-97-mhYEo.js";import{_ as L}from"./index.vue_vue_type_style_index_0_lang-9szultRB.js";import{u as x}from"./index-qMeHMTSW.js";import"./pre-D84pmYLY.js";import"./useProtocol-DJp7lFWi.js";const A={class:"vip_history"},M={class:"vip_history_body"},S={key:0},U={key:1},z={key:2},D={key:3},E={class:"time"},F={key:0,class:"s"},H={key:1,class:"f"},I=g({__name:"index",setup(O){const{getUserVipHistoryList:c,historyList:l,pageNo:d,total:m}=x();v(async()=>{await c()});const y={1:"t258",2:"t237",3:"t242",4:"t245",5:"t252",6:"t252",7:"t267"};return(n,p)=>(s(),u(B,{"is-transparent":!1,class:"vipPage"},{default:$(()=>[i("div",A,[i("div",M,[(s(!0),a(k,null,T(t(l),(e,f)=>(s(),a("div",{key:f,class:"item"},[i("div",{class:w(["head","c"+e.rewardType])},o(n.$t(y[e.rewardType])),3),[1,2,7].includes(e.rewardType)?(s(),a("div",S,o(e.remark),1)):r("",!0),[3,4,5,6].includes(e.rewardType)?(s(),a("div",U,o(`${n.$t("t56")}: ${t(_)(e.rechargeAmount)}`),1)):r("",!0),[3,4,5,6].includes(e.rewardType)?(s(),a("div",z,o(`${n.$t("t226")}: ${e.betAmount}`),1)):r("",!0),[2,3,4].includes(e.rewardType)?(s(),a("div",D,o(`${n.$t("t57")}: ${t(_)(e.amount)}`),1)):r("",!0),i("div",E,[V(o(t(P)(e.createTime))+" ",1),e.rewardType==5?(s(),a("span",F,o(n.$t("t266")),1)):r("",!0),e.rewardType==6?(s(),a("span",H,o(n.$t("t123")),1)):r("",!0)])]))),128)),b(h,{modelValue:t(d),"onUpdate:modelValue":p[0]||(p[0]=e=>C(d)?d.value=e:null),"total-items":t(m),"max-visible-pages":5,itemsPerPage:10,onChangePage:t(c)},null,8,["modelValue","total-items","onChangePage"])]),t(l).length?r("",!0):(s(),u(L,{key:0}))])]),_:1}))}}),K=N(I,[["__scopeId","data-v-85f54ecc"]]);export{K as default};
