pages.json 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  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. }
  98. }
  99. ,{
  100. "path" : "pages/cb/bzy/equip-set/equip-set",
  101. "style" :
  102. {
  103. "navigationBarTitleText": "设备控制",
  104. "enablePullDownRefresh": false
  105. }
  106. }
  107. ,{
  108. "path" : "pages/cb/xy/equip-set/equip-set",
  109. "style" :
  110. {
  111. "navigationBarTitleText": "设备控制",
  112. "enablePullDownRefresh": false
  113. }
  114. }
  115. ],
  116. "condition": { //模式配置,仅开发期间生效
  117. "current": 3, //当前激活的模式(list 的索引项)
  118. "list": [{
  119. "name": "about",
  120. "path" : "pages/my/about/about"
  121. },{
  122. "name":"feedback",
  123. "path" : "pages/my/feedback/feedback"
  124. },{
  125. "name":"cdIndex",
  126. "path" : "pages/cb/index/index"
  127. },{
  128. "name":"login",
  129. "path" : "pages/login/login"
  130. }
  131. ]
  132. },
  133. "globalStyle": {
  134. "navigationBarTextStyle": "black",
  135. "navigationBarTitleText": "大数据平台",
  136. "navigationBarBackgroundColor": "#fff",
  137. "backgroundColor": "#ff0000"
  138. }
  139. }