import{s as a,c as t,B as e,o as s,bk as l,C as o,f as r,g as i,w as n,bP as d,q as u,n as p,m as c,z as f,l as m,a5 as b,L as g,u as x}from"./index-007bf156.js";import{_}from"./s-layout.19bedb43.js";import{_ as h}from"./_plugin-vue_export-helper.1b428a4d.js";import"./phone-international-input.3617e4e0.js";import"./useGoods.ac3bf93e.js";const w=h({__name:"scoreToMoney",setup(h){a.$platform.device.statusBarHeight,t((()=>a.$store("user").userInfo)),a.$platform.navbar;const w=e({currentTab:0,pagination:{list:0,total:0,pageSize:6,pageNo:1},loadStatus:"",date:[],today:"",showModel:!1,showQueModel:!1}),y=[{name:"全部",value:"all"},{name:"收入",value:"true"},{name:"支出",value:"false"}];async function v(){w.loadStatus="loading";let{code:a,data:t}=await d.getPointRecordPage({pageNo:w.pagination.pageNo,pageSize:w.pagination.pageSize,addStatus:w.currentTab>0?y[w.currentTab].value:void 0,"createTime[0]":w.date[0]+" 00:00:00","createTime[1]":w.date[1]+" 23:59:59"});0===a&&(w.pagination.list=t.list,w.pagination.total=t.total,w.loadStatus=w.pagination.list.length<w.pagination.total?"more":"noMore")}return t((()=>w.date[0]===w.date[1]?w.date[0]:w.date.join("~"))),s((()=>{w.today=l().format("YYYY-MM-DD"),w.date=[w.today,w.today],v()})),o((()=>{"noMore"!==w.loadStatus&&(w.pagination.pageNo++,v())})),(t,e)=>{const s=m,l=b,o=g,d=u(x("s-layout"),_);return r(),i(d,{class:"wallet-wrap",bgStyle:{backgroundColor:"#ffffff"},title:"佣金兑换",navbar:"normal"},{default:n((()=>[p(s,{class:"score-box bg-white ss-flex-col ss-row-center"},{default:n((()=>[p(s,null,{default:n((()=>[p(s,{class:"all-title ss-m-r-8",style:{border:"4rpx solid var(--ui-BG-Main)",width:"100%","box-sizing":"border-box",height:"120rpx","text-indent":"20rpx","border-radius":"20rpx","line-height":"120rpx"}},{default:n((()=>[c("到数字人民币钱包：钱包地址/未绑定----\x3e")])),_:1})])),_:1}),p(s,{class:"ss-m-y-80"},{default:n((()=>[p(s,{class:"all-title ss-m-r-8 ss-m-b-10"},{default:n((()=>[c("提现金额")])),_:1}),p(s,{class:"all-title ss-m-r-8 ss-m-y-30"},{default:n((()=>[p(l,{class:"uni-input",style:{border:"4rpx solid var(--ui-BG-Main)",width:"100%","box-sizing":"border-box",height:"100rpx","text-indent":"20rpx","border-radius":"20rpx"},type:"number",placeholder:"请输入金额"})])),_:1}),p(s,{class:"all-title ss-m-r-8 ss-m-b-10 text-center"},{default:n((()=>[c("您当前可兑换金额:￥0")])),_:1})])),_:1}),p(s,{class:"ss-m-b-40 ss-flex ss-row-center"},{default:n((()=>[p(s,{class:"all-title ss-m-r-80",onClick:e[0]||(e[0]=t=>f(a).$router.back("/pages/user/wallet/score"))},{default:n((()=>[p(o,{class:"btn ss-reset-button ui-Shadow-Main"},{default:n((()=>[c(" 取消 ")])),_:1})])),_:1}),p(s,{class:"all-title ss-m-r-8"},{default:n((()=>[p(o,{class:"btn ss-reset-button ui-Shadow-Main"},{default:n((()=>[c(" 确定 ")])),_:1})])),_:1})])),_:1})])),_:1})])),_:1})}}},[["__scopeId","data-v-cf30d6b8"]]);export{w as default};
