pages.json 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591
  1. {
  2. "pages": [{
  3. "path": "pages/index/index",
  4. "style": {
  5. "navigationBarTitleText": "uni-halo",
  6. "enablePullDownRefresh": false,
  7. "navigationStyle": "custom"
  8. }
  9. },
  10. {
  11. "path": "pages/tabbar/home/home",
  12. "style": {
  13. "navigationBarTitleText": "首页",
  14. "enablePullDownRefresh": true,
  15. "navigationStyle": "custom",
  16. "app-plus": {
  17. "pullToRefresh": {
  18. "color": "#03a9f4",
  19. "style": "circle"
  20. }
  21. }
  22. }
  23. }, {
  24. "path": "pages/tabbar/category/category",
  25. "style": {
  26. "navigationBarTitleText": "分类",
  27. "enablePullDownRefresh": true,
  28. "app-plus": {
  29. "pullToRefresh": {
  30. "color": "#03a9f4",
  31. "style": "circle"
  32. }
  33. }
  34. }
  35. }, {
  36. "path": "pages/tabbar/gallery/gallery",
  37. "style": {
  38. "navigationBarTitleText": "图库",
  39. "enablePullDownRefresh": true,
  40. "app-plus": {
  41. "pullToRefresh": {
  42. "color": "#03a9f4",
  43. "style": "circle"
  44. }
  45. }
  46. }
  47. }, {
  48. "path": "pages/tabbar/moments/moments",
  49. "style": {
  50. "navigationBarTitleText": "瞬间",
  51. "enablePullDownRefresh": true,
  52. "app-plus": {
  53. "pullToRefresh": {
  54. "color": "#03a9f4",
  55. "style": "circle"
  56. }
  57. }
  58. }
  59. }, {
  60. "path": "pages/tabbar/about/about",
  61. "style": {
  62. "navigationBarTitleText": "关于",
  63. "navigationStyle": "custom",
  64. "enablePullDownRefresh": true,
  65. "app-plus": {
  66. "pullToRefresh": {
  67. "color": "#03a9f4",
  68. "style": "circle"
  69. }
  70. }
  71. }
  72. }, {
  73. "path": "uni_modules/uni-upgrade-center-app/pages/upgrade-popup",
  74. "style": {
  75. "disableScroll": true,
  76. "app-plus": {
  77. "backgroundColorTop": "transparent",
  78. "background": "transparent",
  79. "titleNView": false,
  80. "scrollIndicator": false,
  81. "popGesture": "none",
  82. "animationType": "fade-in",
  83. "animationDuration": 200
  84. }
  85. }
  86. }
  87. ],
  88. //此配置为小程序的分包加载机制。在5+App里始终为整包。
  89. "subPackages": [{
  90. "root": "pagesA",
  91. "pages": [{
  92. "path": "start/start",
  93. "style": {
  94. "navigationBarTitleText": "uni-halo",
  95. "enablePullDownRefresh": false,
  96. "navigationStyle": "custom"
  97. }
  98. }, {
  99. "path": "article-detail/article-detail",
  100. "style": {
  101. "navigationBarTitleText": "文章详情",
  102. "enablePullDownRefresh": true,
  103. "app-plus": {
  104. "pullToRefresh": {
  105. "color": "#03a9f4",
  106. "style": "circle"
  107. }
  108. }
  109. }
  110. }, {
  111. "path": "love/love",
  112. "style": {
  113. "navigationBarTitleText": "恋爱日记",
  114. "navigationStyle": "custom",
  115. "enablePullDownRefresh": false,
  116. "app-plus": {
  117. "pullToRefresh": {
  118. "color": "#03a9f4",
  119. "style": "circle"
  120. }
  121. }
  122. }
  123. }, {
  124. "path": "love/list",
  125. "style": {
  126. "navigationBarTitleText": "恋爱清单",
  127. "enablePullDownRefresh": false,
  128. "navigationStyle": "custom"
  129. }
  130. }, {
  131. "path": "love/album",
  132. "style": {
  133. "navigationBarTitleText": "恋爱相册",
  134. "enablePullDownRefresh": true,
  135. "app-plus": {
  136. "pullToRefresh": {
  137. "color": "#03a9f4",
  138. "style": "circle"
  139. }
  140. }
  141. }
  142. }, {
  143. "path": "love/journey",
  144. "style": {
  145. "navigationBarTitleText": "我们的故事",
  146. "navigationStyle": "custom",
  147. "enablePullDownRefresh": false
  148. }
  149. }, {
  150. "path": "archives/archives",
  151. "style": {
  152. "navigationBarTitleText": "文章归档",
  153. "enablePullDownRefresh": true,
  154. "app-plus": {
  155. "pullToRefresh": {
  156. "color": "#03a9f4",
  157. "style": "circle"
  158. }
  159. }
  160. }
  161. }, {
  162. "path": "friend-links/friend-links",
  163. "style": {
  164. "navigationBarTitleText": "友情链接",
  165. "enablePullDownRefresh": true,
  166. "app-plus": {
  167. "pullToRefresh": {
  168. "color": "#03a9f4",
  169. "style": "circle"
  170. }
  171. }
  172. }
  173. }, {
  174. "path": "journal/journal",
  175. "style": {
  176. "navigationBarTitleText": "个人日记",
  177. "enablePullDownRefresh": true,
  178. "app-plus": {
  179. "pullToRefresh": {
  180. "color": "#03a9f4",
  181. "style": "circle"
  182. }
  183. }
  184. }
  185. }, {
  186. "path": "articles/articles",
  187. "style": {
  188. "navigationBarTitleText": "文章列表",
  189. "enablePullDownRefresh": true,
  190. "app-plus": {
  191. "pullToRefresh": {
  192. "color": "#03a9f4",
  193. "style": "circle"
  194. }
  195. }
  196. }
  197. }, {
  198. "path": "category-detail/category-detail",
  199. "style": {
  200. "navigationBarTitleText": "分类详情",
  201. "enablePullDownRefresh": true,
  202. "app-plus": {
  203. "pullToRefresh": {
  204. "color": "#03a9f4",
  205. "style": "circle"
  206. }
  207. }
  208. }
  209. }, {
  210. "path": "comment/comment",
  211. "style": {
  212. "navigationBarTitleText": "",
  213. "enablePullDownRefresh": false
  214. },
  215. "meta": {
  216. "auth": "login"
  217. }
  218. }, {
  219. "path": "disclaimers/disclaimers",
  220. "style": {
  221. "navigationBarTitleText": "免责声明",
  222. "enablePullDownRefresh": false
  223. }
  224. }, {
  225. "path": "contact/contact",
  226. "style": {
  227. "navigationBarTitleText": "联系博主",
  228. "enablePullDownRefresh": false
  229. }
  230. }, {
  231. "path": "about/about",
  232. "style": {
  233. "navigationBarTitleText": "关于博客",
  234. "enablePullDownRefresh": false
  235. }
  236. }, {
  237. "path": "setting/setting",
  238. "style": {
  239. "navigationBarTitleText": "设置",
  240. "enablePullDownRefresh": false
  241. }
  242. }, {
  243. "path": "tags/tags",
  244. "style": {
  245. "navigationBarTitleText": "",
  246. "enablePullDownRefresh": false
  247. }
  248. }, {
  249. "path": "tag-detail/tag-detail",
  250. "style": {
  251. "navigationBarTitleText": "标签详情",
  252. "enablePullDownRefresh": true,
  253. "app-plus": {
  254. "pullToRefresh": {
  255. "color": "#03a9f4",
  256. "style": "circle"
  257. }
  258. }
  259. }
  260. },
  261. {
  262. "path" : "test-page/test-page",
  263. "style" :
  264. {
  265. "navigationBarTitleText" : ""
  266. }
  267. }]
  268. },
  269. {
  270. "root": "pagesB",
  271. "pages": [{
  272. "path": "login/login",
  273. "style": {
  274. "navigationBarTitleText": "登录",
  275. "enablePullDownRefresh": false,
  276. "navigationStyle": "custom"
  277. }
  278. }, {
  279. "path": "admin/admin",
  280. "style": {
  281. "navigationBarTitleText": "工作台",
  282. "enablePullDownRefresh": true,
  283. "app-plus": {
  284. "pullToRefresh": {
  285. "color": "#03a9f4",
  286. "style": "circle"
  287. }
  288. }
  289. },
  290. "meta": {
  291. "auth": "admin"
  292. }
  293. }, {
  294. "path": "settings/settings",
  295. "style": {
  296. "navigationBarTitleText": "系统设置",
  297. "enablePullDownRefresh": true,
  298. "app-plus": {
  299. "pullToRefresh": {
  300. "color": "#03a9f4",
  301. "style": "circle"
  302. }
  303. }
  304. },
  305. "meta": {
  306. "auth": "admin"
  307. }
  308. }, {
  309. "path": "journal/journal",
  310. "style": {
  311. "navigationBarTitleText": "日记管理",
  312. "enablePullDownRefresh": true,
  313. "app-plus": {
  314. "pullToRefresh": {
  315. "color": "#03a9f4",
  316. "style": "circle"
  317. }
  318. }
  319. },
  320. "meta": {
  321. "auth": "admin"
  322. }
  323. }, {
  324. "path": "journal/journal-edit",
  325. "style": {
  326. "navigationBarTitleText": "",
  327. "enablePullDownRefresh": false,
  328. "app-plus": {
  329. "pullToRefresh": {
  330. "color": "#03a9f4",
  331. "style": "circle"
  332. }
  333. }
  334. },
  335. "meta": {
  336. "auth": "admin"
  337. }
  338. }, {
  339. "path": "articles/articles",
  340. "style": {
  341. "navigationBarTitleText": "文章管理",
  342. "enablePullDownRefresh": true,
  343. "app-plus": {
  344. "pullToRefresh": {
  345. "color": "#03a9f4",
  346. "style": "circle"
  347. }
  348. }
  349. },
  350. "meta": {
  351. "auth": "admin"
  352. }
  353. }, {
  354. "path": "articles/article-edit",
  355. "style": {
  356. "navigationBarTitleText": "写文章",
  357. "enablePullDownRefresh": false
  358. },
  359. "meta": {
  360. "auth": "admin"
  361. }
  362. }, {
  363. "path": "articles/article-setting",
  364. "style": {
  365. "navigationBarTitleText": "文章设置",
  366. "enablePullDownRefresh": true,
  367. "app-plus": {
  368. "pullToRefresh": {
  369. "color": "#03a9f4",
  370. "style": "circle"
  371. }
  372. }
  373. },
  374. "meta": {
  375. "auth": "admin"
  376. }
  377. }, {
  378. "path": "category/category",
  379. "style": {
  380. "navigationBarTitleText": "分类管理",
  381. "enablePullDownRefresh": true,
  382. "app-plus": {
  383. "pullToRefresh": {
  384. "color": "#03a9f4",
  385. "style": "circle"
  386. }
  387. }
  388. },
  389. "meta": {
  390. "auth": "admin"
  391. }
  392. }, {
  393. "path": "tags/tags",
  394. "style": {
  395. "navigationBarTitleText": "标签管理",
  396. "enablePullDownRefresh": true,
  397. "app-plus": {
  398. "pullToRefresh": {
  399. "color": "#03a9f4",
  400. "style": "circle"
  401. }
  402. }
  403. },
  404. "meta": {
  405. "auth": "admin"
  406. }
  407. }, {
  408. "path": "attachment/attachment",
  409. "style": {
  410. "navigationBarTitleText": "附件管理",
  411. "enablePullDownRefresh": true,
  412. "app-plus": {
  413. "pullToRefresh": {
  414. "color": "#03a9f4",
  415. "style": "circle"
  416. }
  417. }
  418. },
  419. "meta": {
  420. "auth": "admin"
  421. }
  422. }, {
  423. "path": "links/links",
  424. "style": {
  425. "navigationBarTitleText": "友链管理",
  426. "enablePullDownRefresh": true,
  427. "app-plus": {
  428. "pullToRefresh": {
  429. "color": "#03a9f4",
  430. "style": "circle"
  431. }
  432. }
  433. },
  434. "meta": {
  435. "auth": "admin"
  436. }
  437. }, {
  438. "path": "photos/photos",
  439. "style": {
  440. "navigationBarTitleText": "图库管理",
  441. "enablePullDownRefresh": true,
  442. "app-plus": {
  443. "pullToRefresh": {
  444. "color": "#03a9f4",
  445. "style": "circle"
  446. }
  447. }
  448. },
  449. "meta": {
  450. "auth": "admin"
  451. }
  452. }, {
  453. "path": "photos/photos-edit",
  454. "style": {
  455. "navigationBarTitleText": "新增/编辑图片",
  456. "enablePullDownRefresh": true,
  457. "app-plus": {
  458. "pullToRefresh": {
  459. "color": "#03a9f4",
  460. "style": "circle"
  461. }
  462. }
  463. },
  464. "meta": {
  465. "auth": "admin"
  466. }
  467. }, {
  468. "path": "comments/comments",
  469. "style": {
  470. "navigationBarTitleText": "评论管理",
  471. "enablePullDownRefresh": true,
  472. "app-plus": {
  473. "pullToRefresh": {
  474. "color": "#03a9f4",
  475. "style": "circle"
  476. }
  477. }
  478. },
  479. "meta": {
  480. "auth": "admin"
  481. }
  482. }, {
  483. "path": "menus/menus",
  484. "style": {
  485. "navigationBarTitleText": "菜单管理",
  486. "enablePullDownRefresh": true,
  487. "app-plus": {
  488. "pullToRefresh": {
  489. "color": "#03a9f4",
  490. "style": "circle"
  491. }
  492. }
  493. },
  494. "meta": {
  495. "auth": "admin"
  496. }
  497. }, {
  498. "path": "password/password",
  499. "style": {
  500. "navigationBarTitleText": "修改密码",
  501. "enablePullDownRefresh": false
  502. },
  503. "meta": {
  504. "auth": "admin"
  505. }
  506. }, {
  507. "path": "profile/profile",
  508. "style": {
  509. "navigationBarTitleText": "个人信息",
  510. "enablePullDownRefresh": true,
  511. "app-plus": {
  512. "pullToRefresh": {
  513. "color": "#03a9f4",
  514. "style": "circle"
  515. }
  516. }
  517. },
  518. "meta": {
  519. "auth": "admin"
  520. }
  521. }, {
  522. "path": "logs/logs",
  523. "style": {
  524. "navigationBarTitleText": "日志管理",
  525. "enablePullDownRefresh": true,
  526. "app-plus": {
  527. "pullToRefresh": {
  528. "color": "#03a9f4",
  529. "style": "circle"
  530. }
  531. }
  532. },
  533. "meta": {
  534. "auth": "admin"
  535. }
  536. }]
  537. }, {
  538. "root": "pagesC",
  539. "pages": [{
  540. "path": "website/website",
  541. "style": {
  542. "navigationBarTitleText": "",
  543. "enablePullDownRefresh": false
  544. }
  545. }]
  546. }
  547. ],
  548. "globalStyle": {
  549. "navigationBarTextStyle": "black",
  550. "navigationBarTitleText": "uni-halo",
  551. "navigationBarBackgroundColor": "#ffffff",
  552. "backgroundColor": "#F8F8F8"
  553. },
  554. "tabBar": {
  555. "backgroundColor": "#fff",
  556. "borderStyle": "white",
  557. "color": "#303133",
  558. "selectedColor": "#03a9f4",
  559. "list": [{
  560. "iconPath": "static/tabbar/select_home.png",
  561. "selectedIconPath": "static/tabbar/select_home_active.png",
  562. "pagePath": "pages/tabbar/home/home",
  563. "text": "首页"
  564. },
  565. {
  566. "iconPath": "static/tabbar/select_category.png",
  567. "selectedIconPath": "static/tabbar/select_category_active.png",
  568. "pagePath": "pages/tabbar/category/category",
  569. "text": "分类"
  570. }, {
  571. "iconPath": "static/tabbar/select_gallery.png",
  572. "selectedIconPath": "static/tabbar/select_gallery_active.png",
  573. "pagePath": "pages/tabbar/gallery/gallery",
  574. "text": "图库"
  575. }, {
  576. "iconPath": "static/tabbar/select_links.png",
  577. "selectedIconPath": "static/tabbar/select_links_active.png",
  578. "pagePath": "pages/tabbar/moments/moments",
  579. "text": "瞬间"
  580. }, {
  581. "iconPath": "static/tabbar/select_mine.png",
  582. "selectedIconPath": "static/tabbar/select_mine_active.png",
  583. "pagePath": "pages/tabbar/about/about",
  584. "text": "关于"
  585. }
  586. ]
  587. }
  588. }