defaultSettings.ts 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. import { ProLayoutProps } from '@ant-design/pro-components';
  2. /**
  3. * @name
  4. */
  5. const Settings: ProLayoutProps & {
  6. pwa?: boolean;
  7. logo?: string;
  8. } = {
  9. navTheme: 'light',
  10. // 拂晓蓝
  11. colorPrimary: '#1890ff',
  12. layout: 'mix',
  13. contentWidth: 'Fluid',
  14. fixedHeader: true,
  15. fixSiderbar: true,
  16. colorWeak: false,
  17. title: '分销商平台',
  18. pwa: true,
  19. logo: 'https://gw.alipayobjects.com/zos/rmsportal/BiazfanxmamNRoxxVxka.png',
  20. iconfontUrl: '',
  21. // "splitMenus": true,
  22. // siderMenuType:"group",
  23. token: {
  24. // 参见ts声明,demo 见文档,通过token 修改样式
  25. //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
  26. },
  27. };
  28. // {
  29. // "navTheme": "light",
  30. // "colorPrimary": "#1677FF",
  31. // "layout": "mix",
  32. // "contentWidth": "Fluid",
  33. // "fixedHeader": true,
  34. // "fixSiderbar": true,
  35. // "pwa": true,
  36. // "logo": "https://gw.alipayobjects.com/zos/rmsportal/BiazfanxmamNRoxxVxka.png",
  37. // "token": {},
  38. // "siderMenuType": "sub"
  39. // }
  40. export default Settings;