import{c as t,s as a,y as e,o as s,z as o,e as l,f as i,w as n,_ as r,l as p,j as u,C as d,k as m,r as c,F as f,g,i as y,m as _,S as x,t as b,u as h,B as S,v,E as w}from"./index-68dd960a.js";import{_ as A}from"./s-empty.fd15ca2f.js";import{_ as j}from"./uni-load-more.49bf8042.js";import{_ as M,p as k}from"./s-layout.454a15cd.js";import{S as z}from"./score.602d4fe2.js";import{_ as N}from"./_plugin-vue_export-helper.1b428a4d.js";/* empty css                                                                */import"./phone-international-input.471da4c0.js";const P=N({__name:"maxScoreLog",props:{isFreeze:{type:Boolean}},setup(N){t((()=>a.$store("user").userWallet)),a.$platform.device.statusBarHeight,t((()=>a.$store("user").userInfo)),a.$platform.navbar;const P=N,$=e({currentTab:0,pagination:{list:[],total:0,pageSize:10,pageNo:1},loadStatus:"",showModel:!1,showQueModel:!1});async function F(t){$.loadStatus="loading";let{code:a,data:e}=await z.getMaxScoreList({pageNo:$.pagination.pageNo,pageSize:$.pagination.pageSize});if(0!==a)return;let s=r.concat($.pagination.list,e.list);$.pagination.list=s,$.pagination.total=e.total,$.loadStatus=$.pagination.list.length<$.pagination.total?"more":"noMore"}function T(t){"noMore"!==$.loadStatus&&($.pagination.pageNo++,F())}return s((()=>{F(P.isFreeze)})),o((()=>{T()})),(t,e)=>{const s=w,o=y,r=p(_("s-empty"),A),z=p(_("uni-load-more"),j),N=x,P=p(_("s-layout"),M);return l(),i(P,{class:"wallet-wrap",bgStyle:{backgroundColor:"#ffffff"},title:"",navbar:"normal"},{default:n((()=>[u(o,{class:"model-box ss-flex-col"},{default:n((()=>[u(N,{class:"list-box","scroll-y":"true",onTouchmove:e[2]||(e[2]=d((()=>{}),["stop"]))},{default:n((()=>[$.pagination.total>0?(l(),i(o,{key:0,style:{padding:"20rpx"}},{default:n((()=>[(l(!0),m(f,null,c($.pagination.list,((t,e)=>(l(),i(o,{class:"list-item ss-flex ss-col-center ss-row-between",key:t.id,style:{padding:"20rpx 0","border-bottom":"1px solid #c4c4c4"}},{default:n((()=>[u(o,{class:"ss-flex ss-col-center",style:{width:"100%"}},{default:n((()=>[u(o,{class:"ss-flex ss-m-t-10",style:{"flex-direction":"column","align-items":"flex-start",width:"100%"}},{default:n((()=>[u(o,{class:"name",style:{width:"100%"}},{default:n((()=>[b(h(t.profitStatusName||"空")+" ",1),u(s,{style:{float:"right"},class:S(["color-red",{"color-green":t.maxAvailablePointsAmount<0}])},{default:n((()=>[b(h(t.maxAvailablePointsAmount>0?"+"+v(k)(t.maxAvailablePointsAmount):+v(k)(t.maxAvailablePointsAmount)),1)])),_:2},1032,["class"])])),_:2},1024),u(o,{class:"time",style:{width:"100%"}},{default:n((()=>[b(h(v(a).$helper.timeFormat(t.createTime,"yyyy-mm-dd hh:MM"))+" ",1),u(s,{style:{float:"right"}},{default:n((()=>[b("余额:"+h(v(k)(t.afterMaxAvailablePointsAmount)),1)])),_:2},1024)])),_:2},1024)])),_:2},1024)])),_:2},1024)])),_:2},1024)))),128))])),_:1})):(l(),i(r,{key:1,text:"暂无数据",paddingTop:"200",icon:"/static/data-empty.png"})),$.pagination.total>0?(l(),i(z,{key:2,status:$.loadStatus,"content-text":{contentdown:"点击加载更多"},onClick:e[0]||(e[0]=t=>T()),onScrolltolower:e[1]||(e[1]=t=>T())},null,8,["status"])):g("",!0)])),_:1})])),_:1})])),_:1})}}},[["__scopeId","data-v-2be7266b"]]);export{P as default};
