pages.json 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  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. "path": "pages/index/index",
  8. "style": {
  9. "navigationBarTitleText": "uni-app"
  10. }
  11. }
  12. ,{
  13. "path" : "pages/my/about/about",
  14. "style" :
  15. {
  16. "navigationBarTitleText": "关于",
  17. "enablePullDownRefresh": false
  18. }
  19. }
  20. ,{
  21. "path" : "pages/cb/index/index",
  22. "style" :
  23. {
  24. "navigationBarTitleText": "测报系统",
  25. "enablePullDownRefresh": true,
  26. "navigationStyle":"custom"
  27. }
  28. }
  29. ,{
  30. "path" : "pages/my/user-info/user-info",
  31. "style" :
  32. {
  33. "navigationBarTitleText": "个人信息",
  34. "enablePullDownRefresh": false
  35. }
  36. }
  37. ,{
  38. "path" : "pages/my/feedback/feedback",
  39. "style" :
  40. {
  41. "navigationBarTitleText": "反馈",
  42. "enablePullDownRefresh": false
  43. }
  44. }
  45. ,{
  46. "path" : "pages/search/search",
  47. "style" :
  48. {
  49. "navigationBarTitleText": "",
  50. "enablePullDownRefresh": false,
  51. "app-plus":{
  52. "bounce": "none",
  53. "titleNView":{
  54. "searchInput":{
  55. "autoFocus":true,
  56. "align":"center",
  57. "placeholder":"输入设备号搜索",
  58. "borderRadius":"50px",
  59. "backgroundColor":"#E4E4E4",
  60. "placeholderColor":"#333"
  61. }
  62. }
  63. }
  64. }
  65. }
  66. ,{
  67. "path" : "pages/cb/equip-detail/equip-detail",
  68. "style" :
  69. {
  70. "navigationBarTitleText": "设备详情",
  71. "enablePullDownRefresh": false
  72. }
  73. }
  74. ,{
  75. "path" : "pages/login/login",
  76. "style" :
  77. {
  78. "navigationBarTitleText": "",
  79. "enablePullDownRefresh": false,
  80. "navigationStyle":"custom"
  81. }
  82. }
  83. ,{
  84. "path" : "pages/cb/cbd/equip-set/equip-set",
  85. "style" :
  86. {
  87. "navigationBarTitleText": "设备控制",
  88. "enablePullDownRefresh": false
  89. }
  90. }
  91. ,{
  92. "path" : "pages/fourMoodBase/index/index",
  93. "style" :
  94. {
  95. "navigationBarTitleText": "设备分配",
  96. "enablePullDownRefresh": false,
  97. "navigationStyle":"custom"
  98. }
  99. },
  100. {
  101. "path" : "pages/fourMoodBase/index/addusers",
  102. "style" :
  103. {
  104. "navigationBarTitleText": "",
  105. "enablePullDownRefresh": false,
  106. "navigationStyle":"custom"
  107. }
  108. }
  109. ,{
  110. "path" : "pages/fourMoodBase/index/useroperation",
  111. "style" :
  112. {
  113. "navigationBarTitleText": "",
  114. "enablePullDownRefresh": false,
  115. "navigationStyle":"custom"
  116. }
  117. }
  118. ,{
  119. "path" : "pages/fourMoodBase/index/changepasswold",
  120. "style" :
  121. {
  122. "navigationBarTitleText": "",
  123. "enablePullDownRefresh": false,
  124. "navigationStyle":"custom"
  125. }
  126. }
  127. ,{
  128. "path" : "pages/fourMoodBase/index/assignment",
  129. "style" :
  130. {
  131. "navigationBarTitleText": "",
  132. "enablePullDownRefresh": false,
  133. "navigationStyle":"custom"
  134. }
  135. }
  136. ],
  137. "condition": { //模式配置,仅开发期间生效
  138. "current": 3, //当前激活的模式(list 的索引项)
  139. "list": [{
  140. "name": "about",
  141. "path" : "pages/my/about/about"
  142. },{
  143. "name":"feedback",
  144. "path" : "pages/my/feedback/feedback"
  145. },{
  146. "name":"cdIndex",
  147. "path" : "pages/cb/index/index"
  148. },{
  149. "name":"login",
  150. "path" : "pages/login/login"
  151. }
  152. ]
  153. },
  154. "globalStyle": {
  155. "navigationBarTextStyle": "black",
  156. "navigationBarTitleText": "大数据平台",
  157. "navigationBarBackgroundColor": "#fff",
  158. "backgroundColor": "#ff0000"
  159. }
  160. }