<template>
  <!-- 文化概况 - 先贤列传 -->
   <CommonListPage
    :title="'先贤列传'"
    :dropDownNames="[]"
    itemType="article-character"
    detailsPage="/pages/inhert/inheritor/details"
    :load="loadData"
  />
</template>

<script setup lang="ts">
import { GetContentListParams } from '@/api/CommonContent';
import CharacterContentApi from '@/api/introduction/CharacterContent';
import CommonListPage, { type DropDownNames } 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)
  ).list;
}
</script>

<style>
</style>

