#### 自定義分類詳情頁 (作用于詳情頁)
> 多個自定義詳情頁分類 不同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>
```