Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

pages.json 2.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  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. "enablePullDownRefresh": true
  17. }
  18. },
  19. {
  20. "path": "pages/add_dishes/index",
  21. "style": {
  22. "navigationBarTitleText": "新增菜品",
  23. "enablePullDownRefresh": false
  24. }
  25. },
  26. {
  27. "path": "pages/user/index",
  28. "style": {
  29. "navigationBarTitleText": "用户中心",
  30. "enablePullDownRefresh": false
  31. }
  32. },
  33. {
  34. "path": "pages/manage/index",
  35. "style": {
  36. "navigationBarTitleText": "管理中心",
  37. "enablePullDownRefresh": false
  38. }
  39. },
  40. {
  41. "path": "pages/reviews/index",
  42. "style": {
  43. "navigationBarTitleText": "点评菜品",
  44. "enablePullDownRefresh": false
  45. }
  46. },
  47. {
  48. "path": "pages/report/report",
  49. "style": {
  50. "navigationBarTitleText": "",
  51. "enablePullDownRefresh": false
  52. }
  53. },
  54. {
  55. "path": "pages/user_item/index",
  56. "style": {
  57. "navigationBarTitleText": "角色定义",
  58. "enablePullDownRefresh": false
  59. }
  60. },
  61. {
  62. "path": "pages/permission/index",
  63. "style": {
  64. "navigationBarTitleText": "授权管理",
  65. "enablePullDownRefresh": false
  66. }
  67. }
  68. ],
  69. "globalStyle": {
  70. "navigationBarTextStyle": "black",
  71. "navigationBarTitleText": "爱点评",
  72. "navigationBarBackgroundColor": "#F34B16",
  73. "backgroundColor": "#F34B16"
  74. },
  75. "tabBar": {
  76. "color": "#2E2D2D",
  77. "selectedColor": "#F34B16",
  78. "backgroundColor": "#EEECEC",
  79. "height": "50px",
  80. "spacing": "5px",
  81. "list": [{
  82. "pagePath": "pages/index/index",
  83. "iconPath": "static/icon1.png",
  84. "selectedIconPath": "static/icon1_active.png",
  85. "text": "点评菜品"
  86. }, {
  87. "pagePath": "pages/add_dishes/index",
  88. "iconPath": "static/icon2.png",
  89. "selectedIconPath": "static/icon2_acitve.png",
  90. "text": "新增菜品"
  91. },
  92. {
  93. "pagePath": "pages/manage/index",
  94. "iconPath": "static/icon3.png",
  95. "selectedIconPath": "static/icon3_active.png",
  96. "text": "管理中心"
  97. },
  98. {
  99. "pagePath": "pages/user/index",
  100. "iconPath": "static/icon3.png",
  101. "selectedIconPath": "static/icon3_active.png",
  102. "text": "个人中心"
  103. }
  104. ]
  105. }
  106. }