app.config.ts 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. export default defineAppConfig({
  2. pages: [
  3. 'pages/yongren/login/index',
  4. 'pages/yongren/dashboard/index',
  5. 'pages/yongren/talent/list/index',
  6. 'pages/yongren/talent/detail/index',
  7. 'pages/yongren/order/list/index',
  8. 'pages/yongren/order/detail/index',
  9. 'pages/yongren/statistics/index',
  10. 'pages/yongren/settings/index',
  11. // 原有小程序页面
  12. 'pages/index/index',
  13. 'pages/explore/index',
  14. 'pages/profile/index',
  15. 'pages/login/index',
  16. 'pages/login/wechat-login',
  17. 'pages/register/index'
  18. ],
  19. window: {
  20. backgroundTextStyle: 'light',
  21. navigationBarBackgroundColor: '#3b82f6',
  22. navigationBarTitleText: '用人方小程序',
  23. navigationBarTextStyle: 'white',
  24. navigationStyle: 'custom'
  25. },
  26. tabBar: {
  27. custom: true,
  28. color: "#6b7280",
  29. selectedColor: "#3b82f6",
  30. backgroundColor: "#ffffff",
  31. list: [
  32. {
  33. pagePath: 'pages/yongren/dashboard/index',
  34. text: '首页'
  35. },
  36. {
  37. pagePath: 'pages/yongren/talent/list/index',
  38. text: '人才'
  39. },
  40. {
  41. pagePath: 'pages/yongren/order/list/index',
  42. text: '订单'
  43. },
  44. {
  45. pagePath: 'pages/yongren/statistics/index',
  46. text: '数据'
  47. },
  48. {
  49. pagePath: 'pages/yongren/settings/index',
  50. text: '设置'
  51. }
  52. ]
  53. },
  54. usingComponents: {}
  55. })