pages.json 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. {
  2. "pages": [
  3. //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  4. {
  5. "path": "pages/login/index",
  6. "style": {
  7. "navigationStyle": "custom"
  8. }
  9. },
  10. {
  11. "path": "pages/chanpinXuanze/index",
  12. "style": {
  13. "navigationStyle": "custom"
  14. }
  15. },
  16. {
  17. "path": "pages/chanpinneirong/index",
  18. "style": {
  19. "navigationStyle": "custom"
  20. }
  21. },
  22. {
  23. "path" : "pages/chanpinMy/order",
  24. "style" :
  25. {
  26. "navigationStyle": "custom"
  27. }
  28. },
  29. {
  30. "path" : "pages/chanpinZiliao/ziliaoInfo",
  31. "style" :
  32. {
  33. "navigationStyle": "custom"
  34. }
  35. },
  36. {
  37. "path": "pages/chanpinZiliao/index",
  38. "style": {
  39. "navigationStyle": "custom",
  40. "app-plus": {
  41. "animationType": "none"
  42. }
  43. }
  44. },
  45. {
  46. "path": "pages/chanpinMy/my",
  47. "style": {
  48. "navigationStyle": "custom"
  49. }
  50. },
  51. {
  52. "path": "pages/login/login",
  53. "style": {
  54. "navigationStyle": "custom"
  55. }
  56. },
  57. {
  58. "path": "pages/chanpinXuanze/banben",
  59. "style": {
  60. "navigationStyle": "custom"
  61. }
  62. },
  63. {
  64. "path": "pages/xinshuxue/unitTest",
  65. "style": {
  66. "navigationStyle": "custom"
  67. }
  68. },
  69. {
  70. "path": "pages/chanpinMy/myInfo",
  71. "style": {
  72. "navigationStyle": "custom"
  73. }
  74. },
  75. {
  76. "path": "pages/chanpinMy/aboutPage",
  77. "style": {
  78. "navigationStyle": "custom"
  79. }
  80. },
  81. {
  82. "path": "pages/xinshuxue/lookShipin",
  83. "style": {
  84. "navigationStyle": "custom"
  85. }
  86. },
  87. {
  88. "path" : "pages/chanpinMy/yinsizhengce",
  89. "style" :
  90. {
  91. "navigationStyle": "custom"
  92. }
  93. }
  94. ],
  95. "tabBar": {
  96. "custom": true,
  97. "list": [{
  98. "pagePath": "pages/chanpinXuanze/index"
  99. },
  100. {
  101. "pagePath": "pages/chanpinneirong/index"
  102. },
  103. {
  104. "pagePath": "pages/chanpinZiliao/index"
  105. },
  106. {
  107. "pagePath": "pages/chanpinMy/my"
  108. }
  109. ]
  110. },
  111. "globalStyle": {
  112. "navigationBarTextStyle": "black",
  113. "navigationBarTitleText": "鹅状元",
  114. "navigationBarBackgroundColor": "#F8F8F8",
  115. "backgroundColor": "#F8F8F8",
  116. // "animationType": "none",
  117. //"animationDuration": "0",
  118. //禁止滑动返回
  119. "app-plus": {
  120. // "popGesture": "none"
  121. }
  122. /* "app-plus": {
  123. "background": "#efeff4"
  124. } */
  125. },
  126. "uniIdRouter": {},
  127. "condition": { //模式配置,仅开发期间生效
  128. "current": 0, //当前激活的模式(list 的索引项)
  129. "list": [{
  130. "name": "login", //模式名称
  131. "path": "pages/login/index", //启动页面,必选
  132. "query": "" //启动参数,在页面的onLoad函数里面得到
  133. }]
  134. }
  135. }