pages.json 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. {
  2. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  3. {
  4. "path": "pages/index/index",
  5. "style": {
  6. "navigationBarTitleText": "芝麻高报系统"
  7. }
  8. }, {
  9. "path": "pages/predict/predict",
  10. "style": {
  11. "navigationBarTitleText": "志愿预测"
  12. }
  13. }, {
  14. "path": "pages/myinfo/myinfo",
  15. "style": {
  16. "navigationBarTitleText": "我的"
  17. }
  18. },
  19. {
  20. "path": "pages/myinfo2/myinfo2",
  21. "style": {
  22. "navigationBarTitleText": "我的2"
  23. }
  24. }
  25. ,{
  26. "path" : "pages/changeInfo/changeInfo",
  27. "style" : {
  28. "navigationBarTitleText":"个人信息"
  29. }
  30. }
  31. ,{
  32. "path" : "pages/collection/collection",
  33. "style" : {
  34. "navigationBarTitleText":"我的收藏"
  35. }
  36. }
  37. ,{
  38. "path" : "pages/yuan-xiao-ku/yuan-xiao-ku",
  39. "style" : {
  40. "navigationBarTitleText":"院校库",
  41. "app-plus":{
  42. "titleNView":{
  43. "searchInput":{
  44. "align":"left",
  45. "borderRadius":"25px",
  46. "placeholder":"搜索院校",
  47. "disabled":false
  48. }
  49. }
  50. }
  51. }
  52. }
  53. ],
  54. "globalStyle": {
  55. "navigationBarTextStyle": "black",
  56. "navigationBarTitleText": "uni-app",
  57. "navigationBarBackgroundColor": "#F8F8F8",
  58. "backgroundColor": "#F8F8F8"
  59. },
  60. "tabBar": {
  61. "color": "#7A7E83",
  62. "selectedColor": "#EF3A3A",
  63. "borderStyle": "black",
  64. "backgroundColor": "#ffffff",
  65. "list": [{
  66. "pagePath": "pages/index/index",
  67. "iconPath": "static/home_icon_default_nor.png",
  68. "selectedIconPath": "static/home_icon_default_sel.png",
  69. "text": "首页"
  70. }, {
  71. "pagePath": "pages/predict/predict",
  72. "iconPath": "static/home_icon_volunteer_nor.png",
  73. "selectedIconPath": "static/home_icon_volunteer_sel.png",
  74. "text": "志愿预测"
  75. }, {
  76. "pagePath": "pages/myinfo/myinfo",
  77. "iconPath": "static/home_icon_my_nor.png",
  78. "selectedIconPath": "static/home_icon_my_nor.png",
  79. "text": "我的"
  80. }]
  81. },
  82. "condition": { //模式配置,仅开发期间生效
  83. },
  84. "tabBar": {
  85. "color": "#7A7E83",
  86. "selectedColor": "#EF3A3A",
  87. "borderStyle": "black",
  88. "backgroundColor": "#ffffff",
  89. "list": [{
  90. "pagePath": "pages/index/index",
  91. "iconPath": "static/home_icon_default_nor.png",
  92. "selectedIconPath": "static/home_icon_default_sel.png",
  93. "text": "首页"
  94. },{
  95. "pagePath": "pages/predict/predict",
  96. "iconPath": "static/home_icon_volunteer_nor.png",
  97. "selectedIconPath": "static/home_icon_volunteer_sel.png",
  98. "text": "志愿预测"
  99. }, {
  100. "pagePath": "pages/myinfo/myinfo",
  101. "iconPath": "static/home_icon_my_nor.png",
  102. "selectedIconPath": "static/home_icon_my_nor.png",
  103. "text": "我的"
  104. }]
  105. },
  106. "condition" : { //模式配置,仅开发期间生效
  107. "current": 0, //当前激活的模式(list 的索引项)
  108. "list": [{
  109. "name": "", //模式名称
  110. "path": "", //启动页面,必选
  111. "query": "" //启动参数,在页面的onLoad函数里面得到
  112. }]
  113. }
  114. }