From 5d9fdbdaf6e26ee6c3da511d93fab8be61662c64 Mon Sep 17 00:00:00 2001 From: liuwh <964324856@qq.com> Date: Thu, 26 Jun 2025 18:36:54 +0800 Subject: [PATCH] fix:修改顶部标题和首页待合并隐藏 --- src/components/NavBarPage/index.less | 16 +++++++--------- src/views/home/index.jsx | 4 ++-- 2 files changed, 9 insertions(+), 11 deletions(-) diff --git a/src/components/NavBarPage/index.less b/src/components/NavBarPage/index.less index faedc9b..c784e1a 100644 --- a/src/components/NavBarPage/index.less +++ b/src/components/NavBarPage/index.less @@ -33,15 +33,13 @@ position: absolute; top: 0; height: @navBarHeight; - left: 50px; - // right: 50px; - min-width: 270px; - text-align: center; - font-size: 18px; - line-height: @navBarHeight; - white-space: nowrap; /* 防止文字换行 */ - overflow: hidden; /* 隐藏超出的部分 */ - text-overflow: ellipsis; /* 显示省略号 */ + width: 100%; + text-align: center; + font-size: 18px; + line-height: 44px; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; } } diff --git a/src/views/home/index.jsx b/src/views/home/index.jsx index e3d0297..047df5e 100644 --- a/src/views/home/index.jsx +++ b/src/views/home/index.jsx @@ -1,7 +1,7 @@ /* * @Author: zhouxt * @Date: 2025-04-10 09:28:00 - * @LastEditTime: 2025-05-23 16:12:10 + * @LastEditTime: 2025-06-26 18:26:28 * @LastEditors: lwh * @Description: 粤政易首页 */ @@ -196,7 +196,7 @@ // Tab 列表项 const tabItems = [ { id: 'all', text: '全部', countKey: 'allTask', apiFunc: pageMyTaskAllApi }, - { id: 'merge', text: '待合并', countKey: null, apiFunc: pageMyTaskHbApi }, + // { id: 'merge', text: '待合并', countKey: null, apiFunc: pageMyTaskHbApi }, { id: 'dispatch', text: '待分派', countKey: 'waitDisp', apiFunc: pageMyTaskFpApi }, { id: 'accept', text: '待受理', countKey: 'waitAccept', apiFunc: pageMyTaskSlApi }, { id: 'processing', text: '办理中', countKey: 'processing', apiFunc: pageMyTaskBlzApi }, -- Gitblit v1.8.0