pages.json 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. {
  2. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  3. {
  4. "path": "pages/login/login",
  5. "style": {
  6. "navigationBarTitleText": "",
  7. "enablePullDownRefresh": false
  8. }
  9. },
  10. {
  11. "path": "pages/index/index",
  12. "style": {
  13. "navigationBarTitleText": "首页"
  14. }
  15. }, {
  16. "path": "pages/bluetooth/bluetooth",
  17. "style": {
  18. "navigationBarTitleText": "搜索页面",
  19. "enablePullDownRefresh": false
  20. }
  21. }, {
  22. "path": "pages/mine/mine",
  23. "style": {
  24. "navigationBarTitleText": "我的",
  25. "enablePullDownRefresh": false
  26. }
  27. }, {
  28. "path": "pages/lock-test/lock-test",
  29. "style": {
  30. "navigationStyle": "custom",
  31. "navigationBarTitleText": "门锁测试",
  32. "enablePullDownRefresh": false
  33. }
  34. }, {
  35. "path": "pages/cat-eye-test/cat-eye-test",
  36. "style": {
  37. "navigationStyle": "custom",
  38. "navigationBarTitleText": "猫眼测试",
  39. "enablePullDownRefresh": false
  40. }
  41. }, {
  42. "path": "pages/upload-face/upload-face",
  43. "style": {
  44. "navigationBarTitleText": "人脸上传",
  45. "enablePullDownRefresh": false
  46. }
  47. },
  48. {
  49. "path": "pages/try/try",
  50. "style": {
  51. "navigationBarTitleText": "",
  52. "enablePullDownRefresh": false
  53. }
  54. }, {
  55. "path": "pages/tabbar/room/room",
  56. "style": {
  57. "navigationBarTitleText": "房间",
  58. "enablePullDownRefresh": false
  59. }
  60. }, {
  61. "path": "pages/tabbar/gateway/gateway",
  62. "style": {
  63. "navigationBarTitleText": "网关",
  64. "enablePullDownRefresh": false
  65. }
  66. }, {
  67. "path": "pages/tabbar/index/index",
  68. "style": {
  69. "navigationBarTitleText": "首页",
  70. "enablePullDownRefresh": false
  71. }
  72. }, {
  73. "path": "pages/tabbar/Bluetooth/Bluetooth",
  74. "style": {
  75. "navigationBarTitleText": "蓝牙",
  76. "enablePullDownRefresh": false
  77. }
  78. }, {
  79. "path": "pages/tabbar/mine/mine",
  80. "style": {
  81. "navigationBarTitleText": "我的",
  82. "enablePullDownRefresh": false
  83. }
  84. }, {
  85. "path": "pages/add-project/add-project",
  86. "style": {
  87. "navigationBarTitleText": "",
  88. "enablePullDownRefresh": false
  89. }
  90. }, {
  91. "path": "pages/project-list/project-list",
  92. "style": {
  93. "navigationBarTitleText": "项目列表",
  94. "onReachBottomDistance": 150,
  95. "enablePullDownRefresh": true //下拉刷新
  96. // "backgroundColor": "#f25415"
  97. }
  98. }
  99. ],
  100. "tabBar": {
  101. "selectedColor": "#1296db",
  102. "list": [{
  103. "pagePath": "pages/index/index",
  104. "iconPath": "static/home.png",
  105. "selectedIconPath": "static/home_select.png",
  106. "text": "首页"
  107. },
  108. {
  109. "pagePath": "pages/bluetooth/bluetooth",
  110. "iconPath": "static/bluetooth (1).png",
  111. "selectedIconPath": "static/bluetooth_select.png",
  112. "text": "设备"
  113. },
  114. {
  115. "pagePath": "pages/mine/mine",
  116. "iconPath": "static/mine.png",
  117. "selectedIconPath": "static/mine_select.png",
  118. "text": "我的"
  119. }
  120. ]
  121. },
  122. "globalStyle": {
  123. "navigationBarTextStyle": "white",
  124. "navigationBarTitleText": "uni-app",
  125. "navigationBarBackgroundColor": "#1296db",
  126. "backgroundColor": "#38253b"
  127. },
  128. "uniIdRouter": {}
  129. }