config.js 770 B

123456789101112131415161718192021222324252627282930313233
  1. "use strict";
  2. const common_vendor = require("./common/vendor.js");
  3. const wx_min = common_vendor.index.getAccountInfoSync();
  4. const system = common_vendor.index.getSystemInfoSync();
  5. let wx_projectkey = "newCourtApp";
  6. if (system.uniPlatform == "mp-weixin") {
  7. wx_min.miniProgram.envVersion;
  8. }
  9. const config = {
  10. serverFile: "http://192.168.1.197",
  11. serverUrl: "http://localhost:9990",
  12. wx_projectkey,
  13. wx_miniProgram: wx_min.miniProgram,
  14. system,
  15. share: {},
  16. menuList: [
  17. {
  18. icon: "account",
  19. title: "基本信息",
  20. route: "pagesMy/basic/index"
  21. },
  22. {
  23. icon: "list-dot",
  24. title: "申办记录",
  25. route: "pagesMy/record/index"
  26. },
  27. {
  28. icon: "grid",
  29. title: "退出登录"
  30. }
  31. ]
  32. };
  33. exports.config = config;