pages.json 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  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/index/index",
  8. "style": {
  9. "navigationBarTitleText": "",
  10. "navigationStyle": "custom"
  11. }
  12. },
  13. {
  14. "path": "pages/other/about",
  15. "style": {
  16. "navigationBarTitleText": "关于我们"
  17. }
  18. },
  19. {
  20. "path": "pages/government/index",
  21. "style": {
  22. "navigationBarTitleText": "党政服务",
  23. "enablePullDownRefresh": true,
  24. "backgroundTextStyle": "dark"
  25. }
  26. },
  27. {
  28. "path": "pages/travel/index",
  29. "style": {
  30. "navigationBarTitleText": "景区",
  31. "enablePullDownRefresh": true,
  32. "backgroundTextStyle": "dark"
  33. }
  34. },
  35. {
  36. "path": "pages/travel/route",
  37. "style": {
  38. "navigationBarTitleText": "路线",
  39. "enablePullDownRefresh": false
  40. }
  41. },
  42. {
  43. "path": "pages/user/my",
  44. "style": {
  45. "navigationBarTitleText": "我的",
  46. "navigationStyle": "custom"
  47. }
  48. },
  49. {
  50. "path": "pages/user/login",
  51. "style": {
  52. "navigationBarTitleText": "授权登陆"
  53. }
  54. },
  55. {
  56. "path": "pages/shop/list",
  57. "style": {
  58. "navigationBarTitleText": "我的店铺",
  59. "enablePullDownRefresh": true,
  60. "backgroundTextStyle": "dark"
  61. }
  62. },
  63. {
  64. "path": "pages/shop/up",
  65. "style": {
  66. "navigationBarTitleText": "数据上报",
  67. "enablePullDownRefresh": false
  68. }
  69. },
  70. {
  71. "path": "pages/shop/apply",
  72. "style": {
  73. "navigationBarTitleText": "店铺开通申请",
  74. "enablePullDownRefresh": false
  75. }
  76. },
  77. {
  78. "path": "pages/travel/detail",
  79. "style": {
  80. "navigationBarTitleText": "内容详情",
  81. "enablePullDownRefresh": false
  82. }
  83. },
  84. {
  85. "path": "pages/user/info",
  86. "style": {
  87. "navigationBarTitleText": "个人资料"
  88. }
  89. },
  90. {
  91. "path": "pages/government/detail",
  92. "style": {
  93. "navigationBarTitleText": "内容详情",
  94. "enablePullDownRefresh": false
  95. }
  96. }, {
  97. "path": "pages/government/activity",
  98. "style": {
  99. "navigationBarTitleText": "热门活动",
  100. "enablePullDownRefresh": false
  101. }
  102. }, {
  103. "path": "pages/travel/introduction",
  104. "style": {
  105. "navigationBarTitleText": "旅游攻略",
  106. "enablePullDownRefresh": true,
  107. "backgroundTextStyle": "dark"
  108. }
  109. }
  110. ],
  111. "tabBar": {
  112. "color": "#7A7E83",
  113. "selectedColor": "#c74547",
  114. "borderStyle": "black",
  115. "backgroundColor": "#F8F8F8",
  116. "list": [{
  117. "pagePath": "pages/index/index",
  118. "iconPath": "static/tab/home.png",
  119. "selectedIconPath": "static/tab/home_select.png",
  120. "text": "首页"
  121. },
  122. {
  123. "pagePath": "pages/travel/index",
  124. "iconPath": "static/tab/jq.png",
  125. "selectedIconPath": "static/tab/jq_select.png",
  126. "text": "景区"
  127. },
  128. {
  129. "pagePath": "pages/government/index",
  130. "iconPath": "static/tab/zd.png",
  131. "selectedIconPath": "static/tab/zd_select.png",
  132. "text": "党政服务"
  133. },
  134. {
  135. "pagePath": "pages/user/my",
  136. "iconPath": "static/tab/my.png",
  137. "selectedIconPath": "static/tab/my_select.png",
  138. "text": "我的"
  139. }
  140. ]
  141. },
  142. "globalStyle": {
  143. "navigationBarTextStyle": "white",
  144. "navigationBarTitleText": "",
  145. "navigationBarBackgroundColor": "#c74547",
  146. "backgroundColor": "#F8F8F8"
  147. }
  148. }