pages.json 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  1. {
  2. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  3. {
  4. "path": "pages/index/index", //首页
  5. "style": {
  6. "navigationBarTitleText": "猫王妙播"
  7. }
  8. },
  9. {
  10. "path": "pages/play/play",
  11. "style": {
  12. "navigationBarTitleText": "妙控",
  13. "enablePullDownRefresh": false
  14. }
  15. },
  16. {
  17. "path": "pages/mine/mine",
  18. "style": {
  19. "navigationBarTitleText": "我的",
  20. "enablePullDownRefresh": false
  21. }
  22. },
  23. {
  24. "path": "pages/login/login",
  25. "style": {
  26. "navigationBarTitleText": "登录",
  27. "enablePullDownRefresh": false
  28. }
  29. }, {
  30. "path": "pages/demo/mqtt/mqttDemo",
  31. "style": {
  32. "navigationBarTitleText": "mqttDemo",
  33. "enablePullDownRefresh": false
  34. }
  35. }, {
  36. "path": "pages/demo/mqtt/deviceInfo",
  37. "style": {
  38. "navigationBarTitleText": "mqttDemo",
  39. "enablePullDownRefresh": false
  40. }
  41. },
  42. {
  43. "path": "pages/demo/ble/activateDevice/activateDevice",
  44. "style": {
  45. "navigationBarTitleText": "設備激活",
  46. "enablePullDownRefresh": false
  47. }
  48. },
  49. {
  50. "path": "pages/addDevice/selectDevice/selectDevice",
  51. "style": {
  52. "navigationBarTitleText": "选择设备型号",
  53. "enablePullDownRefresh": false
  54. }
  55. }, {
  56. "path": "pages/addDevice/connectDevice/connectDevice",
  57. "style": {
  58. "navigationBarTitleText": "连接设备",
  59. "enablePullDownRefresh": false
  60. }
  61. }, {
  62. "path": "pages/webview/webview",
  63. "style": {
  64. "navigationBarTitleText": "",
  65. "enablePullDownRefresh": false
  66. }
  67. }
  68. , {
  69. "path": "pages/mine/device/deviceManager/deviceManager",
  70. "style": {
  71. "navigationBarTitleText": "管理设备",
  72. "enablePullDownRefresh": false
  73. }
  74. }, {
  75. "path": "pages/mine/device/deviceDetail/deviceDetail",
  76. "style": {
  77. "navigationBarTitleText": "管理设备",
  78. "enablePullDownRefresh": false
  79. }
  80. }
  81. ],
  82. "globalStyle": {
  83. "navigationBarTextStyle": "black",
  84. "navigationBarTitleText": "猫王妙播",
  85. "navigationBarBackgroundColor": "#F8F8F8",
  86. "backgroundColor": "#F8F8F8"
  87. },
  88. "tabBar": {
  89. "color": "#353535",
  90. "selectedColor": "#6547A3",
  91. "borderStyle": "black",
  92. "backgroundColor": "#ffffff",
  93. "list": [{
  94. "pagePath": "pages/index/index",
  95. "iconPath": "static/home/home.png",
  96. "selectedIconPath": "static/home/home_selected.png",
  97. "text": "首页"
  98. },
  99. {
  100. "pagePath": "pages/play/play",
  101. "iconPath": "static/home/play.png",
  102. "selectedIconPath": "static/home/play_selected.png",
  103. "text": "妙控"
  104. },
  105. {
  106. "pagePath": "pages/mine/mine",
  107. "iconPath": "static/home/mine.png",
  108. "selectedIconPath": "static/home/mine_selected.png",
  109. "text": "我的"
  110. }
  111. ]
  112. },
  113. "condition": {
  114. "current": 0,
  115. "list": [{
  116. "name": "设备详情",
  117. "path": "pages/mine/device/deviceDetail/deviceDetail",
  118. "query": "model=MW-M3&name=猫王·MW-M3&uuid=89860474192070498495"
  119. },
  120. {
  121. "name": "管理设备",
  122. "path": "pages/mine/device/deviceManager/deviceManager"
  123. },
  124. {
  125. "name": "webview",
  126. "path": "pages/webview/webview",
  127. "query": "path=help"
  128. },
  129. {
  130. "name": "connectDevice",
  131. "path": "pages/addDevice/connectDevice/connectDevice",
  132. "query": "model=MW-M3&name=猫王·MW-M3"
  133. },
  134. {
  135. "name": "device",
  136. "path": "pages/addDevice/selectDevice/selectDevice"
  137. },
  138. {
  139. "name": "mqtt",
  140. "path": "pages/demo/mqtt/mqttDemo"
  141. },
  142. {
  143. "name": "登录组件",
  144. "path": "pages/login/login"
  145. },
  146. {
  147. "name": "connectDevice",
  148. "path": "pages/demo/ble/activateDevice/activateDevice",
  149. "query": "model=MW-M3&name=猫王·MW-M3"
  150. }
  151. ]
  152. }
  153. }