pages.json 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. {
  2. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  3. {
  4. "path": "pages/index/index",
  5. "style": {
  6. "navigationBarTitleText": "",
  7. "navigationStyle": "default"
  8. }
  9. },
  10. {
  11. "path": "pages/feedback/feedback",
  12. "style": {
  13. "navigationBarTitleText": "反馈问题"
  14. }
  15. },
  16. {
  17. "path": "pages/auth/auth",
  18. "style": {
  19. "navigationBarTitleText": "个人中心"
  20. }
  21. },
  22. {
  23. "path": "pages/myfeedback/myfeedback",
  24. "style": {
  25. "navigationBarTitleText": ""
  26. }
  27. },
  28. {
  29. "path": "pages/user/user",
  30. "style": {
  31. "navigationBarTitleText": ""
  32. }
  33. },
  34. {
  35. "path": "pages/showmp_debug/showmp_debug",
  36. "style": {
  37. "navigationBarTitleText": ""
  38. }
  39. },
  40. {
  41. "path": "pages/rechargepay/rechargepay",
  42. "style": {
  43. "navigationBarTitleText": ""
  44. }
  45. },
  46. {
  47. "path": "pages/userrecharge/userrecharge",
  48. "style": {
  49. "navigationBarTitleText": ""
  50. }
  51. },
  52. {
  53. "path": "pages/coupons/coupons",
  54. "style": {
  55. "navigationBarTitleText": ""
  56. }
  57. },
  58. {
  59. "path" : "pages/showmp/showmp",
  60. "style" :
  61. {
  62. "navigationBarTitleText" : ""
  63. }
  64. }
  65. ],
  66. "globalStyle": {
  67. "navigationBarTextStyle": "black",
  68. "navigationBarTitleText": "uni-app",
  69. "navigationBarBackgroundColor": "#4c4c4c",
  70. "backgroundColor": "#F8F8F8",
  71. "usingComponents": {
  72. "riding-risk-component-pop": "/mycomponents/riding-risk-component-pop/index",
  73. "get-coupon": "plugin://couponPlugin/get-coupon"
  74. }
  75. },
  76. "condition" : { //模式配置,仅开发期间生效
  77. "current": 0, //当前激活的模式(list 的索引项)
  78. "list": [
  79. {
  80. "name": "", //模式名称
  81. "path": "", //启动页面,必选
  82. "query": "" //启动参数,在页面的onLoad函数里面得到
  83. }
  84. ]
  85. }
  86. }