app.config.ts 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. export default defineAppConfig({
  2. pages: [
  3. 'pages/index/index',
  4. 'pages/personal/index',
  5. 'pages/profile/index',
  6. 'pages/dashboard/index',
  7. 'pages/dashboard-visited-detail/index',
  8. 'pages/dashboard-dislike-messages/index',
  9. 'pages/dashboard-visitor-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/knowledge-item-editor/index',
  16. 'pages/agent/index',
  17. 'pages/agent-avatars/index',
  18. 'pages/editor-pages/editor-personality/index',
  19. 'pages/editor-pages/editor-greeting/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-channels/index',
  38. 'pages/editor-pages/editor-media/index',
  39. 'pages/editor-pages/editor-link/index',
  40. 'pages/editor-pages/editor-mini-program/index',
  41. 'pages/editor-pages/editor-link-social/index',
  42. 'pages/editor-pages/editor-link-contact/index',
  43. 'pages/editor-pages/editor-textarea/index',
  44. 'pages/editor-pages/editor-title/index',
  45. 'pages/webview/index',
  46. ],
  47. tabBar: {
  48. color: '#828282',
  49. selectedColor: '#000000',
  50. backgroundColor: '#FFFFFF',
  51. list: [
  52. {
  53. pagePath: 'pages/index/index',
  54. selectedIconPath: 'images/tabbar/agent-actived.png',
  55. iconPath: 'images/tabbar/agent.png',
  56. text: '智能体'
  57. },
  58. {
  59. pagePath: 'pages/contact/index',
  60. selectedIconPath: 'images/tabbar/contacts-actived.png',
  61. iconPath: 'images/tabbar/contacts.png',
  62. text: '联系人'
  63. },
  64. {
  65. pagePath: 'pages/dashboard/index',
  66. selectedIconPath: 'images/tabbar/data-actived.png',
  67. iconPath: 'images/tabbar/data.png',
  68. text: '数据'
  69. },
  70. {
  71. pagePath: 'pages/knowledge/index',
  72. selectedIconPath: 'images/tabbar/knowledge-actived.png',
  73. iconPath: 'images/tabbar/knowledge.png',
  74. text: '知识库'
  75. },
  76. {
  77. pagePath: 'pages/personal/index',
  78. selectedIconPath: 'images/tabbar/personal-actived.png',
  79. iconPath: 'images/tabbar/personal.png',
  80. text: '我的'
  81. }
  82. ]
  83. },
  84. window: {
  85. backgroundTextStyle: 'light',
  86. navigationBarBackgroundColor: '#f5f5f2',
  87. navigationBarTitleText: 'WeChat',
  88. navigationBarTextStyle: 'black',
  89. backgroundColor: '#f5f5f2',
  90. },
  91. permission: {
  92. 'scope.userLocation': {
  93. desc: '你的位置信息将用于小程序使用'
  94. }
  95. },
  96. requiredPrivateInfos: [
  97. 'getLocation',
  98. 'chooseAddress',
  99. 'chooseLocation'
  100. ]
  101. })