pages.json 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364
  1. {
  2. "pages": [{
  3. "path": "pages/index/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/index/share",
  16. "style": {
  17. "navigationBarTitleText": "邀好友赚佣金"
  18. }
  19. },
  20. {
  21. "path": "pages/mall/mall",
  22. "style": {
  23. "navigationStyle": "custom",
  24. "navigationBarTitleText": "商城"
  25. }
  26. },
  27. {
  28. "path": "pages/user/user",
  29. "style": {
  30. "navigationStyle": "custom",
  31. "navigationBarTitleText": "个人中心"
  32. }
  33. }
  34. ],
  35. "subPackages": [{
  36. "root": "pages/order",
  37. "name": "order",
  38. "pages": [{
  39. "path": "order",
  40. "style": {
  41. "navigationBarTitleText": "我的订单",
  42. "app-plus": {
  43. "bounce": "none"
  44. }
  45. }
  46. },
  47. {
  48. "path": "orderDetail",
  49. "style": {
  50. "navigationBarTitleText": "订单详情",
  51. "app-plus": {
  52. "bounce": "none"
  53. }
  54. }
  55. },
  56. {
  57. "path": "evaluate",
  58. "style": {
  59. "navigationBarTitleText": "评论"
  60. }
  61. },
  62. {
  63. "path": "orderRefund",
  64. "style": {
  65. "navigationBarTitleText": "申请退款"
  66. }
  67. },
  68. {
  69. "path": "createOrder",
  70. "style": {
  71. "navigationBarTitleText": "创建订单"
  72. }
  73. }
  74. ]
  75. },
  76. {
  77. "root": "pages/shop",
  78. "name": "shop",
  79. "pages": [{
  80. "path": "accessory",
  81. "style": {
  82. "navigationBarTitleText": "配件"
  83. }
  84. },
  85. {
  86. "path": "rent",
  87. "style": {
  88. "navigationBarTitleText": "租电"
  89. }
  90. },
  91. {
  92. "path": "attestation",
  93. "style": {
  94. "navigationBarTitleText": "身份认证"
  95. }
  96. }
  97. ]
  98. }, {
  99. "root": "pages/user_home",
  100. "name": "user",
  101. "pages": [{
  102. "path": "realName/realNameAuthentication",
  103. "style": {
  104. "navigationBarTitleText": "实名认证"
  105. }
  106. },
  107. {
  108. "path": "realName/cropper",
  109. "style": {
  110. "navigationBarTitleText": "图片裁切"
  111. }
  112. },
  113. {
  114. "path": "myteam",
  115. "style": {
  116. "navigationBarTitleText": "我的团队"
  117. }
  118. },
  119. {
  120. "path": "award/award",
  121. "style": {
  122. "navigationBarTitleText": "佣金",
  123. "navigationBarBackgroundColor": "#f6ab0b",
  124. "navigationBarTextStyle": "white"
  125. }
  126. },
  127. {
  128. "path": "award/awardList",
  129. "style": {
  130. "navigationBarTitleText": "佣金明细"
  131. }
  132. },
  133. {
  134. "path": "award/withdrawal",
  135. "style": {
  136. "navigationBarTitleText": "提现"
  137. }
  138. },
  139. {
  140. "path": "money/pay",
  141. "style": {
  142. "navigationBarTitleText": "支付",
  143. "navigationBarBackgroundColor": "#0BBB62",
  144. "navigationBarTextStyle": "white"
  145. }
  146. },
  147. {
  148. "path": "money/paySuccess",
  149. "style": {
  150. "navigationBarTitleText": "支付成功"
  151. }
  152. },
  153. {
  154. "path": "money/wallet",
  155. "style": {
  156. "navigationBarTitleText": "我的钱包",
  157. "navigationBarBackgroundColor": "#0BBB62",
  158. "navigationBarTextStyle": "white"
  159. }
  160. },
  161. {
  162. "path": "money/walletList",
  163. "style": {
  164. "navigationBarTitleText": "余额明细"
  165. }
  166. },
  167. {
  168. "path": "award/account",
  169. "style": {
  170. "navigationBarTitleText": "提现账号"
  171. }
  172. },
  173. {
  174. "path": "money/recharge",
  175. "style": {
  176. "navigationBarTitleText": "充值",
  177. "navigationBarBackgroundColor": "#0BBB62",
  178. "navigationBarTextStyle": "white"
  179. }
  180. },
  181. {
  182. "path": "shareQrCode",
  183. "style": {
  184. "navigationBarTitleText": "邀请好友"
  185. }
  186. }
  187. ]
  188. }, {
  189. "root": "pages/set",
  190. "name": "set",
  191. "pages": [{
  192. "path": "set",
  193. "style": {
  194. "navigationBarTitleText": "设置"
  195. }
  196. },
  197. {
  198. "path": "address",
  199. "style": {
  200. "navigationBarTitleText": "收货地址"
  201. }
  202. },
  203. {
  204. "path": "addressManage",
  205. "style": {
  206. "navigationBarTitleText": ""
  207. }
  208. },
  209. {
  210. "path": "phone",
  211. "style": {
  212. "navigationBarTitleText": "手机认证"
  213. }
  214. },
  215. {
  216. "path": "password",
  217. "style": {
  218. "navigationBarTitleText": "修改密码"
  219. }
  220. },
  221. {
  222. "path": "userinfo",
  223. "style": {
  224. "navigationBarTitleText": "修改资料"
  225. }
  226. }
  227. ]
  228. }, {
  229. "root": "pages/public",
  230. "name": "public",
  231. "pages": [
  232. // #ifdef H5
  233. {
  234. "path": "domApp",
  235. "style": {
  236. "navigationBarTitleText": "app下载",
  237. "app-plus": {
  238. "titleNView": false
  239. }
  240. }
  241. },
  242. // #endif
  243. // #ifndef MP
  244. {
  245. "path": "workwork",
  246. "style": {
  247. "navigationBarTitleText": "关于我们"
  248. }
  249. },
  250. // #endif
  251. {
  252. "path": "register",
  253. "style": {
  254. "navigationBarTitleText": "注册",
  255. "app-plus": {
  256. "titleNView": false
  257. }
  258. }
  259. },
  260. {
  261. "path": "phoneLogin",
  262. "style": {
  263. "navigationBarTitleText": "手机登录",
  264. "app-plus": {
  265. "titleNView": false
  266. }
  267. }
  268. },
  269. {
  270. "path": "login",
  271. "style": {
  272. "navigationBarTitleText": "登录",
  273. "app-plus": {
  274. "titleNView": false
  275. }
  276. }
  277. },
  278. // #ifdef MP || H5
  279. {
  280. "path": "wxLogin",
  281. "style": {
  282. "navigationBarTitleText": "微信登录",
  283. "app-plus": {
  284. "titleNView": {
  285. "type": "transparent"
  286. }
  287. }
  288. }
  289. },
  290. // #endif
  291. {
  292. "path": "forget",
  293. "style": {
  294. "navigationBarTitleText": "忘记密码",
  295. "app-plus": {
  296. "titleNView": false
  297. }
  298. }
  299. },
  300. {
  301. "path": "redirect",
  302. "style": {
  303. "navigationBarTitleText": "微信登录跳转页面",
  304. "app-plus": {
  305. "titleNView": false
  306. }
  307. }
  308. },
  309. {
  310. "path": "userAgreement",
  311. "style": {
  312. "navigationBarTitleText": "用户协议"
  313. }
  314. },
  315. {
  316. "path": "privacyAgreement",
  317. "style": {
  318. "navigationBarTitleText": "隐私协议"
  319. }
  320. }
  321. ]
  322. }
  323. ],
  324. "globalStyle": {
  325. "navigationBarTextStyle": "black",
  326. "navigationBarTitleText": "uni-app",
  327. "navigationBarBackgroundColor": "#FFFFFF",
  328. "backgroundColor": "#f8f8f8"
  329. },
  330. "tabBar": {
  331. "color": "#666666",
  332. "selectedColor": "#6DD6B8",
  333. "borderStyle": "black",
  334. "backgroundColor": "#ffffff",
  335. "list": [{
  336. "pagePath": "pages/index/index",
  337. "iconPath": "static/tabBar/tab-home.png",
  338. "selectedIconPath": "static/tabBar/tab-home-current.png",
  339. "text": "首页"
  340. },
  341. {
  342. "pagePath": "pages/mall/mall",
  343. "iconPath": "static/tabBar/tab-cart.png",
  344. "selectedIconPath": "static/tabBar/tab-cart-current.png",
  345. "text": "商城"
  346. },
  347. {
  348. "pagePath": "pages/user/user",
  349. "iconPath": "static/tabBar/tab-my.png",
  350. "selectedIconPath": "static/tabBar/tab-my-current.png",
  351. "text": "我的"
  352. }
  353. ]
  354. },
  355. "condition": { //模式配置,仅开发期间生效
  356. "current": 0, //当前激活的模式(list 的索引项)
  357. "list": [{
  358. "name": "", //模式名称
  359. "path": "", //启动页面,必选
  360. "query": "" //启动参数,在页面的onLoad函数里面得到
  361. }]
  362. }
  363. }