pages.json 13 KB

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