1.搜索高亮展示 str_replace()方法
<td>{:str_replace("$name","<font color='red'>".$name."</font>",$v.name)}</td>
2.身份证号码隐藏中间8位 sub_replace()方法
<td>{:substr_replace($v.username,"********",6,8)}</td>
3.展示一行文字效果,添加style属性
style="white-space: nowrap;overflow: hidden;text-overflow: ellipsis"