config.js 699 B

1234567891011121314151617181920212223242526272829303132
  1. // 微信版本
  2. const wx_min = uni.getAccountInfoSync();
  3. // 设备信息
  4. const system = uni.getSystemInfoSync();
  5. let wx_projectkey = 'newCourtApp';
  6. if (system.uniPlatform == 'mp-weixin') {
  7. let envV = wx_min.miniProgram.envVersion;
  8. }
  9. export default {
  10. serverFile: 'http://192.168.1.197',
  11. serverUrl: 'http://127.0.0.1:9990',
  12. wx_projectkey: wx_projectkey,
  13. wx_miniProgram: wx_min.miniProgram,
  14. system: system,
  15. share: {},
  16. menuList: [{
  17. icon: "account",
  18. title: "基本信息",
  19. route: "pagesMy/basic/index",
  20. },
  21. {
  22. icon: "list-dot",
  23. title: "申办记录",
  24. route: "pagesMy/record/index",
  25. },
  26. {
  27. icon: "grid",
  28. title: "退出登录",
  29. }
  30. ],
  31. };