pages.json 12 KB

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