修改includetaglibchannelartlist.lib.PHP
Fields[‘typeurl’] = GetOneTypeUrlA($typeids[$i]);
增加以下代码:
TypeLink->TypeInfos['id']){ $pv->Fields['currentstyle'] = ' class="m_hover"'; } else{ $pv->Fields['currentstyle'] = ''; }
{dede:field name='typename'/} {/dede:channelartlist}
标签就会多一个.m_hover的类
原文链接:https://www.f2er.com/dedecms/403909.html