pages.json 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. {
  2. "easycom": {
  3. "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
  4. },
  5. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  6. {
  7. "path": "pages/login/login",
  8. "style": {
  9. "navigationBarTitleText": "",
  10. "enablePullDownRefresh": false
  11. }
  12. },
  13. {
  14. "path": "pages/index/index",
  15. "style": {
  16. "navigationStyle": "custom", // 隐藏系统导航栏
  17. "navigationBarTitleText": "操作记录",
  18. "enablePullDownRefresh": true
  19. }
  20. }, {
  21. "path": "pages/detail/detail",
  22. "style": {
  23. "navigationStyle": "custom", // 隐藏系统导航栏
  24. "navigationBarTitleText": "",
  25. "enablePullDownRefresh": false
  26. }
  27. }, {
  28. "path": "pages/userDetails/userDetails",
  29. "style": {
  30. "navigationBarTitleText": "个人信息",
  31. "enablePullDownRefresh": false
  32. }
  33. }, {
  34. "path": "pages/aboutUs/aboutUs",
  35. "style": {
  36. "navigationBarTitleText": "关于我们",
  37. "enablePullDownRefresh": false
  38. }
  39. }, {
  40. "path": "pages/contactUs/contactUs",
  41. "style": {
  42. "navigationBarTitleText": "联系我们",
  43. "enablePullDownRefresh": false
  44. }
  45. }, {
  46. "path": "pages/officialWebsite/officialWebsite",
  47. "style": {
  48. "navigationBarTitleText": "",
  49. "enablePullDownRefresh": false
  50. }
  51. },
  52. {
  53. "path": "pages/updateList/updateList",
  54. "style": {
  55. "navigationBarTitleText": "版本更新记录",
  56. "enablePullDownRefresh": false
  57. }
  58. }
  59. ],
  60. "globalStyle": {
  61. "navigationBarTextStyle": "black",
  62. "navigationBarTitleText": "uni-app",
  63. "navigationBarBackgroundColor": "#F8F8F8",
  64. "backgroundColor": "#F8F8F8"
  65. },
  66. "condition" : { //模式配置,仅开发期间生效
  67. "current": 0, //当前激活的模式(list 的索引项)
  68. "list": [
  69. {
  70. "name": "", //模式名称
  71. "path": "", //启动页面,必选
  72. "query": "" //启动参数,在页面的onLoad函数里面得到
  73. }
  74. ]
  75. }
  76. }