pages.json 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342
  1. {
  2. "easycom": {
  3. "^u-(.*)": "@/uview-ui/components/u-$1/u-$1.vue"
  4. },
  5. // 主包
  6. "pages": [
  7. //首页
  8. {
  9. "path": "pages/home/index",
  10. "style": {
  11. "navigationBarTitleText": "书嗨",
  12. "navigationStyle": "custom"
  13. }
  14. },
  15. // 商城
  16. {
  17. "path": "pages/mall/index",
  18. "style": {
  19. "navigationBarTitleText": "书嗨",
  20. "enablePullDownRefresh": true // 开启下拉刷新
  21. }
  22. },
  23. // 购物车页
  24. {
  25. "path": "pages/mall/shopping-cart",
  26. "style": {
  27. "navigationBarTitleText": "购物车",
  28. "enablePullDownRefresh": true // 开启下拉刷新
  29. }
  30. },
  31. // 分类页
  32. {
  33. "path": "pages/mall/classify",
  34. "style": {
  35. "navigationBarTitleText": "分类"
  36. // "enablePullDownRefresh": true // 开启下拉刷新
  37. }
  38. },
  39. // 我的
  40. {
  41. "path": "pages/mine/index",
  42. "style": {
  43. "navigationBarTitleText": "我的",
  44. "navigationBarBackgroundColor": "#38C148",
  45. "navigationBarTextStyle": "white"
  46. }
  47. },
  48. // 通用搜索页
  49. {
  50. "path": "pages/search",
  51. "style": {
  52. "navigationBarTitleText": "搜索商品"
  53. }
  54. },
  55. // 搜索结果页
  56. {
  57. "path": "pages/search-result",
  58. "style": {
  59. "navigationBarTitleText": ""
  60. }
  61. },
  62. // 登录页
  63. {
  64. "path": "pages/login/index",
  65. "style": {
  66. "navigationBarTitleText": "登录"
  67. }
  68. },
  69. // 欢迎页,不需要时放在最后
  70. {
  71. "path": "pages/start-page"
  72. }
  73. ],
  74. // 副包
  75. "subPackages": [
  76. {
  77. // 电商副包
  78. "root": "pages-mall",
  79. "pages": [
  80. // 专区页面
  81. {
  82. "path": "pages/zone/zone",
  83. "style": {
  84. "navigationBarTitleText": "专区",
  85. "enablePullDownRefresh": true // 开启下拉刷新
  86. }
  87. },
  88. // 商品详情
  89. {
  90. "path": "pages/goods/detail",
  91. "style": {
  92. "navigationBarTitleText": "商品详情"
  93. // "enablePullDownRefresh": true // 开启下拉刷新
  94. }
  95. },
  96. // 提交订单
  97. {
  98. "path": "pages/order/submit",
  99. "style": {
  100. "navigationBarTitleText": "提交订单"
  101. }
  102. },
  103. // 支付页
  104. {
  105. "path": "pages/order/pay",
  106. "style": {
  107. "navigationBarTitleText": "确认支付"
  108. }
  109. },
  110. // 支付结果页
  111. {
  112. "path": "pages/order/pay-result",
  113. "style": {
  114. "navigationBarTitleText": "支付成功"
  115. }
  116. },
  117. // 订单列表页
  118. {
  119. "path": "pages/order/list",
  120. "style": {
  121. "navigationBarTitleText": "我的订单",
  122. "enablePullDownRefresh": true // 开启下拉刷新
  123. }
  124. },
  125. // 订单详情页
  126. {
  127. "path": "pages/order/detail",
  128. "style": {
  129. "navigationBarTitleText": "订单详情"
  130. }
  131. },
  132. // 售后列表
  133. {
  134. "path": "pages/after-sales/list",
  135. "style": {
  136. "navigationBarTitleText": "我的售后"
  137. }
  138. },
  139. // 申请售后
  140. {
  141. "path": "pages/after-sales/apply",
  142. "style": {
  143. "navigationBarTitleText": "申请售后"
  144. }
  145. },
  146. // 售后状态
  147. {
  148. "path": "pages/after-sales/apply-status",
  149. "style": {
  150. "navigationBarTitleText": "售后详情"
  151. }
  152. },
  153. // 售后状态
  154. {
  155. "path": "pages/after-sales/success",
  156. "style": {
  157. "navigationBarTitleText": "售后"
  158. }
  159. },
  160. // 退款详情
  161. {
  162. "path": "pages/after-sales/back",
  163. "style": {
  164. "navigationBarTitleText": "退款详情"
  165. }
  166. },
  167. // 物流详情
  168. {
  169. "path": "pages/order/express",
  170. "style": {
  171. "navigationBarTitleText": "物流详情"
  172. }
  173. }
  174. ]
  175. },
  176. {
  177. // 个人中心副包
  178. "root": "pages-mine",
  179. "pages": [
  180. // 收获地址
  181. {
  182. "path": "pages/address/list",
  183. "style": {
  184. "navigationBarTitleText": "收货地址"
  185. }
  186. },
  187. // 收获地址新增/修改
  188. {
  189. "path": "pages/address/add-or-update",
  190. "style": {
  191. "navigationBarTitleText": "地址更新"
  192. }
  193. },
  194. // 设置
  195. {
  196. "path": "pages/setting",
  197. "style": {
  198. "navigationBarTitleText": "设置"
  199. }
  200. },
  201. {
  202. "path": "pages/feedback",
  203. "style": {
  204. "navigationBarTitleText": "投诉/建议"
  205. }
  206. },
  207. {
  208. "path": "pages/order-page",
  209. "style": {
  210. "navigationBarTitleText": "卖书订单"
  211. }
  212. },
  213. {
  214. "path": "pages/order-detail",
  215. "style": {
  216. "navigationBarTitleText": "卖书订单详情"
  217. }
  218. },
  219. {
  220. "path": "pages/apply-return",
  221. "style": {
  222. "navigationBarTitleText": "申请退回"
  223. }
  224. },
  225. {
  226. "path": "pages/apply",
  227. "style": {
  228. "navigationBarTitleText": "申请退回"
  229. }
  230. },
  231. {
  232. "path": "pages/complaint",
  233. "style": {
  234. "navigationBarTitleText": "投诉上报"
  235. }
  236. },
  237. {
  238. "path": "pages/notice",
  239. "style": {
  240. "navigationBarTitleText": "消息通知"
  241. }
  242. },
  243. {
  244. "path": "pages/wallet",
  245. "style": {
  246. "navigationBarTitleText": "我的钱包"
  247. }
  248. },
  249. {
  250. "path": "pages/withdraw-detail",
  251. "style": {
  252. "navigationBarTitleText": "提现明细"
  253. }
  254. },
  255. {
  256. "path": "pages/withdraw",
  257. "style": {
  258. "navigationBarTitleText": "提现"
  259. }
  260. }
  261. ]
  262. },
  263. {
  264. "root": "pages-pub",
  265. "pages": [
  266. {
  267. "path": "richTextPage",
  268. "style": {
  269. "navigationBarTitleText": "文章详情"
  270. }
  271. }
  272. ]
  273. },
  274. {
  275. "root": "pages-home",
  276. "pages": [
  277. {
  278. "path": "pages/scaned-book",
  279. "style": {
  280. "navigationBarTitleText": "扫过的书"
  281. }
  282. },
  283. {
  284. "path": "pages/book-order",
  285. "style": {
  286. "navigationBarTitleText": "卖书订单明细"
  287. }
  288. },
  289. {
  290. "path": "pages/order-success",
  291. "style": {
  292. "navigationBarTitleText": "卖书订单提交成功"
  293. }
  294. }
  295. ]
  296. }
  297. ],
  298. // 分包预载配置
  299. "preloadRule": {},
  300. // 全局配置
  301. "globalStyle": {
  302. // 全局自定义导航栏
  303. "navigationBarTitleText": "书嗨",
  304. "navigationBarBackgroundColor": "#fff",
  305. "navigationBarTextStyle": "black",
  306. // "navigationStyle": "custom",
  307. "backgroundColor": "#fff" //下拉出口背景色
  308. },
  309. // tabbar配置
  310. "tabBar": {
  311. "color": "#999",
  312. "selectedColor": "#22ac38",
  313. "list": [
  314. {
  315. "text": "首页",
  316. "pagePath": "pages/home/index",
  317. "iconPath": "/static/tabbar/home.png",
  318. "selectedIconPath": "/static/tabbar/home2.png"
  319. },
  320. {
  321. "text": "分类",
  322. "pagePath": "pages/mall/classify",
  323. "iconPath": "/static/tabbar/fenlei.png",
  324. "selectedIconPath": "/static/tabbar/fenlei2.png"
  325. },
  326. {
  327. "text": "购物车",
  328. "pagePath": "pages/mall/shopping-cart",
  329. "iconPath": "/static/tabbar/cart.png",
  330. "selectedIconPath": "/static/tabbar/cart2.png"
  331. },
  332. {
  333. "text": "我的",
  334. "pagePath": "pages/mine/index",
  335. "iconPath": "/static/tabbar/person.png",
  336. "selectedIconPath": "/static/tabbar/person2.png"
  337. }
  338. ]
  339. },
  340. // 启动模式配置
  341. "condition": {}
  342. }