pages-user-wallet-scoreToMoney.93f741fc.js 2.9 KB

1
  1. import{s as a,c as t,z as e,o as s,bl as l,A as o,f as r,g as i,w as n,bQ as d,m as u,k as p,u as c,x as f,j as m,a3 as b,J as g,n as x}from"./index-a116b7fa.js";import{_}from"./s-layout.4ae51839.js";import{_ as h}from"./_plugin-vue_export-helper.1b428a4d.js";import"./phone-international-input.b9f6c8e6.js";import"./useGoods.6b315a78.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};