pages.json 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. {
  2. "easycom": {
  3. // 注意一定要放在custom里,否则无效,https://ask.dcloud.net.cn/question/131175
  4. "custom": {
  5. "^u--(.*)": "uview-plus/components/u-$1/u-$1.vue",
  6. "^up-(.*)": "uview-plus/components/u-$1/u-$1.vue",
  7. "^u-([^-].*)": "uview-plus/components/u-$1/u-$1.vue"
  8. }
  9. },
  10. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  11. {
  12. "path": "pages/trade/index",
  13. "style": {
  14. "navigationBarTitleText": "竞赛",
  15. "navigationStyle": "custom"
  16. }
  17. },
  18. {
  19. "path": "pages/home/index",
  20. "style": {
  21. "navigationBarTitleText": "uni-app",
  22. "navigationStyle": "custom"
  23. }
  24. },
  25. {
  26. "path": "pages/index/index",
  27. "style": {
  28. "navigationBarTitleText": "uni-app",
  29. "navigationStyle": "custom"
  30. }
  31. },
  32. {
  33. "path": "pages/node/index",
  34. "style": {
  35. "navigationBarTitleText": "uni-app",
  36. "navigationStyle": "custom"
  37. }
  38. },
  39. {
  40. "path": "pages/wgt/index",
  41. "style": {
  42. "navigationBarTitleText": "uni-app",
  43. "navigationStyle": "custom"
  44. }
  45. }
  46. ],
  47. "tabBar": {
  48. "borderStyle": "black",
  49. "backgroundColor": "#27262C",
  50. "color": "#808080",
  51. "selectedColor": "#fff",
  52. "list": [
  53. {
  54. "pagePath": "pages/trade/index",
  55. "iconPath": "static/image/tabbar/jiaoyi.png",
  56. "selectedIconPath": "static/image/tabbar/jiaoyi-check.png",
  57. "text": "竞赛"
  58. }
  59. ]
  60. },
  61. "globalStyle": {
  62. "navigationBarTextStyle": "black",
  63. "navigationBarTitleText": "uni-app",
  64. "navigationBarBackgroundColor": "#F8F8F8",
  65. "backgroundColor": "#F8F8F8"
  66. }
  67. }