pages.json 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362
  1. {
  2. // 页面配置
  3. "pages": [{
  4. "path": "pages/index/index",
  5. "style": {
  6. "navigationBarTitleText": "颜选美学",
  7. "enablePullDownRefresh": false
  8. }
  9. }, {
  10. "path": "pages/tabBar/home/home",
  11. "style": {
  12. "navigationBarTitleText": "颜选美学",
  13. "enablePullDownRefresh": true,
  14. "backgroundColor": "#F952B7",
  15. "navigationBarBackgroundColor": "#F952B7",
  16. "navigationBarTextStyle": "white"
  17. }
  18. }, {
  19. "path": "pages/tabBar/category/category",
  20. "style": {
  21. "navigationBarTitleText": "商品分类",
  22. "enablePullDownRefresh": false
  23. }
  24. }, {
  25. "path": "pages/tabBar/cart/cart",
  26. "style": {
  27. "navigationBarTitleText": "购物车",
  28. "enablePullDownRefresh": true
  29. }
  30. }, {
  31. "path": "pages/tabBar/user/user",
  32. "style": {
  33. "navigationBarTitleText": "个人中心",
  34. "enablePullDownRefresh": true
  35. }
  36. }, {
  37. "path": "pages/authorize/login-auth",
  38. "style": {
  39. "navigationBarTitleText": "登录成功",
  40. "enablePullDownRefresh": false
  41. }
  42. }, {
  43. "path": "pages/authorize/login-custom",
  44. "style": {
  45. "navigationBarTitleText": "登录",
  46. "enablePullDownRefresh": false
  47. }
  48. } ,{
  49. "path" : "pages/tabBar/notice/notice",
  50. "style" :
  51. {
  52. "navigationBarTitleText": "消息通知",
  53. "enablePullDownRefresh": true
  54. // "navigationStyle": "custom"
  55. }
  56. }
  57. ],
  58. // 分包加载配置
  59. "subPackages": [
  60. // 活动专区
  61. {
  62. "root": "pages/views/activity",
  63. "pages": [{
  64. "path": "activity-area",
  65. "style": {
  66. "navigationBarTitleText": "活动专区",
  67. "enablePullDownRefresh": false
  68. }
  69. }, {
  70. "path": "activity-detail",
  71. "style": {
  72. "navigationBarTitleText": "活动详情",
  73. "enablePullDownRefresh": false
  74. }
  75. }]
  76. },
  77. // 收货地址
  78. {
  79. "root": "pages/views/address",
  80. "pages": [{
  81. "path": "address-create",
  82. "style": {
  83. "navigationBarTitleText": "添加新地址",
  84. "enablePullDownRefresh": false
  85. }
  86. }, {
  87. "path": "address-list",
  88. "style": {
  89. "navigationBarTitleText": "地址列表",
  90. "enablePullDownRefresh": false
  91. }
  92. }]
  93. },
  94. // 购物车
  95. {
  96. "root": "pages/views/cart",
  97. "pages": [{
  98. "path": "cart",
  99. "style": {
  100. "navigationBarTitleText": "购物车",
  101. "enablePullDownRefresh": false,
  102. "navigationStyle": "custom"
  103. }
  104. }]
  105. },
  106. // 优惠券
  107. {
  108. "root": "pages/views/coupon",
  109. "pages": [{
  110. "path": "coupon-user",
  111. "style": {
  112. "navigationBarTitleText": "优惠券",
  113. "enablePullDownRefresh": false
  114. }
  115. }, {
  116. "path": "coupon-receive",
  117. "style": {
  118. "navigationBarTitleText": "领券中心",
  119. "enablePullDownRefresh": false
  120. }
  121. }, {
  122. "path": "coupon-description",
  123. "style": {
  124. "navigationBarTitleText": "优惠券说明",
  125. "enablePullDownRefresh": false
  126. }
  127. }]
  128. },
  129. // 商品
  130. {
  131. "root": "pages/views/goods",
  132. "pages": [{
  133. "path": "goods-list",
  134. "style": {
  135. "navigationBarTitleText": "商品列表",
  136. "enablePullDownRefresh": false
  137. }
  138. }, {
  139. "path": "goods-coupon-list",
  140. "style": {
  141. "navigationBarTitleText": "商品列表",
  142. "enablePullDownRefresh": false
  143. }
  144. }, {
  145. "path": "goods-floor",
  146. "style": {
  147. "navigationBarTitleText": "商品列表",
  148. "enablePullDownRefresh": false
  149. }
  150. }, {
  151. "path": "goods-search",
  152. "style": {
  153. "navigationBarTitleText": "搜索",
  154. "enablePullDownRefresh": false
  155. }
  156. }, {
  157. "path": "goods-detail",
  158. "style": {
  159. "navigationBarTitleText": "商品详情",
  160. "enablePullDownRefresh": false
  161. }
  162. }]
  163. },
  164. // 订单
  165. {
  166. "root": "pages/views/order",
  167. "pages": [{
  168. "path": "order-create",
  169. "style": {
  170. "navigationBarTitleText": "创建订单",
  171. "enablePullDownRefresh": false
  172. }
  173. }, {
  174. "path": "order-detail",
  175. "style": {
  176. "navigationBarTitleText": "订单详情",
  177. "enablePullDownRefresh": false
  178. }
  179. }, {
  180. "path": "order-pay",
  181. "style": {
  182. "navigationBarTitleText": "订单支付",
  183. "enablePullDownRefresh": false
  184. }
  185. }, {
  186. "path": "order-list",
  187. "style": {
  188. "navigationBarTitleText": "订单列表",
  189. "enablePullDownRefresh": false,
  190. "navigationStyle": "custom"
  191. }
  192. }, {
  193. "path": "order-search",
  194. "style": {
  195. "navigationBarTitleText": "订单搜索",
  196. "enablePullDownRefresh": false
  197. }
  198. }, {
  199. "path": "order-logistics",
  200. "style": {
  201. "navigationBarTitleText": "物流信息",
  202. "enablePullDownRefresh": false
  203. }
  204. }, {
  205. "path": "pay-success",
  206. "style": {
  207. "navigationBarTitleText": "支付成功",
  208. "enablePullDownRefresh": false
  209. }
  210. }, {
  211. "path": "pay-faild",
  212. "style": {
  213. "navigationBarTitleText": "支付失败",
  214. "enablePullDownRefresh": false
  215. }
  216. }]
  217. },
  218. // 拼单(分享购买)
  219. {
  220. "root": "pages/views/share-buy",
  221. "pages": [{
  222. "path": "share-buy-entry",
  223. "style": {
  224. "navigationBarTitleText": "拼单",
  225. "enablePullDownRefresh": false
  226. }
  227. }, {
  228. "path": "share-buy-detail",
  229. "style": {
  230. "navigationBarTitleText": "拼单详情",
  231. "enablePullDownRefresh": false
  232. }
  233. }, {
  234. "path": "share-buy-success",
  235. "style": {
  236. "navigationBarTitleText": "拼单成功",
  237. "enablePullDownRefresh": false
  238. }
  239. }]
  240. },
  241. // 其它页面
  242. {
  243. "root": "pages/views/others",
  244. "pages": [{
  245. "path": "join-us",
  246. "style": {
  247. "navigationBarTitleText": "欢迎加入颜选美学",
  248. "enablePullDownRefresh": false
  249. }
  250. }, {
  251. "path": "web-view",
  252. "style": {
  253. "navigationBarTitleText": "颜选美学",
  254. "enablePullDownRefresh": false
  255. }
  256. }, {
  257. "path": "image-view",
  258. "style": {
  259. "navigationBarTitleText": "颜选美学",
  260. "enablePullDownRefresh": false
  261. }
  262. }]
  263. }, {
  264. "root": "pages/notice/",
  265. "pages": [
  266. {
  267. "path": "club/notice-order",
  268. "style": {
  269. "navigationBarTitleText": "交易物流",
  270. "enablePullDownRefresh": true
  271. }
  272. },
  273. {
  274. "path": "club/notice-users",
  275. "style": {
  276. "navigationBarTitleText": "账户通知",
  277. "enablePullDownRefresh": true
  278. }
  279. },
  280. {
  281. "path": "club/notice-server",
  282. "style": {
  283. "navigationBarTitleText": "服务通知",
  284. "enablePullDownRefresh": true
  285. }
  286. },
  287. {
  288. "path": "club/notice-coupon",
  289. "style": {
  290. "navigationBarTitleText": "优惠促销",
  291. "enablePullDownRefresh": true
  292. }
  293. }
  294. ]
  295. }
  296. ],
  297. // 全局主题配置
  298. "globalStyle": {
  299. "navigationBarTextStyle": "black",
  300. "navigationBarTitleText": "颜选美学",
  301. "navigationBarBackgroundColor": "#FFFFFF",
  302. "backgroundColor": "#FFFFFF"
  303. },
  304. // 底部tabbar配置
  305. "tabBar": {
  306. "height": "80",
  307. "color": "#999999",
  308. "selectedColor": "#ff457b",
  309. "borderStyle": "black",
  310. "backgroundColor": "#ffffff",
  311. "list": [{
  312. "pagePath": "pages/tabBar/home/home",
  313. "iconPath": "static/tabBar/icon-index@2x.png",
  314. "selectedIconPath": "static/tabBar/icon-index-active@2x.png",
  315. "text": "商城"
  316. },
  317. {
  318. "pagePath": "pages/tabBar/category/category",
  319. "iconPath": "static/tabBar/icon-category@2x.png",
  320. "selectedIconPath": "static/tabBar/icon-category-active@2x.png",
  321. "text": "分类"
  322. },
  323. {
  324. "pagePath": "pages/tabBar/notice/notice",
  325. "iconPath": "static/tabBar/notice.png",
  326. "selectedIconPath": "static/tabBar/notice_active.png",
  327. "text": "消息"
  328. },
  329. {
  330. "pagePath": "pages/tabBar/cart/cart",
  331. "iconPath": "static/tabBar/icon-cart@2x.png",
  332. "selectedIconPath": "static/tabBar/icon-cart-active@2x.png",
  333. "text": "购物车"
  334. },
  335. {
  336. "pagePath": "pages/tabBar/user/user",
  337. "iconPath": "static/tabBar/icon-user@2x.png",
  338. "selectedIconPath": "static/tabBar/icon-user-active@2x.png",
  339. "text": "我的"
  340. }
  341. ]
  342. },
  343. // 组件自动引入规则
  344. "easycom": {
  345. "autoscan": true,
  346. "custom": {
  347. "tui-(.*)": "@/components/thorui/tui-$1/tui-$1.vue",
  348. "cm-(.*)": "@/components/views/cm-$1/cm-$1.vue",
  349. "order-(.*)": "@/pages/views/order/components/order-$1/order-$1.vue",
  350. "goods-(.*)": "@/pages/views/goods/components/goods-$1/goods-$1.vue",
  351. "coupon-(.*)": "@/pages/views/coupon/components/coupon-$1/coupon-$1.vue",
  352. "share-buy-(.*)": "@/pages/views/share-buy/components/share-buy-$1/share-buy-$1.vue"
  353. }
  354. }
  355. }