pages.json 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267
  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": "login/index",
  40. "style": {
  41. "navigationBarTitleText": "登录"
  42. }
  43. },
  44. {
  45. "path": "like/index",
  46. "style": {
  47. "navigationBarTitleText": "点赞",
  48. "enablePullDownRefresh": true
  49. }
  50. },
  51. {
  52. "path": "comment/index",
  53. "style": {
  54. "navigationBarTitleText": "评论",
  55. "enablePullDownRefresh": true
  56. }
  57. },
  58. {
  59. "path": "collect/index",
  60. "style": {
  61. "navigationBarTitleText": "收藏",
  62. "enablePullDownRefresh": true
  63. }
  64. },
  65. {
  66. "path": "order/index",
  67. "style": {
  68. "navigationBarTitleText": "我的订单",
  69. "enablePullDownRefresh": true
  70. }
  71. },
  72. {
  73. "path": "order/order",
  74. "style": {
  75. "navigationBarTitleText": "提交订单",
  76. "navigationBarBackgroundColor": "#0000ff"
  77. }
  78. }
  79. ]
  80. },
  81. {
  82. "root": "pagesMy",
  83. "pages": [ //分包
  84. {
  85. "path": "coupon/index",
  86. "style": {
  87. "navigationBarTitleText": "优惠卷"
  88. }
  89. },
  90. {
  91. "path": "article/add",
  92. "style": {
  93. "navigationBarTitleText": "发布作品"
  94. }
  95. },
  96. {
  97. "path": "article/index",
  98. "style": {
  99. "navigationBarTitleText": "我的作品",
  100. "enablePullDownRefresh": true
  101. }
  102. },
  103. {
  104. "path": "opinion/index",
  105. "style": {
  106. "navigationBarTitleText": "意见反馈"
  107. }
  108. },
  109. {
  110. "path": "service/index",
  111. "style": {
  112. "navigationBarTitleText": "客服电话"
  113. }
  114. },
  115. {
  116. "path": "account/index",
  117. "style": {
  118. "navigationBarTitleText": "账号设置"
  119. }
  120. }
  121. ]
  122. },
  123. {
  124. "root": "pagesHome",
  125. "pages": [ //分包
  126. {
  127. "path": "article/index",
  128. "style": {
  129. "navigationBarTitleText": "文章详情"
  130. }
  131. },
  132. {
  133. "path": "info/index",
  134. "style": {
  135. "navigationBarTitleText": "神鹿峰"
  136. }
  137. },
  138. {
  139. "path": "type/index",
  140. "style": {
  141. "navigationBarTitleText": "分类",
  142. "enablePullDownRefresh": true
  143. }
  144. },
  145. {
  146. "path": "type/info",
  147. "style": {
  148. "navigationBarTitleText": "详情"
  149. }
  150. },
  151. {
  152. "path": "hotel/index",
  153. "style": {
  154. "navigationBarTitleText": "酒店民宿",
  155. "enablePullDownRefresh": true
  156. }
  157. },
  158. {
  159. "path": "hotel/info",
  160. "style": {
  161. "navigationBarTitleText": "酒店详情"
  162. }
  163. },
  164. {
  165. "path": "hotel/detail",
  166. "style": {
  167. "navigationBarTitleText": "房间信息"
  168. }
  169. },
  170. {
  171. "path": "ticket/index",
  172. "style": {
  173. "navigationBarTitleText": "景区门票",
  174. "enablePullDownRefresh": true
  175. }
  176. },
  177. {
  178. "path": "ticket/info",
  179. "style": {
  180. "navigationBarTitleText": "门票详情"
  181. }
  182. },
  183. {
  184. "path": "weather/index",
  185. "style": {
  186. "navigationBarTitleText": "天气预报",
  187. "enablePullDownRefresh": true
  188. }
  189. },
  190. {
  191. "path": "notice/index",
  192. "style": {
  193. "navigationBarTitleText": "公告",
  194. "enablePullDownRefresh": true
  195. }
  196. },
  197. {
  198. "path": "notice/detail",
  199. "style": {
  200. "navigationBarTitleText": "公告详情"
  201. }
  202. },
  203. {
  204. "path": "news/index",
  205. "style": {
  206. "navigationBarTitleText": "新闻",
  207. "enablePullDownRefresh": true
  208. }
  209. },
  210. {
  211. "path": "news/detail",
  212. "style": {
  213. "navigationBarTitleText": "新闻详情"
  214. }
  215. }
  216. ]
  217. }
  218. ],
  219. "globalStyle": {
  220. "pageOrientation": "portrait",
  221. "navigationBarTitleText": "神鹿峰小程序",
  222. "navigationBarTextStyle": "black",
  223. "navigationBarBackgroundColor": "#F8F8F8",
  224. "backgroundColor": "#F8F8F8",
  225. "backgroundColorTop": "#F4F5F6",
  226. "backgroundColorBottom": "#F4F5F6"
  227. },
  228. "tabBar": {
  229. "color": "#7A7E83",
  230. "selectedColor": "#007AFF",
  231. "borderStyle": "black",
  232. "backgroundColor": "#F8F8F8",
  233. "list": [{
  234. "pagePath": "pages/home/index",
  235. "iconPath": "static/home.png",
  236. "selectedIconPath": "static/homeHL.png",
  237. "text": "首页"
  238. },
  239. {
  240. "pagePath": "pages/map/index",
  241. "iconPath": "static/map.png",
  242. "selectedIconPath": "static/mapHL.png",
  243. "text": "地图"
  244. },
  245. {
  246. "pagePath": "pages/customer/index",
  247. "iconPath": "static/kf.png",
  248. "selectedIconPath": "static/kfHL.png",
  249. "text": "客服"
  250. },
  251. {
  252. "pagePath": "pages/my/index",
  253. "iconPath": "static/my.png",
  254. "selectedIconPath": "static/myHL.png",
  255. "text": "我的"
  256. }
  257. ]
  258. },
  259. "condition": { //模式配置,仅开发期间生效
  260. "current": 0, //当前激活的模式(list 的索引项)
  261. "list": [{
  262. "name": "系统首页", //模式名称
  263. "path": "pages/index/index", //启动页面,必选
  264. "query": "" //启动参数,在页面的onLoad函数里面得到
  265. }]
  266. }
  267. }