index.js 1.0 KB

123456789101112131415161718192021222324252627282930313233
  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.107:7300/mock/61aad8ea5688cb3878d81e39/qpls-md/', // 本地地址
  10. dev_URL: 'http://frps.chelingzhu.com:7800/qpls-md/', // 本地地址
  11. appName: 'iSCM智慧供应链', // app 名称
  12. company: '陕西山海高科信息技术有限公司',
  13. loadText:{
  14. loadmore: '轻轻上拉',
  15. loading: '努力加载中',
  16. nomore: '没有了'
  17. },
  18. primaryColor: '#0485F6', // 主色调
  19. warringColor: '#f3bb12', // 警告
  20. errorColor: '#E70012', // 错误
  21. successColor: '#13C442', // 成功
  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