pages.json 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. {
  2. "easycom": {
  3. "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
  4. },
  5. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  6. {
  7. "lazyCodeLoading": "requiredComponents",
  8. "path": "pages/index/index",
  9. "style": {
  10. "navigationStyle": "custom"
  11. }
  12. },
  13. {
  14. "path" : "pages/index/orderUp",
  15. "style" :
  16. {
  17. "navigationBarTitleText": "工单上报",
  18. "enablePullDownRefresh": false
  19. }
  20. },
  21. {
  22. "path" : "pages/index/order",
  23. "style" :
  24. {
  25. "navigationBarTitleText": "运维工单",
  26. "enablePullDownRefresh": false
  27. }
  28. },
  29. {
  30. "path" : "pages/index/orderDetail",
  31. "style" :
  32. {
  33. "navigationBarTitleText": "工单详情",
  34. "enablePullDownRefresh": false,
  35. "navigationBarBackgroundColor": "#9CC1FA",
  36. "navigationBarTextStyle": "#FFFFFF"
  37. }
  38. },
  39. {
  40. "path" : "pages/index/supplier",
  41. "style" :
  42. {
  43. "navigationBarTitleText": "供应商",
  44. "enablePullDownRefresh": false
  45. }
  46. },
  47. {
  48. "path" : "pages/index/supplierDetail",
  49. "style" :
  50. {
  51. "navigationBarTitleText": "供应商详情",
  52. "enablePullDownRefresh": false
  53. }
  54. },
  55. {
  56. "path" : "pages/public/404",
  57. "style" :
  58. {
  59. "navigationBarTitleText": "",
  60. "enablePullDownRefresh": false
  61. }
  62. },
  63. {
  64. "path" : "pages/ucenter/index",
  65. "style" :
  66. {
  67. "navigationStyle": "custom"
  68. }
  69. },
  70. {
  71. "path" : "pages/ucenter/mineNotes",
  72. "style" :
  73. {
  74. "navigationBarTitleText": "我的记录",
  75. "enablePullDownRefresh": false
  76. }
  77. },
  78. {
  79. "path" : "pages/userAgreement/index",
  80. "style" :
  81. {
  82. "navigationBarTitleText": "用户协议",
  83. "enablePullDownRefresh": false
  84. }
  85. }
  86. ,{
  87. "path" : "pages/public/login",
  88. "style" :
  89. {
  90. "navigationBarTitleText": "用户登录",
  91. "enablePullDownRefresh": false
  92. }
  93. }
  94. ],
  95. "globalStyle": {
  96. "navigationBarTextStyle": "black",
  97. "navigationBarTitleText": "uni-app",
  98. "navigationBarBackgroundColor": "#FFFFFF",
  99. "backgroundColor": "#F8F8F8"
  100. },
  101. "uniIdRouter": {},
  102. "tabBar": {
  103. "custom": false,
  104. "color": "#333",
  105. "selectedColor": "#333",
  106. "backgroundColor": "#FFF",
  107. "list": [{
  108. "pagePath": "pages/index/index",
  109. "iconPath": "static/images/home/tab_home.png",
  110. "selectedIconPath": "static/images/home/tab_home_on.png",
  111. "text": "首页"
  112. },
  113. {
  114. "pagePath": "pages/ucenter/index",
  115. "iconPath": "static/images/home/tab_mine.png",
  116. "selectedIconPath": "static/images/home/tab_mine_on.png",
  117. "text": "我的"
  118. }
  119. ]
  120. }
  121. }