pages.json 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  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/login/login",
  8. "style": {
  9. "navigationBarTitleText": "",
  10. "enablePullDownRefresh": false
  11. }
  12. },
  13. {
  14. "path": "pages/index/index",
  15. "style": {
  16. "navigationBarTitleText": "首页"
  17. }
  18. },
  19. {
  20. "path": "pages/orderMeal/index",
  21. "style": {
  22. "navigationBarTitleText": "点单"
  23. }
  24. },
  25. {
  26. "path": "pages/qrCode/index",
  27. "style": {
  28. "navigationStyle": "custom"
  29. }
  30. },
  31. {
  32. "path": "pages/order/index",
  33. "style": {
  34. "navigationBarTitleText": "订单"
  35. }
  36. },
  37. {
  38. "path": "pages/my/index",
  39. "style": {
  40. "navigationBarTitleText": "我的"
  41. }
  42. }
  43. ],
  44. "subPackages": [{
  45. "root": "orderPages",
  46. "pages": [{
  47. "path": "orderDetail/index",
  48. "style": {
  49. "navigationBarTitleText": "订单详情",
  50. "enablePullDownRefresh": false
  51. }
  52. }, {
  53. "path": "goodsDetail/index",
  54. "style": {
  55. "navigationBarTitleText": "商品详情",
  56. "enablePullDownRefresh": false
  57. }
  58. }]
  59. },
  60. {
  61. "root": "loginPages",
  62. "pages": [{
  63. "path": "login/bind-account",
  64. "style": {
  65. "navigationBarTitleText": "账号绑定",
  66. "enablePullDownRefresh": false
  67. }
  68. }, {
  69. "path": "login/bind-account-password",
  70. "style": {
  71. "navigationBarTitleText": "绑定账号密码",
  72. "enablePullDownRefresh": false
  73. }
  74. }, {
  75. "path": "login/bind-transaction-password",
  76. "style": {
  77. "navigationBarTitleText": "绑定账号支付密码",
  78. "enablePullDownRefresh": false
  79. }
  80. }
  81. , {
  82. "path": "login/login-old-account",
  83. "style": {
  84. "navigationBarTitleText": "输入账号密码",
  85. "enablePullDownRefresh": false
  86. }
  87. }, {
  88. "path": "login/login-real-name-auth",
  89. "style": {
  90. "navigationBarTitleText": "实名认证",
  91. "enablePullDownRefresh": false
  92. }
  93. }, {
  94. "path": "login/retrieve-account",
  95. "style": {
  96. "navigationBarTitleText": "账号密码找回",
  97. "enablePullDownRefresh": false
  98. }
  99. }
  100. , {
  101. "path": "login/retrieve-account-password",
  102. "style": {
  103. "navigationBarTitleText": "账号密码找回",
  104. "enablePullDownRefresh": false
  105. }
  106. } , {
  107. "path": "login/retrieve-account-phone",
  108. "style": {
  109. "navigationBarTitleText": "账号找回",
  110. "enablePullDownRefresh": false
  111. }
  112. }
  113. , {
  114. "path": "login/retrieve-method",
  115. "style": {
  116. "navigationBarTitleText": "账号找回方式",
  117. "enablePullDownRefresh": false
  118. }
  119. }
  120. ]
  121. }
  122. ],
  123. "tabBar": {
  124. "color": "#282828",
  125. "selectedColor": "#B22338",
  126. "borderStyle": "white",
  127. "backgroundColor": "#ffffff",
  128. "list": [{
  129. "pagePath": "pages/index/index"
  130. },
  131. {
  132. "pagePath": "pages/orderMeal/index"
  133. },
  134. {
  135. "pagePath": "pages/qrCode/index"
  136. },
  137. {
  138. "pagePath": "pages/order/index"
  139. },
  140. {
  141. "pagePath": "pages/my/index"
  142. }
  143. ]
  144. },
  145. "globalStyle": {
  146. "navigationBarTextStyle": "black",
  147. "navigationBarTitleText": "加载中",
  148. "navigationBarBackgroundColor": "#FFE05C",
  149. "backgroundColor": "#FFE05C",
  150. "titleNView": false
  151. },
  152. "uniIdRouter": {}
  153. }