pages.json 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. {
  2. "easycom": {
  3. "autoscan": true, //是否自动扫描组件
  4. "custom": {
  5. "^x-(.*)": "@/components/x-$1.vue", // 匹配components目录内的vue文件
  6. "^u-(.*)": "uview-ui/components/u-$1/u-$1.vue"
  7. }
  8. },
  9. "pages": [{
  10. "path": "pages/login",
  11. "style": {
  12. "navigationStyle": "custom"
  13. }
  14. },{
  15. "path": "pages/indexRouter",
  16. "style": {
  17. "navigationStyle": "custom"
  18. }
  19. }, {
  20. "path": "pages/home/index",
  21. "style": {
  22. "navigationBarTitleText": "",
  23. "enablePullDownRefresh": false,
  24. "navigationBarBackgroundColor": "#FFFFFF",
  25. "app-plus": {
  26. "titleNView": false
  27. }
  28. }
  29. },
  30. {
  31. "path": "pages/index/codeTracing",
  32. "style": {
  33. "navigationStyle": "custom"
  34. }
  35. },
  36. {
  37. "path": "pages/home/selectStore",
  38. "style": {
  39. "navigationStyle": "custom"
  40. }
  41. },
  42. {
  43. "path": "pages/information/index",
  44. "style": {
  45. "navigationBarTitleText": "消息中心",
  46. "enablePullDownRefresh": false
  47. }
  48. },
  49. {
  50. "path": "pages/order/index",
  51. "style": {
  52. "navigationBarTitleText": "订单",
  53. "enablePullDownRefresh": false
  54. }
  55. },
  56. {
  57. "path": "pages/mine/index",
  58. "style": {
  59. "navigationBarTitleText": "个人中心",
  60. "enablePullDownRefresh": false,
  61. "navigationBarBackgroundColor": "#FFFFFF"
  62. }
  63. },
  64. {
  65. "path": "pages/mine/personal",
  66. "style": {
  67. "navigationStyle": "custom"
  68. }
  69. },
  70. {
  71. "path": "pages/mine/system",
  72. "style": {
  73. "navigationStyle": "custom"
  74. }
  75. },
  76. {
  77. "path": "pages/order/orderDetails",
  78. "style": {
  79. "navigationStyle": "custom" // 隐藏系统导航栏
  80. }
  81. },
  82. {
  83. "path": "pages/order/securityCheck",
  84. "style": {
  85. "navigationStyle": "custom"
  86. }
  87. },
  88. {
  89. "path": "pages/order/delivery",
  90. "style": {
  91. "navigationStyle": "custom"
  92. }
  93. },
  94. {
  95. "path": "pages/order/completionTasks",
  96. "style": {
  97. "navigationStyle": "custom"
  98. }
  99. },
  100. {
  101. "path": "pages/order/signatureBoard",
  102. "style": {
  103. "navigationStyle": "custom"
  104. }
  105. }
  106. ],
  107. "globalStyle": {
  108. "navigationBarTextStyle": "black",
  109. "navigationBarTitleText": "气瓶安全追溯",
  110. "navigationBarBackgroundColor": "#F8F8F8",
  111. "backgroundColor": "#F8F8F8",
  112. "navigationStyle": "default"
  113. },
  114. "tabBar": {
  115. "color": "#6c6c6c",
  116. "selectedColor": "#1177FF",
  117. "borderStyle": "black",
  118. "backgroundColor": "#ffffff",
  119. "list": [{
  120. "pagePath": "pages/home/index",
  121. "iconPath": "static/tab/sy.png",
  122. "selectedIconPath": "static/tab/sy_s.png",
  123. "text": "首页"
  124. },
  125. {
  126. "pagePath": "pages/order/index",
  127. "iconPath": "static/tab/dd.png",
  128. "selectedIconPath": "static/tab/dd_s.png",
  129. "text": "订单"
  130. },
  131. {
  132. "pagePath": "pages/information/index",
  133. "iconPath": "static/tab/xx.png",
  134. "selectedIconPath": "static/tab/xx_s.png",
  135. "text": "消息"
  136. },
  137. {
  138. "pagePath": "pages/mine/index",
  139. "iconPath": "static/tab/wd.png",
  140. "selectedIconPath": "static/tab/wd_s.png",
  141. "text": "我的"
  142. }
  143. ]
  144. }
  145. }