pages.json 13 KB

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