https://www.kancloud.cn/manual/think-template/1286424
自定义标签是按照上面的链接去写的。
在页面上的代码:
<div class="links">
{php}$str='';{/php}
{gts:friendlink cache='86400'}
{php}
$c = count($gtsTagFriendlink)-1;
$str .='<a href="'.$vo['friendlinkUrl'].'" target="_blank">'.$vo["friendlinkName"].'</a>';
if($key!=$c)$str .=' | ';
{/php}
{/gts:friendlink}
{$str}
</div>
页面会原封不动地展示a标签的内容,没有解析成可点击链接地址,同样的写法在TP5.1没这个问题,求解。最佳答案
