pages.json 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  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. "path": "pages/door-lock-module/door-lock-module",
  100. "style": {
  101. "navigationStyle": "custom",
  102. "navigationBarTitleText": "门锁模块",
  103. "enablePullDownRefresh": false
  104. }
  105. }
  106. ],
  107. "tabBar": {
  108. "selectedColor": "#1296db",
  109. "list": [{
  110. "pagePath": "pages/index/index",
  111. "iconPath": "static/home.png",
  112. "selectedIconPath": "static/home_select.png",
  113. "text": "首页"
  114. },
  115. {
  116. "pagePath": "pages/bluetooth/bluetooth",
  117. "iconPath": "static/bluetooth (1).png",
  118. "selectedIconPath": "static/bluetooth_select.png",
  119. "text": "设备"
  120. },
  121. {
  122. "pagePath": "pages/mine/mine",
  123. "iconPath": "static/mine.png",
  124. "selectedIconPath": "static/mine_select.png",
  125. "text": "我的"
  126. }
  127. ]
  128. },
  129. "globalStyle": {
  130. "navigationBarTextStyle": "white",
  131. "navigationBarTitleText": "uni-app",
  132. "navigationBarBackgroundColor": "#1296db",
  133. "backgroundColor": "#38253b"
  134. },
  135. "uniIdRouter": {}
  136. }