From cd9848cd5158e4744a092500c96d151e44c6faa5 Mon Sep 17 00:00:00 2001 From: Seven Date: Tue, 20 Jan 2026 02:53:19 +0700 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=E8=B4=A6=E6=9C=AC?= =?UTF-8?q?=E5=8A=9F=E8=83=BD=EF=BC=8C=E6=95=B4=E5=90=88=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E8=B4=A6=E6=9C=AC=E5=AF=B9=E8=AF=9D=E6=A1=86=EF=BC=8C=E6=94=AF?= =?UTF-8?q?=E6=8C=81=E7=94=A8=E6=88=B7ID=E4=BC=A0=E9=80=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/user/components/ledger.vue | 51 ++++++++++++++++++++++++++++ src/views/user/index.vue | 13 +++++++ 2 files changed, 64 insertions(+) create mode 100644 src/views/user/components/ledger.vue diff --git a/src/views/user/components/ledger.vue b/src/views/user/components/ledger.vue new file mode 100644 index 0000000..11fe26c --- /dev/null +++ b/src/views/user/components/ledger.vue @@ -0,0 +1,51 @@ + + + + + diff --git a/src/views/user/index.vue b/src/views/user/index.vue index 2cd2455..76c4620 100644 --- a/src/views/user/index.vue +++ b/src/views/user/index.vue @@ -11,6 +11,7 @@ import Payment from './components/payment.vue'; import Withdraw from './components/withdraw.vue'; import Team from './components/team.vue'; import Kyc from './components/kyc.vue'; +import Ledger from './components/ledger.vue'; const dialog = useDialog(); @@ -151,6 +152,18 @@ const columns: TableBaseColumns = [ content: () => h(Kyc, { userId: row.id }) }); } + }, + { + contentText: '账本', + size: 'small', + onClick: () => { + dialog.create({ + title: '账本', + showIcon: false, + style: { width: '1000px' }, + content: () => h(Ledger, { userId: row.id }) + }); + } } ] }