#### 自定义分类详情页 (作用于详情页)
> 多个自定义详情页分类 不同SEO TDK信息 (每个分类对应不同模板: show_article_xxxxx.html)
```
{php}
$SEO_TITLE = $title;
$SEO_KEYWORD = $SEO['keyword'];
$SEO_DESCRIPTION = $SEO['description'];
//设置自定义分类详情SEO标题、URL链接
$SEO_TITLE_DICT = [
//默认首页
'index' => [
'title' => $title,
'url' => "/article/$id.html",
],
//预约
'content' => [
'title' => $shorttitle . "怎么样_正规吗_预约",
'url' => "/articlecontent-$id.html",
],
//介绍
'doctor' => [
'title' => $shorttitle . "有哪些_介绍",
'url' => "/article/doctor-$id.html",
],
//价格
'price' => [
'title' => $shorttitle . "价格表|价目表_贵吗",
'url' => "/article/price-$id.html",
],
//地址
'address' => [
'title' => $shorttitle . "地址在哪里",
'url' => "/article/address-$id.html",
],
];
$SEO_TITLE = empty($typeclass) ? $title: (isset($SEO_TITLE_DICT[$typeclass]['title']) ? $SEO_TITLE_DICT[$typeclass]['title'] : $title);
{/php}
<title>{$SEO_TITLE}_{$SEO['site_name']}</title>
<!-- S 调整当前页面的不同子分类页面-->
<ul>
<li {if $typeclass eq ''}class="act"{/if}><a title="{$shorttitle}" href="{$SEO_TITLE_DICT.index.url}">主页</a></li>
<li {if $typeclass eq 'content'}class="act"{/if}><a title="{$SEO_TITLE_DICT.content.title}" href="{$SEO_TITLE_DICT.content.url}">介绍</a></li>
<li {if $typeclass eq 'price'}class="act"{/if}><a title="{$SEO_TITLE_DICT.price.title}" href="{$SEO_TITLE_DICT.price.url}">价格</a></li>
</ul>
<!-- S 不同分类模板展示不同信息 -->
<div class="content">
<li>
{switch name="typeclass"}
{case value="content"}
<h2>1、介绍</h2>
{$yyjs|raw}
{/case}
{case value="price"}
<h2>1、价格</h2>
{$jg|raw}
{/case}
{default}
<h2>1、简介</h2>
{$jgsf|raw}
{/switch}
</li>
</div>
```