pages.json 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. {
  2. "easycom": {
  3. "autoscan": true,
  4. "custom": {
  5. "^uni-(.*)": "@dcloudio/uni-ui/lib/uni-$1/uni-$1.vue",
  6. "^StatusBarPlaceholder": "@/components/status-bar-placeholder/index.vue"
  7. }
  8. },
  9. "pages": [{
  10. "path": "pages/splash/splash",
  11. "style": {
  12. "navigationBarTitleText": "",
  13. "navigationStyle": "custom",
  14. "navigationBarBackgroundColor": "#1890ff",
  15. "backgroundColor": "#1890ff"
  16. }
  17. },
  18. {
  19. "path": "pages/login/login",
  20. "style": {
  21. "navigationBarTitleText": "登录",
  22. "navigationStyle": "custom"
  23. }
  24. },
  25. {
  26. "path": "pages/index/index",
  27. "style": {
  28. "navigationBarTitleText": "布尔销销乐",
  29. "navigationStyle": "custom"
  30. }
  31. },
  32. {
  33. "path": "pages/todos/index",
  34. "style": {
  35. "navigationBarTitleText": "待办",
  36. "navigationStyle": "custom"
  37. }
  38. },
  39. {
  40. "path": "pages/message/index",
  41. "style": {
  42. "navigationBarTitleText": "消息",
  43. "backgroundColor": "#fff",
  44. "navigationBarBackgroundColor": "#fff"
  45. }
  46. },
  47. {
  48. "path": "pages/stats/index",
  49. "style": {
  50. "navigationBarTitleText": "统计"
  51. }
  52. },
  53. {
  54. "path": "pages/mine/index",
  55. "style": {
  56. "navigationBarTitleText": "我的",
  57. "navigationStyle": "custom"
  58. }
  59. },
  60. {
  61. "path": "pages/mine/card",
  62. "style": {
  63. "navigationBarTitleText": "我的名片",
  64. "navigationStyle": "custom"
  65. }
  66. },
  67. {
  68. "path": "pages/test/debug",
  69. "style": {
  70. "navigationBarTitleText": "调试工具"
  71. }
  72. },
  73. {
  74. "path": "pages/test/navbar",
  75. "style": {
  76. "navigationBarTitleText": "导航栏测试",
  77. "navigationStyle": "custom"
  78. }
  79. }
  80. ],
  81. "globalStyle": {
  82. "navigationBarTextStyle": "black",
  83. "navigationBarTitleText": "uni-app",
  84. "navigationBarBackgroundColor": "#F8F8F8",
  85. "backgroundColor": "#F8F8F8",
  86. "app-plus": {
  87. "background": "#efeff4"
  88. }
  89. },
  90. "tabBar": {
  91. "color": "#7A7E83",
  92. "selectedColor": "#4080FF",
  93. "borderStyle": "black",
  94. "backgroundColor": "#ffffff",
  95. "height": "50px",
  96. "fontSize": "10px",
  97. "iconWidth": "24px",
  98. "spacing": "3px",
  99. "list": [{
  100. "pagePath": "pages/index/index",
  101. "text": "首页",
  102. "iconPath": "static/tabbar/tabbar-home.png",
  103. "selectedIconPath": "static/tabbar/tabbar-home-active.png"
  104. },
  105. {
  106. "pagePath": "pages/todos/index",
  107. "text": "待办",
  108. "iconPath": "static/tabbar/tabbar-todo.png",
  109. "selectedIconPath": "static/tabbar/tabbar-todo-active.png"
  110. },
  111. {
  112. "pagePath": "pages/message/index",
  113. "text": "消息",
  114. "iconPath": "static/tabbar/tabbar-message.png",
  115. "selectedIconPath": "static/tabbar/tabbar-message-active.png"
  116. },
  117. {
  118. "pagePath": "pages/mine/index",
  119. "text": "我的",
  120. "iconPath": "static/tabbar/tabbar-mine.png",
  121. "selectedIconPath": "static/tabbar/tabbar-mine-active.png"
  122. }
  123. ]
  124. }
  125. }