pages.json 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362
  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/cart/cart",
  20. // "style": {
  21. // // #ifndef MP-WEIXIN
  22. // "navigationStyle": "custom",
  23. // // #endif
  24. // "navigationBarTitleText": "购物车"
  25. // }
  26. // },
  27. {
  28. "path": "pages/userhome/user",
  29. "style": {
  30. "navigationStyle": "custom",
  31. "navigationBarTitleText": "个人中心"
  32. }
  33. }
  34. ],
  35. "subPackages": [
  36. {
  37. "root": "pages/modelData",
  38. "name": "model_index",
  39. "pages": [
  40. ]
  41. },
  42. {
  43. "root": "pages/user",
  44. "name": "user",
  45. "pages": [
  46. // {
  47. // "path": "realName/realNameAuthentication",
  48. // "style": {
  49. // "navigationBarTitleText": "实名认证"
  50. // }
  51. // },
  52. {
  53. "path": "realName/cropper",
  54. "style": {
  55. "navigationBarTitleText": "图片裁切"
  56. }
  57. },
  58. {
  59. "path": "myteam",
  60. "style": {
  61. "navigationBarTitleText": "我的团队"
  62. }
  63. },
  64. {
  65. "path": "teamph",
  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. "path": "model/phb",
  170. "style": {
  171. "navigationBarTitleText": "排行榜"
  172. }
  173. }
  174. ]
  175. }, {
  176. "root": "pages/set",
  177. "name": "set",
  178. "pages": [{
  179. "path": "set",
  180. "style": {
  181. "navigationBarTitleText": "设置"
  182. }
  183. },
  184. {
  185. "path": "address",
  186. "style": {
  187. "navigationBarTitleText": "收货地址"
  188. }
  189. },
  190. {
  191. "path": "addressManage",
  192. "style": {
  193. "navigationBarTitleText": ""
  194. }
  195. },
  196. {
  197. "path": "phone",
  198. "style": {
  199. "navigationBarTitleText": "手机认证"
  200. }
  201. },
  202. {
  203. "path": "password",
  204. "style": {
  205. "navigationBarTitleText": "修改密码"
  206. }
  207. },
  208. {
  209. "path": "userinfo",
  210. "style": {
  211. "navigationBarTitleText": "修改资料"
  212. }
  213. }
  214. ]
  215. }, {
  216. "root": "pages/public",
  217. "name": "public",
  218. "pages": [
  219. // #ifdef H5
  220. {
  221. "path": "domApp",
  222. "style": {
  223. "navigationBarTitleText": "app下载",
  224. "app-plus": {
  225. "titleNView": false
  226. }
  227. }
  228. },
  229. // #endif
  230. // #ifndef MP
  231. {
  232. "path": "workwork",
  233. "style": {
  234. "navigationBarTitleText": "关于我们"
  235. }
  236. },
  237. // #endif
  238. {
  239. "path": "register",
  240. "style": {
  241. "navigationBarTitleText": "注册",
  242. "app-plus": {
  243. "titleNView": false
  244. }
  245. }
  246. },
  247. {
  248. "path": "phoneLogin",
  249. "style": {
  250. "navigationBarTitleText": "手机登录",
  251. "app-plus": {
  252. "titleNView": false
  253. }
  254. }
  255. },
  256. {
  257. "path": "login",
  258. "style": {
  259. "navigationBarTitleText": "登录",
  260. "app-plus": {
  261. "titleNView": false
  262. }
  263. }
  264. },
  265. // #ifdef MP || H5
  266. {
  267. "path": "wxLogin",
  268. "style": {
  269. "navigationBarTitleText": "微信登录",
  270. "app-plus": {
  271. "titleNView": {
  272. "type": "transparent"
  273. }
  274. }
  275. }
  276. },
  277. // #endif
  278. {
  279. "path": "forget",
  280. "style": {
  281. "navigationBarTitleText": "忘记密码",
  282. "app-plus": {
  283. "titleNView": false
  284. }
  285. }
  286. },
  287. {
  288. "path": "redirect",
  289. "style": {
  290. "navigationBarTitleText": "微信登录跳转页面",
  291. "app-plus": {
  292. "titleNView": false
  293. }
  294. }
  295. },
  296. {
  297. "path": "userAgreement",
  298. "style": {
  299. "navigationBarTitleText": "用户协议"
  300. }
  301. },
  302. {
  303. "path": "privacyAgreement",
  304. "style": {
  305. "navigationBarTitleText": "隐私协议"
  306. }
  307. },
  308. {
  309. "path": "artDetail",
  310. "style": {
  311. "navigationBarTitleText": ""
  312. }
  313. }
  314. ]
  315. }],
  316. "globalStyle": {
  317. "navigationBarTextStyle": "black",
  318. "navigationBarTitleText": "uni-app",
  319. "navigationBarBackgroundColor": "#FFFFFF",
  320. "backgroundColor": "#f8f8f8"
  321. },
  322. "tabBar": {
  323. "color": "#666666",
  324. "selectedColor": "#F65486",
  325. "borderStyle": "black",
  326. "backgroundColor": "#ffffff",
  327. "list": [{
  328. "pagePath": "pages/index/index",
  329. "iconPath": "static/tabBar/tab-home.png",
  330. "selectedIconPath": "static/tabBar/tab-home-current.png",
  331. "text": "首页"
  332. },
  333. // {
  334. // "pagePath": "pages/category/category",
  335. // "iconPath": "static/tabBar/tab-cate.png",
  336. // "selectedIconPath": "static/tabBar/tab-cate-current.png",
  337. // "text": "分类"
  338. // },
  339. // {
  340. // "pagePath": "pages/cart/cart",
  341. // "iconPath": "static/tabBar/tab-cart.png",
  342. // "selectedIconPath": "static/tabBar/tab-cart-current.png",
  343. // "text": "购物车"
  344. // },
  345. {
  346. "pagePath": "pages/userhome/user",
  347. "iconPath": "static/tabBar/tab-my.png",
  348. "selectedIconPath": "static/tabBar/tab-my-current.png",
  349. "text": "我的"
  350. }
  351. ]
  352. },
  353. "condition": { //模式配置,仅开发期间生效
  354. "current": 0, //当前激活的模式(list 的索引项)
  355. "list": [{
  356. "name": "", //模式名称
  357. "path": "", //启动页面,必选
  358. "query": "" //启动参数,在页面的onLoad函数里面得到
  359. }]
  360. }
  361. }