Browse Source

total number show improve

master
filesite 5 months ago
parent
commit
8881b3b669
  1. 9
      themes/beauty/views/site/index.php

9
themes/beauty/views/site/index.php

@ -80,9 +80,16 @@ if (!empty($category['files'])) {
if (!empty($breadcrumbs)) { if (!empty($breadcrumbs)) {
$totalNum = '';
if ($total > 0) {
$totalNum = <<<eof
<span class="pull-right total">总数 <strong>{$total}</strong></span>
eof;
}
echo <<<eof echo <<<eof
<div class="breadcrumbs text_dark"> <div class="breadcrumbs text_dark">
<span class="pull-right total">总数 <strong>{$total}</strong></span> {$totalNum}
<small>当前位置:</small> <small>当前位置:</small>
<a href="/">首页</a> / <a href="/">首页</a> /
eof; eof;

Loading…
Cancel
Save