app.config.ts 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. export default defineAppConfig({
  2. pages: [
  3. 'pages/index/index',
  4. 'pages/personal/index',
  5. 'pages/profile/index',
  6. 'pages/dashboard/index',
  7. 'pages/visiteor-detail/index',
  8. 'pages/dislike-messages/index',
  9. 'pages/message-editor/index',
  10. 'pages/chat-messages/index',
  11. 'pages/chat-session-messages/index',
  12. 'pages/contact/index',
  13. 'pages/knowledge/index',
  14. 'pages/knowledge-item/index',
  15. 'pages/editor-knowledge-item/index',
  16. 'pages/editor-correction-item/index',
  17. 'pages/agent/index',
  18. 'pages/agent-avatars/index',
  19. 'pages/agent-avatar-confirm/index',
  20. 'pages/editor-pages/editor-greeting-questions/index',
  21. 'pages/voice/index',
  22. 'pages/chat/index',
  23. 'pages/agent-gen/index',
  24. 'pages/editor-contact/index',
  25. 'pages/contact-us/index',
  26. 'pages/privacy/index',
  27. 'pages/account/index',
  28. 'pages/agreement/index',
  29. 'pages/test/index',
  30. 'pages/component-library/index',
  31. 'pages/editor-pages/editor-name/index',
  32. 'pages/editor-pages/editor-phone/index',
  33. 'pages/editor-pages/editor-tel/index',
  34. 'pages/editor-pages/editor-email/index',
  35. 'pages/editor-pages/editor-address/index',
  36. 'pages/editor-pages/editor-qrcode/index',
  37. 'pages/editor-pages/editor-ent-name/index',
  38. 'pages/editor-pages/editor-position/index',
  39. 'pages/editor-pages/editor-channels/index',
  40. 'pages/editor-pages/editor-media/index',
  41. 'pages/editor-pages/editor-link/index',
  42. 'pages/editor-pages/editor-mini-program/index',
  43. 'pages/editor-pages/editor-link-social/index',
  44. 'pages/editor-pages/editor-link-contact/index',
  45. 'pages/editor-pages/editor-textarea/index',
  46. 'pages/editor-pages/editor-title/index',
  47. 'pages/webview/index',
  48. ],
  49. tabBar: {
  50. color: '#828282',
  51. selectedColor: '#000000',
  52. backgroundColor: '#FFFFFF',
  53. list: [
  54. {
  55. pagePath: 'pages/index/index',
  56. selectedIconPath: 'images/tabbar/agent-actived.png',
  57. iconPath: 'images/tabbar/agent.png',
  58. text: '智能体'
  59. },
  60. {
  61. pagePath: 'pages/contact/index',
  62. selectedIconPath: 'images/tabbar/contacts-actived.png',
  63. iconPath: 'images/tabbar/contacts.png',
  64. text: '联系人'
  65. },
  66. {
  67. pagePath: 'pages/dashboard/index',
  68. selectedIconPath: 'images/tabbar/data-actived.png',
  69. iconPath: 'images/tabbar/data.png',
  70. text: '数据'
  71. },
  72. {
  73. pagePath: 'pages/knowledge/index',
  74. selectedIconPath: 'images/tabbar/knowledge-actived.png',
  75. iconPath: 'images/tabbar/knowledge.png',
  76. text: '知识库'
  77. },
  78. {
  79. pagePath: 'pages/personal/index',
  80. selectedIconPath: 'images/tabbar/personal-actived.png',
  81. iconPath: 'images/tabbar/personal.png',
  82. text: '我的'
  83. }
  84. ]
  85. },
  86. window: {
  87. backgroundTextStyle: 'light',
  88. navigationBarBackgroundColor: '#f5f5f2',
  89. navigationBarTitleText: 'WeChat',
  90. navigationBarTextStyle: 'black',
  91. backgroundColor: '#f5f5f2',
  92. disableShareAppMessage: true,
  93. disableShareTimeline: true
  94. },
  95. permission: {
  96. 'scope.userLocation': {
  97. desc: '你的位置信息将用于小程序使用'
  98. }
  99. },
  100. requiredPrivateInfos: [
  101. 'getLocation',
  102. 'chooseAddress',
  103. 'chooseLocation'
  104. ]
  105. })