From 7963ee48c780805f800e1c0fb41732075f1eeeb4 Mon Sep 17 00:00:00 2001 From: tanyp <742354529@qq.com> Date: Mon, 24 Jul 2023 15:51:36 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/components/layout/Index.vue | 8 +- .../components/layout/component/TbHeader.vue | 230 ++++++++++++++++++ 2 files changed, 235 insertions(+), 3 deletions(-) create mode 100644 tansci-boot-ui/src/components/layout/component/TbHeader.vue diff --git a/tansci-boot-ui/src/components/layout/Index.vue b/tansci-boot-ui/src/components/layout/Index.vue index 07f254c..3146d15 100644 --- a/tansci-boot-ui/src/components/layout/Index.vue +++ b/tansci-boot-ui/src/components/layout/Index.vue @@ -6,11 +6,12 @@ import TbMenu from "./component/TbMenu.vue" import TbNavTabs from "./component/TbNavTabs.vue" import TbSetting from "./component/TbSetting.vue" + import TbHeader from "./component/TbHeader.vue" const { proxy } = getCurrentInstance() const logo = new URL('../../assets/image/logo.png', import.meta.url).href const state = reactive({ - headerHeight: '33px', + headerHeight: '40px', asideWidth: '220px', defaultHeight: null, isCollapse: false, @@ -76,7 +77,8 @@ - + + @@ -84,7 +86,7 @@ - + diff --git a/tansci-boot-ui/src/components/layout/component/TbHeader.vue b/tansci-boot-ui/src/components/layout/component/TbHeader.vue new file mode 100644 index 0000000..7781e22 --- /dev/null +++ b/tansci-boot-ui/src/components/layout/component/TbHeader.vue @@ -0,0 +1,230 @@ + + + \ No newline at end of file