fix:顶部横版卡片
This commit is contained in:
@@ -47,7 +47,17 @@ final class GeneralRenderer {
|
||||
if (!is_array($card)) {
|
||||
continue;
|
||||
}
|
||||
$args = ['icon' => $card['icon'] ?? '', 'customize_icon' => $card['custom_icon'] ?? '', 'icon_image' => $card['custom_icon'] ?? '', 'icon_color' => $card['color'] ?? '', 'icon_class' => $card['color'] ?? '', 'title' => $card['title'] ?? '', 'desc' => $card['description'] ?? '', 'link' => $card['link'] ?? []];
|
||||
$args = [
|
||||
'icon' => $card['icon'] ?? '',
|
||||
'customize_icon' => $card['customize_icon'] ?? '',
|
||||
'custom_icon' => $card['custom_icon'] ?? '',
|
||||
'icon_image' => $card['icon_image'] ?? '',
|
||||
'icon_color' => $card['color'] ?? '',
|
||||
'icon_class' => $card['color'] ?? '',
|
||||
'title' => $card['title'] ?? '',
|
||||
'desc' => $card['description'] ?? '',
|
||||
'link' => $card['link'] ?? [],
|
||||
];
|
||||
if ($cover && function_exists('aksrt_icon_cover_card')) {
|
||||
$html .= aksrt_icon_cover_card($args);
|
||||
} elseif (!$cover && function_exists('aksrt_icon_card')) {
|
||||
|
||||
Reference in New Issue
Block a user