pages.json 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. {
  2. "tabBar": {
  3. "custom": false,
  4. "color": "#656765",
  5. "selectedColor": "#22C572",
  6. "borderStyle": "black",
  7. "backgroundColor": "#ffffff",
  8. "list": [
  9. {
  10. "pagePath": "pages/index/index",
  11. "iconPath": "static/logo.png",
  12. "selectedIconPath": "static/logo.png",
  13. "text": "资讯"
  14. },
  15. {
  16. "pagePath": "pages/demo/demo",
  17. "iconPath": "static/logo.png",
  18. "selectedIconPath": "static/logo.png",
  19. "text": "demo"
  20. }
  21. ]
  22. },
  23. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  24. {
  25. "path": "pages/index/index",
  26. "style": {
  27. "navigationBarTitleText": "uni-app"
  28. }
  29. }
  30. ,{
  31. "path" : "pages/public/login",
  32. "style" :
  33. {
  34. "navigationBarTitleText": "登录",
  35. "enablePullDownRefresh": false
  36. }
  37. }
  38. ,{
  39. "path" : "pages/demo/demo",
  40. "style" :
  41. {
  42. "navigationBarTitleText": "",
  43. "enablePullDownRefresh": false
  44. }
  45. }
  46. ],
  47. "globalStyle": {
  48. "navigationBarTextStyle": "black",
  49. "navigationBarTitleText": "uni-app",
  50. "navigationBarBackgroundColor": "#F8F8F8",
  51. "backgroundColor": "#F8F8F8"
  52. }
  53. }