pages.json 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598
  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. "path": "advertise/advertise",
  270. "style": {
  271. "navigationBarTitleText": "广告页面",
  272. "enablePullDownRefresh": false
  273. }
  274. }]
  275. },
  276. {
  277. "root": "pagesB",
  278. "pages": [{
  279. "path": "login/login",
  280. "style": {
  281. "navigationBarTitleText": "登录",
  282. "enablePullDownRefresh": false,
  283. "navigationStyle": "custom"
  284. }
  285. }, {
  286. "path": "admin/admin",
  287. "style": {
  288. "navigationBarTitleText": "工作台",
  289. "enablePullDownRefresh": true,
  290. "app-plus": {
  291. "pullToRefresh": {
  292. "color": "#03a9f4",
  293. "style": "circle"
  294. }
  295. }
  296. },
  297. "meta": {
  298. "auth": "admin"
  299. }
  300. }, {
  301. "path": "settings/settings",
  302. "style": {
  303. "navigationBarTitleText": "系统设置",
  304. "enablePullDownRefresh": true,
  305. "app-plus": {
  306. "pullToRefresh": {
  307. "color": "#03a9f4",
  308. "style": "circle"
  309. }
  310. }
  311. },
  312. "meta": {
  313. "auth": "admin"
  314. }
  315. }, {
  316. "path": "journal/journal",
  317. "style": {
  318. "navigationBarTitleText": "日记管理",
  319. "enablePullDownRefresh": true,
  320. "app-plus": {
  321. "pullToRefresh": {
  322. "color": "#03a9f4",
  323. "style": "circle"
  324. }
  325. }
  326. },
  327. "meta": {
  328. "auth": "admin"
  329. }
  330. }, {
  331. "path": "journal/journal-edit",
  332. "style": {
  333. "navigationBarTitleText": "",
  334. "enablePullDownRefresh": false,
  335. "app-plus": {
  336. "pullToRefresh": {
  337. "color": "#03a9f4",
  338. "style": "circle"
  339. }
  340. }
  341. },
  342. "meta": {
  343. "auth": "admin"
  344. }
  345. }, {
  346. "path": "articles/articles",
  347. "style": {
  348. "navigationBarTitleText": "文章管理",
  349. "enablePullDownRefresh": true,
  350. "app-plus": {
  351. "pullToRefresh": {
  352. "color": "#03a9f4",
  353. "style": "circle"
  354. }
  355. }
  356. },
  357. "meta": {
  358. "auth": "admin"
  359. }
  360. }, {
  361. "path": "articles/article-edit",
  362. "style": {
  363. "navigationBarTitleText": "写文章",
  364. "enablePullDownRefresh": false
  365. },
  366. "meta": {
  367. "auth": "admin"
  368. }
  369. }, {
  370. "path": "articles/article-setting",
  371. "style": {
  372. "navigationBarTitleText": "文章设置",
  373. "enablePullDownRefresh": true,
  374. "app-plus": {
  375. "pullToRefresh": {
  376. "color": "#03a9f4",
  377. "style": "circle"
  378. }
  379. }
  380. },
  381. "meta": {
  382. "auth": "admin"
  383. }
  384. }, {
  385. "path": "category/category",
  386. "style": {
  387. "navigationBarTitleText": "分类管理",
  388. "enablePullDownRefresh": true,
  389. "app-plus": {
  390. "pullToRefresh": {
  391. "color": "#03a9f4",
  392. "style": "circle"
  393. }
  394. }
  395. },
  396. "meta": {
  397. "auth": "admin"
  398. }
  399. }, {
  400. "path": "tags/tags",
  401. "style": {
  402. "navigationBarTitleText": "标签管理",
  403. "enablePullDownRefresh": true,
  404. "app-plus": {
  405. "pullToRefresh": {
  406. "color": "#03a9f4",
  407. "style": "circle"
  408. }
  409. }
  410. },
  411. "meta": {
  412. "auth": "admin"
  413. }
  414. }, {
  415. "path": "attachment/attachment",
  416. "style": {
  417. "navigationBarTitleText": "附件管理",
  418. "enablePullDownRefresh": true,
  419. "app-plus": {
  420. "pullToRefresh": {
  421. "color": "#03a9f4",
  422. "style": "circle"
  423. }
  424. }
  425. },
  426. "meta": {
  427. "auth": "admin"
  428. }
  429. }, {
  430. "path": "links/links",
  431. "style": {
  432. "navigationBarTitleText": "友链管理",
  433. "enablePullDownRefresh": true,
  434. "app-plus": {
  435. "pullToRefresh": {
  436. "color": "#03a9f4",
  437. "style": "circle"
  438. }
  439. }
  440. },
  441. "meta": {
  442. "auth": "admin"
  443. }
  444. }, {
  445. "path": "photos/photos",
  446. "style": {
  447. "navigationBarTitleText": "图库管理",
  448. "enablePullDownRefresh": true,
  449. "app-plus": {
  450. "pullToRefresh": {
  451. "color": "#03a9f4",
  452. "style": "circle"
  453. }
  454. }
  455. },
  456. "meta": {
  457. "auth": "admin"
  458. }
  459. }, {
  460. "path": "photos/photos-edit",
  461. "style": {
  462. "navigationBarTitleText": "新增/编辑图片",
  463. "enablePullDownRefresh": true,
  464. "app-plus": {
  465. "pullToRefresh": {
  466. "color": "#03a9f4",
  467. "style": "circle"
  468. }
  469. }
  470. },
  471. "meta": {
  472. "auth": "admin"
  473. }
  474. }, {
  475. "path": "comments/comments",
  476. "style": {
  477. "navigationBarTitleText": "评论管理",
  478. "enablePullDownRefresh": true,
  479. "app-plus": {
  480. "pullToRefresh": {
  481. "color": "#03a9f4",
  482. "style": "circle"
  483. }
  484. }
  485. },
  486. "meta": {
  487. "auth": "admin"
  488. }
  489. }, {
  490. "path": "menus/menus",
  491. "style": {
  492. "navigationBarTitleText": "菜单管理",
  493. "enablePullDownRefresh": true,
  494. "app-plus": {
  495. "pullToRefresh": {
  496. "color": "#03a9f4",
  497. "style": "circle"
  498. }
  499. }
  500. },
  501. "meta": {
  502. "auth": "admin"
  503. }
  504. }, {
  505. "path": "password/password",
  506. "style": {
  507. "navigationBarTitleText": "修改密码",
  508. "enablePullDownRefresh": false
  509. },
  510. "meta": {
  511. "auth": "admin"
  512. }
  513. }, {
  514. "path": "profile/profile",
  515. "style": {
  516. "navigationBarTitleText": "个人信息",
  517. "enablePullDownRefresh": true,
  518. "app-plus": {
  519. "pullToRefresh": {
  520. "color": "#03a9f4",
  521. "style": "circle"
  522. }
  523. }
  524. },
  525. "meta": {
  526. "auth": "admin"
  527. }
  528. }, {
  529. "path": "logs/logs",
  530. "style": {
  531. "navigationBarTitleText": "日志管理",
  532. "enablePullDownRefresh": true,
  533. "app-plus": {
  534. "pullToRefresh": {
  535. "color": "#03a9f4",
  536. "style": "circle"
  537. }
  538. }
  539. },
  540. "meta": {
  541. "auth": "admin"
  542. }
  543. }]
  544. }, {
  545. "root": "pagesC",
  546. "pages": [{
  547. "path": "website/website",
  548. "style": {
  549. "navigationBarTitleText": "",
  550. "enablePullDownRefresh": false
  551. }
  552. }]
  553. }
  554. ],
  555. "globalStyle": {
  556. "navigationBarTextStyle": "black",
  557. "navigationBarTitleText": "uni-halo",
  558. "navigationBarBackgroundColor": "#ffffff",
  559. "backgroundColor": "#F8F8F8"
  560. },
  561. "tabBar": {
  562. "backgroundColor": "#fff",
  563. "borderStyle": "white",
  564. "color": "#303133",
  565. "selectedColor": "#03a9f4",
  566. "list": [{
  567. "iconPath": "static/tabbar/select_home.png",
  568. "selectedIconPath": "static/tabbar/select_home_active.png",
  569. "pagePath": "pages/tabbar/home/home",
  570. "text": "首页"
  571. },
  572. {
  573. "iconPath": "static/tabbar/select_category.png",
  574. "selectedIconPath": "static/tabbar/select_category_active.png",
  575. "pagePath": "pages/tabbar/category/category",
  576. "text": "分类"
  577. }, {
  578. "iconPath": "static/tabbar/select_gallery.png",
  579. "selectedIconPath": "static/tabbar/select_gallery_active.png",
  580. "pagePath": "pages/tabbar/gallery/gallery",
  581. "text": "图库"
  582. }, {
  583. "iconPath": "static/tabbar/select_links.png",
  584. "selectedIconPath": "static/tabbar/select_links_active.png",
  585. "pagePath": "pages/tabbar/moments/moments",
  586. "text": "瞬间"
  587. }, {
  588. "iconPath": "static/tabbar/select_mine.png",
  589. "selectedIconPath": "static/tabbar/select_mine_active.png",
  590. "pagePath": "pages/tabbar/about/about",
  591. "text": "关于"
  592. }
  593. ]
  594. }
  595. }