pages.json 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  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/index",
  8. "style": {
  9. "navigationBarTitleText": "",
  10. "navigationStyle": "custom"
  11. }
  12. },
  13. {
  14. "path": "pages/home/home",
  15. "style": {
  16. "navigationBarTitleText": "首页",
  17. "enablePullDownRefresh": false,
  18. "navigationStyle": "custom"
  19. }
  20. },
  21. {
  22. "path": "pages/component-page/index",
  23. "style": {
  24. "navigationBarTitleText": "组件",
  25. "enablePullDownRefresh": false
  26. }
  27. },{
  28. "path": "pages/component-page/crud/list",
  29. "style": {
  30. "navigationBarTitleText": "列表",
  31. "navigationStyle": "custom"
  32. }
  33. },{
  34. "path": "pages/component-page/crud/detail",
  35. "style": {
  36. "navigationBarTitleText": "详细",
  37. "enablePullDownRefresh": false
  38. }
  39. },{
  40. "path": "pages/component-page/crud/form",
  41. "style": {
  42. "navigationBarTitleText": "表单",
  43. "enablePullDownRefresh": false
  44. }
  45. },{
  46. "path": "pages/personal/personal",
  47. "style": {
  48. "navigationBarTitleText": "个人中心",
  49. "enablePullDownRefresh": false
  50. }
  51. }
  52. ,{
  53. "path" : "pages/workflowTask/index",
  54. "style" :
  55. {
  56. "navigationBarTitleText": "",
  57. "navigationStyle": "custom"
  58. }
  59. }
  60. ,{
  61. "path" : "pages/workflowTask/webviewPages/dealTask",
  62. "style" :
  63. {
  64. "navigationBarTitleText": "",
  65. "enablePullDownRefresh": false
  66. }
  67. }
  68. ,{
  69. "path" : "pages/workflowTask/webviewPages/startFlow",
  70. "style" :
  71. {
  72. "navigationBarTitleText": "",
  73. "enablePullDownRefresh": false
  74. }
  75. }
  76. ,{
  77. "path" : "pages/workflowTask/webviewPages/flowDiagram",
  78. "style" :
  79. {
  80. "navigationBarTitleText": "",
  81. "enablePullDownRefresh": false
  82. }
  83. }
  84. ],
  85. "tabBar": {
  86. "color": "#606266",
  87. "selectedColor": "#19be6b",
  88. "borderStyle": "black",
  89. "backgroundColor": "#ffffff",
  90. "list": [{
  91. "pagePath": "pages/home/home",
  92. "iconPath": "static/images/home.png",
  93. "selectedIconPath": "static/images/home_selected.png",
  94. "text": "首页"
  95. },{
  96. "pagePath": "pages/component-page/index",
  97. "iconPath": "static/images/component.png",
  98. "selectedIconPath": "static/images/component_selected.png",
  99. "text": "组件"
  100. }, {
  101. "pagePath": "pages/personal/personal",
  102. "iconPath": "static/images/personal.png",
  103. "selectedIconPath": "static/images/personal_selected.png",
  104. "text": "我的"
  105. }]
  106. },
  107. "globalStyle": {
  108. "navigationBarTextStyle": "black",
  109. "navigationBarTitleText": "uni-app",
  110. "navigationBarBackgroundColor": "#F8F8F8",
  111. "backgroundColor": "#F8F8F8"
  112. },
  113. "condition": { //模式配置,仅开发期间生效
  114. "current": 0, //当前激活的模式(list 的索引项)
  115. "list": [{
  116. "name": "", //模式名称
  117. "path": "", //启动页面,必选
  118. "query": "" //启动参数,在页面的onLoad函数里面得到
  119. }]
  120. }
  121. }