From 95797bbbacb08f66ebdb1b98c36709c573c38622 Mon Sep 17 00:00:00 2001 From: linxd <544554903@qq.com> Date: Mon, 16 Jun 2025 22:11:48 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=9A=E7=9F=A5=E4=B8=AD=E5=BF=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/defaultSettings.ts | 3 ++- src/pages/notice/notice.tsx | 7 ++----- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/config/defaultSettings.ts b/config/defaultSettings.ts index 76eba5b..ff2b7c5 100644 --- a/config/defaultSettings.ts +++ b/config/defaultSettings.ts @@ -29,7 +29,8 @@ export const antdTheme = { 'table-header-bg': 'rgb(241,245,251)', 'table-row-hover-bg': 'rgb(241,245,251)', 'table-padding-vertical': '12px', - 'table-header-color': 'rgb(143,146,153)' + 'table-header-color': 'rgb(143,146,153)', + 'menu-item-active-bg': 'rgba(0,79,142,0.1)' } export type { DefaultSettings }; diff --git a/src/pages/notice/notice.tsx b/src/pages/notice/notice.tsx index 9443c57..751bc6a 100644 --- a/src/pages/notice/notice.tsx +++ b/src/pages/notice/notice.tsx @@ -1,11 +1,9 @@ import React, { useState, useEffect } from 'react'; -import { Table, Menu, Typography, Row, Col, Card } from 'antd'; +import { Table, Menu, Row, Col } from 'antd'; import { history } from 'umi'; import { BellOutlined, AppstoreOutlined } from '@ant-design/icons'; import styles from './notice.less'; -const { Title } = Typography; - // 模拟系统更新通知数据 const mockSystemNotices = [ { @@ -150,7 +148,7 @@ const NoticePage: React.FC = () => { return (