pages.json 5.9 KB

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