<template>
  <!-- 文化概况 - 历史人物 -->
   <CommonListPage
    :title="'历史人物'"
    :dropDownNames="[]"
    itemType="article-character"
    showTotal
    detailsPage="/pages/introduction/character/details"
    :load="loadData"
  />
</template>

<script setup lang="ts">
import { GetContentListParams } from '@/api/CommonContent';
import CharacterContentApi from '@/api/introduction/CharacterContent';
import CommonListPage from '@/pages/article/common/CommonListPage.vue';

async function loadData(
  page: number, 
  pageSize: number,
  searchText: string,
  dropDownValues: number[]
) {
  return (await CharacterContentApi
    .getContentList(new GetContentListParams().setSelfValues({
      keywords: searchText,
    }), page, pageSize)
  );
}
</script>

<style>
</style>

