pages.json 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  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/relation/ordinary/index",
  36. "style": {
  37. "navigationBarTitleText": "",
  38. "enablePullDownRefresh":true,
  39. "navigationStyle":"custom"
  40. }
  41. },
  42. {
  43. "path": "pages/relation/return/index",
  44. "style": {
  45. "navigationBarTitleText": "",
  46. "enablePullDownRefresh":true,
  47. "navigationStyle":"custom"
  48. }
  49. },
  50. {
  51. "path": "pages/relation/refund/index",
  52. "style": {
  53. "navigationBarTitleText": "",
  54. "enablePullDownRefresh":true,
  55. "navigationStyle":"custom"
  56. }
  57. },
  58. {
  59. "path": "pages/relation/order/detail",
  60. "style": {
  61. "navigationBarTitleText": "",
  62. "enablePullDownRefresh":true,
  63. "navigationStyle":"custom"
  64. }
  65. },
  66. {
  67. "path": "pages/login/login-account",
  68. "style": {
  69. "navigationBarTitleText": "",
  70. "navigationStyle":"custom"
  71. }
  72. },{
  73. "path": "pages/tabBar/user/mine",
  74. "style": {
  75. "navigationBarTitleText": "店铺",
  76. "navigationStyle":"custom"
  77. }
  78. },{
  79. "path": "pages/tabBar/order/index",
  80. "style": {
  81. "navigationBarTitleText": "订单",
  82. "enablePullDownRefresh" : true,
  83. "navigationStyle":"custom"
  84. }
  85. },{
  86. "path": "pages/tabBar/product/index",
  87. "style": {
  88. "navigationBarTitleText": "",
  89. "enablePullDownRefresh":true,
  90. "navigationStyle":"custom"
  91. }
  92. }
  93. ],
  94. "subPackages": [],
  95. "tabBar": {
  96. "height":"80",
  97. "color": "#C6C6C6",
  98. "selectedColor": "#4688fa",
  99. "borderStyle": "black",
  100. "backgroundColor": "#ffffff",
  101. "list": [{
  102. "pagePath": "pages/tabBar/order/index",
  103. "iconPath": "static/icon-order@2x.png",
  104. "selectedIconPath": "static/icon-order-active@2x.png",
  105. "text": "订单"
  106. },{
  107. "pagePath": "pages/tabBar/product/index",
  108. "iconPath": "static/icon-product@2x.png",
  109. "selectedIconPath": "static/icon-product-active@2x.png",
  110. "text": "商品"
  111. },{
  112. "pagePath": "pages/tabBar/user/mine",
  113. "iconPath": "static/icon-shop@2x.png",
  114. "selectedIconPath": "static/icon-shop-active@2x.png",
  115. "text": "店铺"
  116. }
  117. ]
  118. },
  119. "easycom": {
  120. "autoscan": true,
  121. "custom": {
  122. "tui-(.*)": "@/components/thorui/tui-$1/tui-$1.vue"
  123. }
  124. },
  125. "globalStyle": {
  126. "navigationBarTextStyle": "black",
  127. "navigationBarTitleText": "采美CRM系统",
  128. "navigationBarBackgroundColor": "#FFFFFF",
  129. "backgroundColor": "#FFFFFF"
  130. },
  131. "condition" : { //模式配置,仅开发期间生效
  132. "current": 0, //当前激活的模式(list 的索引项)
  133. "list": [
  134. {
  135. "name": "", //模式名称
  136. "path": "", //启动页面,必选
  137. "query": "" //启动参数,在页面的onLoad函数里面得到
  138. }
  139. ]
  140. }
  141. }