pages.json 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. {
  2. "pages": [ //pages数组中第一项表示应用启动页,参考:https://doc.dcloud.net.cn/uni-app-x/collocation/pagesjson.html
  3. {
  4. "path": "pages/index/console",
  5. "style": {
  6. "navigationBarTitleText": "控制台"
  7. }
  8. },
  9. {
  10. "path": "pages/index/my",
  11. "style": {
  12. "navigationBarTitleText": "我的"
  13. }
  14. },
  15. {
  16. "path": "pages/index/order",
  17. "style": {
  18. "navigationBarTitleText": "订单"
  19. }
  20. },
  21. {
  22. "path": "pages/index/account",
  23. "style": {
  24. "navigationBarTitleText": "账户"
  25. }
  26. },
  27. {
  28. "path": "pages/console/setOrderTime",
  29. "style": {
  30. "navigationBarTitleText": "接单时间"
  31. }
  32. },
  33. {
  34. "path": "pages/login/login",
  35. "style": {
  36. "navigationBarTitleText": ""
  37. }
  38. }
  39. ],
  40. "globalStyle": {
  41. "navigationBarTextStyle": "black",
  42. "navigationBarTitleText": "小丁到家--上门按摩",
  43. "navigationBarBackgroundColor": "#F8F8F8",
  44. "backgroundColor": "#F8F8F8"
  45. },
  46. "tabBar": {
  47. "selectedColor": "#000000",
  48. "backgroundColor": "#ffffff",
  49. "list": [{
  50. "pagePath": "pages/index/console",
  51. "iconPath": "static/iconInfo/noactive/homepage.png",
  52. "selectedIconPath": "static/iconInfo/active/homepage.png",
  53. "text": "控制台"
  54. }, {
  55. "pagePath": "pages/index/order",
  56. "iconPath": "static/iconInfo/noactive/order.png",
  57. "selectedIconPath": "static/iconInfo/active/order.png",
  58. "text": "订单"
  59. }, {
  60. "pagePath": "pages/index/account",
  61. "iconPath": "static/iconInfo/noactive/account.png",
  62. "selectedIconPath": "static/iconInfo/active/account.png",
  63. "text": "账户"
  64. },
  65. {
  66. "pagePath": "pages/index/my",
  67. "iconPath": "static/iconInfo/noactive/myhome.png",
  68. "selectedIconPath": "static/iconInfo/active/myhome.png",
  69. "text": "我的"
  70. }
  71. ]
  72. },
  73. "uniIdRouter": {}
  74. }