// src/views/competition/modules/data.ts

export interface CompetitionItem {
  id: string
  title: string
  date: string
  endDate: string
  teamCount: number
  status: 'ongoing' | 'pending' | 'ended' // ongoing: 进行中, pending: 未开始, ended: 已结束
  isHighlight?: boolean // 用于标记第一个卡片的特殊背景
}

export const competitionList: CompetitionItem[] = [
  {
    id: '1',
    title: '阅读之星大赛\n辞海遨游环节', // 使用换行符或在组件中处理换行
    date: '2026.01.12',
    endDate: '2026.01.12',
    teamCount: 40,
    status: 'ongoing',
    isHighlight: true,
  },
  {
    id: '2',
    title: '诗词大会总决赛',
    date: '2026.01.12',
    endDate: '2026.01.12',
    teamCount: 32,
    status: 'pending',
  },
  {
    id: '3',
    title: '趣味百科大作战',
    date: '2026.01.12',
    endDate: '2026.01.12',
    teamCount: 32,
    status: 'ended',
  },
  {
    id: '4',
    title: '经典文学研读周',
    date: '2026.01.12',
    endDate: '2026.01.12',
    teamCount: 32,
    status: 'pending',
  },
  {
    id: '5',
    title: '未来科学家阅读赛',
    date: '2026.01.12',
    endDate: '2026.01.12',
    teamCount: 32,
    status: 'pending',
  },
  {
    id: '6',
    title: '历史人文知识赛',
    date: '2026.01.12',
    endDate: '2026.01.12',
    teamCount: 32,
    status: 'pending',
  },
  {
    id: '7',
    title: '少儿绘本创意营',
    date: '2026.01.12',
    endDate: '2026.01.12',
    teamCount: 32,
    status: 'pending',
  },
  {
    id: '8',
    title: '唐诗三百首挑战',
    date: '2026.01.12',
    endDate: '2026.01.12',
    teamCount: 32,
    status: 'pending',
  },
]
