import{b7 as p,O as y,aS as m,aT as n,bf as c,N as g,ba as t,aB as b,aY as _,bg as k,bh as L,a$ as e,b0 as s,bQ as T,aX as $}from"./index-xnhGKCfe.js";import{L as x}from"./index-BCXnwPbG.js";import{c as h}from"./currency-DTUBf2lI.js";import{P as B}from"./index-97-mhYEo.js";import{_ as w}from"./index.vue_vue_type_style_index_0_lang-9szultRB.js";import{u as C}from"./useRebate-CLW3zX9C.js";import"./use-tab-status-C1dTAhJi.js";import"./pre-D84pmYLY.js";import"./useProtocol-DJp7lFWi.js";const N={class:"history-item-header"},R={class:"history-item-type"},D={class:"history-item-status"},F={class:"history-item-date"},H={class:"history-timeline"},P={class:"timeline-item"},S={class:"timeline-content"},V={class:"timeline-label"},W={class:"timeline-value timeline-label"},A={class:"timeline-item"},E={class:"timeline-content"},I={class:"timeline-label"},M={class:"timeline-value red-text"},O={class:"timeline-item"},Q={class:"timeline-content"},U={class:"timeline-label"},X={class:"timeline-value gold-text"},Y=p({__name:"rebateHistory",setup(j){const{historyDatas:d,getCodeWsahingFlow:r,gameCategoryType:v,loadingList:l,finished:f}=C();return y(async()=>{await r()}),(o,i)=>{const u=x;return n(),m(B,{class:"rebate-main","is-transparent":!0,"is-overfllow":!1},{default:c(()=>[g(u,{ref:"listRef",loading:t(l),"onUpdate:loading":i[0]||(i[0]=a=>b(l)?l.value=a:null),"immediate-check":!1,finished:t(f),onLoad:t(r),"finished-text":"","loading-text":"loading"},{default:c(()=>[t(d).length<1?(n(),m(w,{key:0,class:"mgt40"})):(n(!0),_(k,{key:1},L(t(d),(a,q)=>(n(),_("div",{key:a.createTime,class:"history-item"},[e("div",N,[e("div",R,s(t(v)[a.codeWashingType]),1),e("div",D,s(o.$t("t122")),1)]),e("div",F,s(t(T)(a.createTime)),1),e("div",H,[e("div",P,[i[1]||(i[1]=e("div",{class:"timeline-dot"},null,-1)),e("div",S,[e("div",V,s(o.$t("t456")),1),e("div",W,s(t(h)(a.amount)),1)])]),e("div",A,[i[2]||(i[2]=e("div",{class:"timeline-dot"},null,-1)),e("div",E,[e("div",I,s(o.$t("t457")),1),e("div",M,s(a.rate*10)+"%",1)])]),e("div",O,[i[3]||(i[3]=e("div",{class:"timeline-dot"},null,-1)),e("div",Q,[e("div",U,s(o.$t("t458")),1),e("div",X,s(t(h)(a.rebateAmount)),1)])])])]))),128))]),_:1},8,["loading","finished","onLoad"])]),_:1})}}}),ae=$(Y,[["__scopeId","data-v-e0d37e20"]]);export{ae as default};
