document.writeln("
"); document.writeln("
<\/a><\/dt>"); document.writeln("
"); document.writeln("
eucms<\/strong> 沙发.
2020/4/18 7:10:01<\/span><\/div>"); document.writeln("

这个要用[clnum]栏目子栏目个数来判断是否有子栏目,再对栏目链接进行特殊限制,代码如下:
以下是一个基本完整的二级循环导航,红色部分是你想要的效果
<div class=\"menu\">
<ul>{eutoo:1 table=\"class_eu\" where=\"parentid=\'0\' and dh=1\"}
<li>a href=\"[eu:if [clnum]>0]#[else][clink:1][\/eu:if]\">{@<\/span>classname:1\/} <\/a><\/p>

  <ul> {eucms table=\"class_eu\" where=\"parentid=\'{@classid:1\/}\' and dh=1\"}
       <li a href=\"[clink]\">{classname}<\/li>{\/eucms}<\/p>

  <\/ul><\/p>

<\/li>
  {\/eutoo:1}<\/p>

<\/ul>
 <\/div><\/p><\/div>"); document.writeln(" 0<\/var><\/a> 回复<\/a><\/cite>"); document.writeln(" <\/dd>"); document.writeln(" "); document.writeln(" <\/dl>") document.writeln("

"); document.writeln("
"); document.writeln("
"); document.writeln(" "); document.writeln("
"); document.writeln(" "); document.writeln(" <\/div>"); document.writeln(" <\/form>"); document.writeln(" <\/div>"); document.writeln(" <\/div>"); document.writeln("<\/div>")