pages.json 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. {
  2. "easycom": {
  3. // 关键步骤3:配置easycom规则
  4. "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
  5. },
  6. "pages": [{
  7. "path": "pages/index",
  8. "style": {
  9. "navigationBarTitleText": "空白页",
  10. // "navigationStyle": "custom",
  11. "app-plus": {
  12. "titleNView": false
  13. }
  14. }
  15. },
  16. {
  17. "path": "pages/home/index",
  18. "style": {
  19. "navigationBarTitleText": "经销商工作平台",
  20. "app-plus": {
  21. "titleNView": false
  22. }
  23. }
  24. },
  25. {
  26. "path": "pages/login/index",
  27. "style": {
  28. "navigationBarTitleText": "登录",
  29. "app-plus": {
  30. "titleNView": false
  31. }
  32. }
  33. },
  34. {
  35. "path": "pages/msg/index",
  36. "style": {
  37. "navigationBarTitleText": "消息"
  38. }
  39. },
  40. {
  41. "path": "pages/data/index",
  42. "style": {
  43. "navigationBarTitleText": "数据"
  44. }
  45. },
  46. {
  47. "path": "pages/me/index",
  48. "style": {
  49. "navigationBarTitleText": "我的",
  50. "app-plus": {
  51. "titleNView": false //禁用原生导航栏
  52. }
  53. }
  54. },
  55. {
  56. "path": "pages/me/setting",
  57. "style": {
  58. "navigationBarTitleText": "设置"
  59. }
  60. },
  61. {
  62. "path": "pages/home/store/index",
  63. "style": {
  64. "navigationBarTitleText": "门店信息",
  65. "enablePullDownRefresh": false,
  66. "app-plus": {
  67. "titleNView": false //禁用原生导航栏
  68. }
  69. }
  70. },
  71. {
  72. "path": "pages/home/store/details",
  73. "style": {
  74. "navigationBarTitleText": "门店编辑"
  75. }
  76. },
  77. {
  78. "path": "pages/home/claim/index",
  79. "style": {
  80. "navigationBarTitleText": "理赔进度",
  81. "enablePullDownRefresh": false,
  82. "app-plus": {
  83. "titleNView": false //禁用原生导航栏
  84. }
  85. }
  86. },
  87. {
  88. "path": "pages/home/claim/details",
  89. "style": {
  90. "navigationBarTitleText": "轮胎理赔内容"
  91. }
  92. },
  93. {
  94. "path": "pages/home/scan/index",
  95. "style": {
  96. "navigationBarTitleText": "扫码出库"
  97. }
  98. }
  99. ],
  100. "globalStyle": {
  101. "navigationBarTextStyle": "white",
  102. // #ifdef H5
  103. "navigationBarBackgroundColor": "#03803B",
  104. // #endif
  105. "app-plus": {
  106. "bounce": "none",
  107. "scrollIndicator": "none",
  108. "titleNView": {
  109. "backgroundImage": "linear-gradient(to bottom, #03803B, #03803B)"
  110. }
  111. }
  112. },
  113. "tabBar": {
  114. "color": "#7C7C7C",
  115. "selectedColor": "#259255",
  116. "borderStyle": "white",
  117. "backgroundColor": "#FFFFFF",
  118. "list": [{
  119. "pagePath": "pages/home/index",
  120. "text": "首页",
  121. "iconPath": "static/images/tabBar/home.png",
  122. "selectedIconPath": "static/images/tabBar/home_selected.png"
  123. },
  124. {
  125. "pagePath": "pages/data/index",
  126. "text": "数据",
  127. "iconPath": "/static/images/tabBar/data.png",
  128. "selectedIconPath": "static/images/tabBar/data_selected.png"
  129. },
  130. {
  131. "pagePath": "pages/msg/index",
  132. "text": "消息",
  133. "iconPath": "static/images/tabBar/msg.png",
  134. "selectedIconPath": "static/images/tabBar/msg_selected.png"
  135. },
  136. {
  137. "pagePath": "pages/me/index",
  138. "text": "我的",
  139. "iconPath": "static/images/tabBar/me.png",
  140. "selectedIconPath": "static/images/tabBar/me_selected.png"
  141. }
  142. ]
  143. }
  144. }