1、Thinkphp 模板中直接对数据处理:{$data.name|substr=0,3}
2、中文字符串截取函数:mb_substr=0,14,'utf-8'
3、中文字符串统计:iconv_strlen(字符串,"UTF-8")
<div style="margin-bottom: 8px;">
<a href="#" target="_blank" class="my_a" >
<if condition='iconv_strlen($vo[title],"UTF-8") gt 14'>
{$vo.title|mb_substr=0,14,'utf-8'}……
<else />
{$vo.title|mb_substr=0,14,'utf-8'}
</if>
</a>
</div>