index.js 980 B

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