diff --git a/src/pages/aboutManage/aboutManage.less b/src/pages/aboutManage/aboutManage.less index 56275a6..cdb4362 100644 --- a/src/pages/aboutManage/aboutManage.less +++ b/src/pages/aboutManage/aboutManage.less @@ -1,35 +1,13 @@ -.about-manage-container { +.aboutManageContent { + background: #fff; padding: 24px; - - .about-manage-content { - background: #fff; - padding: 24px; - min-height: 500px; - border-radius: 4px; - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); - } - - .ant-card { - margin-bottom: 16px; - } - - .ant-form-item-label > label { - font-weight: 500; - } - - .save-btn-wrapper { - display: flex; - justify-content: flex-end; - margin-top: 16px; - } - - .ant-tabs-nav { - margin-bottom: 16px; - } - - .ant-card-head-title { - font-size: 18px; - font-weight: 500; - } + min-height: 500px; + border-radius: 4px; + box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); +} + +.saveBtnWrapper { + display: flex; + justify-content: flex-end; + margin-top: 16px; } - \ No newline at end of file diff --git a/src/pages/aboutManage/aboutManage.tsx b/src/pages/aboutManage/aboutManage.tsx index 24fa78c..300d3bc 100644 --- a/src/pages/aboutManage/aboutManage.tsx +++ b/src/pages/aboutManage/aboutManage.tsx @@ -3,7 +3,7 @@ import { useIntl, FormattedMessage } from 'umi'; import { Card, Form, Input, Button, message, Tabs, Spin } from 'antd'; import WangEditor from '@/components/WangEidtor/WangEidtor'; import { getAboutUs, updateAboutUs, AboutUsRequest } from '@/servers/api/about'; -import './aboutManage.less'; +import styles from './aboutManage.less'; const { TabPane } = Tabs; @@ -122,7 +122,7 @@ const AboutManage: React.FC = () => { }; return ( -