test_lgq/niucloud/public/wap/assets/app-pages-member-account.dd8e1862.js

2 lines
6.2 KiB
JavaScript
Raw Normal View History

2024-01-24 17:36:08 +08:00
import{d as a,r as e,o as t,h as A,i as s,w as u,j as l,E as o,G as n,F as r,m as i,J as c,K as d,au as g,av as p,aZ as m,t as f,M as x,p as B,q as G,Y as Q,$ as y,L as h}from"./index-849cf30e.js";import{_ as v}from"./u-icon.e3aa4770.js";import{u as b,M as T}from"./useMescroll.852ec5b5.js";import"./_plugin-vue_export-helper.1b428a4d.js";const M=a({__name:"account",setup(a){const{mescrollInit:M,downCallback:P,getMescroll:U}=b(p,g),w=e([]),O=e(!1),k=e("bank"),F=e(null),S=e("get");t((a=>{a.type&&(k.value=a.type),a.mode&&(S.value=a.mode)}));const Y=a=>{O.value=!1;let e={page:a.num,limit:a.size,account_type:k.value};m(e).then((e=>{const t=e.data.data;1==a.num&&(w.value=[]),w.value=w.value.concat(t),a.endSuccess(t.length),O.value=!0})).catch((()=>{O.value=!0,a.endErr()}))};return(a,e)=>{const t=f,g=h,p=x,m=B(G("u-icon"),v);return A(),s(t,{class:"w-screen h-screen bg-page"},{default:u((()=>[l(T,{ref_key:"mescrollRef",ref:F,onInit:i(M),onDown:i(P),onUp:Y},{default:u((()=>[l(t,{class:"h-[20rpx]"}),(A(!0),o(r,null,n(w.value,((a,e)=>(A(),s(t,{class:"p-[30rpx] bg-white mx-[32rpx] my-[20rpx] rounded flex",key:e,onClick:e=>{return t=a,void("get"==S.value?y({url:"/app/pages/member/account_edit",param:{id:t.account_id,type:k.value,mode:S.value}}):y({url:"/app/pages/member/apply_cash_out",param:{account_id:t.account_id,type:k.value}}));var t}},{default:u((()=>[l(t,{class:"w-[100rpx] h-[100rpx] flex items-center justify-center mr-[10rpx]"},{default:u((()=>["bank"==a.account_type?(A(),s(g,{key:0,src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAAAXNSR0IArs4c6QAACnVJREFUeF7tWXtQV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