export const pageConfig = {
  name: 'BountyFootball',
  routePath: '/activities/bounty-football',
  routeName: 'bounty-football',
  assetPath: 'Activities/BountyFootball/',

  activity: {
    templateId: '2061370141245067265',
    activityType: 20,
    cycleKey: '20260601',
  },

  preload: {
    blocking: [
      'bg',
      'bg2',
      'helpBt',
      'timeBg',
      'rankingBt',
      'rewardBt',
      'rankBg',
      'RankingMain',
      'RankingItem',
      'RankingBottomBorder',
      'myRankingBg',
      'helpBg',
      'top1',
      'top2',
      'top3',
      'rewardBgTop1',
      'rewardBgTop2',
      'rewardBgTop3',
    ],
    background: [],
  },

  modules: {
    tabs: {
      enabled: true,
      defaultValue: 'ranking',
      items: [
        {
          value: 'ranking',
          label: 'Ranking',
          buttonImage: 'rankingBt',
          activeButtonImage: 'rankingBt',
          remark: '排行榜按钮，未选中时页面使用灰度效果。',
        },
        {
          value: 'reward',
          label: 'Reward',
          buttonImage: 'rewardBt',
          activeButtonImage: 'rewardBt',
          remark: '奖励按钮，未选中时页面使用灰度效果。',
        },
      ],
    },
    sections: [
      {
        name: 'ranking',
        label: 'Ranking',
        enabled: true,
        apis: ['getRankingListAndMyRanking'],
        loadMode: 'client-incremental',
        pageSize: 10,
        images: ['rankBg', 'RankingMain', 'RankingItem', 'RankingBottomBorder', 'myRankingBg'],
        previewImages: ['top1', 'top2', 'top3'],
        remark: '默认展示排行榜；包含前三名、第四名以后列表和底部我的排名。',
        children: {},
      },
      {
        name: 'reward',
        label: 'Reward',
        enabled: true,
        apis: ['getThisWeekRewardsAndGifts'],
        images: ['rewardBgTop1', 'rewardBgTop2', 'rewardBgTop3'],
        previewImages: [],
        remark: '只展示奖励列表；已按需求取消 index 中的活动礼物模块。',
        children: {},
      },
    ],
    popups: [
      {
        name: 'help',
        triggerImage: 'helpBt',
        backgroundImage: 'helpBg',
        contentImage: '',
        apis: [],
        remark:
          '规则说明弹窗；helpBg 支持多语言图片。MaskLayer 必须保持 fixed 顶层，不要被 .bg 子层级规则覆盖；规则文案按编号拆段，白色字体，字号 1em。',
      },
    ],
    features: [
      {
        name: 'countdown',
        enabled: true,
        deadline: '2026-06-12 05:00:00',
        images: ['timeBg'],
        fields: {
          endTime: '2026-06-12 05:00:00',
          remainingText: '',
        },
        remark: '天/时/分/秒使用 timeBg 承载；当前 index.vue 目标时间为 2026-06-12 05:00:00。',
      },
    ],
  },

  images: {
    localized: {
      ar: ['helpBg', 'rankingBt', 'rewardBt'],
      bn: ['helpBg', 'rankingBt', 'rewardBt'],
      tr: ['helpBg', 'rankingBt', 'rewardBt'],
    },
  },
}
