From c04297d20a9c31d47fb7fda7d3855dd253c63d8a Mon Sep 17 00:00:00 2001 From: xingyy <64720302+Concur-max@users.noreply.github.com> Date: Fri, 10 Jan 2025 16:52:58 +0800 Subject: [PATCH] =?UTF-8?q?feat(AppHeader):=20=E6=B7=BB=E5=8A=A0=E8=87=AA?= =?UTF-8?q?=E5=AE=9A=E4=B9=89=E6=A0=87=E9=A2=98=E5=92=8C=E5=89=AF=E6=A0=87?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在 AppHeader 组件中添加了自定义标题和副标题 - 使用 flex布局实现了标题和副标题的居中显示 - 设置了不同的文本颜色和字体大小,提高了可读性 --- app/components/AppHeader.vue | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/app/components/AppHeader.vue b/app/components/AppHeader.vue index 783ba50..b3bd597 100644 --- a/app/components/AppHeader.vue +++ b/app/components/AppHeader.vue @@ -28,5 +28,12 @@ const showLeftArrow = computed(() => route.name && routeWhiteList.includes(route :left-arrow="!showLeftArrow" placeholder clickable fixed @click-left="onBack" - /> + > + +