pages.json 6.5 KB

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