pages.json 13 KB

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