pages.json 7.0 KB

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