pages.json 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. {
  2. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  3. {
  4. "path": "pages/login/login",
  5. "style": {
  6. "navigationStyle": "custom"
  7. }
  8. },
  9. {
  10. "path": "pages/my/my",
  11. "style": {
  12. "navigationStyle": "custom"
  13. }
  14. },
  15. {
  16. "path": "pages/home/home",
  17. "style": {
  18. "navigationStyle": "custom"
  19. }
  20. },
  21. {
  22. "path": "pages/order/order",
  23. "style": {
  24. "navigationBarTitleText": "我的订单",
  25. "enablePullDownRefresh": true
  26. }
  27. }
  28. ],
  29. "tabBar": {
  30. "selectedColor": "#a09cc4",
  31. "list": [
  32. {
  33. "pagePath": "pages/home/home",
  34. "text": "首页",
  35. "iconPath": "static/home.png",
  36. "selectedIconPath": "static/home_selected.png"
  37. },
  38. {
  39. "pagePath": "pages/order/order",
  40. "text": "订单",
  41. "iconPath": "static/order.png",
  42. "selectedIconPath": "static/order_selected.png"
  43. },
  44. {
  45. "pagePath": "pages/my/my",
  46. "text": "我的",
  47. "iconPath": "static/my.png",
  48. "selectedIconPath": "static/my_selected.png"
  49. }
  50. ]
  51. },
  52. "subPackages": [
  53. {
  54. "root": "subpkg",
  55. "pages": [
  56. {
  57. "path": "protocol/protocol",
  58. "style": {
  59. "navigationBarTitleText": "使用须知"
  60. }
  61. },
  62. {
  63. "path": "extend/extend",
  64. "style": {
  65. "navigationBarTitleText": "我的订单"
  66. }
  67. },
  68. {
  69. "path": "myAccount/myAccount",
  70. "style": {
  71. "navigationBarTitleText": "我的账户"
  72. }
  73. },
  74. {
  75. "path": "updateUserInfo/updateUserInfo",
  76. "style": {
  77. "navigationBarTitleText": "修改个人信息"
  78. }
  79. },
  80. {
  81. "path": "selectHotel/selectHotel",
  82. "style": {
  83. "navigationBarTitleText": "酒店选择"
  84. }
  85. },
  86. {
  87. "path": "emergencyKey/emergencyKey",
  88. "style": {
  89. "navigationBarTitleText": "手机开门"
  90. }
  91. },
  92. {
  93. "path": "elevatorControl/elevatorControl",
  94. "style": {
  95. "navigationBarTitleText": "梯控二维码"
  96. }
  97. }
  98. ]
  99. },
  100. {
  101. "root": "subpkg_checkin",
  102. "pages": [
  103. {
  104. "path": "selectCheckinType/selectCheckinType",
  105. "style": {
  106. "navigationStyle": "custom"
  107. }
  108. },
  109. {
  110. "path": "selectRoomType/selectRoomType",
  111. "style": {
  112. "navigationBarTitleText": "房源类型"
  113. }
  114. },
  115. {
  116. "path": "selectRoom/selectRoom",
  117. "style": {
  118. "navigationBarTitleText": "房间选择"
  119. }
  120. },
  121. {
  122. "path": "addGuest/addGuest",
  123. "style": {
  124. "navigationBarTitleText": "身份信息录入"
  125. }
  126. },
  127. {
  128. "path": "confirmOrder/confirmOrder",
  129. "style": {
  130. "navigationBarTitleText": "订单确认"
  131. }
  132. },
  133. {
  134. "path": "depositPayment/depositPayment",
  135. "style": {
  136. "navigationBarTitleText": "支付页面"
  137. }
  138. },
  139. {
  140. "path": "checkin/checkin",
  141. "style": {
  142. "navigationBarTitleText": "支付结果"
  143. }
  144. }
  145. ]
  146. }
  147. ],
  148. "globalStyle": {
  149. "navigationBarTextStyle": "white",
  150. "navigationBarTitleText": "uni-app",
  151. "navigationBarBackgroundColor": "#a09cc4"
  152. },
  153. "lazyCodeLoading": "requiredComponents"
  154. }