pages.json 12 KB

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