pages.json 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  1. {
  2. "easycom": {
  3. "^u-(.*)": "@/uview-ui/components/u-$1/u-$1.vue"
  4. },
  5. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  6. {
  7. "path": "pages/index/index",
  8. "style": {
  9. "navigationBarTitleText": "首页"
  10. }
  11. },
  12. {
  13. "path": "pages/index/book",
  14. "style": {
  15. "navigationBarTitleText": "健康小课堂"
  16. }
  17. },
  18. {
  19. "path": "pages/index/mine",
  20. "style": {
  21. "navigationBarTitleText": "我的"
  22. }
  23. },
  24. {
  25. "path": "pages/doctor_related/select_doctor",
  26. "style": {
  27. "navigationBarTitleText": "找医生"
  28. }
  29. },
  30. {
  31. "path": "pages/doctor_related/doctor_info",
  32. "style": {
  33. "navigationBarTitleText": "医生详情"
  34. }
  35. },
  36. {
  37. "path": "pages/doctor_related/info_write",
  38. "style": {
  39. "navigationBarTitleText": "信息填写"
  40. }
  41. },
  42. {
  43. "path": "pages/archives/my_archives",
  44. "style": {
  45. "navigationBarTitleText": "档案编辑"
  46. }
  47. },
  48. {
  49. "path": "pages/login/login",
  50. "style": {
  51. "navigationBarTitleText": "登录/注册"
  52. }
  53. },
  54. /* order文件夹 订单 */
  55. //付款
  56. {
  57. "path": "pages/order/payment",
  58. "style": {
  59. "navigationBarTitleText": "订单支付"
  60. }
  61. },
  62. //下单
  63. {
  64. "path": "pages/order/order",
  65. "style": {
  66. "navigationBarTitleText": "下单成功"
  67. }
  68. },
  69. /* service_packs文件夹 服务包 */
  70. //服务人信息
  71. {
  72. "path": "pages/service_packs/packs_information",
  73. "style": {
  74. "navigationBarTitleText": "购买服务包"
  75. }
  76. },
  77. //服务包详情
  78. {
  79. "path": "pages/service_packs/packs_details",
  80. "style": {
  81. "navigationBarTitleText": "服务包详情"
  82. }
  83. },
  84. //选购
  85. {
  86. "path": "pages/service_packs/choicepacks",
  87. "style": {
  88. "navigationBarTitleText": "服务包"
  89. }
  90. },
  91. //介绍页
  92. {
  93. "path": "pages/service_packs/introduce",
  94. "style": {
  95. "navigationBarTitleText": "服务包"
  96. }
  97. },
  98. /* personal文件夹 个人中心 */
  99. //个人信息
  100. {
  101. "path": "pages/personal/personal_information",
  102. "style": {
  103. "navigationBarTitleText": "个人信息"
  104. }
  105. },
  106. /* coupon文件夹 优惠券*/
  107. //优惠券
  108. {
  109. "path": "pages/personal/coupon/coupon",
  110. "style": {
  111. "navigationBarTitleText": "优惠券"
  112. }
  113. },
  114. //优惠券详情
  115. {
  116. "path": "pages/personal/coupon/coupon_details",
  117. "style": {
  118. "navigationBarTitleText": "优惠券详情"
  119. }
  120. }
  121. ],
  122. "globalStyle": {
  123. "navigationBarTextStyle": "black",
  124. "navigationBarTitleText": "uni-app",
  125. "navigationBarBackgroundColor": "#F8F8F8",
  126. "backgroundColor": "#F8F8F8"
  127. },
  128. "tabBar": {
  129. "color": "#C0C4CC", //未选中的菜单文字颜色
  130. "selectedColor": "#fab6b6", //选中时的菜单文字颜色
  131. "borderStyle": "black",
  132. "backgroundColor": "#ffffff", //背景
  133. "list": [{
  134. "pagePath": "pages/index/index", //页面地址
  135. "iconPath": "./static/img/home.png", //未选中时的图片
  136. "selectedIconPath": "./static/img/home_select.png", //选中时的图片
  137. "text": "首页" //菜单文字
  138. },
  139. {
  140. "pagePath": "pages/index/book",
  141. "iconPath": "./static/img/book.png",
  142. "selectedIconPath": "./static/img/book_select.png",
  143. "text": "小课堂"
  144. },
  145. {
  146. "pagePath": "pages/index/mine",
  147. "iconPath": "./static/img/my.png",
  148. "selectedIconPath": "./static/img/my_select.png",
  149. "text": "我的"
  150. }
  151. ]
  152. },
  153. // 启动
  154. "condition": {
  155. "current": 0,
  156. "list": [{
  157. "name": "介绍",
  158. "path": "pages/service_packs/introduce"
  159. }]
  160. }
  161. }