设置锚点
<a name="mao"></a>
点击链接显示到锚点位置
<a href="{url ask/index/type/$type/catid/$val[catid]}#mao" {if $val[catid] == $catid}class="active2"{/if} >$val[name]</a>
原文地址:https://www.cnblogs.com/xqchen/p/10449976.html
时间: 2024-10-23 14:09:54
设置锚点
<a name="mao"></a>
点击链接显示到锚点位置
<a href="{url ask/index/type/$type/catid/$val[catid]}#mao" {if $val[catid] == $catid}class="active2"{/if} >$val[name]</a>
原文地址:https://www.cnblogs.com/xqchen/p/10449976.html