pages.json 4.5 KB

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