diff --git a/themes/beauty/views/site/index.php b/themes/beauty/views/site/index.php index 7a19380..27aacea 100644 --- a/themes/beauty/views/site/index.php +++ b/themes/beauty/views/site/index.php @@ -80,9 +80,16 @@ if (!empty($category['files'])) { if (!empty($breadcrumbs)) { + $totalNum = ''; + if ($total > 0) { + $totalNum = <<总数 {$total} +eof; + } + echo << - 总数 {$total} + {$totalNum} 当前位置: 首页 / eof;