pages.json 6.5 KB

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