pages.json 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  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. "navigationStyle": "custom"
  67. }
  68. }
  69. ,{
  70. "path" : "pages/workflowTask/webviewPages/startFlow",
  71. "style" :
  72. {
  73. "navigationBarTitleText": "",
  74. "enablePullDownRefresh": false,
  75. "navigationStyle": "custom"
  76. }
  77. }
  78. ,{
  79. "path" : "pages/workflowTask/webviewPages/flowDiagram",
  80. "style" :
  81. {
  82. "navigationBarTitleText": "",
  83. "enablePullDownRefresh": false
  84. }
  85. }
  86. ],
  87. "tabBar": {
  88. "color": "#606266",
  89. "selectedColor": "#19be6b",
  90. "borderStyle": "black",
  91. "backgroundColor": "#ffffff",
  92. "list": [{
  93. "pagePath": "pages/home/home",
  94. "iconPath": "static/images/home.png",
  95. "selectedIconPath": "static/images/home_selected.png",
  96. "text": "首页"
  97. },{
  98. "pagePath": "pages/component-page/index",
  99. "iconPath": "static/images/component.png",
  100. "selectedIconPath": "static/images/component_selected.png",
  101. "text": "组件"
  102. }, {
  103. "pagePath": "pages/personal/personal",
  104. "iconPath": "static/images/personal.png",
  105. "selectedIconPath": "static/images/personal_selected.png",
  106. "text": "我的"
  107. }]
  108. },
  109. "globalStyle": {
  110. "navigationBarTextStyle": "black",
  111. "navigationBarTitleText": "uni-app",
  112. "navigationBarBackgroundColor": "#F8F8F8",
  113. "backgroundColor": "#F8F8F8"
  114. },
  115. "condition": { //模式配置,仅开发期间生效
  116. "current": 0, //当前激活的模式(list 的索引项)
  117. "list": [{
  118. "name": "", //模式名称
  119. "path": "", //启动页面,必选
  120. "query": "" //启动参数,在页面的onLoad函数里面得到
  121. }]
  122. }
  123. }