pages.json 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  1. {
  2. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  3. {
  4. "path": "pages/activity/activity",
  5. "style": {
  6. "navigationBarTitleText": "报告及活动",
  7. "enablePullDownRefresh": true
  8. }
  9. },
  10. {
  11. "path": "pages/report/report",
  12. "style": {
  13. "navigationBarTitleText": "报告"
  14. }
  15. },
  16. {
  17. "path": "pages/buy/buy",
  18. "style": {
  19. "navigationBarTitleText": "已购"
  20. }
  21. },
  22. {
  23. "path": "pages/chart/chart",
  24. "style": {
  25. "navigationBarTitleText": "图库"
  26. }
  27. },
  28. {
  29. "path": "pages/user/user",
  30. "style": {
  31. "navigationBarTitleText": "我的"
  32. }
  33. },
  34. {
  35. "path":"pages/login",
  36. "style":{
  37. "navigationBarTitleText":"绑定联系方式"
  38. }
  39. }
  40. ],
  41. "subPackages":[
  42. // 活动模块
  43. {
  44. "root":"pages-activity",
  45. "pages":[
  46. {
  47. "path":"detail",
  48. "style":{
  49. "navigationBarTitleText":"报告及活动详情"
  50. }
  51. },
  52. {
  53. "path":"noAuthority",
  54. "style":{
  55. "navigationBarTitleText":"报告及活动详情"
  56. }
  57. },
  58. {
  59. "path": "reportDetail",
  60. "style":{
  61. "navigationBarTitleText": "报告详情"
  62. }
  63. }
  64. ]
  65. },
  66. // 申请权限模块
  67. {
  68. "root":"pages-applyPermission",
  69. "pages": [
  70. {
  71. "path":"applyPermission",
  72. "style":{
  73. "navigationBarTitleText":"申请试用"
  74. }
  75. },
  76. {
  77. "path":"selectVariety",
  78. "style":{
  79. "navigationBarTitleText":"选择品种"
  80. }
  81. },
  82. {
  83. "path":"applyResult",
  84. "style":{
  85. "navigationBarTitleText":"申请结果"
  86. }
  87. }
  88. ]
  89. },
  90. // 用户模块
  91. {
  92. "root": "pages-user",
  93. "pages": [
  94. {
  95. "path": "permissionList",
  96. "style":{
  97. "navigationBarTitleText": "品种权限"
  98. }
  99. }
  100. ]
  101. }
  102. ],
  103. "tabBar": {
  104. "custom": true,
  105. "color": "#1F243A",
  106. "selectedColor": "#E3B377",
  107. "list": [
  108. {
  109. "pagePath": "pages/buy/buy",
  110. "text": "已购",
  111. "iconPath": "./static/tabbar/buy.png",
  112. "selectedIconPath": "./static/tabbar/buy-s.png"
  113. },
  114. {
  115. "pagePath": "pages/report/report",
  116. "text": "报告",
  117. "iconPath": "./static/tabbar/report.png",
  118. "selectedIconPath": "./static/tabbar/report-s.png"
  119. },
  120. {
  121. "pagePath": "pages/chart/chart",
  122. "text": "图库",
  123. "iconPath": "./static/tabbar/chart.png",
  124. "selectedIconPath": "./static/tabbar/chart-s.png"
  125. },
  126. {
  127. "pagePath": "pages/activity/activity",
  128. "text": "报告及活动",
  129. "iconPath": "./static/tabbar/activity.png",
  130. "selectedIconPath": "./static/tabbar/activity-s.png"
  131. },
  132. {
  133. "pagePath": "pages/user/user",
  134. "text": "我的",
  135. "iconPath": "./static/tabbar/user.png",
  136. "selectedIconPath": "./static/tabbar/user-s.png"
  137. }
  138. ]
  139. },
  140. "globalStyle": {
  141. "navigationBarTextStyle": "black",
  142. "navigationBarTitleText": "弘则研报",
  143. "navigationBarBackgroundColor": "#FFFFFF",
  144. "backgroundColor": "#FFFFFF",
  145. "usingComponents":{
  146. "van-button":"/wxcomponents/vant/button/index",
  147. "van-toast":"/wxcomponents/vant/toast/index",
  148. "van-popup":"/wxcomponents/vant/popup/index",
  149. "van-search": "/wxcomponents/vant/search/index",
  150. "van-sticky": "/wxcomponents/vant/sticky/index",
  151. "van-field": "/wxcomponents/vant/field/index",
  152. "van-icon": "/wxcomponents/vant/icon/index",
  153. "van-radio": "/wxcomponents/vant/radio/index",
  154. "van-tab": "/wxcomponents/vant/tab/index",
  155. "van-tabs": "/wxcomponents/vant/tabs/index",
  156. "van-count-down": "/wxcomponents/vant/count-down/index",
  157. "van-empty": "/wxcomponents/vant/empty/index",
  158. "van-checkbox": "/wxcomponents/vant/checkbox/index"
  159. }
  160. }
  161. }