pages.json 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. {
  2. "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  3. {
  4. "path": "pages/distinguish/index",
  5. "style": {
  6. "navigationBarTitleText": "",
  7. "enablePullDownRefresh":true,
  8. "navigationStyle":"custom"
  9. }
  10. },
  11. {
  12. "path": "pages/distinguish/nosms",
  13. "style": {
  14. "navigationBarTitleText": "",
  15. "enablePullDownRefresh":true,
  16. "navigationStyle":"custom"
  17. }
  18. },
  19. {
  20. "path": "pages/login/login-account",
  21. "style": {
  22. "navigationBarTitleText": "",
  23. "navigationStyle":"custom"
  24. }
  25. },{
  26. "path": "pages/tabBar/user/mine",
  27. "style": {
  28. "navigationBarTitleText": "店铺",
  29. "navigationStyle":"custom"
  30. }
  31. },{
  32. "path": "pages/tabBar/order/index",
  33. "style": {
  34. "navigationBarTitleText": "订单",
  35. "enablePullDownRefresh" : true,
  36. "navigationStyle":"custom"
  37. }
  38. },{
  39. "path": "pages/tabBar/product/index",
  40. "style": {
  41. "navigationBarTitleText": "",
  42. "enablePullDownRefresh":true,
  43. "navigationStyle":"custom"
  44. }
  45. }
  46. ],
  47. "subPackages": [],
  48. "tabBar": {
  49. "height":"80",
  50. "color": "#C6C6C6",
  51. "selectedColor": "#4688fa",
  52. "borderStyle": "black",
  53. "backgroundColor": "#ffffff",
  54. "list": [{
  55. "pagePath": "pages/tabBar/order/index",
  56. "iconPath": "static/icon-order@2x.png",
  57. "selectedIconPath": "static/icon-order-active@2x.png",
  58. "text": "订单"
  59. },{
  60. "pagePath": "pages/tabBar/product/index",
  61. "iconPath": "static/icon-product@2x.png",
  62. "selectedIconPath": "static/icon-product-active@2x.png",
  63. "text": "商品"
  64. },{
  65. "pagePath": "pages/tabBar/user/mine",
  66. "iconPath": "static/icon-shop@2x.png",
  67. "selectedIconPath": "static/icon-shop-active@2x.png",
  68. "text": "店铺"
  69. }
  70. ]
  71. },
  72. "easycom": {
  73. "autoscan": true,
  74. "custom": {
  75. "tui-(.*)": "@/components/thorui/tui-$1/tui-$1.vue"
  76. }
  77. },
  78. "globalStyle": {
  79. "navigationBarTextStyle": "black",
  80. "navigationBarTitleText": "采美CRM系统",
  81. "navigationBarBackgroundColor": "#FFFFFF",
  82. "backgroundColor": "#FFFFFF"
  83. },
  84. "condition" : { //模式配置,仅开发期间生效
  85. "current": 0, //当前激活的模式(list 的索引项)
  86. "list": [
  87. {
  88. "name": "", //模式名称
  89. "path": "", //启动页面,必选
  90. "query": "" //启动参数,在页面的onLoad函数里面得到
  91. }
  92. ]
  93. }
  94. }