pages.json 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  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/equipMange/index/index",
  93. "style" :
  94. {
  95. "navigationBarTitleText": "设备分配",
  96. "enablePullDownRefresh": false,
  97. "navigationStyle":"custom"
  98. }
  99. },
  100. {
  101. "path" : "pages/equipMange/index/addusers",
  102. "style" :
  103. {
  104. "navigationBarTitleText": "",
  105. "enablePullDownRefresh": false,
  106. "navigationStyle":"custom"
  107. }
  108. }
  109. ,{
  110. "path" : "pages/equipMange/index/useroperation",
  111. "style" :
  112. {
  113. "navigationBarTitleText": "",
  114. "enablePullDownRefresh": false,
  115. "navigationStyle":"custom"
  116. }
  117. }
  118. ,{
  119. "path" : "pages/equipMange/index/changepasswold",
  120. "style" :
  121. {
  122. "navigationBarTitleText": "",
  123. "enablePullDownRefresh": false,
  124. "navigationStyle":"custom"
  125. }
  126. }
  127. ,{
  128. "path" : "pages/equipMange/index/assignment",
  129. "style" :
  130. {
  131. "navigationBarTitleText": "",
  132. "enablePullDownRefresh": false,
  133. "navigationStyle":"custom"
  134. }
  135. }
  136. ,{
  137. "path" : "pages/cb/bzy/equip-set/equip-set",
  138. "style" :
  139. {
  140. "navigationBarTitleText": "设备控制",
  141. "enablePullDownRefresh": false
  142. }
  143. }
  144. ,{
  145. "path" : "pages/cb/xy/equip-set/equip-set",
  146. "style" :
  147. {
  148. "navigationBarTitleText": "设备控制",
  149. "enablePullDownRefresh": false
  150. }
  151. }
  152. ,{
  153. "path" : "pages/cb/cbd/sim/sim",
  154. "style" :
  155. {
  156. "navigationBarTitleText": "sim卡详情",
  157. "enablePullDownRefresh": false
  158. }
  159. }
  160. ],
  161. "condition": { //模式配置,仅开发期间生效
  162. "current": 3, //当前激活的模式(list 的索引项)
  163. "list": [{
  164. "name": "about",
  165. "path" : "pages/my/about/about"
  166. },{
  167. "name":"feedback",
  168. "path" : "pages/my/feedback/feedback"
  169. },{
  170. "name":"cdIndex",
  171. "path" : "pages/cb/index/index"
  172. },{
  173. "name":"login",
  174. "path" : "pages/login/login"
  175. }
  176. ]
  177. },
  178. "globalStyle": {
  179. "navigationBarTextStyle": "black",
  180. "navigationBarTitleText": "大数据平台",
  181. "navigationBarBackgroundColor": "#fff",
  182. "backgroundColor": "#ff0000"
  183. }
  184. }