pages.json 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604
  1. {
  2. "easycom": {
  3. "autoscan": true,
  4. "custom": {
  5. "^Jnpf(.*)": "@/components/Jnpf/$1/index.vue",
  6. "^jnpf-(.*)": "@/components/Jnpf/$1/index.vue"
  7. }
  8. },
  9. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  10. // #ifdef APP
  11. {
  12. "path": "pages/launch/index",
  13. "style": {
  14. "navigationStyle": "custom",
  15. "navigationBarTextStyle": "black" // 状态栏字体为白色
  16. }
  17. },
  18. {
  19. "path": "pages/launch/policy",
  20. "style": {
  21. "navigationStyle": "custom",
  22. "navigationBarTextStyle": "black" // 状态栏字体为白色
  23. }
  24. },
  25. {
  26. "path": "pages/launch/guide",
  27. "style": {
  28. "navigationStyle": "custom",
  29. "navigationBarTextStyle": "black" // 状态栏字体为白色
  30. }
  31. },
  32. // #endif
  33. {
  34. "path": "pages/login/index",
  35. "style": {
  36. "navigationStyle": "custom",
  37. "navigationBarTextStyle": "black" // 状态栏字体为白色
  38. }
  39. },
  40. {
  41. "path": "pages/login/sso-redirect",
  42. "style": {
  43. "navigationStyle": "custom", // 隐藏系统导航栏
  44. "navigationBarTextStyle": "black" // 状态栏字体为白色
  45. }
  46. },
  47. {
  48. "path": "pages/login/scanLogin",
  49. "style": {
  50. "navigationBarTitleText": "扫码登录"
  51. }
  52. },
  53. {
  54. "path": "pages/login/otherLogin",
  55. "style": {
  56. "navigationBarTitleText": ""
  57. }
  58. },
  59. {
  60. "path": "pages/index/index",
  61. "style": {
  62. "navigationStyle": "custom",
  63. "navigationBarTextStyle": "black",
  64. "app-plus": {
  65. "bounce": "none" // 取消APP端iOS回弹,避免与下拉刷新冲突 (可统一配在 'globalStyle')
  66. }
  67. }
  68. },
  69. {
  70. "path": "pages/index/message",
  71. "style": {
  72. "navigationBarTitleText": "%app.tabBar.message%"
  73. }
  74. },
  75. {
  76. "path": "pages/index/workFlow",
  77. "style": {
  78. "navigationBarTitleText": "%app.tabBar.workFlow%"
  79. }
  80. },
  81. {
  82. "path": "pages/index/apply",
  83. "style": {
  84. "navigationStyle": "custom",
  85. "navigationBarTextStyle": "black",
  86. "app-plus": {
  87. "bounce": "none" // 取消APP端iOS回弹,避免与下拉刷新冲突 (可统一配在 'globalStyle')
  88. }
  89. }
  90. },
  91. // #ifndef MP
  92. {
  93. "path": "pages/formShortLink/index",
  94. "style": {
  95. "navigationBarTitleText": "表单外链",
  96. "app-plus": {
  97. "titleNView": false,
  98. "bounce": "none"
  99. }
  100. }
  101. },
  102. {
  103. "path": "pages/formShortLink/detail",
  104. "style": {
  105. "navigationBarTitleText": "详情",
  106. "app-plus": {
  107. "titleNView": false,
  108. "bounce": "none"
  109. }
  110. }
  111. },
  112. // #endif
  113. {
  114. "path": "pages/index/my",
  115. "style": {
  116. "navigationBarTitleText": "%app.tabBar.my%",
  117. "app-plus": {
  118. "bounce": "none"
  119. }
  120. }
  121. }
  122. ],
  123. "subPackages": [{
  124. "root": "pages/portal",
  125. "pages": [
  126. // #ifndef MP
  127. {
  128. "path": "applyPortal/index",
  129. "style": {
  130. "navigationStyle": "custom", // 隐藏系统导航栏
  131. "navigationBarTextStyle": "black" // 状态栏字体为白色
  132. }
  133. },
  134. // #endif
  135. // #ifdef H5
  136. {
  137. "path": "mpPortal/index",
  138. "style": {
  139. "navigationStyle": "custom", // 隐藏系统导航栏
  140. "navigationBarTextStyle": "black" // 状态栏字体为白色
  141. }
  142. },
  143. // #endif
  144. {
  145. "path": "scanPortal/index",
  146. "style": {
  147. "navigationBarTitleText": ""
  148. }
  149. }
  150. ]
  151. },
  152. {
  153. "root": "pages/message",
  154. "pages": [{
  155. "path": "contacts/index",
  156. "style": {
  157. "navigationBarTitleText": "通讯录"
  158. }
  159. },
  160. {
  161. "path": "userDetail/index",
  162. "style": {
  163. "navigationBarTitleText": "",
  164. "navigationBarTextStyle": "black",
  165. "navigationBarBackgroundColor": "#f0f2f6"
  166. }
  167. },
  168. {
  169. "path": "message/index",
  170. "style": {
  171. "navigationBarTitleText": "站内消息",
  172. "navigationStyle": "custom", // 隐藏系统导航栏
  173. "navigationBarTextStyle": "white" // 状态栏字体为白色
  174. }
  175. },
  176. {
  177. "path": "messageDetail/index",
  178. "style": {
  179. "navigationBarTitleText": "详情"
  180. }
  181. },
  182. {
  183. "path": "im/index",
  184. "style": {
  185. "navigationBarTitleText": ""
  186. }
  187. }
  188. ]
  189. },
  190. {
  191. "root": "pages/workFlow",
  192. "pages": [{
  193. "path": "flowBefore/index",
  194. "style": {
  195. "navigationBarTitleText": ""
  196. }
  197. },
  198. {
  199. "path": "flowBefore/revokeForm",
  200. "style": {
  201. "navigationBarTitleText": ""
  202. }
  203. },
  204. {
  205. "path": "flowBefore/logError",
  206. "style": {
  207. "navigationBarTitleText": "异常详情"
  208. }
  209. },
  210. {
  211. "path": "document/index",
  212. "style": {
  213. "navigationBarTitleText": "文档中心"
  214. }
  215. },
  216. {
  217. "path": "document/detail",
  218. "style": {
  219. "navigationBarTitleText": "文档中心"
  220. }
  221. },
  222. {
  223. "path": "schedule/index",
  224. "style": {
  225. "navigationBarTitleText": "日程"
  226. }
  227. },
  228. {
  229. "path": "schedule/form",
  230. "style": {
  231. "navigationBarTitleText": ""
  232. }
  233. },
  234. {
  235. "path": "schedule/detail",
  236. "style": {
  237. "navigationStyle": "custom", // 隐藏系统导航栏
  238. "navigationBarTitleText": "详情",
  239. "app-plus": {
  240. "titleNView": false,
  241. "bounce": "none"
  242. }
  243. }
  244. },
  245. {
  246. "path": "webView/index",
  247. "style": {
  248. "navigationBarTitleText": "",
  249. "app-plus": {
  250. "titleNView": false,
  251. "bounce": "none"
  252. }
  253. }
  254. },
  255. {
  256. "path": "flowTodo/index",
  257. "style": {
  258. "navigationBarTitleText": "工作流程"
  259. }
  260. },
  261. // #ifdef MP
  262. {
  263. "path": "filePreview/index",
  264. "style": {
  265. "navigationBarTitleText": ""
  266. }
  267. },
  268. // #endif
  269. {
  270. "path": "operate/index",
  271. "style": {
  272. "navigationBarTitleText": ""
  273. }
  274. },
  275. {
  276. "path": "operate/revoke",
  277. "style": {
  278. "navigationBarTitleText": "流程撤销"
  279. }
  280. },
  281. {
  282. "path": "scanForm/index",
  283. "style": {
  284. "navigationBarTitleText": "预览页面"
  285. }
  286. },
  287. {
  288. "path": "comment/index",
  289. "style": {
  290. "navigationBarTitleText": "填写评论"
  291. }
  292. },
  293. {
  294. "path": "candiDateUserSelect/index",
  295. "style": {
  296. "navigationBarTitleText": "审批候选人",
  297. "enablePullDownRefresh": false,
  298. "app-plus": {
  299. "bounce": "none"
  300. }
  301. }
  302. },
  303. {
  304. "path": "assistantMsg/viewData",
  305. "style": {
  306. "navigationBarTitleText": "查看数据"
  307. }
  308. }
  309. ]
  310. },
  311. {
  312. "root": "pages/commonPage",
  313. "pages": [{
  314. "path": "morePage/index",
  315. "style": {
  316. "navigationBarTitleText": "常用菜单"
  317. }
  318. },
  319. {
  320. "path": "allApp/index",
  321. "style": {
  322. "navigationBarTitleText": "收藏流程"
  323. }
  324. }
  325. ]
  326. },
  327. {
  328. "root": "pages/apply",
  329. "pages": [{
  330. "path": "reportLog/index",
  331. "style": {
  332. "navigationBarTitleText": "汇报日志"
  333. }
  334. },
  335. {
  336. "path": "reportLog/form",
  337. "style": {
  338. "navigationBarTitleText": ""
  339. }
  340. },
  341. {
  342. "path": "catalog/index",
  343. "style": {
  344. "navigationStyle": "custom" // 隐藏系统导航栏
  345. }
  346. },
  347. {
  348. "path": "interPage/signInvokeList",
  349. "style": {
  350. "navigationBarTitleText": "个人签名"
  351. }
  352. },
  353. {
  354. "path": "order/index",
  355. "style": {
  356. "navigationBarTitleText": "订单示例"
  357. }
  358. },
  359. {
  360. "path": "popSelect/index",
  361. "style": {
  362. "navigationBarTitleText": "选择数据",
  363. "enablePullDownRefresh": false
  364. }
  365. },
  366. {
  367. "path": "dynamicModel/index",
  368. "style": {
  369. "navigationBarTitleText": ""
  370. }
  371. },
  372. {
  373. "path": "dynamicModel/form",
  374. "style": {
  375. "navigationBarTitleText": ""
  376. }
  377. },
  378. {
  379. "path": "dynamicModel/detail",
  380. "style": {
  381. "navigationBarTitleText": "详情"
  382. }
  383. },
  384. {
  385. "path": "dynamicModel/scanForm",
  386. "style": {
  387. "navigationBarTitleText": ""
  388. }
  389. },
  390. {
  391. "path": "tableLinkage/index",
  392. "style": {
  393. "navigationBarTitleText": "选择数据",
  394. "enablePullDownRefresh": false
  395. }
  396. },
  397. {
  398. "path": "location/index",
  399. "style": {
  400. "navigationBarTitleText": "%app.apply.location.modalTitle%",
  401. "enablePullDownRefresh": false
  402. }
  403. },
  404. {
  405. "path": "customBtn/index",
  406. "style": {
  407. "navigationBarTitleText": "自定义操作"
  408. }
  409. },
  410. // {
  411. // "path": "tableSelect/index",
  412. // "style": {
  413. // "navigationBarTitleText": "选择数据",
  414. // "enablePullDownRefresh": false
  415. // }
  416. // },
  417. {
  418. "path": "externalLink/index",
  419. "style": {
  420. "navigationBarTitleText": ""
  421. }
  422. }
  423. ]
  424. },
  425. {
  426. "root": "pages/my",
  427. "pages": [{
  428. "path": "settings/index",
  429. "style": {
  430. "navigationBarTitleText": "%app.my.setting%",
  431. "app-plus": {
  432. "bounce": "none"
  433. }
  434. }
  435. },
  436. {
  437. "path": "scanResult/index",
  438. "style": {
  439. "navigationBarTitleText": "扫描结果",
  440. "app-plus": {
  441. "bounce": "none"
  442. }
  443. }
  444. },
  445. {
  446. "path": "modifyPsd/index",
  447. "style": {
  448. "navigationBarTitleText": "修改密码",
  449. "app-plus": {
  450. "bounce": "none"
  451. }
  452. }
  453. },
  454. {
  455. "path": "contactUs/index",
  456. "style": {
  457. "navigationBarTitleText": "联系我们",
  458. "app-plus": {
  459. "bounce": "none"
  460. }
  461. }
  462. },
  463. {
  464. "path": "abouts/index",
  465. "style": {
  466. "navigationBarTitleText": "关于平台"
  467. }
  468. },
  469. {
  470. "path": "accountSecurity/index",
  471. "style": {
  472. "navigationBarTitleText": "账号安全",
  473. "app-plus": {
  474. "bounce": "none"
  475. }
  476. }
  477. },
  478. {
  479. "path": "cancellation/index",
  480. "style": {
  481. "navigationBarTitleText": "注销账号",
  482. "app-plus": {
  483. "bounce": "none"
  484. }
  485. }
  486. },
  487. {
  488. "path": "personalData/index",
  489. "style": {
  490. "navigationBarTitleText": "%layout.header.profile%",
  491. "app-plus": {
  492. "bounce": "none"
  493. }
  494. }
  495. },
  496. {
  497. "path": "business/index",
  498. "style": {
  499. "navigationBarTitleText": "企业组织",
  500. "app-plus": {
  501. "bounce": "none"
  502. }
  503. }
  504. },
  505. {
  506. "path": "subordinate/index",
  507. "style": {
  508. "navigationBarTitleText": "%app.my.subordinates%",
  509. "enablePullDownRefresh": false
  510. }
  511. },
  512. {
  513. "path": "entrustAgent/index",
  514. "style": {
  515. "navigationBarTitleText": "%app.my.entrustedAgency%"
  516. }
  517. },
  518. {
  519. "path": "entrustAgent/form",
  520. "style": {
  521. "navigationBarTitleText": ""
  522. }
  523. },
  524. {
  525. "path": "entrustAgent/detail",
  526. "style": {
  527. "navigationBarTitleText": "详情"
  528. }
  529. }
  530. ]
  531. }
  532. ],
  533. "preloadRule": {
  534. "pages/index/message": {
  535. "network": "all",
  536. "packages": [
  537. "pages/message"
  538. ]
  539. },
  540. "pages/index/workFlow": {
  541. "network": "all",
  542. "packages": [
  543. "pages/workFlow"
  544. ]
  545. },
  546. "pages/index/apply": {
  547. "network": "all",
  548. "packages": [
  549. "pages/apply"
  550. ]
  551. },
  552. "pages/index/my": {
  553. "network": "all",
  554. "packages": [
  555. "pages/my"
  556. ]
  557. }
  558. },
  559. "tabBar": {
  560. "color": "#303133",
  561. "selectedColor": "#2979FF",
  562. "backgroundColor": "#ffffff",
  563. "list": [{
  564. "pagePath": "pages/index/index",
  565. "text": "%app.tabBar.home%",
  566. "iconPath": "static/image/tabbar/home.png",
  567. "selectedIconPath": "static/image/tabbar/homeHL.png"
  568. },
  569. {
  570. "pagePath": "pages/index/workFlow",
  571. "text": "%app.tabBar.workFlow%",
  572. "iconPath": "static/image/tabbar/workFlow.png",
  573. "selectedIconPath": "static/image/tabbar/workFlowHL.png"
  574. },
  575. {
  576. "pagePath": "pages/index/apply",
  577. "text": "%app.tabBar.apply%",
  578. "iconPath": "static/image/tabbar/apply.png",
  579. "selectedIconPath": "static/image/tabbar/applyHL.png"
  580. },
  581. {
  582. "pagePath": "pages/index/message",
  583. "text": "%app.tabBar.message%",
  584. "iconPath": "static/image/tabbar/message.png",
  585. "selectedIconPath": "static/image/tabbar/messageHL.png"
  586. },
  587. {
  588. "pagePath": "pages/index/my",
  589. "text": "%app.tabBar.my%",
  590. "iconPath": "static/image/tabbar/my.png",
  591. "selectedIconPath": "static/image/tabbar/myHL.png"
  592. }
  593. ]
  594. },
  595. "globalStyle": {
  596. "navigationBarTitleText": "",
  597. "navigationBarTextStyle": "black",
  598. "navigationBarBackgroundColor": "#ffffff",
  599. "backgroundColor": "#f0f2f6",
  600. "usingComponents": {
  601. "ly-tree-node": "/components/ly-tree/ly-tree-node"
  602. }
  603. }
  604. }