This commit is contained in:
francis-fh
2026-06-04 23:21:52 +08:00
parent 134c1ecece
commit e467fcc2cf
3 changed files with 34 additions and 4 deletions

View File

@@ -10,7 +10,8 @@ const Settings: ProLayoutProps & {
navTheme: 'light',
// 拂晓蓝
colorPrimary: '#1890ff',
layout: 'mix',
// 嵌入第三方平台:侧栏布局,无顶栏
layout: 'side',
contentWidth: 'Fluid',
fixedHeader: false,
fixSiderbar: true,
@@ -20,8 +21,13 @@ const Settings: ProLayoutProps & {
logo: 'https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg',
iconfontUrl: '',
token: {
// 参见ts声明demo 见文档通过token 修改样式
//https://procomponents.ant.design/components/layout#%E9%80%9A%E8%BF%87-token-%E4%BF%AE%E6%94%B9%E6%A0%B7%E5%BC%8F
sider: {
colorMenuBackground: '#fff',
colorBgMenuItemSelected: '#e6f4ff',
colorTextMenu: 'rgba(0, 0, 0, 0.88)',
colorTextMenuSelected: '#1890ff',
colorTextMenuItemHover: 'rgba(0, 0, 0, 0.88)',
},
},
};