pages.json 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  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. , {
  29. "path": "pages/lock-test/lock-test",
  30. "style": {
  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. , {
  43. "path": "pages/upload-face/upload-face",
  44. "style": {
  45. "navigationBarTitleText": "人脸上传",
  46. "enablePullDownRefresh": false
  47. }
  48. }
  49. ,
  50. {
  51. "path": "pages/try/try",
  52. "style": {
  53. "navigationBarTitleText": "",
  54. "enablePullDownRefresh": false
  55. }
  56. }, {
  57. "path": "pages/tabbar/room/room",
  58. "style": {
  59. "navigationBarTitleText": "房间",
  60. "enablePullDownRefresh": false
  61. }
  62. }, {
  63. "path": "pages/tabbar/gateway/gateway",
  64. "style": {
  65. "navigationBarTitleText": "网关",
  66. "enablePullDownRefresh": false
  67. }
  68. }, {
  69. "path": "pages/tabbar/index/index",
  70. "style": {
  71. "navigationBarTitleText": "首页",
  72. "enablePullDownRefresh": false
  73. }
  74. }, {
  75. "path": "pages/tabbar/Bluetooth/Bluetooth",
  76. "style": {
  77. "navigationBarTitleText": "蓝牙",
  78. "enablePullDownRefresh": false
  79. }
  80. }, {
  81. "path": "pages/tabbar/mine/mine",
  82. "style": {
  83. "navigationBarTitleText": "我的",
  84. "enablePullDownRefresh": false
  85. }
  86. }, {
  87. "path": "pages/add-project/add-project",
  88. "style": {
  89. "navigationBarTitleText": "",
  90. "enablePullDownRefresh": false
  91. }
  92. }, {
  93. "path": "pages/project-list/project-list",
  94. "style": {
  95. "navigationBarTitleText": "项目列表",
  96. "onReachBottomDistance": 150,
  97. "enablePullDownRefresh": true //下拉刷新
  98. // "backgroundColor": "#f25415"
  99. }
  100. }
  101. ],
  102. "tabBar": {
  103. "selectedColor": "#1296db",
  104. "list": [{
  105. "pagePath": "pages/index/index",
  106. "iconPath": "static/home.png",
  107. "selectedIconPath": "static/home_select.png",
  108. "text": "首页"
  109. },
  110. {
  111. "pagePath": "pages/bluetooth/bluetooth",
  112. "iconPath": "static/bluetooth (1).png",
  113. "selectedIconPath": "static/bluetooth_select.png",
  114. "text": "设备"
  115. },
  116. {
  117. "pagePath": "pages/mine/mine",
  118. "iconPath": "static/mine.png",
  119. "selectedIconPath": "static/mine_select.png",
  120. "text": "我的"
  121. }
  122. ]
  123. },
  124. "globalStyle": {
  125. "navigationBarTextStyle": "white",
  126. "navigationBarTitleText": "uni-app",
  127. "navigationBarBackgroundColor": "#1296db",
  128. "backgroundColor": "#38253b"
  129. },
  130. "uniIdRouter": {}
  131. }