pages.json 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260
  1. {
  2. "easycom": {
  3. "autoscan": true,
  4. "custom": {
  5. // uview-ui
  6. "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
  7. }
  8. },
  9. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  10. {
  11. "path": "pages/index/index",
  12. "style": {
  13. "enablePullDownRefresh" : true,
  14. // #ifdef MP-WEIXIN
  15. "navigationStyle": "custom"
  16. // #endif
  17. }
  18. },
  19. {
  20. "path": "pages/login",
  21. "style": {
  22. "enablePullDownRefresh" : true,
  23. // #ifdef MP-WEIXIN
  24. "navigationStyle": "custom"
  25. // #endif
  26. }
  27. },
  28. {
  29. "path": "pages/otherNumlogin",
  30. "style": {
  31. // "navigationStyle": "custom",
  32. "navigationBarTextStyle": "black",
  33. "navigationBarTitleText":"其他手机号登录"
  34. }
  35. },
  36. {
  37. "path": "pages/travel",
  38. "style": {
  39. // "navigationStyle": "custom",
  40. "navigationBarTextStyle": "black",
  41. "navigationBarTitleText":"日月峡森林康养旅行"
  42. }
  43. },
  44. {
  45. "path": "pages/customerService",
  46. "style": {
  47. // "navigationStyle": "custom",
  48. "navigationBarTextStyle": "black",
  49. "navigationBarTitleText":"客服中心"
  50. }
  51. },
  52. {
  53. "path": "pages/userCenter",
  54. "style": {
  55. // "navigationStyle": "custom",
  56. "navigationBarTextStyle": "black",
  57. "navigationBarTitleText":"我的"
  58. }
  59. }
  60. ],
  61. "subPackages": [
  62. {
  63. "root": "pages/userCenter",
  64. "pages": [{
  65. "path": "aboutus",
  66. "style": {
  67. "navigationBarTextStyle": "black",
  68. "navigationBarTitleText":"关于日月峡"
  69. }
  70. },{
  71. "path": "invoice",
  72. "style": {
  73. "navigationBarTextStyle": "black",
  74. "navigationBarTitleText":"申请发票"
  75. }
  76. },{
  77. "path": "Policy",
  78. "style": {
  79. "navigationBarTextStyle": "black",
  80. "navigationBarTitleText":"隐私政策"
  81. }
  82. },{
  83. "path": "Terms",
  84. "style": {
  85. "navigationBarTextStyle": "black",
  86. "navigationBarTitleText":"用户协议"
  87. }
  88. },{
  89. "path": "userEdit",
  90. "style": {
  91. "navigationBarTextStyle": "black",
  92. "navigationBarTitleText":"完善信息"
  93. }
  94. }
  95. ]
  96. },
  97. {
  98. "root": "pages/peopleList",
  99. "pages": [{
  100. "path": "peopleList",
  101. "style": {
  102. "navigationBarTextStyle": "black",
  103. "navigationBarTitleText":"出行人列表"
  104. }
  105. },{
  106. "path": "addPeople",
  107. "style": {
  108. "navigationBarTextStyle": "black",
  109. "navigationBarTitleText":"添加出行人"
  110. }
  111. }
  112. ]
  113. },
  114. {
  115. "root": "pages/travel",
  116. "pages": [{
  117. "path": "poster",
  118. "style": {
  119. "navigationBarTextStyle": "black",
  120. "navigationBarTitleText":"生成海报"
  121. }
  122. },{
  123. "path": "travelDetails",
  124. "style": {
  125. "navigationBarTextStyle": "black",
  126. "navigationBarTitleText":"套餐详情"
  127. }
  128. },{
  129. "path": "travelPeople",
  130. "style": {
  131. "navigationBarTextStyle": "black",
  132. "navigationBarTitleText":"添加出行人"
  133. }
  134. },{
  135. "path": "submitOrder",
  136. "style": {
  137. "navigationBarTextStyle": "black",
  138. "navigationBarTitleText":"提交订单"
  139. }
  140. },{
  141. "path": "contract",
  142. "style": {
  143. "navigationBarTextStyle": "black",
  144. "navigationBarTitleText":"合同"
  145. }
  146. }
  147. ]
  148. },
  149. {
  150. "root": "pages/order",
  151. "pages": [{
  152. "path": "order",
  153. "style": {
  154. "navigationBarTextStyle": "black",
  155. "navigationBarTitleText":"订单列表"
  156. }
  157. },{
  158. "path": "guide",
  159. "style": {
  160. "navigationBarTextStyle": "black",
  161. "navigationBarTitleText":"专属森林向导"
  162. }
  163. },{
  164. "path": "orderDetails",
  165. "style": {
  166. "navigationBarTextStyle": "black",
  167. "navigationBarTitleText":"订单详情"
  168. }
  169. },{
  170. "path": "orderAfterSale",
  171. "style": {
  172. "navigationBarTextStyle": "black",
  173. "navigationBarTitleText":"订单售后"
  174. }
  175. },{
  176. "path": "applyAfterSale",
  177. "style": {
  178. "navigationBarTextStyle": "black",
  179. "navigationBarTitleText":"申请退款"
  180. }
  181. }
  182. ]
  183. },
  184. {
  185. "root": "pages/invoice",
  186. "pages": [{
  187. "path": "invoiceList",
  188. "style": {
  189. "navigationBarTextStyle": "black",
  190. "navigationBarTitleText":"开票"
  191. }
  192. },{
  193. "path": "invoiceAdmin",
  194. "style": {
  195. "navigationBarTextStyle": "black",
  196. "navigationBarTitleText":"抬头管理"
  197. }
  198. },{
  199. "path": "invoiceHistory",
  200. "style": {
  201. "navigationBarTextStyle": "black",
  202. "navigationBarTitleText":"开票历史"
  203. }
  204. },{
  205. "path": "invoiceEndit",
  206. "style": {
  207. "navigationBarTextStyle": "black",
  208. "navigationBarTitleText":"编辑抬头"
  209. }
  210. },{
  211. "path": "applyInvoice",
  212. "style": {
  213. "navigationBarTextStyle": "black",
  214. "navigationBarTitleText":"申请发票"
  215. }
  216. }
  217. ]
  218. }
  219. ],
  220. "globalStyle": {
  221. "navigationBarTextStyle": "black",
  222. "navigationBarBackgroundColor": "#FFFFFF",
  223. "backgroundColor": "#FFFFFF"
  224. },
  225. "tabBar": {
  226. "color": "#C1C1C1",
  227. "selectedColor": "#1E9F6A",
  228. "backgroundColor": "#FFF",
  229. "borderStyle": "black",
  230. "list": [
  231. {
  232. "pagePath": "pages/index/index",
  233. "text": "首页",
  234. "iconPath": "static/tabbaricon/首页.png",
  235. "selectedIconPath": "static/tabbaricon/首页selected@2x.png"
  236. },
  237. {
  238. "pagePath": "pages/travel",
  239. "text": "旅行",
  240. "iconPath": "static/tabbaricon/森林康养.png",
  241. "selectedIconPath": "static/tabbaricon/森林康养@2x.png"
  242. },
  243. {
  244. "pagePath": "pages/userCenter",
  245. "text": "我的",
  246. "iconPath": "static/tabbaricon/我的@2x.png",
  247. "selectedIconPath": "static/tabbaricon/我的.png"
  248. }
  249. ]
  250. }
  251. }