pages.json 2.6 KB

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