pages.json 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. {
  2. "easycom": {
  3. "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
  4. },
  5. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  6. {
  7. "path": "pages/index/index",
  8. "style": {
  9. "navigationBarTitleText": "智能巡店"
  10. }
  11. },
  12. {
  13. "path" : "pages/shopTour/shopTour",
  14. "style" : {
  15. "navigationBarTitleText": "远程巡店",
  16. "app-plus": {
  17. "bounce": "none", //关闭窗口回弹效果
  18. "titleNView": {
  19. "buttons": [ //原生标题栏按钮配置,
  20. {
  21. "text": "+考评项" ,//原生标题栏增加分享按钮,点击事件可通过页面的 onNavigationBarButtonTap 函数进行监听
  22. "fontSize": 16,
  23. "color": "#007AFF",
  24. "width":"100px"
  25. }
  26. ]
  27. }
  28. }
  29. }
  30. }
  31. ,{
  32. "path" : "pages/work/work",
  33. "style": {
  34. "navigationBarTitleText": "工作台"
  35. }
  36. }
  37. ,{
  38. "path" : "pages/userCenter/userCenter",
  39. "style" : {
  40. "navigationBarTitleText": "个人中心"
  41. }
  42. }
  43. ],
  44. "globalStyle": {
  45. "navigationBarTitleText": "智能巡店",
  46. "navigationBarBackgroundColor":"#0b6ce0",
  47. "navigationBarTextStyle": "white",
  48. "backgroundColor": "#F8F8F8"
  49. },
  50. "tabBar": {
  51. "color": "#7A7E83",
  52. "selectedColor": "#0b6ce0",
  53. "borderStyle": "#eee",
  54. "backgroundColor": "#ffffff",
  55. "fontSize": "14px",
  56. "list": [{
  57. "pagePath": "pages/index/index",
  58. "iconPath": "static/tabbar/home.png",
  59. "selectedIconPath": "static/tabbar/home-active.png",
  60. "text": "首页"
  61. }, {
  62. "pagePath": "pages/work/work",
  63. "iconPath": "static/tabbar/work.png",
  64. "selectedIconPath": "static/tabbar/work-active.png",
  65. "text": "工作台"
  66. }, {
  67. "pagePath": "pages/userCenter/userCenter",
  68. "iconPath": "static/tabbar/user.png",
  69. "selectedIconPath": "static/tabbar/user-active.png",
  70. "text": "我的"
  71. }]
  72. }
  73. }