pages.json 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. {
  2. "custom": {
  3. "^u--(.*)": "@/uni_modules/uview-plus/components/u-$1/u-$1.vue",
  4. "^up-(.*)": "@/uni_modules/uview-plus/components/u-$1/u-$1.vue",
  5. "^u-([^-].*)": "@/uni_modules/uview-plus/components/u-$1/u-$1.vue"
  6. },
  7. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  8. {
  9. "path": "pages/home/index",
  10. "style": {
  11. "navigationBarTitleText": "",
  12. "enablePullDownRefresh": false
  13. }
  14. }, {
  15. "path": "pages/user/index",
  16. "style" :
  17. {
  18. "navigationBarTitleText" : "",
  19. "navigationBarTextStyle": "black",
  20. "enablePullDownRefresh": false,
  21. "navigationStyle": "custom",
  22. "app-plus": {
  23. "bounce": "none"
  24. }
  25. }
  26. },
  27. {
  28. "path": "pages/list/index",
  29. "style": {
  30. "navigationBarTitleText" : "",
  31. "navigationBarTextStyle": "black",
  32. "enablePullDownRefresh": false,
  33. "navigationStyle": "custom",
  34. "app-plus": {
  35. "bounce": "none"
  36. }
  37. }
  38. },
  39. {
  40. "path" : "pages/home/live",
  41. "style" :
  42. {
  43. "navigationBarTitleText" : "",
  44. "navigationBarTextStyle": "black",
  45. "enablePullDownRefresh": false,
  46. "navigationStyle": "custom",
  47. "app-plus": {
  48. "bounce": "none"
  49. }
  50. }
  51. }, {
  52. "path" : "pages/games/index",
  53. "style" :
  54. {
  55. "navigationBarTitleText" : "",
  56. "navigationBarTextStyle": "black",
  57. "enablePullDownRefresh": false,
  58. "navigationStyle": "custom",
  59. "app-plus": {
  60. "bounce": "none"
  61. }
  62. }
  63. },
  64. {
  65. "path" : "pages/home/living",
  66. "style" :
  67. {
  68. "navigationBarTitleText" : "",
  69. "navigationBarTextStyle": "black",
  70. "enablePullDownRefresh": false,
  71. "navigationStyle": "custom",
  72. "app-plus": {
  73. "bounce": "none"
  74. }
  75. }
  76. },
  77. {
  78. "path" : "pages/login/login",
  79. "style" :
  80. {
  81. "navigationBarTitleText" : "",
  82. "navigationBarTextStyle": "black",
  83. "enablePullDownRefresh": false,
  84. "navigationStyle": "custom",
  85. "app-plus": {
  86. "bounce": "none"
  87. }
  88. }
  89. }
  90. ],
  91. "globalStyle": {
  92. "navigationBarTextStyle": "black",
  93. "navigationBarTitleText": "【S直播】",
  94. "navigationBarBackgroundColor": "#f5f5f5",
  95. "backgroundColor": "#f7f8fa"
  96. },
  97. "uniIdRouter": {},
  98. "tabBar": {
  99. "color": "#AEAEAE",
  100. "selectedColor": "#000000",
  101. "fontSize": "12px",
  102. "borderStyle": "black",
  103. "backgroundColor": "#fff",
  104. "list": [
  105. {
  106. "pagePath": "pages/list/index",
  107. "iconPath": "/static/tabBar/query.png",
  108. "selectedIconPath": "/static/tabBar/query_active.png",
  109. "text": "列表"
  110. },
  111. {
  112. "pagePath": "pages/games/index",
  113. "iconPath": "/static/tabBar/pulverize.png",
  114. "selectedIconPath": "/static/tabBar/pulverize_active.png",
  115. "text": "合同粉碎"
  116. },
  117. {
  118. "pagePath": "pages/user/index",
  119. "iconPath": "/static/tabBar/user.png",
  120. "selectedIconPath": "/static/tabBar/user_active.png",
  121. "text": "我的"
  122. }
  123. ]
  124. }
  125. }