0 && $currentPage > $totalPages) { $currentPage = $totalPages; // 重新查询当前页数据 $result = loadListByChannelNameAndPage($pageSize, $channel, $currentPage); $partyBuilding = $result['list'] ?? []; } // 轮播图数据 - 修改为单张图片 $carouselItems = [ [ "image" => "/images/test-header-2.png", "alt" => $channel ] ]; ?>