import{s as a,c as t,v as e,o as s,b3 as l,x as o,e as r,f as i,w as n,l as d,j as u,p,u as c,i as f,ad as m,D as g,m as b}from"./index-219abc09.js";import{_ as x}from"./s-layout.e3f07a22.js";import{P as _}from"./point.bb29c158.js";import{_ as h}from"./_plugin-vue_export-helper.1b428a4d.js";import"./form.480ce5b4.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 _.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=f,l=m,o=g,_=d(b("s-layout"),x);return r(),i(_,{class:"wallet-wrap",bgStyle:{backgroundColor:"#ffffff"},title:"积分兑换",navbar:"normal"},{default:n((()=>[u(s,{class:"score-box bg-white ss-flex-col ss-row-center"},{default:n((()=>[u(s,null,{default:n((()=>[u(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((()=>[p("到数字人民币钱包：钱包地址/未绑定----\x3e")])),_:1})])),_:1}),u(s,{class:"ss-m-y-80"},{default:n((()=>[u(s,{class:"all-title ss-m-r-8 ss-m-b-10"},{default:n((()=>[p("提现金额")])),_:1}),u(s,{class:"all-title ss-m-r-8 ss-m-y-30"},{default:n((()=>[u(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}),u(s,{class:"all-title ss-m-r-8 ss-m-b-10 text-center"},{default:n((()=>[p("您当前可兑换金额:￥0")])),_:1})])),_:1}),u(s,{class:"ss-m-b-40 ss-flex ss-row-center"},{default:n((()=>[u(s,{class:"all-title ss-m-r-80",onClick:e[0]||(e[0]=t=>c(a).$router.back("/pages/user/wallet/score"))},{default:n((()=>[u(o,{class:"btn ss-reset-button ui-Shadow-Main"},{default:n((()=>[p(" 取消 ")])),_:1})])),_:1}),u(s,{class:"all-title ss-m-r-8"},{default:n((()=>[u(o,{class:"btn ss-reset-button ui-Shadow-Main"},{default:n((()=>[p(" 确定 ")])),_:1})])),_:1})])),_:1})])),_:1})])),_:1})}}},[["__scopeId","data-v-5c6a1314"]]);export{w as default};
