pages.json 6.7 KB

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