pages.json 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605
  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. "navigationBarTextStyle": "black",
  63. "navigationBarTitleText": "JNPF快速开发平台",
  64. "app-plus": {
  65. "bounce": "none" // 取消APP端iOS回弹,避免与下拉刷新冲突 (可统一配在 'globalStyle')
  66. }
  67. }
  68. },
  69. {
  70. "path": "pages/index/dashboard",
  71. "style": {
  72. "navigationStyle": "custom",
  73. "navigationBarTitleText": "%app.tabBar.dashboard%"
  74. }
  75. },
  76. {
  77. "path": "pages/index/message",
  78. "style": {
  79. "navigationStyle": "custom",
  80. "navigationBarTitleText": "%app.tabBar.message%"
  81. }
  82. },
  83. // #ifndef MP
  84. {
  85. "path": "pages/formShortLink/index",
  86. "style": {
  87. "navigationBarTitleText": "表单外链",
  88. "app-plus": {
  89. "titleNView": false,
  90. "bounce": "none"
  91. }
  92. }
  93. },
  94. {
  95. "path": "pages/formShortLink/detail",
  96. "style": {
  97. "navigationBarTitleText": "详情",
  98. "app-plus": {
  99. "titleNView": false,
  100. "bounce": "none"
  101. }
  102. }
  103. },
  104. // #endif
  105. {
  106. "path": "pages/index/my",
  107. "style": {
  108. "navigationBarTitleText": "%app.tabBar.my%",
  109. "app-plus": {
  110. "bounce": "none"
  111. }
  112. }
  113. }
  114. ],
  115. "subPackages": [{
  116. "root": "pages/portal",
  117. "pages": [
  118. // #ifndef MP
  119. {
  120. "path": "applyPortal/index",
  121. "style": {
  122. "navigationStyle": "custom", // 隐藏系统导航栏
  123. "navigationBarTextStyle": "black" // 状态栏字体为白色
  124. }
  125. },
  126. // #endif
  127. // #ifdef H5
  128. {
  129. "path": "mpPortal/index",
  130. "style": {
  131. "navigationStyle": "custom", // 隐藏系统导航栏
  132. "navigationBarTextStyle": "black" // 状态栏字体为白色
  133. }
  134. },
  135. // #endif
  136. {
  137. "path": "scanPortal/index",
  138. "style": {
  139. "navigationBarTitleText": ""
  140. }
  141. }
  142. ]
  143. },
  144. {
  145. "root": "pages/message",
  146. "pages": [{
  147. "path": "messageDetail/index",
  148. "style": {
  149. "navigationBarTitleText": "详情"
  150. }
  151. },
  152. {
  153. "path": "im/index",
  154. "style": {
  155. "navigationBarTitleText": ""
  156. }
  157. },
  158. {
  159. "path": "chat/index",
  160. "style": {
  161. "navigationBarTitleText": "%app.my.chat%"
  162. }
  163. }
  164. ]
  165. },
  166. {
  167. "root": "pages/workFlow",
  168. "pages": [{
  169. "path": "flowBefore/index",
  170. "style": {
  171. "navigationBarTitleText": ""
  172. }
  173. },
  174. {
  175. "path": "workFlow/index",
  176. "style": {
  177. "navigationBarTitleText": "发起审批"
  178. }
  179. },
  180. {
  181. "path": "flowBefore/revokeForm",
  182. "style": {
  183. "navigationBarTitleText": ""
  184. }
  185. },
  186. {
  187. "path": "flowBefore/logError",
  188. "style": {
  189. "navigationBarTitleText": "异常详情"
  190. }
  191. },
  192. {
  193. "path": "document/index",
  194. "style": {
  195. "navigationBarTitleText": "文档中心"
  196. }
  197. },
  198. {
  199. "path": "document/detail",
  200. "style": {
  201. "navigationBarTitleText": "文档中心"
  202. }
  203. },
  204. {
  205. "path": "schedule/index",
  206. "style": {
  207. "navigationBarTitleText": "日程"
  208. }
  209. },
  210. {
  211. "path": "schedule/form",
  212. "style": {
  213. "navigationBarTitleText": ""
  214. }
  215. },
  216. {
  217. "path": "schedule/detail",
  218. "style": {
  219. "navigationStyle": "custom", // 隐藏系统导航栏
  220. "navigationBarTitleText": "详情",
  221. "app-plus": {
  222. "titleNView": false,
  223. "bounce": "none"
  224. }
  225. }
  226. },
  227. {
  228. "path": "entrustAgent/index",
  229. "style": {
  230. "navigationBarTitleText": "%app.my.entrustedAgency%"
  231. }
  232. },
  233. {
  234. "path": "entrustAgent/form",
  235. "style": {
  236. "navigationBarTitleText": ""
  237. }
  238. },
  239. {
  240. "path": "entrustAgent/detail",
  241. "style": {
  242. "navigationBarTitleText": "详情"
  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. "path": "allAppWorkFlow/index",
  311. "style": {
  312. "navigationBarTitleText": "收藏流程"
  313. }
  314. }
  315. ]
  316. },
  317. {
  318. "root": "pages/commonPage",
  319. "pages": [{
  320. "path": "morePage/index",
  321. "style": {
  322. "navigationBarTitleText": "常用菜单"
  323. }
  324. }]
  325. },
  326. {
  327. "root": "pages/apply",
  328. "pages": [{
  329. "path": "menu/index",
  330. "style": {
  331. "navigationBarTitleText": "应用功能"
  332. }
  333. },
  334. {
  335. "path": "reportLog/index",
  336. "style": {
  337. "navigationBarTitleText": "汇报日志"
  338. }
  339. },
  340. {
  341. "path": "reportLog/form",
  342. "style": {
  343. "navigationBarTitleText": ""
  344. }
  345. },
  346. {
  347. "path": "catalog/index",
  348. "style": {
  349. "navigationStyle": "custom" // 隐藏系统导航栏
  350. }
  351. },
  352. {
  353. "path": "interPage/signInvokeList",
  354. "style": {
  355. "navigationBarTitleText": "个人签名"
  356. }
  357. },
  358. {
  359. "path": "order/index",
  360. "style": {
  361. "navigationBarTitleText": "订单示例"
  362. }
  363. },
  364. {
  365. "path": "popSelect/index",
  366. "style": {
  367. "navigationBarTitleText": "选择数据",
  368. "enablePullDownRefresh": false
  369. }
  370. },
  371. {
  372. "path": "dynamicModel/index",
  373. "style": {
  374. "navigationBarTitleText": ""
  375. }
  376. },
  377. {
  378. "path": "dynamicModel/form",
  379. "style": {
  380. "navigationBarTitleText": ""
  381. }
  382. },
  383. {
  384. "path": "dynamicModel/detail",
  385. "style": {
  386. "navigationBarTitleText": "详情"
  387. }
  388. },
  389. {
  390. "path": "dynamicModel/scanForm",
  391. "style": {
  392. "navigationBarTitleText": ""
  393. }
  394. },
  395. {
  396. "path": "tableLinkage/index",
  397. "style": {
  398. "navigationBarTitleText": "选择数据",
  399. "enablePullDownRefresh": false
  400. }
  401. },
  402. {
  403. "path": "location/index",
  404. "style": {
  405. "navigationBarTitleText": "%app.apply.location.modalTitle%",
  406. "enablePullDownRefresh": false
  407. }
  408. },
  409. {
  410. "path": "customBtn/index",
  411. "style": {
  412. "navigationBarTitleText": "自定义操作"
  413. }
  414. },
  415. {
  416. "path": "externalLink/index",
  417. "style": {
  418. "navigationBarTitleText": ""
  419. }
  420. },
  421. {
  422. "path": "allAppApply/index",
  423. "style": {
  424. "navigationBarTitleText": "收藏菜单"
  425. }
  426. }
  427. ]
  428. },
  429. {
  430. "root": "pages/my",
  431. "pages": [{
  432. "path": "contacts/index",
  433. "style": {
  434. "navigationBarTitleText": "%app.my.contacts%"
  435. }
  436. },
  437. {
  438. "path": "userDetail/index",
  439. "style": {
  440. "navigationBarTitleText": "",
  441. "navigationBarTextStyle": "black",
  442. "navigationBarBackgroundColor": "#f0f2f6"
  443. }
  444. },
  445. {
  446. "path": "contacts/userList",
  447. "style": {
  448. "navigationBarTitleText": "用户列表"
  449. }
  450. }, {
  451. "path": "settings/index",
  452. "style": {
  453. "navigationBarTitleText": "%app.my.setting%",
  454. "app-plus": {
  455. "bounce": "none"
  456. }
  457. }
  458. },
  459. {
  460. "path": "scanResult/index",
  461. "style": {
  462. "navigationBarTitleText": "扫描结果",
  463. "app-plus": {
  464. "bounce": "none"
  465. }
  466. }
  467. },
  468. {
  469. "path": "modifyPsd/index",
  470. "style": {
  471. "navigationBarTitleText": "修改密码",
  472. "app-plus": {
  473. "bounce": "none"
  474. }
  475. }
  476. },
  477. {
  478. "path": "contactUs/index",
  479. "style": {
  480. "navigationBarTitleText": "联系我们",
  481. "app-plus": {
  482. "bounce": "none"
  483. }
  484. }
  485. },
  486. {
  487. "path": "abouts/index",
  488. "style": {
  489. "navigationBarTitleText": "关于平台"
  490. }
  491. },
  492. {
  493. "path": "accountSecurity/index",
  494. "style": {
  495. "navigationBarTitleText": "账号安全",
  496. "app-plus": {
  497. "bounce": "none"
  498. }
  499. }
  500. },
  501. {
  502. "path": "cancellation/index",
  503. "style": {
  504. "navigationBarTitleText": "注销账号",
  505. "app-plus": {
  506. "bounce": "none"
  507. }
  508. }
  509. },
  510. {
  511. "path": "personalData/index",
  512. "style": {
  513. "navigationBarTitleText": "%layout.header.profile%",
  514. "app-plus": {
  515. "bounce": "none"
  516. }
  517. }
  518. },
  519. {
  520. "path": "organization/index",
  521. "style": {
  522. "navigationBarTitleText": "企业组织",
  523. "app-plus": {
  524. "bounce": "none"
  525. }
  526. }
  527. },
  528. {
  529. "path": "identity/index",
  530. "style": {
  531. "navigationBarTitleText": "我的身份",
  532. "app-plus": {
  533. "bounce": "none"
  534. }
  535. }
  536. },
  537. {
  538. "path": "changeSystem/index",
  539. "style": {
  540. "navigationBarTitleText": "%app.my.mySystem%"
  541. }
  542. },
  543. {
  544. "path": "personalSetting/index",
  545. "style": {
  546. "navigationBarTitleText": "%app.my.personalSetting%"
  547. }
  548. }
  549. ]
  550. }
  551. ],
  552. "preloadRule": {
  553. "pages/index/message": {
  554. "network": "all",
  555. "packages": [
  556. "pages/message"
  557. ]
  558. },
  559. "pages/index/my": {
  560. "network": "all",
  561. "packages": [
  562. "pages/my"
  563. ]
  564. }
  565. },
  566. "tabBar": {
  567. "color": "#303133",
  568. "selectedColor": "#2979FF",
  569. "backgroundColor": "#ffffff",
  570. "list": [{
  571. "pagePath": "pages/index/index",
  572. "text": "%app.tabBar.home%",
  573. "iconPath": "static/image/tabbar/home.png",
  574. "selectedIconPath": "static/image/tabbar/homeHL.png"
  575. },
  576. {
  577. "pagePath": "pages/index/dashboard",
  578. "text": "%app.tabBar.dashboard%",
  579. "iconPath": "static/image/tabbar/workFlow.png",
  580. "selectedIconPath": "static/image/tabbar/workFlowHL.png"
  581. },
  582. {
  583. "pagePath": "pages/index/message",
  584. "text": "%app.tabBar.message%",
  585. "iconPath": "static/image/tabbar/message.png",
  586. "selectedIconPath": "static/image/tabbar/messageHL.png"
  587. },
  588. {
  589. "pagePath": "pages/index/my",
  590. "text": "%app.tabBar.my%",
  591. "iconPath": "static/image/tabbar/my.png",
  592. "selectedIconPath": "static/image/tabbar/myHL.png"
  593. }
  594. ]
  595. },
  596. "globalStyle": {
  597. "navigationBarTitleText": "",
  598. "navigationBarTextStyle": "black",
  599. "navigationBarBackgroundColor": "#ffffff",
  600. "backgroundColor": "#f0f2f6",
  601. "usingComponents": {
  602. "ly-tree-node": "/components/ly-tree/ly-tree-node"
  603. }
  604. }
  605. }