pages.json 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  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. "app-plus": {
  20. "softinputMode": "adjustResize"
  21. }
  22. }
  23. },
  24. {
  25. "path" : "pages/index/order",
  26. "style" :
  27. {
  28. "navigationBarTitleText": "运维工单",
  29. "enablePullDownRefresh": false
  30. }
  31. },
  32. {
  33. "path" : "pages/index/orderDetail",
  34. "style" :
  35. {
  36. "navigationBarTitleText": "工单详情",
  37. "enablePullDownRefresh": false,
  38. "navigationBarBackgroundColor": "#9CC1FA",
  39. "navigationBarTextStyle": "#FFFFFF"
  40. }
  41. },
  42. {
  43. "path" : "pages/index/supplier",
  44. "style" :
  45. {
  46. "navigationBarTitleText": "合作者",
  47. "enablePullDownRefresh": false
  48. }
  49. },
  50. {
  51. "path" : "pages/index/supplierAdd",
  52. "style" :
  53. {
  54. "navigationBarTitleText": "新增合作者",
  55. "enablePullDownRefresh": false
  56. }
  57. },
  58. {
  59. "path" : "pages/index/supplierDetail",
  60. "style" :
  61. {
  62. "navigationBarTitleText": "合作者详情",
  63. "enablePullDownRefresh": false
  64. }
  65. },
  66. {
  67. "path" : "pages/public/404",
  68. "style" :
  69. {
  70. "navigationBarTitleText": "",
  71. "enablePullDownRefresh": false
  72. }
  73. },
  74. {
  75. "path" : "pages/ucenter/index",
  76. "style" :
  77. {
  78. "navigationStyle": "custom"
  79. }
  80. },
  81. {
  82. "path" : "pages/ucenter/mineNotes",
  83. "style" :
  84. {
  85. "navigationBarTitleText": "我的记录",
  86. "enablePullDownRefresh": false
  87. }
  88. },
  89. {
  90. "path" : "pages/userAgreement/index",
  91. "style" :
  92. {
  93. "navigationBarTitleText": "用户协议",
  94. "enablePullDownRefresh": false
  95. }
  96. }
  97. ,{
  98. "path" : "pages/public/login",
  99. "style" :
  100. {
  101. "navigationBarTitleText": "用户登录",
  102. "enablePullDownRefresh": false
  103. }
  104. }
  105. ],
  106. "globalStyle": {
  107. "navigationBarTextStyle": "black",
  108. "navigationBarTitleText": "uni-app",
  109. "navigationBarBackgroundColor": "#FFFFFF",
  110. "backgroundColor": "#F8F8F8"
  111. },
  112. "uniIdRouter": {},
  113. "tabBar": {
  114. "custom": false,
  115. "color": "#333",
  116. "selectedColor": "#333",
  117. "backgroundColor": "#FFF",
  118. "list": [{
  119. "pagePath": "pages/index/index",
  120. "iconPath": "static/images/home/tab_home.png",
  121. "selectedIconPath": "static/images/home/tab_home_on.png",
  122. "text": "首页"
  123. },
  124. {
  125. "pagePath": "pages/ucenter/index",
  126. "iconPath": "static/images/home/tab_mine.png",
  127. "selectedIconPath": "static/images/home/tab_mine_on.png",
  128. "text": "我的"
  129. }
  130. ]
  131. }
  132. }