pages.json 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. {
  2. "easycom": {
  3. "custom": {
  4. "^u-(.*)": "@/uview-ui/components/u-$1/u-$1.vue",
  5. "^uni-(.*)": "@dcloudio/uni-ui/lib/uni-$1/uni-$1.vue"
  6. }
  7. },
  8. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  9. {
  10. "path": "pages/index/index",
  11. "style": {
  12. "navigationBarTitleText": "loading"
  13. }
  14. },
  15. //#ifdef H5
  16. {
  17. "path": "pages/index/gzhGo",
  18. "style": {
  19. "navigationBarTitleText": "loading"
  20. }
  21. },
  22. // #endif
  23. {
  24. "path": "pages/index/checking",
  25. "style": {
  26. "navigationBarTitleText": "用户绑定"
  27. }
  28. },
  29. {
  30. "path": "pages/home/task",
  31. "style": {
  32. "navigationBarTitleText": "任务管理",
  33. "enablePullDownRefresh" : true
  34. }
  35. },
  36. {
  37. "path": "pages/home/taskDetail",
  38. "style": {
  39. "navigationBarTitleText": "任务详情"
  40. }
  41. },
  42. {
  43. "path": "pages/home/deal",
  44. "style": {
  45. "navigationBarTitleText": "任务处理"
  46. }
  47. }
  48. ],
  49. "globalStyle": {
  50. //#ifdef H5
  51. "navigationStyle" : "custom",
  52. // #endif
  53. "navigationBarTextStyle": "black",
  54. "navigationBarTitleText": "uni-app",
  55. "navigationBarBackgroundColor": "#F8F8F8",
  56. "backgroundColor": "#F8F8F8",
  57. "pageOrientation": "auto"
  58. }
  59. }