app.config.ts 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. export default defineAppConfig({
  2. pages: [
  3. 'pages/home/index',
  4. 'pages/explore/index',
  5. 'pages/profile/index',
  6. 'pages/login/index',
  7. 'pages/login/wechat-login',
  8. 'pages/register/index',
  9. 'pages/select-activity/ActivitySelectPage',
  10. 'pages/schedule-list/ScheduleListPage',
  11. 'pages/passengers/passengers',
  12. 'pages/passengers/add-passenger',
  13. 'pages/order/index',
  14. 'pages/pay-success/index',
  15. 'pages/orders/index',
  16. 'pages/order-detail/index'
  17. ],
  18. window: {
  19. backgroundTextStyle: 'light',
  20. navigationBarBackgroundColor: '#1890ff',
  21. navigationBarTitleText: '小程序Starter',
  22. navigationBarTextStyle: 'white',
  23. navigationStyle: 'custom'
  24. },
  25. tabBar: {
  26. custom: true,
  27. color: "#000000",
  28. selectedColor: "#000000",
  29. backgroundColor: "#000000",
  30. list: [
  31. {
  32. pagePath: 'pages/home/index',
  33. text: '首页'
  34. },
  35. {
  36. pagePath: 'pages/explore/index',
  37. text: '发现'
  38. },
  39. {
  40. pagePath: 'pages/profile/index',
  41. text: '我的'
  42. }
  43. ]
  44. },
  45. usingComponents: {}
  46. })