index.js 935 B

12345678910111213141516171819202122232425262728293031
  1. // 主题配置信息
  2. const getConfig = (theme) => {
  3. const config = {
  4. // 默认主题
  5. "default":{
  6. themePath: 'default',
  7. pro_URL: 'https://car.zyucgj.com/saas/clz/', // 生产地址
  8. uat_URL: 'http://md.test.zyucgj.com/saas/clz/', // 预发布地址
  9. dev_URL: 'http://192.168.16.102:9110/saas/clz/', // 本地地址
  10. appName: 'iSCM智慧供应链系统', // app 名称
  11. company: '陕西山海高科信息技术有限公司',
  12. loadText:{
  13. loadmore: '轻轻上拉',
  14. loading: '努力加载中',
  15. nomore: '没有了'
  16. },
  17. primaryColor: '#0485F6', // 主色调
  18. warringColor: '#f3bb12', // 警告
  19. errorColor: '#E70012', // 错误
  20. successColor: '#13C442', // 成功
  21. topBarBackground: 'linear-gradient(45deg, #fff, #fff)', // 顶部栏渐变色
  22. topBarTitleColors: '#222222', // 顶部栏文字颜色
  23. },
  24. // 其它主题
  25. "other":{}
  26. }
  27. return config[theme]
  28. }
  29. export default getConfig