pages.json 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441
  1. {
  2. "pages": [{
  3. "path": "pages/home/index",
  4. "style": {
  5. // #ifndef MP
  6. "navigationStyle": "custom",
  7. "app-plus": {
  8. "titleNView": false
  9. },
  10. // #endif
  11. "navigationBarTitleText": "装修"
  12. }
  13. },
  14. {
  15. "path": "pages/home/user",
  16. "style": {
  17. "navigationStyle": "custom",
  18. "navigationBarTitleText": "个人中心"
  19. }
  20. },
  21. {
  22. "path": "pages/home/category",
  23. "style": {
  24. // #ifdef APP-PLUS
  25. "navigationStyle": "custom",
  26. // #endif
  27. // #ifndef MP
  28. "app-plus": {
  29. "bounce": "none",
  30. "titleNView": {
  31. "searchInput": {
  32. "backgroundColor": "rgba(231, 231, 231,.7)",
  33. "borderRadius": "16px",
  34. "placeholder": "商品搜索",
  35. "disabled": true,
  36. "placeholderColor": "#606266",
  37. "align": "left"
  38. }
  39. }
  40. },
  41. // #endif
  42. "navigationBarTitleText": "分类"
  43. }
  44. },
  45. {
  46. "path": "pages/home/cart",
  47. "style": {
  48. // #ifndef MP-WEIXIN
  49. "navigationStyle": "custom",
  50. // #endif
  51. "navigationBarTitleText": "购物车"
  52. }
  53. }
  54. ],
  55. "subPackages": [{ // 模块分包
  56. "root": "pages/user",
  57. "name": "user",
  58. "pages": [
  59. {
  60. "path": "shareQrCode",
  61. "style": {
  62. "navigationBarTitleText": "邀请好友"
  63. }
  64. },
  65. {
  66. "path": "realName/realNameAuthentication",
  67. "style": {
  68. "navigationBarTitleText": "实名认证"
  69. }
  70. },
  71. {
  72. "path": "realName/cropper",
  73. "style": {
  74. "navigationBarTitleText": "图片裁切"
  75. }
  76. },
  77. {
  78. "path": "myteam",
  79. "style": {
  80. "navigationBarTitleText": "我的团队"
  81. }
  82. },
  83. {
  84. "path": "award/award",
  85. "style": {
  86. "navigationBarTitleText": "佣金",
  87. "navigationBarBackgroundColor": "#f6ab0b",
  88. "navigationBarTextStyle": "white"
  89. }
  90. },
  91. {
  92. "path": "award/awardList",
  93. "style": {
  94. "navigationBarTitleText": "佣金明细"
  95. }
  96. },
  97. {
  98. "path": "award/withdrawal",
  99. "style": {
  100. "navigationBarTitleText": "提现"
  101. }
  102. },
  103. {
  104. "path": "money/pay",
  105. "style": {
  106. "navigationBarTitleText": "支付",
  107. "navigationBarBackgroundColor": "#0BBB62",
  108. "navigationBarTextStyle": "white"
  109. }
  110. },
  111. {
  112. "path": "money/paySuccess",
  113. "style": {
  114. "navigationBarTitleText": "支付成功"
  115. }
  116. },
  117. {
  118. "path": "money/wallet",
  119. "style": {
  120. "navigationBarTitleText": "我的钱包",
  121. "navigationBarBackgroundColor": "#0BBB62",
  122. "navigationBarTextStyle": "white"
  123. }
  124. },
  125. {
  126. "path": "money/walletList",
  127. "style": {
  128. "navigationBarTitleText": "余额明细"
  129. }
  130. },
  131. {
  132. "path": "award/account",
  133. "style": {
  134. "navigationBarTitleText": "提现账号"
  135. }
  136. },
  137. {
  138. "path": "money/recharge",
  139. "style": {
  140. "navigationBarTitleText": "充值",
  141. "navigationBarBackgroundColor": "#0BBB62",
  142. "navigationBarTextStyle": "white"
  143. }
  144. },
  145. // {
  146. // "path": "favorites",
  147. // "style": {
  148. // "navigationBarTitleText": "收藏夹"
  149. // }
  150. // }, {
  151. // "path": "coupon",
  152. // "style": {
  153. // "navigationBarTitleText": "我的卡卷"
  154. // }
  155. // },
  156. {
  157. "path": "scoreAccumulate",
  158. "style": {
  159. "navigationBarTitleText": "积分明细"
  160. }
  161. }
  162. ]
  163. }, {
  164. "root": "pages/index",
  165. "name": "index",
  166. "pages": [{
  167. "path": "notice",
  168. "style": {
  169. "navigationBarTitleText": "消息中心"
  170. }
  171. },
  172. {
  173. "path": "share",
  174. "style": {
  175. "navigationBarTitleText": "邀好友赚佣金"
  176. }
  177. },
  178. // #ifndef APP
  179. {
  180. "path": "follow",
  181. "style": {
  182. "navigationBarTitleText": "关注公众号"
  183. }
  184. },
  185. // #endif
  186. {
  187. "path": "noticeDetail",
  188. "style": {
  189. "navigationBarTitleText": "消息",
  190. "app-plus": {
  191. "titleNView": {
  192. "type": "transparent"
  193. }
  194. }
  195. }
  196. },
  197. {
  198. "path": "shopTab",
  199. "style": {
  200. // "enablePullDownRefresh": true,
  201. "navigationStyle": "custom",
  202. "navigationBarTitleText": "门店查询",
  203. "app-plus": {
  204. "titleNView": false
  205. }
  206. }
  207. }
  208. ]
  209. }, {
  210. "root": "pages/public",
  211. "name": "public",
  212. "pages": [{
  213. "path": "redirect",
  214. "style": {
  215. "navigationBarTitleText": "微信登录跳转页面",
  216. "app-plus": {
  217. "titleNView": false
  218. }
  219. }
  220. },
  221. // #ifdef H5
  222. {
  223. "path": "domApp",
  224. "style": {
  225. "navigationBarTitleText": "app下载",
  226. "app-plus": {
  227. "titleNView": false
  228. }
  229. }
  230. },
  231. // #endif
  232. // #ifndef MP
  233. {
  234. "path": "workwork",
  235. "style": {
  236. "navigationBarTitleText": "关于我们"
  237. }
  238. },
  239. // #endif
  240. {
  241. "path": "register",
  242. "style": {
  243. "navigationBarTitleText": "注册",
  244. "app-plus": {
  245. "titleNView": false
  246. }
  247. }
  248. },
  249. {
  250. "path": "phoneLogin",
  251. "style": {
  252. "navigationBarTitleText": "手机登录",
  253. "app-plus": {
  254. "titleNView": false
  255. }
  256. }
  257. },
  258. {
  259. "path": "login",
  260. "style": {
  261. "navigationBarTitleText": "登录",
  262. "app-plus": {
  263. "titleNView": false
  264. }
  265. }
  266. },
  267. // #ifdef MP || H5
  268. {
  269. "path": "wxLogin",
  270. "style": {
  271. "navigationBarTitleText": "微信登录",
  272. "app-plus": {
  273. "titleNView": {
  274. "type": "transparent"
  275. }
  276. }
  277. }
  278. },
  279. // #endif
  280. {
  281. "path": "forget",
  282. "style": {
  283. "navigationBarTitleText": "忘记密码",
  284. "app-plus": {
  285. "titleNView": false
  286. }
  287. }
  288. },
  289. {
  290. "path": "userAgreement",
  291. "style": {
  292. "navigationBarTitleText": "用户协议"
  293. }
  294. },
  295. {
  296. "path": "privacyAgreement",
  297. "style": {
  298. "navigationBarTitleText": "隐私协议"
  299. }
  300. }
  301. ]
  302. },
  303. {
  304. "root": "pages/set",
  305. "name": "set",
  306. "pages": [{
  307. "path": "set",
  308. "style": {
  309. "navigationBarTitleText": "设置"
  310. }
  311. },
  312. {
  313. "path": "address",
  314. "style": {
  315. "navigationBarTitleText": "收货地址"
  316. }
  317. },
  318. {
  319. "path": "addressManage",
  320. "style": {
  321. "navigationBarTitleText": "編輯地址"
  322. }
  323. },
  324. {
  325. "path": "phone",
  326. "style": {
  327. "navigationBarTitleText": "手机认证"
  328. }
  329. },
  330. {
  331. "path": "password",
  332. "style": {
  333. "navigationBarTitleText": "修改密码"
  334. }
  335. },
  336. {
  337. "path": "userinfo",
  338. "style": {
  339. "navigationBarTitleText": "修改资料"
  340. }
  341. }]
  342. },
  343. {
  344. "root": "pages/order",
  345. "name": "order",
  346. "pages": [{
  347. "path": "order",
  348. "style": {
  349. "navigationBarTitleText": "我的订单",
  350. "app-plus": {
  351. "bounce": "none"
  352. }
  353. }
  354. },
  355. {
  356. "path": "orderAfter",
  357. "style": {
  358. "navigationBarTitleText": "售后管理"
  359. }
  360. },
  361. {
  362. "path": "orderDetail",
  363. "style": {
  364. "navigationBarTitleText": "订单详情",
  365. "app-plus": {
  366. "bounce": "none"
  367. }
  368. }
  369. },
  370. {
  371. "path": "evaluate",
  372. "style": {
  373. "navigationBarTitleText": "评论"
  374. }
  375. },
  376. {
  377. "path": "orderRefund",
  378. "style": {
  379. "navigationBarTitleText": "申请退款"
  380. }
  381. },
  382. {
  383. "path": "createOrder",
  384. "style": {
  385. "navigationBarTitleText": "创建订单"
  386. }
  387. }]
  388. },
  389. {
  390. "root": "pages/product",
  391. "name": "product",
  392. "pages": [
  393. ]
  394. }],
  395. "globalStyle": {
  396. "navigationBarTextStyle": "black",
  397. "navigationBarTitleText": "uni-app",
  398. "navigationBarBackgroundColor": "#FFFFFF",
  399. "backgroundColor": "#f8f8f8"
  400. },
  401. "tabBar": {
  402. "color": "#666666",
  403. "selectedColor": "#5DBC7C",
  404. "borderStyle": "black",
  405. "backgroundColor": "#ffffff",
  406. "list": [{
  407. "pagePath": "pages/home/index",
  408. "iconPath": "static/tabBar/tab-home.png",
  409. "selectedIconPath": "static/tabBar/tab-home-current.png",
  410. "text": "首页"
  411. },
  412. {
  413. "pagePath": "pages/home/category",
  414. "iconPath": "static/tabBar/tab-cate.png",
  415. "selectedIconPath": "static/tabBar/tab-cate-current.png",
  416. "text": "分类"
  417. },
  418. {
  419. "pagePath": "pages/home/cart",
  420. "iconPath": "static/tabBar/tab-cart.png",
  421. "selectedIconPath": "static/tabBar/tab-cart-current.png",
  422. "text": "购物车"
  423. },
  424. {
  425. "pagePath": "pages/home/user",
  426. "iconPath": "static/tabBar/tab-my.png",
  427. "selectedIconPath": "static/tabBar/tab-my-current.png",
  428. "text": "我的"
  429. }
  430. ]
  431. },
  432. "condition": { //模式配置,仅开发期间生效
  433. "current": 0, //当前激活的模式(list 的索引项)
  434. "list": [{
  435. "name": "", //模式名称
  436. "path": "", //启动页面,必选
  437. "query": "" //启动参数,在页面的onLoad函数里面得到
  438. }]
  439. }
  440. }