pages.json 5.6 KB

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