diff --git a/src/components/MyHead.vue b/src/components/MyHead.vue index 50a232c..cb1027b 100644 --- a/src/components/MyHead.vue +++ b/src/components/MyHead.vue @@ -109,6 +109,14 @@ defineExpose({ isLoginRoute, showBackButton, pageTitle, backTo, backLabel, loggi gap: 12px; } +/* 与 .head-title 对齐:撑满剩余空间,把右侧按钮组推到行尾。 + 首页没有页面标题,只有品牌区,缺了 flex:1 时 space-between 会把 + 「AI 用量统计」挤到页头中间,和「退出登录」分家。 */ +.brand-block { + flex: 1; + min-width: 0; +} + .brand-title { margin: 0; font-weight: 700;