import { themeTokens } from '@/theme/tokens'

export default defineAppConfig({
  pages: [
    'pages/login/index',
    'pages/collaboration/records/index',
    'pages/collaboration/statistics/index',
    'pages/profile/index',
    'pages/profile/info/index',
    'pages/profile/password/index',
    'pages/collaboration/detail/index',
    'pages/collaboration/form/index'
  ],
  window: {
    backgroundTextStyle: 'light',
    navigationBarBackgroundColor: themeTokens.color.page,
    navigationBarTitleText: '合作管理',
    navigationBarTextStyle: 'black',
    navigationStyle: 'custom'
  },
  tabBar: {
    custom: true,
    color: themeTokens.color.textSecondary,
    selectedColor: themeTokens.color.primary,
    backgroundColor: themeTokens.color.page,
    borderStyle: 'black',
    list: [
      {
        pagePath: 'pages/collaboration/records/index',
        text: '合作记录'
      },
      {
        pagePath: 'pages/collaboration/statistics/index',
        text: '月度统计'
      },
      {
        pagePath: 'pages/profile/index',
        text: '我的'
      }
    ]
  }
})

