pages.json 5.8 KB

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