diff --git a/themes/beauty/views/site/index.php b/themes/beauty/views/site/index.php index 828b063..fda1d49 100644 --- a/themes/beauty/views/site/index.php +++ b/themes/beauty/views/site/index.php @@ -217,21 +217,23 @@ eof; $index++; } + } - //分割目录和文件 - echo ''; - $arrowImg = $dir_ext_status == 'opened' ? 'arrow-up.svg' : 'arrow-down.svg'; - $btnTxt = $dir_ext_status == 'opened' ? '收拢' : '展开'; - echo <<'; + + $arrowImg = $dir_ext_status == 'opened' ? 'arrow-up.svg' : 'arrow-down.svg'; + $btnTxt = $dir_ext_status == 'opened' ? '收拢' : '展开'; + echo <<
eof; - echo '
'; - } + echo '
'; + //显示图片、视频 if (!empty($category['files'])) { //一级目录支持