pages.json 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  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/shopTour/shopTour",
  11. "style" : {
  12. "navigationBarTitleText": "远程巡店",
  13. "app-plus": {
  14. "bounce": "none", //关闭窗口回弹效果
  15. "titleNView": {
  16. "buttons": [ //原生标题栏按钮配置,
  17. {
  18. "text": "+考评项" ,//原生标题栏增加分享按钮,点击事件可通过页面的 onNavigationBarButtonTap 函数进行监听
  19. "fontSize": 16,
  20. "color": "#007AFF",
  21. "width":"100px"
  22. }
  23. ]
  24. }
  25. }
  26. }
  27. }
  28. ,{
  29. "path" : "pages/work/work",
  30. "style": {
  31. "navigationBarTitleText": "工作台"
  32. }
  33. }
  34. ,{
  35. "path" : "pages/userCenter/userCenter",
  36. "style" : {
  37. "navigationBarTitleText": "个人中心"
  38. }
  39. }
  40. ],
  41. "globalStyle": {
  42. "navigationBarTextStyle": "black",
  43. "navigationBarTitleText": "uni-app",
  44. "navigationBarBackgroundColor": "#F8F8F8",
  45. "backgroundColor": "#F8F8F8"
  46. },
  47. "tabBar": {
  48. "color": "#7A7E83",
  49. "selectedColor": "#0b6ce0",
  50. "borderStyle": "#eee",
  51. "backgroundColor": "#ffffff",
  52. "fontSize": "14px",
  53. "list": [{
  54. "pagePath": "pages/index/index",
  55. "iconPath": "static/tabbar/home.png",
  56. "selectedIconPath": "static/tabbar/home-active.png",
  57. "text": "首页"
  58. }, {
  59. "pagePath": "pages/work/work",
  60. "iconPath": "static/tabbar/work.png",
  61. "selectedIconPath": "static/tabbar/work-active.png",
  62. "text": "工作台"
  63. }, {
  64. "pagePath": "pages/userCenter/userCenter",
  65. "iconPath": "static/tabbar/user.png",
  66. "selectedIconPath": "static/tabbar/user-active.png",
  67. "text": "我的"
  68. }]
  69. }
  70. }