pages.json 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329
  1. {
  2. "pages": [
  3. {
  4. "path": "pages/index/index",
  5. "style": {
  6. "navigationBarTitleText": "uni-halo",
  7. "enablePullDownRefresh": false,
  8. "navigationStyle": "custom"
  9. }
  10. },
  11. {
  12. "path": "pages/tabbar/home/home",
  13. "style": {
  14. "navigationBarTitleText": "首页",
  15. "enablePullDownRefresh": true,
  16. "navigationStyle": "custom",
  17. "app-plus": {
  18. "pullToRefresh": {
  19. "color": "#03a9f4",
  20. "style": "circle"
  21. }
  22. }
  23. }
  24. },
  25. {
  26. "path": "pages/tabbar/category/category",
  27. "style": {
  28. "navigationBarTitleText": "分类",
  29. "enablePullDownRefresh": true,
  30. "app-plus": {
  31. "pullToRefresh": {
  32. "color": "#03a9f4",
  33. "style": "circle"
  34. }
  35. }
  36. }
  37. },
  38. {
  39. "path": "pages/tabbar/gallery/gallery",
  40. "style": {
  41. "navigationBarTitleText": "图库",
  42. "enablePullDownRefresh": true,
  43. "app-plus": {
  44. "pullToRefresh": {
  45. "color": "#03a9f4",
  46. "style": "circle"
  47. }
  48. }
  49. }
  50. },
  51. {
  52. "path": "pages/tabbar/moments/moments",
  53. "style": {
  54. "navigationBarTitleText": "瞬间",
  55. "enablePullDownRefresh": true,
  56. "app-plus": {
  57. "pullToRefresh": {
  58. "color": "#03a9f4",
  59. "style": "circle"
  60. }
  61. }
  62. }
  63. },
  64. {
  65. "path": "pages/tabbar/about/about",
  66. "style": {
  67. "navigationBarTitleText": "关于",
  68. "navigationStyle": "custom",
  69. "enablePullDownRefresh": true,
  70. "app-plus": {
  71. "pullToRefresh": {
  72. "color": "#03a9f4",
  73. "style": "circle"
  74. }
  75. }
  76. }
  77. },
  78. {
  79. "path": "uni_modules/uni-upgrade-center-app/pages/upgrade-popup",
  80. "style": {
  81. "disableScroll": true,
  82. "app-plus": {
  83. "backgroundColorTop": "transparent",
  84. "background": "transparent",
  85. "titleNView": false,
  86. "scrollIndicator": false,
  87. "popGesture": "none",
  88. "animationType": "fade-in",
  89. "animationDuration": 200
  90. }
  91. }
  92. }
  93. ],
  94. //此配置为小程序的分包加载机制。在5+App里始终为整包。
  95. "subPackages": [
  96. {
  97. "root": "pagesA",
  98. "pages": [
  99. {
  100. "path": "start/start",
  101. "style": {
  102. "navigationBarTitleText": "uni-halo",
  103. "enablePullDownRefresh": false,
  104. "navigationStyle": "custom"
  105. }
  106. },
  107. {
  108. "path": "article-detail/article-detail",
  109. "style": {
  110. "navigationBarTitleText": "内容详情",
  111. "enablePullDownRefresh": true,
  112. "app-plus": {
  113. "pullToRefresh": {
  114. "color": "#03a9f4",
  115. "style": "circle"
  116. }
  117. }
  118. }
  119. },
  120. {
  121. "path": "love/love",
  122. "style": {
  123. "navigationBarTitleText": "恋爱日记",
  124. "navigationStyle": "custom",
  125. "enablePullDownRefresh": false,
  126. "app-plus": {
  127. "pullToRefresh": {
  128. "color": "#03a9f4",
  129. "style": "circle"
  130. }
  131. }
  132. }
  133. },
  134. {
  135. "path": "love/list",
  136. "style": {
  137. "navigationBarTitleText": "恋爱清单",
  138. "enablePullDownRefresh": false,
  139. "navigationStyle": "custom"
  140. }
  141. },
  142. {
  143. "path": "love/album",
  144. "style": {
  145. "navigationBarTitleText": "恋爱相册",
  146. "enablePullDownRefresh": true,
  147. "app-plus": {
  148. "pullToRefresh": {
  149. "color": "#03a9f4",
  150. "style": "circle"
  151. }
  152. }
  153. }
  154. },
  155. {
  156. "path": "love/journey",
  157. "style": {
  158. "navigationBarTitleText": "我们的故事",
  159. "navigationStyle": "custom",
  160. "enablePullDownRefresh": false
  161. }
  162. },
  163. {
  164. "path": "archives/archives",
  165. "style": {
  166. "navigationBarTitleText": "归档",
  167. "enablePullDownRefresh": true,
  168. "app-plus": {
  169. "pullToRefresh": {
  170. "color": "#03a9f4",
  171. "style": "circle"
  172. }
  173. }
  174. }
  175. },
  176. {
  177. "path": "friend-links/friend-links",
  178. "style": {
  179. "navigationBarTitleText": "友情链接",
  180. "enablePullDownRefresh": true,
  181. "app-plus": {
  182. "pullToRefresh": {
  183. "color": "#03a9f4",
  184. "style": "circle"
  185. }
  186. }
  187. }
  188. },
  189. {
  190. "path": "articles/articles",
  191. "style": {
  192. "navigationBarTitleText": "内容搜索",
  193. "enablePullDownRefresh": true,
  194. "app-plus": {
  195. "pullToRefresh": {
  196. "color": "#03a9f4",
  197. "style": "circle"
  198. }
  199. }
  200. }
  201. },
  202. {
  203. "path": "category-detail/category-detail",
  204. "style": {
  205. "navigationBarTitleText": "分类详情",
  206. "enablePullDownRefresh": true,
  207. "app-plus": {
  208. "pullToRefresh": {
  209. "color": "#03a9f4",
  210. "style": "circle"
  211. }
  212. }
  213. }
  214. },
  215. {
  216. "path": "disclaimers/disclaimers",
  217. "style": {
  218. "navigationBarTitleText": "免责声明",
  219. "enablePullDownRefresh": false
  220. }
  221. },
  222. {
  223. "path": "contact/contact",
  224. "style": {
  225. "navigationBarTitleText": "联系博主",
  226. "enablePullDownRefresh": false
  227. }
  228. },
  229. {
  230. "path": "about/about",
  231. "style": {
  232. "navigationBarTitleText": "关于博客",
  233. "enablePullDownRefresh": false
  234. }
  235. },
  236. {
  237. "path": "setting/setting",
  238. "style": {
  239. "navigationBarTitleText": "设置",
  240. "enablePullDownRefresh": false
  241. }
  242. },
  243. {
  244. "path": "tags/tags",
  245. "style": {
  246. "navigationBarTitleText": "",
  247. "enablePullDownRefresh": false
  248. }
  249. },
  250. {
  251. "path": "tag-detail/tag-detail",
  252. "style": {
  253. "navigationBarTitleText": "标签详情",
  254. "enablePullDownRefresh": true,
  255. "app-plus": {
  256. "pullToRefresh": {
  257. "color": "#03a9f4",
  258. "style": "circle"
  259. }
  260. }
  261. }
  262. },
  263. {
  264. "path": "submit-link/submit-link",
  265. "style": {
  266. "navigationBarTitleText": "友链提交",
  267. "enablePullDownRefresh": false
  268. }
  269. }
  270. ]
  271. },
  272. {
  273. "root": "pagesC",
  274. "pages": [
  275. {
  276. "path": "website/website",
  277. "style": {
  278. "navigationBarTitleText": "",
  279. "enablePullDownRefresh": false
  280. }
  281. }
  282. ]
  283. }
  284. ],
  285. "globalStyle": {
  286. "navigationBarTextStyle": "black",
  287. "navigationBarTitleText": "uni-halo",
  288. "navigationBarBackgroundColor": "#ffffff",
  289. "backgroundColor": "#F8F8F8"
  290. },
  291. "tabBar": {
  292. "backgroundColor": "#fff",
  293. "borderStyle": "white",
  294. "color": "#303133",
  295. "selectedColor": "#03a9f4",
  296. "list": [
  297. {
  298. "iconPath": "static/tabbar/select_home.png",
  299. "selectedIconPath": "static/tabbar/select_home_active.png",
  300. "pagePath": "pages/tabbar/home/home",
  301. "text": "首页"
  302. },
  303. {
  304. "iconPath": "static/tabbar/select_category.png",
  305. "selectedIconPath": "static/tabbar/select_category_active.png",
  306. "pagePath": "pages/tabbar/category/category",
  307. "text": "分类"
  308. },
  309. {
  310. "iconPath": "static/tabbar/select_gallery.png",
  311. "selectedIconPath": "static/tabbar/select_gallery_active.png",
  312. "pagePath": "pages/tabbar/gallery/gallery",
  313. "text": "图库"
  314. },
  315. {
  316. "iconPath": "static/tabbar/select_links.png",
  317. "selectedIconPath": "static/tabbar/select_links_active.png",
  318. "pagePath": "pages/tabbar/moments/moments",
  319. "text": "瞬间"
  320. },
  321. {
  322. "iconPath": "static/tabbar/select_mine.png",
  323. "selectedIconPath": "static/tabbar/select_mine_active.png",
  324. "pagePath": "pages/tabbar/about/about",
  325. "text": "关于"
  326. }
  327. ]
  328. }
  329. }