pages.json 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495
  1. {
  2. "pages": [{
  3. "path": "pages/index/index",
  4. "style": {
  5. "navigationBarTitleText": "系统首页"
  6. }
  7. },
  8. {
  9. "path": "pages/home/index",
  10. "style": {
  11. "navigationBarTitleText": "神鹿峰旅游度假区",
  12. "enablePullDownRefresh": true
  13. }
  14. },
  15. {
  16. "path": "pages/map/index",
  17. "style": {
  18. "navigationBarTitleText": "地图"
  19. }
  20. },
  21. {
  22. "path": "pages/customer/index",
  23. "style": {
  24. "navigationBarTitleText": "客服"
  25. }
  26. },
  27. {
  28. "path": "pages/my/index",
  29. "style": {
  30. "navigationBarTitleText": "我的"
  31. }
  32. }
  33. ],
  34. "subPackages": [ //分包配置
  35. {
  36. "root": "pagesIndex",
  37. "pages": [ //分包
  38. {
  39. "path": "type/index",
  40. "style": {
  41. "navigationBarTitleText": "分类"
  42. }
  43. }
  44. ]
  45. }
  46. ],
  47. "globalStyle": {
  48. "pageOrientation": "portrait",
  49. "navigationBarTitleText": "神鹿峰小程序",
  50. "navigationBarTextStyle": "black",
  51. "navigationBarBackgroundColor": "#F8F8F8",
  52. "backgroundColor": "#F8F8F8",
  53. "backgroundColorTop": "#F4F5F6",
  54. "backgroundColorBottom": "#F4F5F6"
  55. },
  56. "tabBar": {
  57. "color": "#7A7E83",
  58. "selectedColor": "#007AFF",
  59. "borderStyle": "black",
  60. "backgroundColor": "#F8F8F8",
  61. "list": [{
  62. "pagePath": "pages/home/index",
  63. "iconPath": "static/home.png",
  64. "selectedIconPath": "static/homeHL.png",
  65. "text": "首页"
  66. },
  67. {
  68. "pagePath": "pages/map/index",
  69. "iconPath": "static/map.png",
  70. "selectedIconPath": "static/mapHL.png",
  71. "text": "地图"
  72. },
  73. {
  74. "pagePath": "pages/customer/index",
  75. "iconPath": "static/kf.png",
  76. "selectedIconPath": "static/kfHL.png",
  77. "text": "客服"
  78. },
  79. {
  80. "pagePath": "pages/my/index",
  81. "iconPath": "static/my.png",
  82. "selectedIconPath": "static/myHL.png",
  83. "text": "我的"
  84. }
  85. ]
  86. },
  87. "condition": { //模式配置,仅开发期间生效
  88. "current": 0, //当前激活的模式(list 的索引项)
  89. "list": [{
  90. "name": "系统首页", //模式名称
  91. "path": "pages/index/index", //启动页面,必选
  92. "query": "" //启动参数,在页面的onLoad函数里面得到
  93. }]
  94. }
  95. }