pages.json 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. {
  2. "easycom": {
  3. "autoscan": true,
  4. "custom": {
  5. "tui-(.*)": "@/components/thorui/tui-$1/tui-$1.vue"
  6. }
  7. },
  8. "pages": [
  9. {
  10. "path": "pages/index/index",
  11. "style": {
  12. "navigationBarTitleText": "团蜂名片",
  13. "navigationStyle": "custom"
  14. }
  15. },
  16. {
  17. "path": "pages/user/user",
  18. "style": {
  19. "navigationBarTitleText": "我的",
  20. "navigationStyle": "custom"
  21. }
  22. },
  23. {
  24. "path": "pages/login/login",
  25. "style": {
  26. "navigationBarTitleText": "登录"
  27. }
  28. },
  29. {
  30. "path": "pages/login/register",
  31. "style": {
  32. "navigationBarTitleText": "注册"
  33. }
  34. }
  35. ],
  36. "subPackages": [
  37. {
  38. "root": "another-tf",
  39. "pages": [
  40. {
  41. "path": "another-user/calling-card/agree",
  42. "style": {
  43. "navigationBarTitleText": "用户协议"
  44. // 对于APP,单独设置uniapp自带的头部导航栏,则有头部导航栏,否则没有;当然也可以不设置,而使用页面头部栏。
  45. // "app-plus": {
  46. // // #ifdef APP
  47. // "titleNView": {
  48. // "type": "default"
  49. // }
  50. // // #endif
  51. // }
  52. // 相当于全局设置的。对于小程序,如果设置导航栏自定义,则没有了小程序自身的头部导航栏,否则依然存在。
  53. // "navigationStyle": "custom",
  54. // 相当于全局设置的。
  55. // "app-plus": {
  56. // "titleNView": false
  57. // } //去掉
  58. }
  59. },
  60. {
  61. "path": "another-user/calling-card-management/calling-card-form",
  62. "style": {
  63. "navigationBarTitleText": "名片表单"
  64. }
  65. },
  66. {
  67. "path": "another-user/calling-card-management/label-list",
  68. "style": {
  69. "navigationBarTitleText": "名片标签列表"
  70. }
  71. },
  72. {
  73. "path": "another-user/calling-card-management/card-label-form",
  74. "style": {
  75. "navigationBarTitleText": "名片标签表单"
  76. }
  77. }
  78. ]
  79. }
  80. ],
  81. "tabBar": {
  82. "selectedColor": "#E95D20",
  83. "backgroundColor": "#fff",
  84. "color": "#3D3D3D",
  85. "borderStyle": "white",
  86. "iconWidth": "28px",
  87. "height": "60px",
  88. "list": [
  89. {
  90. "pagePath": "pages/index/index",
  91. "text": "名片",
  92. "iconPath": "/static/images/tabbar/furniture.png",
  93. "selectedIconPath": "/static/images/tabbar/furniture-active.png"
  94. },
  95. {
  96. "pagePath": "pages/user/user",
  97. "text": "我的",
  98. "iconPath": "/static/images/tabbar/mine.png",
  99. "selectedIconPath": "/static/images/tabbar/mine-active.png"
  100. }
  101. ]
  102. },
  103. "globalStyle": {
  104. "backgroundTextStyle": "light",
  105. "navigationBarBackgroundColor": "#FFFFFF",
  106. "navigationBarTitleText": "uni-card",
  107. "navigationBarTextStyle": "black",
  108. // "navigationStyle": "custom",
  109. // 对于小程序、APP、H5,设置了,则没有了uniapp自带的头部导航栏。
  110. "titleNView": false,
  111. "app-plus": {
  112. "animationType": "slide-in-right",
  113. "animationDuration": 300
  114. }
  115. // 无用:
  116. // "mp-weixin": {
  117. // "usingComponents": {
  118. // "tui-no-data": "/components/thorui/tui-no-data/tui-no-data" // /pages/index/index
  119. // }
  120. // }
  121. }
  122. }