pages.json 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. {
  2. "easycom": {
  3. "autoscan": true,
  4. "custom": {
  5. "tui-(.*)": "@/components/thorui/tui-$1/tui-$1.vue"
  6. }
  7. },
  8. "pages": [
  9. //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
  10. {
  11. "path": "pages/index/index",
  12. "style": {
  13. "navigationBarTitleText": "团蜂小名片",
  14. "navigationStyle": "custom"
  15. }
  16. }
  17. // {
  18. // "path": "pages/previewCard/index",
  19. // "style": {
  20. // "navigationBarTitleText": "预览名片",
  21. // "navigationBarTextStylemyCard": "black",
  22. // "navigationBarBackgroundColor": "#fff"
  23. // }
  24. // }
  25. ],
  26. "subpackages": [
  27. {
  28. "root": "pages_module",
  29. "name": "pages_module",
  30. "pages": [
  31. {
  32. "path": "establish/index",
  33. "style": {
  34. "navigationBarTitleText": "创建名片",
  35. "navigationBarTextStyle": "black",
  36. "navigationBarBackgroundColor": "#fff"
  37. }
  38. },
  39. {
  40. "path": "previewCard/index",
  41. "style": {
  42. "navigationBarTitleText": "预览名片",
  43. "navigationStyle": "custom"
  44. }
  45. },
  46. {
  47. "path": "myCard/index",
  48. "style": {
  49. "navigationBarTitleText": "我的名片",
  50. "navigationStyle": "custom"
  51. }
  52. },
  53. {
  54. "path": "previewTwoCard/index",
  55. "style": {
  56. "navigationBarTitleText": "预览名片",
  57. "navigationStyle": "custom"
  58. }
  59. },
  60. {
  61. "path": "privacy/index",
  62. "style": {
  63. "navigationBarTitleText": "用户隐私协议",
  64. "enablePullDownRefresh": false
  65. }
  66. }
  67. ]
  68. }
  69. ],
  70. "globalStyle": {
  71. "navigationBarTextStyle": "black",
  72. "navigationBarTitleText": "uni-app",
  73. "navigationBarBackgroundColor": "#F8F8F8",
  74. "backgroundColor": "#F8F8F8"
  75. },
  76. "uniIdRouter": {}
  77. }