app.config.ts 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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. 'pages/goods-list/index',
  11. 'pages/goods-detail/index',
  12. 'pages/cart/index',
  13. 'pages/order-list/index',
  14. 'pages/order-detail/index',
  15. 'pages/order-submit/index',
  16. 'pages/address-manage/index',
  17. 'pages/address-edit/index',
  18. 'pages/payment/index'
  19. ],
  20. window: {
  21. backgroundTextStyle: 'light',
  22. navigationBarBackgroundColor: '#1890ff',
  23. navigationBarTitleText: '小程序Starter',
  24. navigationBarTextStyle: 'white',
  25. navigationStyle: 'custom'
  26. },
  27. tabBar: {
  28. custom: true,
  29. color: "#000000",
  30. selectedColor: "#000000",
  31. backgroundColor: "#000000",
  32. list: [
  33. {
  34. pagePath: 'pages/index/index',
  35. text: '首页'
  36. },
  37. {
  38. pagePath: 'pages/explore/index',
  39. text: '发现'
  40. },
  41. {
  42. pagePath: 'pages/profile/index',
  43. text: '我的'
  44. }
  45. ]
  46. },
  47. usingComponents: {}
  48. })