pages.json 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  1. {
  2. "easycom": {
  3. "^x-(.*)": "@/components/x-$1.vue", // 匹配components目录内的vue文件
  4. "^u-(.*)": "@/uview-ui/components/u-$1/u-$1.vue"
  5. },
  6. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  7. {
  8. "path": "pages/tabBar/home",
  9. "style": {
  10. "navigationStyle": "custom",
  11. "navigationBarTitleText": "首页"
  12. }
  13. }, {
  14. "path": "pages/tabBar/medicine",
  15. "style": {
  16. // "navigationStyle": "custom",
  17. "navigationBarTitleText": "购物车"
  18. }
  19. }, {
  20. "path": "pages/tabBar/mine",
  21. "style": {
  22. "navigationStyle": "custom",
  23. "navigationBarTitleText": "我的"
  24. }
  25. }, {
  26. "path": "pages/home/shop",
  27. "style": {
  28. "navigationStyle": "custom",
  29. "navigationBarTitleText": "门店"
  30. }
  31. }, {
  32. "path": "pages/home/certification",
  33. "style": {
  34. // "navigationStyle": "custom",
  35. "navigationBarTitleText": "商家资质信息"
  36. }
  37. }, {
  38. "path": "pages/home/productDetails",
  39. "style": {
  40. "navigationStyle": "custom",
  41. "navigationBarTitleText": "商品详情"
  42. }
  43. }, {
  44. "path": "pages/medicine/consultation",
  45. "style": {
  46. "navigationBarTitleText": "填写问诊信息"
  47. }
  48. }, {
  49. "path": "pages/medicine/extractionRoot",
  50. "style": {
  51. "navigationBarTitleText": "复诊开方"
  52. }
  53. }, {
  54. "path": "pages/medicine/inform",
  55. "style": {
  56. "navigationBarTitleText": "互联网诊疗风险告知及知情同意书"
  57. }
  58. }, {
  59. "path": "pages/index/index",
  60. "style": {
  61. "navigationBarTitleText": "uni-app"
  62. }
  63. }, {
  64. "path": "pages/mine/address",
  65. "style": {
  66. "navigationBarTitleText": "地址管理"
  67. }
  68. }, {
  69. "path": "pages/mine/drugUser",
  70. "style": {
  71. "navigationBarTitleText": "用药人管理"
  72. }
  73. }, {
  74. "path": "pages/mine/newAddress",
  75. "style": {
  76. "navigationBarTitleText": "新增收货地址"
  77. }
  78. }
  79. ],
  80. "globalStyle": {
  81. "navigationBarTextStyle": "black",
  82. "navigationBarTitleText": "uni-app",
  83. "navigationBarBackgroundColor": "#ffffff",
  84. "backgroundColor": "#ffffff"
  85. },
  86. "tabBar": {
  87. "color": "#707070",
  88. "selectedColor": "#4CAF50",
  89. "borderStyle": "white",
  90. "spacing": "1px",
  91. "backgroundColor": "#fbfbfb",
  92. "list": [{
  93. "pagePath": "pages/tabBar/home",
  94. "iconPath": "/static/tabbar/drugstore.png",
  95. "selectedIconPath": "/static/tabbar/drugstoreHL.png",
  96. "text": "首页"
  97. }, {
  98. "pagePath": "pages/tabBar/medicine",
  99. "iconPath": "/static/tabbar/medicine.png",
  100. "selectedIconPath": "/static/tabbar/medicineHL.png",
  101. "text": "购物车"
  102. }, {
  103. "pagePath": "pages/tabBar/mine",
  104. "iconPath": "/static/tabbar/mine.png",
  105. "selectedIconPath": "/static/tabbar/mineHL.png",
  106. "text": "我的"
  107. }]
  108. }
  109. }