pages.json 12 KB

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