pages.json 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. {
  2. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  3. {
  4. "path": "pages/index/index",
  5. "style": {
  6. "navigationBarTitleText": "首页",
  7. "navigationStyle": "custom"
  8. }
  9. },
  10. {
  11. "path": "pages/login/login",
  12. "style": {
  13. "navigationBarTitleText": "登录",
  14. "navigationStyle": "custom"
  15. }
  16. },
  17. {
  18. "path": "pages/news/newsdetails",
  19. "style": {
  20. "navigationBarTitleText": "详情",
  21. "navigationStyle": "custom"
  22. }
  23. }
  24. ],
  25. "subPackages": [
  26. {
  27. "root": "center",
  28. "pages": [
  29. {
  30. "path": "center",
  31. "style": {
  32. "navigationBarTitleText": "我的",
  33. "navigationStyle": "custom"
  34. }
  35. },
  36. {
  37. "path": "resetpass",
  38. "style": {
  39. "navigationBarTitleText": "修改密码",
  40. "navigationStyle": "custom"
  41. }
  42. },
  43. {
  44. "path": "dealList",
  45. "style": {
  46. "navigationBarTitleText": "我的业绩",
  47. "navigationStyle": "custom"
  48. }
  49. },
  50. {
  51. "path": "mystore",
  52. "style": {
  53. "navigationBarTitleText": "我的门店",
  54. "navigationStyle": "custom"
  55. }
  56. },
  57. {
  58. "path": "store",
  59. "style": {
  60. "navigationBarTitleText": "店铺详情",
  61. "navigationStyle": "custom"
  62. }
  63. },
  64. {
  65. "path": "client",
  66. "style": {
  67. "navigationBarTitleText": "我的会员",
  68. "navigationStyle": "custom"
  69. }
  70. },
  71. {
  72. "path": "paycode",
  73. "style": {
  74. "navigationBarTitleText": "推广码",
  75. "navigationStyle": "custom"
  76. }
  77. }
  78. ]
  79. },
  80. {
  81. "root": "shopping",
  82. "pages": [
  83. {
  84. "path": "productsearch",
  85. "style": {
  86. "navigationBarTitleText": "产品搜索",
  87. "navigationStyle": "custom"
  88. }
  89. },
  90. {
  91. "path": "producTypetList",
  92. "style": {
  93. "navigationBarTitleText": "产品",
  94. "navigationStyle": "custom"
  95. }
  96. },
  97. {
  98. "path": "productdetails",
  99. "style": {
  100. "navigationBarTitleText": "产品详情",
  101. "enableShareAppMessage": true, // 允许分享
  102. "navigationStyle": "custom"
  103. }
  104. },
  105. {
  106. "path": "cart",
  107. "style": {
  108. "navigationBarTitleText": "购物车",
  109. "navigationStyle": "custom"
  110. }
  111. },
  112. {
  113. "path": "submitorder",
  114. "style": {
  115. "navigationBarTitleText": "购物车",
  116. "navigationStyle": "custom"
  117. }
  118. },
  119. {
  120. "path": "paysuccess",
  121. "style": {
  122. "navigationBarTitleText": "支付成功",
  123. "navigationStyle": "custom"
  124. }
  125. },
  126. {
  127. "path": "order",
  128. "style": {
  129. "navigationBarTitleText": "我的订单",
  130. "navigationStyle": "custom"
  131. }
  132. },
  133. {
  134. "path": "orderdetails",
  135. "style": {
  136. "navigationBarTitleText": "订单详情",
  137. "navigationStyle": "custom"
  138. }
  139. }
  140. ]
  141. }
  142. ],
  143. "preloadRule": {
  144. "shopping/productList": {
  145. "network": "all",
  146. "packages": ["__APP__"]
  147. },
  148. "xushuo/xushuo": {
  149. "network": "all",
  150. "packages": ["__APP__"]
  151. }
  152. },
  153. "globalStyle": {
  154. "navigationBarTextStyle": "black",
  155. "navigationBarTitleText": "uni-app",
  156. "navigationBarBackgroundColor": "#F8F8F8",
  157. "backgroundColor": "#F8F8F8"
  158. },
  159. "uniIdRouter": {}
  160. }