pages.json 3.2 KB

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