pages.json 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  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. , {
  37. "path": "pages/demo/mqtt/deviceInfo",
  38. "style": {
  39. "navigationBarTitleText": "mqttDemo",
  40. "enablePullDownRefresh": false
  41. }
  42. }
  43. ,{
  44. "path" : "pages/addDevice/selectDevice/selectDevice",
  45. "style" :
  46. {
  47. "navigationBarTitleText": "选择设备型号",
  48. "enablePullDownRefresh": false
  49. }
  50. }
  51. ,{
  52. "path" : "pages/addDevice/connectDevice/connectDevice",
  53. "style" :
  54. {
  55. "navigationBarTitleText": "连接设备",
  56. "enablePullDownRefresh": false
  57. }
  58. }
  59. ,{
  60. "path" : "pages/webview/webview",
  61. "style" :
  62. {
  63. "navigationBarTitleText": "",
  64. "enablePullDownRefresh": false
  65. }
  66. }
  67. ,{
  68. "path" : "pages/mine/device/deviceManager/deviceManager",
  69. "style" :
  70. {
  71. "navigationBarTitleText": "",
  72. "enablePullDownRefresh": false
  73. }
  74. }
  75. ,{
  76. "path" : "pages/mine/device/deviceDetail/deviceDetail",
  77. "style" :
  78. {
  79. "navigationBarTitleText": "",
  80. "enablePullDownRefresh": false
  81. }
  82. }
  83. ],
  84. "globalStyle": {
  85. "navigationBarTextStyle": "black",
  86. "navigationBarTitleText": "猫王妙播",
  87. "navigationBarBackgroundColor": "#F8F8F8",
  88. "backgroundColor": "#F8F8F8"
  89. },
  90. "tabBar": {
  91. "color": "#353535",
  92. "selectedColor": "#6547A3",
  93. "borderStyle": "black",
  94. "backgroundColor": "#ffffff",
  95. "list": [{
  96. "pagePath": "pages/index/index",
  97. "iconPath": "static/home/home.png",
  98. "selectedIconPath": "static/home/home_selected.png",
  99. "text": "首页"
  100. },
  101. {
  102. "pagePath": "pages/play/play",
  103. "iconPath": "static/home/play.png",
  104. "selectedIconPath": "static/home/play_selected.png",
  105. "text": "妙控"
  106. },
  107. {
  108. "pagePath": "pages/mine/mine",
  109. "iconPath": "static/home/mine.png",
  110. "selectedIconPath": "static/home/mine_selected.png",
  111. "text": "我的"
  112. }
  113. ]
  114. },
  115. "condition": {
  116. "current": 0,
  117. "list": [
  118. {
  119. "name": "管理设备",
  120. "path": "pages/mine/device/deviceManager/deviceManager"
  121. },
  122. {
  123. "name": "webview",
  124. "path": "pages/webview/webview",
  125. "query": "path=help"
  126. },
  127. {
  128. "name": "connectDevice",
  129. "path": "pages/addDevice/connectDevice/connectDevice",
  130. "query": "model=MW-M3&name=猫王·MW-M3"
  131. },
  132. {
  133. "name": "device",
  134. "path": "pages/addDevice/selectDevice/selectDevice"
  135. },
  136. {
  137. "name": "mqtt",
  138. "path": "pages/demo/mqtt/mqttDemo"
  139. },
  140. {
  141. "name": "登录组件",
  142. "path": "pages/login/login"
  143. }
  144. ]
  145. }
  146. }