settings.js 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. /**********************************
  2. * @Author: Ronnie Zhang
  3. * @LastEditor: Ronnie Zhang
  4. * @LastEditTime: 2023/12/13 20:54:36
  5. * @Email: zclzone@outlook.com
  6. * Copyright © 2023 Ronnie Zhang(大脸怪) | https://isme.top
  7. **********************************/
  8. export const defaultLayout = 'normal'
  9. export const defaultPrimaryColor = '#0661C9'
  10. // 控制 LayoutSetting 组件是否可见
  11. export const layoutSettingVisible = true
  12. export const naiveThemeOverrides = {
  13. common: {
  14. primaryColor: '#0661C9FF',
  15. primaryColorHover: '#0661C9E3',
  16. primaryColorPressed: '#2B7CD9FF',
  17. primaryColorSuppl: '#0661C9E3',
  18. },
  19. }
  20. export const basePermissions = [
  21. // {
  22. // code: 'ExternalLink',
  23. // name: '外链(可内嵌打开)',
  24. // type: 'MENU',
  25. // icon: 'i-fe:external-link',
  26. // order: 98,
  27. // enable: true,
  28. // show: true,
  29. // children: [
  30. // {
  31. // code: 'ShowDocs',
  32. // name: '项目文档',
  33. // type: 'MENU',
  34. // path: 'https://isme.top',
  35. // icon: 'i-me:docs',
  36. // order: 1,
  37. // enable: true,
  38. // show: true,
  39. // },
  40. // {
  41. // code: 'ApiFoxDocs',
  42. // name: '接口文档',
  43. // type: 'MENU',
  44. // path: 'https://apifox.com/apidoc/shared-ff4a4d32-c0d1-4caf-b0ee-6abc130f734a',
  45. // icon: 'i-me:apifox',
  46. // order: 2,
  47. // enable: true,
  48. // show: true,
  49. // },
  50. // {
  51. // code: 'NaiveUI',
  52. // name: 'Naive UI',
  53. // type: 'MENU',
  54. // path: 'https://www.naiveui.com/zh-CN/os-theme',
  55. // icon: 'i-me:naiveui',
  56. // order: 3,
  57. // enable: true,
  58. // show: true,
  59. // },
  60. // {
  61. // code: 'MyBlog',
  62. // name: '博客-掘金',
  63. // type: 'MENU',
  64. // path: 'https://juejin.cn/user/1961184475483255/posts',
  65. // icon: 'i-simple-icons:juejin',
  66. // order: 4,
  67. // enable: true,
  68. // show: true,
  69. // },
  70. // ],
  71. // },
  72. ]