1 |
- import{s as a,c as t,z as e,o as s,bg as o,A as l,f as r,g as i,w as n,bI as d,m as u,k as p,u as c,x as f,j as g,a3 as m,J as b,n as x}from"./index-ba48620e.js";import{_}from"./s-layout.04b95866.js";import{_ as h}from"./_plugin-vue_export-helper.1b428a4d.js";import"./phone-international-input.dd3ca29e.js";import"./useGoods.edb8879f.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=o().format("YYYY-MM-DD"),w.date=[w.today,w.today],v()})),l((()=>{"noMore"!==w.loadStatus&&(w.pagination.pageNo++,v())})),(t,e)=>{const s=g,o=m,l=b,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(o,{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(l,{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(l,{class:"btn ss-reset-button ui-Shadow-Main"},{default:n((()=>[c(" 确定 ")])),_:1})])),_:1})])),_:1})])),_:1})])),_:1})}}},[["__scopeId","data-v-5c6a1314"]]);export{w as default};
|