test_lgq/niucloud/public/wap/assets/app-pages-member-commission.76e75245.js
2024-01-24 17:36:08 +08:00

2 lines
2.4 KiB
JavaScript

import{d as a,X as s,h as e,i as o,w as t,j as n,J as c,K as l,m as i,n as m,ap as r,$ as u,t as p,M as d,p as _,q as f,x as g,Y as y,aj as b}from"./index-849cf30e.js";import{_ as x}from"./u-button.9fa3f2a0.js";import{_ as h}from"./_plugin-vue_export-helper.1b428a4d.js";import"./u-loading-icon.d012ecbf.js";import"./u-icon.e3aa4770.js";const w=h(a({__name:"commission",setup(a){const h=s(),w=()=>{uni.setStorageSync("cashOutAccountType","commission"),u({url:"/app/pages/member/apply_cash_out"})};return(a,s)=>{const j=p,v=d,C=_(f("u-button"),x);return e(),o(j,{class:"account-info-wrap"},{default:t((()=>[n(j,{class:"account-info-head",style:m({background:"url("+i(g)("static/resource/images/member/balance_bg.png")+") no-repeat 95% 30% / auto 250rpx, linear-gradient(314deg, #FE7849 0%, #FF1959 100%)"})},{default:t((()=>[n(j,{class:"name"},{default:t((()=>[c(l(i(y)("commissionInfo")),1)])),_:1}),n(j,{class:"content"},{default:t((()=>[n(j,{class:"money",onClick:s[0]||(s[0]=a=>i(u)({url:"/app/pages/member/detailed_account",param:{type:"commission"}}))},{default:t((()=>[c(l(i(h).info?i(b)(i(h).info.commission):0),1)])),_:1}),n(j,{class:"text",onClick:s[1]||(s[1]=a=>i(u)({url:"/app/pages/member/detailed_account",param:{type:"commission"}}))},{default:t((()=>[c(l(i(y)("accountCommission")),1)])),_:1}),n(j,{class:"money-wrap"},{default:t((()=>[n(j,{class:"money-item"},{default:t((()=>[n(j,{class:"money"},{default:t((()=>{var a;return[c(l(i(b)(null==(a=i(h).info)?void 0:a.commission_get)||"0.00"),1)]})),_:1}),n(j,{class:"text"},{default:t((()=>[c(l(i(y)("commission")),1)])),_:1})])),_:1}),n(j,{class:"money-item"},{default:t((()=>[n(j,{class:"money"},{default:t((()=>{var a;return[c(l(i(b)(null==(a=i(h).info)?void 0:a.commission_cash_outing)||"0.00"),1)]})),_:1}),n(j,{class:"text"},{default:t((()=>[c(l(i(y)("money")),1)])),_:1})])),_:1})])),_:1})])),_:1})])),_:1},8,["style"]),n(j,{class:"account-info-btn"},{default:t((()=>[n(C,{type:"primary",plain:!0,shape:"circle",class:"btn",customStyle:{backgroundColor:"#fff",color:"#FE4E50",borderColor:"#FE4E50",width:"calc(100vw - 64rpx)"},onClick:w},{default:t((()=>[r("img",{class:"max-w-[36rpx] max-h-[36rpx] mr-1",src:i(g)("static/resource/images/member/withdraw_deposit.png"),alt:""},null,8,["src"]),n(v,null,{default:t((()=>[c(l(i(y)("cashOut")),1)])),_:1})])),_:1},8,["customStyle"])])),_:1})])),_:1})}}}),[["__scopeId","data-v-f1bb2396"]]);export{w as default};