pages.json 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636
  1. {
  2. "pages": [
  3. //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  4. {
  5. "path": "pages/login/login",
  6. "style": {
  7. "navigationStyle": "custom" // 隐藏系统导航栏
  8. }
  9. }
  10. ,{
  11. "path": "pages/index/index",
  12. "style": {
  13. "navigationStyle": "custom" // 隐藏系统导航栏
  14. }
  15. },
  16. {
  17. "path" : "pages/fileTransmit/addFileTransmit",
  18. "style" : {
  19. "navigationBarTitleText": "新增文件传阅卡"
  20. }
  21. },
  22. {
  23. "path" : "pages/fileTransmit/examineFile",
  24. "style" : {
  25. "navigationBarTitleText": "审批页"
  26. }
  27. },
  28. {
  29. "path" : "pages/fileTransmit/fileInfo",
  30. "style" : {
  31. "navigationBarTitleText": "公文详情"
  32. }
  33. },
  34. {
  35. "path" : "pages/fileTransmit/fileTransmitList",
  36. "style" : {
  37. "navigationBarTitleText": "列表"
  38. }
  39. },
  40. {
  41. "path" : "pages/fileTransmit/statistics",
  42. "style" : {
  43. "navigationBarTitleText": "公文统计"
  44. }
  45. },
  46. {
  47. "path": "pages/user/setting/password/password",
  48. "style": {
  49. "navigationBarTitleText": "修改密码"
  50. }
  51. },
  52. {
  53. "path": "pages/user/setting/signature/signature",
  54. "style": {
  55. "navigationBarTitleText": "签名"
  56. }
  57. }
  58. ,{
  59. "path" : "pages/apps/notification/notification",
  60. "style" : {
  61. "navigationBarTitleText": "通知"
  62. }
  63. }
  64. ,{
  65. "path" : "pages/apps/mail/mail",
  66. "style" : {
  67. "navigationBarTitleText": "站内信"
  68. }
  69. }
  70. ,{
  71. "path" : "pages/apps/notification/notificationDetail",
  72. "style" : {
  73. "navigationBarTitleText": "通知详情"
  74. }
  75. }
  76. ,{
  77. "path" : "pages/apps/notification/oaNotifyForm",
  78. "style" : {
  79. "navigationBarTitleText": "签发通知"
  80. }
  81. }
  82. ,{
  83. "path" : "pages/apps/mail/inbox",
  84. "style" : {
  85. "navigationBarTitleText": "收件箱"
  86. }
  87. }
  88. ,{
  89. "path" : "pages/apps/mail/outbox",
  90. "style" : {
  91. "navigationBarTitleText": "发件箱"
  92. }
  93. }
  94. ,{
  95. "path" : "pages/apps/mail/draft",
  96. "style" : {
  97. "navigationBarTitleText": "草稿箱"
  98. }
  99. }
  100. ,{
  101. "path" : "pages/apps/mail/trash",
  102. "style" : {
  103. "navigationBarTitleText": "垃圾箱"
  104. }
  105. }
  106. ,{
  107. "path" : "pages/apps/mail/sendEmailForm",
  108. "style" : {
  109. "navigationBarTitleText": "发送邮件"
  110. }
  111. }
  112. ,{
  113. "path" : "pages/apps/mail/sendEmailDetail",
  114. "style" : {
  115. "navigationBarTitleText": "邮件详情"
  116. }
  117. }
  118. ,{
  119. "path" : "pages/apps/mail/receivedMailDetail",
  120. "style" : {
  121. "navigationBarTitleText": "邮件详情"
  122. }
  123. }
  124. ,{
  125. "path" : "pages/apps/mail/trashMailDetail",
  126. "style" : {
  127. "navigationBarTitleText": "邮件详情"
  128. }
  129. }
  130. ,{
  131. "path" : "pages/workbench/task/ApplyList",
  132. "style" : {
  133. "navigationBarTitleText": "我发起的"
  134. }
  135. }
  136. ,{
  137. "path" : "pages/workbench/task/TodoList",
  138. "style" : {
  139. "navigationBarTitleText": "待办事项"
  140. }
  141. }
  142. ,{
  143. "path" : "pages/workbench/task/HistoryList",
  144. "style" : {
  145. "navigationBarTitleText": "已办事项"
  146. }
  147. }
  148. ,{
  149. "path" : "pages/workbench/task/FlowCopyList",
  150. "style" : {
  151. "navigationBarTitleText": "抄送我的"
  152. }
  153. }
  154. ,{
  155. "path" : "pages/workbench/task/TaskForm",
  156. "style" : {
  157. "navigationBarTitleText": "流程表单" // 隐藏系统导航栏
  158. }
  159. }
  160. ,{
  161. "path" : "pages/workbench/task/TaskFormDetail",
  162. "style" : {
  163. "navigationBarTitleText": "表单详情" // 隐藏系统导航栏
  164. }
  165. },
  166. {
  167. "path" : "pages/workbench/task/TaskFormEdit",
  168. "style" : {
  169. "navigationBarTitleText": "表单编辑" // 隐藏系统导航栏
  170. }
  171. },
  172. {
  173. "path" : "pages/test/mobile/TestMobileForm",
  174. "style" : {}
  175. },
  176. {
  177. "path" : "pages/test/mobile/TestMobileList",
  178. "style" : {
  179. "navigationBarTitleText": "移动表单列表" // 隐藏系统导航栏
  180. }
  181. },
  182. {
  183. "path" : "pages/test/activiti/TestActivitiLeaveForm",
  184. "style" : {}
  185. },
  186. {
  187. "path" : "pages/example/basics/icon",
  188. "style" : {
  189. "navigationBarTitleText": "自定义图标"
  190. }
  191. },
  192. {
  193. "path": "pages/example/ucharts/ucharts",
  194. "style": {
  195. "navigationBarTitleText": "ucharts"
  196. }
  197. },
  198. {
  199. "path": "pages/example/components",
  200. "style": {
  201. "navigationBarTitleText": "uView UI"
  202. }
  203. }
  204. ],
  205. "subPackages": [{
  206. "root": "pages/example/componentsA",
  207. "pages": [
  208. // 过渡动画
  209. {
  210. "path": "transition/transition",
  211. "style": {
  212. "navigationBarTitleText": "过渡动画"
  213. }
  214. },
  215. {
  216. "path": "test/test",
  217. "style": {
  218. "navigationBarTitleText": "测试"
  219. }
  220. },
  221. {
  222. "path": "icon/icon",
  223. "style": {
  224. "navigationBarTitleText": "图标"
  225. }
  226. },
  227. {
  228. "path": "cell/cell",
  229. "style": {
  230. "navigationBarTitleText": "单元格"
  231. }
  232. },
  233. {
  234. "path": "line/line",
  235. "style": {
  236. "navigationBarTitleText": "线条"
  237. }
  238. },
  239. {
  240. "path": "image/image",
  241. "style": {
  242. "navigationBarTitleText": "图片"
  243. }
  244. },
  245. {
  246. "path": "link/link",
  247. "style": {
  248. "navigationBarTitleText": "超链接"
  249. }
  250. },
  251. {
  252. "path": "button/button",
  253. "style": {
  254. "navigationBarTitleText": "按钮"
  255. }
  256. },
  257. {
  258. "path": "loading-icon/loading-icon",
  259. "style": {
  260. "navigationBarTitleText": "加载中图标"
  261. }
  262. },
  263. {
  264. "path": "overlay/overlay",
  265. "style": {
  266. "navigationBarTitleText": "遮罩层",
  267. "navigationStyle": "custom"
  268. }
  269. },
  270. {
  271. "path": "loading-page/loading-page",
  272. "style": {
  273. "navigationBarTitleText": "加载页",
  274. "navigationStyle": "custom"
  275. }
  276. },
  277. {
  278. "path": "popup/popup",
  279. "style": {
  280. "navigationBarTitleText": "弹窗",
  281. "navigationStyle": "custom"
  282. }
  283. },
  284. {
  285. "path": "swipeAction/swipeAction",
  286. "style": {
  287. "navigationBarTitleText": "滑动单元格"
  288. }
  289. },
  290. {
  291. "path": "sticky/sticky",
  292. "style": {
  293. "navigationBarTitleText": "吸顶"
  294. }
  295. },
  296. {
  297. "path": "radio/radio",
  298. "style": {
  299. "navigationBarTitleText": "单选框"
  300. }
  301. },
  302. {
  303. "path": "checkbox/checkbox",
  304. "style": {
  305. "navigationBarTitleText": "复选框"
  306. }
  307. },
  308. {
  309. "path": "empty/empty",
  310. "style": {
  311. "navigationBarTitleText": "内容为空"
  312. }
  313. },
  314. {
  315. "path": "backtop/backtop",
  316. "style": {
  317. "navigationBarTitleText": "返回顶部"
  318. }
  319. },
  320. {
  321. "path": "divider/divider",
  322. "style": {
  323. "navigationBarTitleText": "分割线"
  324. }
  325. },
  326. {
  327. "path": "rate/rate",
  328. "style": {
  329. "navigationBarTitleText": "评分"
  330. }
  331. },
  332. {
  333. "path": "gap/gap",
  334. "style": {
  335. "navigationBarTitleText": "间隔槽"
  336. }
  337. },
  338. {
  339. "path": "grid/grid",
  340. "style": {
  341. "navigationBarTitleText": "宫格"
  342. }
  343. }
  344. ]
  345. }, {
  346. "root": "pages/example/componentsB",
  347. "pages": [{
  348. "path": "dropdown/dropdown",
  349. "style": {
  350. "navigationBarTitleText": "下拉菜单"
  351. }
  352. }, {
  353. "path": "actionSheet/actionSheet",
  354. "style": {
  355. "navigationBarTitleText": "上拉菜单",
  356. "navigationStyle": "custom"
  357. }
  358. }, {
  359. "path": "parse/parse",
  360. "style": {
  361. "navigationBarTitleText": "富文本解析器"
  362. }
  363. }, {
  364. "path": "parse/jump",
  365. "style": {
  366. "navigationBarTitleText": "内部链接"
  367. }
  368. }, {
  369. "path": "toast/toast",
  370. "style": {
  371. "navigationBarTitleText": "提示消息"
  372. }
  373. }, {
  374. "path": "keyboard/keyboard",
  375. "style": {
  376. "navigationBarTitleText": "键盘",
  377. "navigationStyle": "custom"
  378. }
  379. }, {
  380. "path": "slider/slider",
  381. "style": {
  382. "navigationBarTitleText": "滑动选择器"
  383. }
  384. }, {
  385. "path": "upload/upload",
  386. "style": {
  387. "navigationBarTitleText": "上传"
  388. }
  389. }, {
  390. "path": "notify/notify",
  391. "style": {
  392. "navigationBarTitleText": "消息提示"
  393. }
  394. }, {
  395. "path": "countDown/countDown",
  396. "style": {
  397. "navigationBarTitleText": "倒计时"
  398. }
  399. }, {
  400. "path": "color/color",
  401. "style": {
  402. "navigationBarTitleText": "色彩"
  403. }
  404. }, {
  405. "path": "numberBox/numberBox",
  406. "style": {
  407. "navigationBarTitleText": "步进器"
  408. }
  409. }, {
  410. "path": "countTo/countTo",
  411. "style": {
  412. "navigationBarTitleText": "数字滚动"
  413. }
  414. }, {
  415. "path": "search/search",
  416. "style": {
  417. "navigationBarTitleText": "搜索"
  418. }
  419. }, {
  420. "path": "badge/badge",
  421. "style": {
  422. "navigationBarTitleText": "徽标数"
  423. }
  424. }, {
  425. "path": "tag/tag",
  426. "style": {
  427. "navigationBarTitleText": "标签"
  428. }
  429. }, {
  430. "path": "alert/alert",
  431. "style": {
  432. "navigationBarTitleText": "警告"
  433. }
  434. }, {
  435. "path": "switch/switch",
  436. "style": {
  437. "navigationBarTitleText": "开关"
  438. }
  439. }, {
  440. "path": "collapse/collapse",
  441. "style": {
  442. "navigationBarTitleText": "折叠面板"
  443. }
  444. }, {
  445. "path": "code/code",
  446. "style": {
  447. "navigationBarTitleText": "验证码"
  448. }
  449. }, {
  450. "path": "noticeBar/noticeBar",
  451. "style": {
  452. "navigationBarTitleText": "滚动通知"
  453. }
  454. }, {
  455. "path": "progress/progress",
  456. "style": {
  457. "navigationBarTitleText": "进度条"
  458. }
  459. }, {
  460. "path": "tabbar/tabbar",
  461. "style": {
  462. "navigationBarTitleText": "Tabbar"
  463. }
  464. }]
  465. }, {
  466. "root": "pages/example/componentsC",
  467. "pages": [{
  468. "path": "table/table",
  469. "style": {
  470. "navigationBarTitleText": "表格"
  471. }
  472. }, {
  473. "path": "form/form",
  474. "style": {
  475. "navigationBarTitleText": "表单",
  476. "navigationStyle": "custom"
  477. }
  478. }, {
  479. "path": "textarea/textarea",
  480. "style": {
  481. "navigationBarTitleText": "文本域"
  482. }
  483. }, {
  484. "path": "noNetwork/noNetwork",
  485. "style": {
  486. "navigationBarTitleText": "无网络提示"
  487. }
  488. }, {
  489. "path": "loadmore/loadmore",
  490. "style": {
  491. "navigationBarTitleText": "加载更多"
  492. }
  493. }, {
  494. "path": "text/text",
  495. "style": {
  496. "navigationBarTitleText": "文本"
  497. }
  498. }, {
  499. "path": "steps/steps",
  500. "style": {
  501. "navigationBarTitleText": "步骤条"
  502. }
  503. }, {
  504. "path": "navbar/navbar",
  505. "style": {
  506. "navigationBarTitleText": "导航栏",
  507. "navigationStyle": "custom"
  508. }
  509. }, {
  510. "path": "skeleton/skeleton",
  511. "style": {
  512. "navigationBarTitleText": "骨架屏"
  513. }
  514. }, {
  515. "path": "input/input",
  516. "style": {
  517. "navigationBarTitleText": "输入框"
  518. }
  519. }, {
  520. "path": "album/album",
  521. "style": {
  522. "navigationBarTitleText": "相册"
  523. }
  524. }, {
  525. "path": "avatar/avatar",
  526. "style": {
  527. "navigationBarTitleText": "头像"
  528. }
  529. }, {
  530. "path": "readMore/readMore",
  531. "style": {
  532. "navigationBarTitleText": "阅读更多"
  533. }
  534. }, {
  535. "path": "layout/layout",
  536. "style": {
  537. "navigationBarTitleText": "布局"
  538. }
  539. }, {
  540. "path": "indexList/indexList",
  541. "style": {
  542. "navigationBarTitleText": "索引列表"
  543. }
  544. }, {
  545. "path": "tooltip/tooltip",
  546. "style": {
  547. "navigationBarTitleText": "长按提示"
  548. }
  549. }, {
  550. "path": "tabs/tabs",
  551. "style": {
  552. "navigationBarTitleText": "标签"
  553. }
  554. }, {
  555. "path": "list/list",
  556. "style": {
  557. "navigationBarTitleText": "列表"
  558. }
  559. }, {
  560. "path": "swiper/swiper",
  561. "style": {
  562. "navigationBarTitleText": "轮播"
  563. }
  564. }, {
  565. "path": "scrollList/scrollList",
  566. "style": {
  567. "navigationBarTitleText": "横向滚动列表"
  568. }
  569. }, {
  570. "path": "codeInput/codeInput",
  571. "style": {
  572. "navigationBarTitleText": "验证码输入"
  573. }
  574. }, {
  575. "path": "modal/modal",
  576. "style": {
  577. "navigationBarTitleText": "模态框",
  578. "navigationStyle": "custom"
  579. }
  580. }, {
  581. "path": "picker/picker",
  582. "style": {
  583. "navigationBarTitleText": "选择器",
  584. "navigationStyle": "custom"
  585. }
  586. }, {
  587. "path": "calendar/calendar",
  588. "style": {
  589. "navigationBarTitleText": "日历",
  590. "navigationStyle": "custom"
  591. }
  592. }, {
  593. "path": "datetimePicker/datetimePicker",
  594. "style": {
  595. "navigationBarTitleText": "时间选择",
  596. "navigationStyle": "custom"
  597. }
  598. }, {
  599. "path": "subsection/subsection",
  600. "style": {
  601. "navigationBarTitleText": "分段器"
  602. }
  603. }]
  604. }],
  605. "preloadRule": {
  606. "pages/example/components": {
  607. "network": "all",
  608. "packages": ["pages/componentsA", "pages/componentsB"]
  609. }
  610. },
  611. "globalStyle": {
  612. "mp-alipay": {
  613. /* 支付宝小程序特有相关 */
  614. "transparentTitle": "always",
  615. "allowsBounceVertical": "NO"
  616. },
  617. "usingComponents": {
  618. "ly-tree-node": "/components/ly-tree/ly-tree-node"
  619. },
  620. "navigationBarBackgroundColor": "#36a7f3",
  621. "navigationBarTitleText": "公文流转",
  622. "navigationStyle": "custom",
  623. "navigationBarTextStyle": "white"
  624. },
  625. "usingComponts": true,
  626. "condition": { //模式配置,仅开发期间生效
  627. "current": 0, //当前激活的模式(list 的索引项)
  628. "list": [{
  629. "name": "表单", //模式名称
  630. "path": "pages/index/index", //启动页面
  631. "query": "" //启动参数
  632. }
  633. ]
  634. }
  635. }