PHP
Fields['typeurl'] = GetOneTypeUrlA($typeids[$i]);代码下方增加以下代码:
TypeLink->TypeInfos['id'] || $typeids[$i]['id'] == $refObj->TypeLink->TypeInfos['topid'] ){调用方法:
$pv->Fields['currentstyle'] = $currentstyle ? $currentstyle : 'current';
}
else{
$pv->Fields['currentstyle'] = '';
}
{/dede:channelartlist} 原文链接:https://www.f2er.com/dedecms/404081.html