pages.json 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656
  1. {
  2. "easycom": {
  3. "^u-(.*)": "@/uview-ui/components/u-$1/u-$1.vue"
  4. },
  5. "pages": [
  6. //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  7. {
  8. "path": "pages/index/index",
  9. "style": {
  10. "navigationBarTitleText": "首页"
  11. }
  12. },
  13. {
  14. "path": "pages/login/login",
  15. "style": {
  16. "navigationBarTitleText": "登录/注册"
  17. }
  18. },
  19. {
  20. "path": "pages/index/book",
  21. "style": {
  22. "navigationBarTitleText": "健康小课堂"
  23. }
  24. },
  25. {
  26. "path": "pages/index/mine",
  27. "style": {
  28. "navigationBarTitleText": "我的"
  29. }
  30. },
  31. {
  32. "path": "pages/index/agreement",
  33. "style": {
  34. "navigationBarTitleText": ""
  35. }
  36. },
  37. {
  38. "path": "pages/index/article",
  39. "style": {
  40. "navigationBarTitleText": ""
  41. }
  42. },
  43. // {
  44. // "path": "pages/doctor_related/select_doctor",
  45. // "style": {
  46. // "navigationBarTitleText": "找医生"
  47. // }
  48. // },
  49. // {
  50. // "path": "pages/doctor_related/doctor_info",
  51. // "style": {
  52. // "navigationBarTitleText": "医生详情"
  53. // }
  54. // },
  55. // {
  56. // "path": "pages/doctor_related/info_write",
  57. // "style": {
  58. // "navigationBarTitleText": "信息填写"
  59. // }
  60. // },
  61. // {
  62. // "path": "pages/archives/my_archives",
  63. // "style": {
  64. // "navigationBarTitleText": "档案列表"
  65. // }
  66. // },
  67. // {
  68. // "path": "pages/archives/add_archives",
  69. // "style": {
  70. // "navigationBarTitleText": "添加档案"
  71. // }
  72. // },
  73. /* order文件夹 订单 */
  74. //付款
  75. {
  76. "path": "pages/order/payment",
  77. "style": {
  78. "navigationBarTitleText": "订单支付"
  79. }
  80. },
  81. //下单
  82. {
  83. "path": "pages/order/order",
  84. "style": {
  85. "navigationBarTitleText": "下单成功"
  86. }
  87. },
  88. /* service_packs文件夹 服务包 */
  89. //服务人信息
  90. // {
  91. // "path": "pages/service_packs/packs_information",
  92. // "style": {
  93. // "navigationBarTitleText": "购买服务包"
  94. // }
  95. // },
  96. // //服务包详情
  97. // {
  98. // "path": "pages/service_packs/packs_details",
  99. // "style": {
  100. // "navigationBarTitleText": "服务包详情"
  101. // }
  102. // },
  103. // //选购
  104. // {
  105. // "path": "pages/service_packs/choicepacks",
  106. // "style": {
  107. // "navigationBarTitleText": "服务包"
  108. // }
  109. // },
  110. // //介绍页
  111. // {
  112. // "path": "pages/service_packs/introduce",
  113. // "style": {
  114. // "navigationBarTitleText": "服务包"
  115. // }
  116. // },
  117. /* personal文件夹 个人中心 */
  118. //个人信息
  119. // {
  120. // "path": "pages/personal/personal_information",
  121. // "style": {
  122. // "navigationBarTitleText": "余额"
  123. // }
  124. // },
  125. // {
  126. // "path": "pages/personal/balance_info",
  127. // "style": {
  128. // "navigationBarTitleText": "余额明细"
  129. // }
  130. // },
  131. // {
  132. // "path": "pages/personal/recharge",
  133. // "style": {
  134. // "navigationBarTitleText": "充值"
  135. // }
  136. // },
  137. // /* coupon文件夹 优惠券*/
  138. // //优惠券
  139. // {
  140. // "path": "pages/personal/coupon/coupon",
  141. // "style": {
  142. // "navigationBarTitleText": "优惠券"
  143. // }
  144. // },
  145. // //优惠券详情
  146. // {
  147. // "path": "pages/personal/coupon/coupon_details",
  148. // "style": {
  149. // "navigationBarTitleText": "优惠券详情"
  150. // }
  151. // },
  152. /* common_tools文件夹 常用工具*/
  153. /*****help_feedback帮助和卡反馈文件夹*****/
  154. //帮助和卡反馈
  155. // {
  156. // "path": "pages/common_tools/help_feedback/help_feedback",
  157. // "style": {
  158. // "navigationBarTitleText": "帮助与反馈"
  159. // }
  160. // },
  161. // //意见反馈1
  162. // {
  163. // "path": "pages/common_tools/help_feedback/opinion1",
  164. // "style": {
  165. // "navigationBarTitleText": "意见反馈"
  166. // }
  167. // },
  168. // /*****collection收藏文章文件夹*****/
  169. // // 收藏文章
  170. // {
  171. // "path": "pages/common_tools/collection/collection",
  172. // "style": {
  173. // "navigationBarTitleText": "收藏文章"
  174. // }
  175. // },
  176. // //文章详情
  177. // {
  178. // "path": "pages/common_tools/collection/collection_details",
  179. // "style": {
  180. // "navigationBarTitleText": "文章标题"
  181. // }
  182. // },
  183. // /*****me_order我的保单文件夹*****/
  184. // //我的保单
  185. // {
  186. // "path": "pages/common_tools/me_order/me_order",
  187. // "style": {
  188. // "navigationBarTitleText": "我的保单"
  189. // }
  190. // },
  191. // //保单详情
  192. // {
  193. // "path": "pages/common_tools/me_order/order_details",
  194. // "style": {
  195. // "navigationBarTitleText": "保单详情"
  196. // }
  197. // },
  198. // //家庭医生
  199. // {
  200. // "path": "pages/common_tools/home_doctor",
  201. // "style": {
  202. // "navigationBarTitleText": "家庭医生"
  203. // }
  204. // },
  205. // //我的关注
  206. // {
  207. // "path": "pages/common_tools/me_follow",
  208. // "style": {
  209. // "navigationBarTitleText": "我的关注"
  210. // }
  211. // },
  212. // //我的评价
  213. // {
  214. // "path": "pages/common_tools/me_evaluate",
  215. // "style": {
  216. // "navigationBarTitleText": "我的评价"
  217. // }
  218. // },
  219. //服务包订单
  220. // {
  221. // "path": "pages/service_box/box_details",
  222. // "style": {
  223. // "navigationBarTitleText": "我的服务包"
  224. // }
  225. // },
  226. // {
  227. // "path": "pages/service_box/choiceBox",
  228. // "style": {
  229. // "navigationBarTitleText": "服务包详情"
  230. // }
  231. // },
  232. // {
  233. // "path": "pages/vaccines/vaccines_info",
  234. // "style": {
  235. // "navigationBarTitleText": "疫苗信息填写"
  236. // }
  237. // },
  238. // {
  239. // "path": "pages/vaccines/mechanism",
  240. // "style": {
  241. // "navigationBarTitleText": "服务机构"
  242. // }
  243. // },
  244. // {
  245. // "path": "pages/vaccines/vaccinesList",
  246. // "style": {
  247. // "navigationBarTitleText": "接种疫苗"
  248. // }
  249. // },
  250. // {
  251. // "path": "pages/archives/archives_info",
  252. // "style": {
  253. // "navigationBarTitleText": "档案详情"
  254. // }
  255. // },
  256. {
  257. "path": "pages/index/editinfo",
  258. "style": {
  259. "navigationBarTitleText": "个人信息"
  260. }
  261. },
  262. {
  263. "path": "pages/index/editphone",
  264. "style": {
  265. "navigationBarTitleText": "修改手机"
  266. }
  267. },
  268. {
  269. "path": "pages/index/paypassword",
  270. "style": {
  271. "navigationBarTitleText": "设置密码"
  272. }
  273. },
  274. {
  275. "path": "pages/index/message",
  276. "style": {
  277. "navigationBarTitleText": "消息通知"
  278. }
  279. }
  280. // {
  281. // "path": "pages/common_tools/my_consulting/my_consulting",
  282. // "style": {
  283. // "navigationBarTitleText": "我的咨询"
  284. // }
  285. // },
  286. // {
  287. // "path": "pages/common_tools/my_consulting/consultingInfo",
  288. // "style": {
  289. // "navigationBarTitleText": "咨询详情"
  290. // }
  291. // },
  292. // {
  293. // "path": "pages/common_tools/my_consulting/conversation",
  294. // "style": {
  295. // "navigationBarTitleText": "会话窗口"
  296. // }
  297. // },
  298. // {
  299. // "path": "pages/common_tools/my_consulting/my_appointment",
  300. // "style": {
  301. // "navigationBarTitleText": "我的预约"
  302. // }
  303. // },
  304. // {
  305. // "path": "pages/common_tools/my_consulting/my_opinion",
  306. // "style": {
  307. // "navigationBarTitleText": "我的意见单"
  308. // }
  309. // },
  310. // {
  311. // "path": "pages/common_tools/my_consulting/opinionInfo",
  312. // "style": {
  313. // "navigationBarTitleText": "意见单"
  314. // }
  315. // }
  316. ],
  317. "globalStyle": {
  318. "navigationBarTextStyle": "black",
  319. "navigationBarTitleText": "uni-app",
  320. "navigationBarBackgroundColor": "#F8F8F8",
  321. "backgroundColor": "#F8F8F8"
  322. },
  323. "subPackages": [{
  324. "root": "pages/common_tools",
  325. "pages": [{
  326. "path": "my_consulting/opinionInfo",
  327. "style": {
  328. "navigationBarTitleText": "意见单"
  329. }
  330. }, {
  331. "path": "my_consulting/my_opinion",
  332. "style": {
  333. "navigationBarTitleText": "我的意见单"
  334. }
  335. },
  336. {
  337. "path": "my_consulting/my_appointment",
  338. "style": {
  339. "navigationBarTitleText": "我的预约"
  340. }
  341. }, {
  342. "path": "my_consulting/appointmentInfo",
  343. "style": {
  344. "navigationBarTitleText": "预约详情"
  345. }
  346. },{
  347. "path": "my_consulting/conversation",
  348. "style": {
  349. "navigationBarTitleText": "会话窗口",
  350. "enablePullDownRefresh": true
  351. }
  352. },
  353. {
  354. "path": "my_consulting/consultingInfo",
  355. "style": {
  356. "navigationBarTitleText": "咨询详情"
  357. }
  358. },
  359. {
  360. "path": "my_consulting/my_consulting",
  361. "style": {
  362. "navigationBarTitleText": "我的咨询",
  363. "enablePullDownRefresh":true
  364. }
  365. },
  366. {
  367. "path": "help_feedback/help_feedback",
  368. "style": {
  369. "navigationBarTitleText": "帮助与反馈"
  370. }
  371. },
  372. //意见反馈1
  373. {
  374. "path": "help_feedback/opinion1",
  375. "style": {
  376. "navigationBarTitleText": "意见反馈"
  377. }
  378. },
  379. /*****collection收藏文章文件夹*****/
  380. // 收藏文章
  381. {
  382. "path": "collection/collection",
  383. "style": {
  384. "navigationBarTitleText": "收藏文章"
  385. }
  386. },
  387. //文章详情
  388. {
  389. "path": "collection/collection_details",
  390. "style": {
  391. "navigationBarTitleText": "文章标题"
  392. }
  393. },
  394. /*****me_order我的保单文件夹*****/
  395. //我的保单
  396. {
  397. "path": "me_order/me_order",
  398. "style": {
  399. "navigationBarTitleText": "我的保单"
  400. }
  401. },
  402. //保单详情
  403. {
  404. "path": "me_order/order_details",
  405. "style": {
  406. "navigationBarTitleText": "保单详情"
  407. }
  408. },
  409. //家庭医生
  410. {
  411. "path": "home_doctor",
  412. "style": {
  413. "navigationBarTitleText": "家庭医生"
  414. }
  415. },
  416. //我的关注
  417. {
  418. "path": "me_follow",
  419. "style": {
  420. "navigationBarTitleText": "我的关注"
  421. }
  422. },
  423. //我的评价
  424. {
  425. "path": "me_evaluate",
  426. "style": {
  427. "navigationBarTitleText": "我的评价"
  428. }
  429. }
  430. ]
  431. },
  432. {
  433. "root": "pages/childcare",
  434. "pages": [{
  435. "path": "child_care",
  436. "style": {
  437. "navigationBarTitleText": "儿保信息"
  438. }
  439. },
  440. {
  441. "path": "child_careList",
  442. "style": {
  443. "navigationBarTitleText": "儿保项目"
  444. }
  445. }
  446. ]
  447. },
  448. {
  449. "root": "pages/doctor_related",
  450. "pages": [{
  451. "path": "select_doctor",
  452. "style": {
  453. "navigationBarTitleText": "找医生"
  454. }
  455. },
  456. {
  457. "path": "doctor_info",
  458. "style": {
  459. "navigationBarTitleText": "医生详情"
  460. }
  461. },
  462. {
  463. "path": "info_write",
  464. "style": {
  465. "navigationBarTitleText": "信息填写"
  466. }
  467. }
  468. ]
  469. },
  470. {
  471. "root": "pages/personal",
  472. "pages": [{
  473. "path": "personal_information",
  474. "style": {
  475. "navigationBarTitleText": "余额"
  476. }
  477. },
  478. {
  479. "path": "balance_info",
  480. "style": {
  481. "navigationBarTitleText": "余额明细"
  482. }
  483. },
  484. {
  485. "path": "recharge",
  486. "style": {
  487. "navigationBarTitleText": "充值"
  488. }
  489. },
  490. /* coupon文件夹 优惠券*/
  491. //优惠券
  492. {
  493. "path": "coupon/coupon",
  494. "style": {
  495. "navigationBarTitleText": "优惠券"
  496. }
  497. },
  498. //优惠券详情
  499. {
  500. "path": "coupon/coupon_details",
  501. "style": {
  502. "navigationBarTitleText": "优惠券详情"
  503. }
  504. },
  505. {
  506. "path": "coupon/couponList",
  507. "style": {
  508. "navigationBarTitleText": "领卷中心"
  509. }
  510. }
  511. ]
  512. },
  513. {
  514. "root": "pages/service_packs",
  515. "pages": [{
  516. "path": "packs_information",
  517. "style": {
  518. "navigationBarTitleText": "购买服务包"
  519. }
  520. },
  521. //服务包详情
  522. {
  523. "path": "packs_details",
  524. "style": {
  525. "navigationBarTitleText": "服务包详情"
  526. }
  527. },
  528. //选购
  529. {
  530. "path": "choicepacks",
  531. "style": {
  532. "navigationBarTitleText": "服务包"
  533. }
  534. },
  535. //介绍页
  536. {
  537. "path": "introduce",
  538. "style": {
  539. "navigationBarTitleText": "服务包"
  540. }
  541. }
  542. ]
  543. },
  544. {
  545. "root": "pages/vaccines",
  546. "pages": [{
  547. "path": "vaccines_info",
  548. "style": {
  549. "navigationBarTitleText": "疫苗信息填写"
  550. }
  551. },
  552. {
  553. "path": "mechanism",
  554. "style": {
  555. "navigationBarTitleText": "服务机构"
  556. }
  557. },
  558. {
  559. "path": "vaccinesList",
  560. "style": {
  561. "navigationBarTitleText": "接种疫苗"
  562. }
  563. }
  564. ]
  565. },
  566. {
  567. "root": "pages/archives",
  568. "pages": [{
  569. "path": "archives_info",
  570. "style": {
  571. "navigationBarTitleText": "档案详情"
  572. }
  573. },
  574. {
  575. "path": "my_archives",
  576. "style": {
  577. "navigationBarTitleText": "档案列表"
  578. }
  579. },
  580. {
  581. "path": "add_archives",
  582. "style": {
  583. "navigationBarTitleText": "健康档案"
  584. }
  585. },
  586. {
  587. "path": "upcard",
  588. "style": {
  589. "navigationBarTitleText": "上传证件"
  590. }
  591. },
  592. {
  593. "path": "wechatrecord",
  594. "style": {
  595. "navigationBarTitleText": "病例记录"
  596. }
  597. }
  598. ]
  599. },
  600. {
  601. "root": "pages/service_box",
  602. "pages": [{
  603. "path": "box_details",
  604. "style": {
  605. "navigationBarTitleText": "我的服务包"
  606. }
  607. },
  608. {
  609. "path": "choiceBox",
  610. "style": {
  611. "navigationBarTitleText": "服务包详情"
  612. }
  613. }
  614. ]
  615. }
  616. ],
  617. "tabBar": {
  618. "color": "#C0C4CC", //未选中的菜单文字颜色
  619. "selectedColor": "#0B73B9", //选中时的菜单文字颜色
  620. "borderStyle": "black",
  621. "backgroundColor": "#ffffff", //背景
  622. "list": [{
  623. "pagePath": "pages/index/index", //页面地址
  624. "iconPath": "./static/img/home.png", //未选中时的图片
  625. "selectedIconPath": "./static/img/home_select.png", //选中时的图片
  626. "text": "首页" //菜单文字
  627. },
  628. {
  629. "pagePath": "pages/index/book",
  630. "iconPath": "./static/img/book.png",
  631. "selectedIconPath": "./static/img/book_select.png",
  632. "text": "小课堂"
  633. },
  634. {
  635. "pagePath": "pages/index/mine",
  636. "iconPath": "./static/img/my.png",
  637. "selectedIconPath": "./static/img/my_select.png",
  638. "text": "我的"
  639. }
  640. ]
  641. },
  642. // 启动
  643. "condition": {
  644. "current": 0,
  645. "list": [{
  646. "name": "工具",
  647. "path": "pages/order/payment" //我的
  648. // "path": "pages/service_packs/introduce"//服务包
  649. }]
  650. }
  651. }