index.js 950 B

1234567891011121314151617181920212223242526272829303132
  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.124/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. infoColor: '#909399',
  22. topBarBackground: 'linear-gradient(45deg, #fff, #fff)', // 顶部栏渐变色
  23. topBarTitleColors: '#222222', // 顶部栏文字颜色
  24. },
  25. // 其它主题
  26. "other":{}
  27. }
  28. return config[theme]
  29. }
  30. export default getConfig