pages.json 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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. "globalStyle": {
  45. "navigationBarTextStyle": "black",
  46. "navigationBarTitleText": "猫王妙播",
  47. "navigationBarBackgroundColor": "#F8F8F8",
  48. "backgroundColor": "#F8F8F8"
  49. },
  50. "tabBar": {
  51. "color": "#353535",
  52. "selectedColor": "#6547A3",
  53. "borderStyle": "black",
  54. "backgroundColor": "#ffffff",
  55. "list": [{
  56. "pagePath": "pages/index/index",
  57. "iconPath": "static/home/home.png",
  58. "selectedIconPath": "static/home/home_selected.png",
  59. "text": "首页"
  60. },
  61. {
  62. "pagePath": "pages/play/play",
  63. "iconPath": "static/home/play.png",
  64. "selectedIconPath": "static/home/play_selected.png",
  65. "text": "妙控"
  66. },
  67. {
  68. "pagePath": "pages/mine/mine",
  69. "iconPath": "static/home/mine.png",
  70. "selectedIconPath": "static/home/mine_selected.png",
  71. "text": "我的"
  72. }
  73. ]
  74. },
  75. "condition": {
  76. "current": 0,
  77. "list": [
  78. {
  79. "name": "mqtt",
  80. "path": "pages/demo/mqtt/mqttDemo"
  81. },
  82. {
  83. "name": "登录组件",
  84. "path": "pages/login/login"
  85. }
  86. ]
  87. }
  88. }