app.config.js 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. export default {
  2. pages: [
  3. 'pages/examine/index',//审核
  4. 'pages/applyDepart/index',//申请外出
  5. 'pages/punchClock/index',//打卡
  6. 'pages/login/index',//登录
  7. // 'pages/staffDistribution/index',//员工分布
  8. // 'pages/outdoorActivities/index'//出差申报
  9. ],
  10. tabBar: {
  11. list: [
  12. {
  13. iconPath: './image/examineUnSelect.png',
  14. selectedIconPath: './image/examineSelect.png',
  15. pagePath: 'pages/examine/index',
  16. text: '审核'
  17. },{
  18. iconPath: './image/punchClockUnSelect.png',
  19. selectedIconPath: './image/punchClockSelect.png',
  20. pagePath: 'pages/punchClock/index',
  21. text: '打卡'
  22. }, {
  23. iconPath: './image/egressUnSelect.png',
  24. selectedIconPath: './image/egressSelect.png',
  25. pagePath: 'pages/applyDepart/index',
  26. text: '申请外出'
  27. }],
  28. 'color': '#515151',
  29. 'selectedColor': '#56abe4',
  30. 'backgroundColor': '#fff',
  31. 'borderStyle': 'white'
  32. },
  33. window: {
  34. backgroundTextStyle: 'light',
  35. navigationBarBackgroundColor: '#fff',
  36. navigationBarTitleText: 'WeChat',
  37. navigationBarTextStyle: 'black'
  38. },
  39. requiredBackgroundModes:['location'],
  40. plugins: {
  41. chooseLocation: {
  42. version: "1.0.6",
  43. provider: "wx76a9a06e5b4e693e"
  44. }
  45. },
  46. permission: {
  47. "scope.userLocation": {
  48. desc: "你的位置信息将用于小程序定位"
  49. }
  50. }
  51. }