index.js 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  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: 'http://p.iscm.360arrow.com/qpls-md/', // 预发布地址
  9. // dev_URL: 'http://192.168.16.107:7300/mock/61aad8ea5688cb3878d81e39/qpls-md/', // 本地地址
  10. // dev_URL: 'http://frps.chelingzhu.com:7800/qpls-md/', // 本地地址
  11. dev_URL: 'http://1982177cu2.iask.in/qpls-md/', // 本地地址
  12. appName: 'iSCM智慧供应链', // app 名称
  13. company: '陕西山海高科信息技术有限公司',
  14. loadText:{
  15. loadmore: '轻轻上拉',
  16. loading: '努力加载中',
  17. nomore: '没有了'
  18. },
  19. primaryColor: '#335fb6', // 主色调
  20. warringColor: '#f3bb12', // 警告
  21. errorColor: '#E70012', // 错误
  22. successColor: '#13C442', // 成功
  23. infoColor: '#909399',
  24. topBarBackground: 'linear-gradient(45deg, #fff, #fff)', // 顶部栏渐变色
  25. topBarTitleColors: '#222222', // 顶部栏文字颜色
  26. },
  27. // 其它主题
  28. "other":{}
  29. }
  30. return config[theme]
  31. }
  32. export default getConfig