From e011ec06917fbf700f689ac45ff40b974b6724cf Mon Sep 17 00:00:00 2001 From: liangping <18786721@qq.com> Date: Wed, 10 May 2023 11:12:06 +0800 Subject: [PATCH] add basic framework --- src/layouts/components/DefaultLayout.vue | 3 ++- src/layouts/components/NavBarWallet.vue | 14 +++++++++++ src/modules/[chain]/index.vue | 28 ++++++++++++++++----- src/stores/useBlockchain.ts | 8 ++++++ src/stores/useDashboard.ts | 2 ++ src/stores/useWalletStore.ts | 32 ++++++++++++++++++++++-- 6 files changed, 78 insertions(+), 9 deletions(-) create mode 100644 src/layouts/components/NavBarWallet.vue diff --git a/src/layouts/components/DefaultLayout.vue b/src/layouts/components/DefaultLayout.vue index a0bf2b9c..25a16b95 100644 --- a/src/layouts/components/DefaultLayout.vue +++ b/src/layouts/components/DefaultLayout.vue @@ -15,6 +15,7 @@ import { VerticalNavLayout } from '@layouts'; import NavBarI18n from './NavBarI18n.vue'; import NavSearchBar from './NavSearchBar.vue'; import NavBarNotifications from './NavBarNotifications.vue'; +import NavBarWallet from './NavBarWallet.vue'; import TheCustomizer from '@/plugins/vuetify/@core/components/TheCustomizer.vue'; import Breadcrumbs from './Breadcrumbs.vue'; import { useBlockchain } from '@/stores'; @@ -68,7 +69,7 @@ blockchain.$subscribe((m, s) => {