pear.config.yml 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. ---
  2. ## 系统配置
  3. sysconfig:
  4. ## 后台API请求基础url, 不包含尾部斜杆.
  5. apiServerBaseUrl: 'http://agent_server.test.wg8.site/ooxxoo/api'
  6. ## 上传服务请求基础url.
  7. uploadServerBaseUrl: 'http://upload_php.test.wg8.site'
  8. ## 播放软件Chrome 插件ID
  9. chromePlayerID: 'eakdijdofmnclopcffkkgmndadhbjgka'
  10. ## 网站配置
  11. logo:
  12. ## 网站名称
  13. title: "代理系统管理(test环境)"
  14. ## 网站图标
  15. image: "admin/images/logo.png"
  16. ## 菜单配置
  17. menu:
  18. ## 菜单数据来源
  19. data: "admin/data/menu.json"
  20. ## 菜单接口的请求方式 GET / POST
  21. method: "GET"
  22. ## 是否同时只打开一个菜单目录
  23. accordion: true
  24. ## 侧边默认折叠状态
  25. collaspe: false
  26. ## 是否开启多系统菜单模式
  27. control: false
  28. ## 顶部菜单宽度 PX
  29. controlWidth: 500
  30. ## 默认选中的菜单项
  31. select: "10"
  32. ## 是否开启异步菜单,false 时 data 属性设置为静态数据,true 时为后端接口
  33. async: true
  34. ## 视图内容配置
  35. tab:
  36. ## 是否开启多选项卡
  37. enable: true
  38. ## 保持视图状态
  39. keepState: true
  40. ## 开启选项卡记忆
  41. session: true
  42. ## 最大可打开的选项卡数量
  43. max: "30"
  44. ## 首页
  45. index:
  46. id: "100" ## 标识 ID , 建议与菜单项中的 ID 一致
  47. href: "view/home/dashboard.html" ## 页面地址
  48. title: "总数据" ## 标题
  49. ## 主题配置
  50. theme:
  51. ## 默认主题色,对应 colors 配置中的 ID 标识
  52. defaultColor: "2"
  53. ## 默认的菜单主题 dark-theme 黑 / light-theme 白
  54. defaultMenu: "dark-theme"
  55. ## 是否允许用户切换主题,false 时关闭自定义主题面板
  56. allowCustom: true
  57. ## 主题色配置列表
  58. colors:
  59. - id: "1"
  60. color: "#2d8cf0"
  61. - id: "2"
  62. color: "#36b368"
  63. - id: "3"
  64. color: "#f6ad55"
  65. - id: "4"
  66. color: "#f56c6c"
  67. - id: "5"
  68. color: "#3963bc"
  69. ## 主题面板的链接列表
  70. links:
  71. - text: "官方网站"
  72. href: "http://www.pearadmin.com"
  73. icon: "layui-icon layui-icon-website"
  74. - icon: "layui-icon layui-icon-read"
  75. text: "开发文档"
  76. href: "http://www.pearadmin.com/doc/"
  77. - icon: "layui-icon layui-icon-fonts-code"
  78. text: "开源地址"
  79. href: "https://gitee.com/pear-admin/Pear-Admin-Layui/"
  80. - icon: "layui-icon layui-icon-survey"
  81. text: "问答社区"
  82. href: "http://forum.pearadmin.com/"
  83. ## 其他配置
  84. other:
  85. ## 主页动画时长
  86. keepLoad: "1200"
  87. ## 布局顶部主题
  88. autoHead: false
  89. ## 头部配置
  90. header:
  91. ## 站内消息,通过 false 设置关闭
  92. message: "admin/data/message.json"