pages.json 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. {
  2. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  3. {
  4. "path": "pages/bookshelf/bookshelf",
  5. "style": {
  6. "navigationBarTitleText": "书架",
  7. // #ifdef MP-WEIXIN
  8. "navigationStyle": "custom",
  9. // #endif
  10. // #ifdef H5
  11. "navigationStyle": "custom",
  12. // #endif
  13. "app-plus": {
  14. "bounce": "none"
  15. }
  16. }
  17. },
  18. {
  19. "path": "pages/bookstore/bookstore",
  20. "style": {
  21. "navigationBarTitleText": "书城",
  22. // #ifdef MP-WEIXIN
  23. "navigationStyle": "custom",
  24. // #endif
  25. // #ifdef H5
  26. "navigationStyle": "custom",
  27. // #endif
  28. "enablePullDownRefresh": true,
  29. "app-plus": {
  30. "bounce": "none"
  31. }
  32. }
  33. },
  34. {
  35. "path": "pages/mine/mine",
  36. "style": {
  37. "navigationBarTitleText": "我的",
  38. "navigationStyle": "default",
  39. "app-plus": {
  40. "bounce": "none"
  41. }
  42. }
  43. },
  44. {
  45. "path": "pages/test/index",
  46. "style": {
  47. "navigationStyle": "default"
  48. }
  49. }
  50. ],
  51. "subPackages":[
  52. {
  53. "root": "pagesA",
  54. "pages": [
  55. {
  56. "path" : "bookdetails/bookdetails",
  57. "style" : {
  58. "navigationBarTitleText" : "书详情"
  59. }
  60. },
  61. {
  62. "path": "readbook/read",
  63. "style": {
  64. "navigationStyle": "default",
  65. "navigationBarTitleText": ""
  66. }
  67. },
  68. {
  69. "path" : "search/search",
  70. "style" : {
  71. "navigationBarTitleText": "搜索",
  72. "enablePullDownRefresh" : false
  73. }
  74. },
  75. {
  76. "path" : "recharge/rechargeCoin",
  77. "style" :
  78. {
  79. "navigationBarTitleText" : "充值书币"
  80. }
  81. },
  82. {
  83. "path" : "recharge/rechargeVIP",
  84. "style" :
  85. {
  86. "navigationBarTitleText" : "充值VIP"
  87. }
  88. },
  89. {
  90. "path" : "tradingRecord/tradingRecord",
  91. "style" :
  92. {
  93. "navigationBarTitleText" : "交易记录",
  94. "navigationStyle": "default",
  95. "app-plus": {
  96. "bounce": "none"
  97. }
  98. }
  99. },
  100. {
  101. "path" : "seeMore/seeMore",
  102. "style" :
  103. {
  104. "navigationBarTitleText" : "查看更多"
  105. }
  106. },
  107. {
  108. "path" : "aboutMine/aboutMine",
  109. "style" :
  110. {
  111. "navigationBarTitleText" : "关于我们"
  112. }
  113. },
  114. {
  115. "path" : "webview/webview",
  116. "style" :
  117. {
  118. "navigationBarTitleText" : ""
  119. }
  120. }
  121. ]
  122. }
  123. ],
  124. "tabBar": {
  125. "list": [
  126. {
  127. "pagePath": "pages/bookshelf/bookshelf",
  128. "text": "书架",
  129. "iconPath": "/static/imgs/tabBar/bookshelf_0.png",
  130. "selectedIconPath": "/static/imgs/tabBar/bookshelf_1.png"
  131. },
  132. {
  133. "pagePath": "pages/bookstore/bookstore",
  134. "text": "书城",
  135. "iconPath": "/static/imgs/tabBar/bookstore_0.png",
  136. "selectedIconPath": "/static/imgs/tabBar/bookstore_1.png"
  137. },
  138. {
  139. "pagePath": "pages/mine/mine",
  140. "text": "我的",
  141. "iconPath": "/static/imgs/tabBar/mine_0.png",
  142. "selectedIconPath": "/static/imgs/tabBar/mine_1.png"
  143. }
  144. ],
  145. "color": "#2c2c2c",
  146. "selectedColor": "#2c2c2c"
  147. },
  148. "globalStyle": {
  149. "navigationBarTextStyle": "black",
  150. "navigationBarTitleText": "uni-app",
  151. "navigationBarBackgroundColor": "#F8F8F8",
  152. "backgroundColor": "#F8F8F8"
  153. },
  154. "uniIdRouter": {}
  155. }