我想在栏目模版页上实现自定义字段的二级联动菜单筛选,代码该如何写?如下图所示,其中绿色字体为自定义一级,后面带统计数字的是二级。
该部分HTML代码:
<li id="morelist">
<b class="left">所在科室:</b>
<div class="morelist left">
<div class="subjectitem" subid="1"><b>临床科室:</b>
<a href="/expert_keshi-e5a687e7a791-ep.html">康复(32)</a>
<a href="/expert_keshi-e4baa7e7a791-ep.html">产科(15)</a>
<a href="/expert_keshi-e4bc98e7949fe98197e4bca0e592a8e8afa2-ep.html">优生遗传咨询(6)</a>
<a href="/expert_keshi-e7949fe6ae96e58685e58886e6b38c-ep.html">生殖内分泌(12)</a>
<a href="/expert_keshi-e8be85e58aa9e58aa9e5ad952fe8af95e7aea1e5a9b4e584bf-ep.html">辅助助孕/试管婴儿(8)</a>
<a href="/expert_keshi-e794b7e7a791-ep.html">呼吸科(4)</a>
<a href="/expert_keshi-e584bfe7a791-ep.html">儿科(69)</a>
<a href="/expert_keshi-e9babbe98689e7a791-ep.html">麻醉科(10)</a>
</div>
<div class="subjectitem" subid="1"><b>诊断科室:</b>
<a href="/expert_keshi-e694bee5b084e7a791-ep.html">放射科(3)</a>
<a href="/expert_keshi-e6a380e9aa8ce7a791-ep.html">检验科(8)</a>
<a href="/expert_keshi-e79785e79086e7a791-ep.html">病理科(7)</a>
<a href="/expert_keshi-e8b685e5a3b0e7a791-ep.html">超声科(4)</a>
<a href="/expert_keshi-e88dafe5ada6e983a8-ep.html">药学部(2)</a>
</div>
</div>
<div class="clear"></div>
</li>