diff --git a/themes/beauty/views/site/index.php b/themes/beauty/views/site/index.php index 904fa25..bb0caf9 100644 --- a/themes/beauty/views/site/index.php +++ b/themes/beauty/views/site/index.php @@ -61,7 +61,9 @@ $main_view_cls = $menu_ext_status == 'opened' ? '' : 'full'; $ids) { + $arrYears = array_keys($viewData['cacheDataByDate']); + arsort($arrYears); + foreach($arrYears as $year) { $intYear = str_replace('y', '', $year); echo <<calendar {$intYear}年