app.config.js 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. export default {
  2. pages: [
  3. // 'pages/staffDistribution/index',//员工分布
  4. 'pages/punchClock/index',//打卡
  5. 'pages/examine/index',//审核
  6. 'pages/egressDetails/index',//公出详情
  7. 'pages/login/index',//登录
  8. 'pages/applyDepart/index',//申请公出
  9. 'pages/mybusiness/index',//我的
  10. 'pages/enterprise/index',//企业
  11. 'pages/customerProfile/index',//企业详情/客户档案
  12. 'pages/situation/index',//公出情况
  13. 'pages/addEnterprise/index',//新增企业/渠道
  14. ],
  15. tabBar: {
  16. list: [
  17. {
  18. iconPath: './image/punchClockUnSelect.png',
  19. selectedIconPath: './image/punchClockSelect.png',
  20. pagePath: 'pages/punchClock/index',
  21. text: '打卡'
  22. },
  23. {
  24. iconPath: './image/egressUnSelect.png',
  25. selectedIconPath: './image/egressSelect.png',
  26. pagePath: 'pages/applyDepart/index',
  27. text: '申请公出'
  28. },
  29. {
  30. iconPath: './image/examineUnSelect.png',
  31. selectedIconPath: './image/examineSelect.png',
  32. pagePath: 'pages/examine/index',
  33. text: '审核'
  34. },
  35. {
  36. iconPath: './image/enterpriseUnSelect.png',
  37. selectedIconPath: './image/enterpriseSelect.png',
  38. pagePath: 'pages/enterprise/index',
  39. text: '企业'
  40. },
  41. {
  42. iconPath: './image/my.png',
  43. selectedIconPath: './image/myselect.png',
  44. pagePath: 'pages/mybusiness/index',
  45. text: '我的'
  46. }
  47. ],
  48. 'color': '#515151',
  49. 'selectedColor': '#56abe4',
  50. 'backgroundColor': '#fff',
  51. 'borderStyle': 'white'
  52. },
  53. window: {
  54. backgroundTextStyle: 'light',
  55. navigationBarBackgroundColor: '#fff',
  56. navigationBarTitleText: 'WeChat',
  57. navigationBarTextStyle: 'black',
  58. },
  59. requiredBackgroundModes: ['location'],
  60. requiredPrivateInfos: [
  61. "getLocation",
  62. "onLocationChange",
  63. "startLocationUpdate",
  64. ],
  65. plugins: {
  66. chooseLocation: {
  67. version: "1.1.0",
  68. provider: "wx76a9a06e5b4e693e"
  69. },
  70. },
  71. permission: {
  72. "scope.userLocation": {
  73. desc: "你的位置信息将用于小程序定位"
  74. }
  75. },
  76. "lazyCodeLoading": "requiredComponents",
  77. "__usePrivacyCheck__": true,
  78. }