木邻有你前端代码仓库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

248 lines
5.1 KiB

3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
  1. {
  2. "pages": [
  3. {
  4. "path": "pages/index/index",
  5. "style": {
  6. //
  7. "navigationStyle": "custom",
  8. "enablePullDownRefresh": true
  9. }
  10. },
  11. {
  12. "path": "pages/index/shop",
  13. "style": {
  14. "navigationStyle": "custom",
  15. "enablePullDownRefresh": true
  16. }
  17. },
  18. {
  19. "path": "pages/index/activity",
  20. "style": {
  21. "navigationStyle": "custom",
  22. "enablePullDownRefresh": true
  23. }
  24. },
  25. {
  26. "path": "pages/index/community",
  27. "style": {
  28. "navigationBarTitleText": "社区",
  29. "enablePullDownRefresh": true
  30. // "navigationStyle": "custom"
  31. }
  32. },
  33. {
  34. "path": "pages/index/my",
  35. "style": {
  36. "navigationStyle": "custom"
  37. }
  38. }
  39. ],
  40. "subPackages":[
  41. {
  42. "root": "subPages",
  43. "pages":[
  44. {
  45. "path": "index/announcement",
  46. "style": {
  47. "navigationBarTitleText": "公告",
  48. "enablePullDownRefresh": true
  49. }
  50. },
  51. {
  52. "path": "login/login",
  53. "style": {
  54. "navigationStyle": "custom"
  55. }
  56. },
  57. {
  58. "path": "login/userInfo",
  59. "style": {
  60. "navigationBarTitleText": "用户信息",
  61. "navigationBarBackButtonHidden": true
  62. }
  63. },
  64. {
  65. "path": "index/announcementDetail",
  66. "style": {
  67. "navigationBarTitleText": "公告详情"
  68. }
  69. },
  70. {
  71. "path": "index/ranking",
  72. "style": {
  73. "navigationStyle": "custom"
  74. }
  75. },
  76. {
  77. "path": "index/volunteerApply",
  78. "style": {
  79. "navigationBarTitleText": "申请志愿者"
  80. }
  81. },
  82. {
  83. "path": "index/organizationIntroduction",
  84. "style": {
  85. "navigationBarTitleText": "组织介绍"
  86. }
  87. },
  88. {
  89. "path": "index/activityCalendar",
  90. "style": {
  91. "navigationBarTitleText": "活动日历",
  92. "enablePullDownRefresh": true
  93. }
  94. },
  95. {
  96. "path": "index/activityDetail",
  97. "style": {
  98. "navigationBarTitleText": "活动详情",
  99. "enablePullDownRefresh": true
  100. // "navigationStyle": "custom"
  101. }
  102. },
  103. {
  104. "path": "shop/goodsDetail",
  105. "style": {
  106. "navigationBarTitleText": "商品详情"
  107. }
  108. },
  109. {
  110. "path": "shop/pointsDetail",
  111. "style": {
  112. "navigationBarTitleText": "积分详情",
  113. "enablePullDownRefresh": true
  114. }
  115. },
  116. {
  117. "path": "community/publishPost",
  118. "style": {
  119. "navigationBarTitleText": "发布动态"
  120. }
  121. },
  122. {
  123. "path": "my/activityFavorites",
  124. "style": {
  125. // "navigationStyle": "custom",
  126. "navigationBarTitleText": "活动收藏",
  127. "enablePullDownRefresh": true
  128. }
  129. },
  130. {
  131. "path": "my/myProfile",
  132. "style": {
  133. "navigationBarTitleText": "我的资料"
  134. }
  135. },
  136. {
  137. "path": "my/myRegistrations",
  138. "style": {
  139. "navigationBarTitleText": "我的报名"
  140. }
  141. },
  142. {
  143. "path": "my/myActivityDetail",
  144. "style": {
  145. "navigationBarTitleText": "活动详情"
  146. }
  147. },
  148. {
  149. "path": "my/exchangeRecord",
  150. "style": {
  151. "navigationBarTitleText": "兑换记录",
  152. "enablePullDownRefresh": true,
  153. "enableBackButton": true
  154. }
  155. },
  156. {
  157. "path": "my/exchangeDetail",
  158. "style": {
  159. "navigationBarTitleText": "商品详情",
  160. "enableBackButton": true,
  161. "enablePullDownRefresh": true
  162. }
  163. },
  164. {
  165. "path": "my/productFavorites",
  166. "style": {
  167. // "navigationStyle": "custom",
  168. "navigationBarTitleText": "商品收藏",
  169. "enableBackButton": true,
  170. "enablePullDownRefresh": true
  171. }
  172. },
  173. {
  174. "path": "my/activityCheckin",
  175. "style": {
  176. // "navigationStyle": "custom"
  177. "navigationBarTitleText": "活动签到",
  178. "enablePullDownRefresh": true
  179. }
  180. },
  181. {
  182. "path": "my/checkinCode",
  183. "style": {
  184. "navigationBarTitleText": "签到码"
  185. }
  186. }
  187. ]
  188. }
  189. ],
  190. "mp-weixin": {
  191. "optimization": {
  192. "subPackages": true //
  193. },
  194. //
  195. "preloadRule": {
  196. "pages/index/index": {
  197. "packages": [
  198. "subPages"
  199. ],
  200. "network": "all"
  201. }
  202. }
  203. },
  204. "globalStyle": {
  205. "navigationBarTextStyle": "white",
  206. "navigationBarTitleText": "uni-app",
  207. "navigationBarBackgroundColor": "#1488DB",
  208. "backgroundColor": "#218CDD"
  209. },
  210. "tabBar": {
  211. "color": "#999999",
  212. "selectedColor": "#2E66F4",
  213. "borderStyle": "white",
  214. "backgroundColor": "#ffffff",
  215. "list": [
  216. {
  217. "pagePath": "pages/index/index",
  218. "text": "主页",
  219. "iconPath": "static/组件 7 – 4@2x.png",
  220. "selectedIconPath": "static/组件 4 – 4@2x.png"
  221. },
  222. {
  223. "pagePath": "pages/index/shop",
  224. "text": "商城",
  225. "iconPath": "static/组件 309 – 2@2x.png",
  226. "selectedIconPath": "static/组件 7 – 4@2x.png"
  227. },
  228. {
  229. "pagePath": "pages/index/activity",
  230. "text": "活动",
  231. "iconPath": "static/组件 302 – 4@2x.png",
  232. "selectedIconPath": "static/组件 7 – 4@2x.png"
  233. },
  234. {
  235. "pagePath": "pages/index/community",
  236. "text": "社区",
  237. "iconPath": "static/组件 68 – 1@2x.png",
  238. "selectedIconPath": "static/组件 7 – 4@2x.png"
  239. },
  240. {
  241. "pagePath": "pages/index/my",
  242. "text": "我的",
  243. "iconPath": "static/组件 4 – 4@2x.png",
  244. "selectedIconPath": "static/组件 7 – 4@2x.png"
  245. }
  246. ]
  247. }
  248. }