pages.json 6.1 KB

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