|
|
@ -67,7 +67,7 @@ if (!empty($viewData['tags'])) { //显示tags分类 |
|
|
|
$selected = $item['id'] == $selectedId || (!empty($breadcrumbs) && $item['id'] == $breadcrumbs[0]['id']) ? 'this_set' : ''; |
|
|
|
$selected = $item['id'] == $selectedId || (!empty($breadcrumbs) && $item['id'] == $breadcrumbs[0]['id']) ? 'this_set' : ''; |
|
|
|
echo <<<eof |
|
|
|
echo <<<eof |
|
|
|
<a href="{$linkPrefix}/list/?id={$item['id']}" class="{$selected}"> |
|
|
|
<a href="{$linkPrefix}/list/?id={$item['id']}" class="{$selected}"> |
|
|
|
<img src="/img/other.svg" alt="菜单图标" /> |
|
|
|
<img src="/img/collection-fill.svg" alt="菜单图标" /> |
|
|
|
<span>{$item['name']}</span> |
|
|
|
<span>{$item['name']}</span> |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
eof; |
|
|
|
eof; |
|
|
@ -104,7 +104,7 @@ if (!empty($viewData['tags'])) { //显示tags分类 |
|
|
|
$selected = $item['id'] == $selectedId || (!empty($breadcrumbs) && $item['id'] == $breadcrumbs[0]['id']) ? 'this_set' : ''; |
|
|
|
$selected = $item['id'] == $selectedId || (!empty($breadcrumbs) && $item['id'] == $breadcrumbs[0]['id']) ? 'this_set' : ''; |
|
|
|
echo <<<eof |
|
|
|
echo <<<eof |
|
|
|
<a href="{$linkPrefix}/list/?id={$item['id']}" class="{$selected}"> |
|
|
|
<a href="{$linkPrefix}/list/?id={$item['id']}" class="{$selected}"> |
|
|
|
<img src="/img/other.svg" alt="菜单图标" /> |
|
|
|
<img src="/img/collection-fill.svg" alt="菜单图标" /> |
|
|
|
<span>{$item['name']}</span> |
|
|
|
<span>{$item['name']}</span> |
|
|
|
</a> |
|
|
|
</a> |
|
|
|
eof; |
|
|
|
eof; |
|
|
|