pages.json 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363
  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. "navigationBarTitleText": "母婴界严选"
  12. }
  13. },
  14. {
  15. "path": "pages/index/share",
  16. "style": {
  17. "navigationBarTitleText": "邀好友赚佣金"
  18. }
  19. },
  20. {
  21. "path": "pages/mall/mall",
  22. "style": {
  23. "navigationStyle": "custom",
  24. "navigationBarTitleText": "商城"
  25. }
  26. },
  27. {
  28. "path": "pages/user/user",
  29. "style": {
  30. "navigationStyle": "custom",
  31. "navigationBarTitleText": "个人中心"
  32. }
  33. }
  34. ],
  35. "subPackages": [{
  36. "root": "pages/order",
  37. "name": "order",
  38. "pages": [{
  39. "path": "order",
  40. "style": {
  41. "navigationBarTitleText": "我的订单",
  42. "app-plus": {
  43. "bounce": "none"
  44. }
  45. }
  46. },
  47. {
  48. "path": "orderDetail",
  49. "style": {
  50. "navigationBarTitleText": "订单详情",
  51. "app-plus": {
  52. "bounce": "none"
  53. }
  54. }
  55. },
  56. {
  57. "path": "evaluate",
  58. "style": {
  59. "navigationBarTitleText": "评论"
  60. }
  61. },
  62. {
  63. "path": "orderRefund",
  64. "style": {
  65. "navigationBarTitleText": "申请退款"
  66. }
  67. },
  68. {
  69. "path": "createOrder",
  70. "style": {
  71. "navigationBarTitleText": "创建订单"
  72. }
  73. }
  74. ]
  75. },
  76. {
  77. "root": "pages/shop",
  78. "name": "shop",
  79. "pages": [{
  80. "path": "accessory",
  81. "style": {
  82. "navigationBarTitleText": "配件"
  83. }
  84. },
  85. {
  86. "path": "rent",
  87. "style": {
  88. "navigationBarTitleText": "租电"
  89. }
  90. },
  91. {
  92. "path": "attestation",
  93. "style": {
  94. "navigationBarTitleText": "身份认证"
  95. }
  96. }
  97. ]
  98. }, {
  99. "root": "pages/user_home",
  100. "name": "user",
  101. "pages": [{
  102. "path": "realName/realNameAuthentication",
  103. "style": {
  104. "navigationBarTitleText": "实名认证"
  105. }
  106. },
  107. {
  108. "path": "realName/cropper",
  109. "style": {
  110. "navigationBarTitleText": "图片裁切"
  111. }
  112. },
  113. {
  114. "path": "myteam",
  115. "style": {
  116. "navigationBarTitleText": "我的团队"
  117. }
  118. },
  119. {
  120. "path": "award/award",
  121. "style": {
  122. "navigationStyle": "custom",
  123. "navigationBarTitleText": "佣金"
  124. }
  125. },
  126. {
  127. "path": "award/withdrawal",
  128. "style": {
  129. "navigationBarTitleText": "提现"
  130. }
  131. },
  132. {
  133. "path": "award/changeWallet",
  134. "style": {
  135. "navigationBarTitleText": "卡券转换"
  136. }
  137. },
  138. {
  139. "path": "money/pay",
  140. "style": {
  141. "navigationBarTitleText": "支付",
  142. "navigationBarBackgroundColor": "#0BBB62",
  143. "navigationBarTextStyle": "white"
  144. }
  145. },
  146. {
  147. "path": "money/paySuccess",
  148. "style": {
  149. "navigationBarTitleText": "支付成功"
  150. }
  151. },
  152. {
  153. "path": "money/wallet",
  154. "style": {
  155. "navigationBarTitleText": "我的卡券",
  156. "navigationBarBackgroundColor": "#6DD6B8",
  157. "navigationBarTextStyle": "white"
  158. }
  159. },
  160. {
  161. "path": "money/walletList",
  162. "style": {
  163. "navigationBarTitleText": "卡券明细"
  164. }
  165. },
  166. {
  167. "path": "award/account",
  168. "style": {
  169. "navigationBarTitleText": "提现账号"
  170. }
  171. },
  172. {
  173. "path": "money/recharge",
  174. "style": {
  175. "navigationBarTitleText": "充值",
  176. "navigationBarBackgroundColor": "#6DD6B8",
  177. "navigationBarTextStyle": "white"
  178. }
  179. },
  180. {
  181. "path": "shareQrCode",
  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. ],
  323. "globalStyle": {
  324. "navigationBarTextStyle": "black",
  325. "navigationBarTitleText": "uni-app",
  326. "navigationBarBackgroundColor": "#FFFFFF",
  327. "backgroundColor": "#f8f8f8"
  328. },
  329. "tabBar": {
  330. "color": "#666666",
  331. "selectedColor": "#6DD6B8",
  332. "borderStyle": "black",
  333. "backgroundColor": "#ffffff",
  334. "list": [{
  335. "pagePath": "pages/index/index",
  336. "iconPath": "static/tabBar/tab-home.png",
  337. "selectedIconPath": "static/tabBar/tab-home-current.png",
  338. "text": "首页"
  339. },
  340. {
  341. "pagePath": "pages/mall/mall",
  342. "iconPath": "static/tabBar/tab-cart.png",
  343. "selectedIconPath": "static/tabBar/tab-cart-current.png",
  344. "text": "商城"
  345. },
  346. {
  347. "pagePath": "pages/user/user",
  348. "iconPath": "static/tabBar/tab-my.png",
  349. "selectedIconPath": "static/tabBar/tab-my-current.png",
  350. "text": "我的"
  351. }
  352. ]
  353. },
  354. "condition": { //模式配置,仅开发期间生效
  355. "current": 0, //当前激活的模式(list 的索引项)
  356. "list": [{
  357. "name": "", //模式名称
  358. "path": "", //启动页面,必选
  359. "query": "" //启动参数,在页面的onLoad函数里面得到
  360. }]
  361. }
  362. }