app.config.ts 825 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. export default defineAppConfig({
  2. pages: [
  3. 'pages/index/index',
  4. 'pages/explore/index',
  5. 'pages/profile/index',
  6. 'pages/login/index',
  7. 'pages/login/wechat-login',
  8. 'pages/register/index'
  9. ],
  10. window: {
  11. backgroundTextStyle: 'light',
  12. navigationBarBackgroundColor: '#1890ff',
  13. navigationBarTitleText: '小程序Starter',
  14. navigationBarTextStyle: 'white',
  15. navigationStyle: 'custom'
  16. },
  17. tabBar: {
  18. custom: true,
  19. color: "#000000",
  20. selectedColor: "#000000",
  21. backgroundColor: "#000000",
  22. list: [
  23. {
  24. pagePath: 'pages/index/index',
  25. text: '首页'
  26. },
  27. {
  28. pagePath: 'pages/explore/index',
  29. text: '发现'
  30. },
  31. {
  32. pagePath: 'pages/profile/index',
  33. text: '我的'
  34. }
  35. ]
  36. },
  37. usingComponents: {}
  38. })