pages.json 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. {
  2. "easycom": {
  3. "^u-(.*)": "@/uview-ui/components/u-$1/u-$1.vue"
  4. },
  5. // "condition": { //模式配置,仅开发期间生效
  6. // "current": 0, //当前激活的模式(list 的索引项)
  7. // "list": [{
  8. // "name": "test", //模式名称
  9. // "path": "pages/componentsC/test/index", //启动页面,必选
  10. // "query": "uuid=c4bba940-f69e-11ea-a419-6bafda9d095e&__id__=1" //启动参数,在页面的onLoad函数里面得到
  11. // }]
  12. // },
  13. "pages": [
  14. // 首页
  15. {
  16. "path": "pages/home/index",
  17. "style": {
  18. "navigationBarTitleText": "首页"
  19. }
  20. },
  21. // 消息
  22. {
  23. "path": "pages/msg/index",
  24. "style": {
  25. "navigationBarTitleText": "消息"
  26. }
  27. },
  28. // 我的
  29. {
  30. "path": "pages/me/index",
  31. "style": {
  32. // "navigationBarTitleText": "我的",
  33. "app-plus": {
  34. "titleNView":false
  35. }
  36. }
  37. },
  38. //登录
  39. {
  40. "path": "pages/login/index",
  41. "style": {
  42. "app-plus": {
  43. "titleNView":false
  44. }
  45. }
  46. }
  47. ],
  48. "subPackages": [{
  49. "root": "pages/login",
  50. "pages": [{
  51. "path": "register",
  52. "style": {
  53. "navigationBarTitleText": "零售店注销"
  54. }
  55. }, {
  56. "path": "register_2",
  57. "style": {
  58. "navigationBarTitleText": "零售店注销"
  59. }
  60. }, {
  61. "path": "register_3",
  62. "style": {
  63. "navigationBarTitleText": "零售店注销"
  64. }
  65. }]
  66. },{
  67. "root": "pages/shopping",
  68. "pages": [{
  69. "path" : "shopping_car/shopping_car",
  70. "style" : {
  71. "navigationBarTitleText": "购物车"
  72. }
  73. }
  74. ,{
  75. "path" : "integral_mall/integral_mall",
  76. "style" : {
  77. "navigationBarTitleText": "积分商城"
  78. }
  79. }
  80. ,{
  81. "path" : "inline_shop/inline_shop",
  82. "style" : {
  83. "navigationStyle": "custom" ,// 隐藏系统导航栏
  84. "navigationBarTextStyle": "white"
  85. }
  86. }
  87. ,{
  88. "path" : "mallMenu/index1",
  89. "style" : {
  90. "navigationBarTitleText": "商品筛选"
  91. }
  92. }
  93. ,{
  94. "path" : "mallMenu/index2",
  95. "style" : {
  96. "navigationBarTitleText": "商品筛选"
  97. }
  98. }]
  99. }],
  100. "preloadRule": {},
  101. "globalStyle": {
  102. "navigationBarBackgroundColor": "#0095FF",
  103. "navigationBarTextStyle": "white",
  104. "app-plus": {
  105. "bounce": "none" //关闭窗口回弹效果
  106. }
  107. },
  108. "tabBar": {
  109. "list": [{
  110. "pagePath": "pages/home/index"
  111. },
  112. {
  113. "pagePath": "pages/msg/index"
  114. },
  115. {
  116. "pagePath": "pages/me/index"
  117. }
  118. ]
  119. }
  120. }