app.config.ts 3.0 KB

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