隐藏,多余以...显示(推荐 使用)
<p style=" margin-bottom:5px;width:90px;text-overflow:ellipsis;white-space:nowrap; overflow:hidden" >{$list.goods_name}</p>
隐藏 (会出现截取半个的情况 )
<p style=" margin-bottom:5px;white-space: nowrap;width:113px; overflow:hidden" >{$list.goods_name}</p>
换行
<p style=" margin-bottom:5px;width:91px; overflow:hidden" >{$list.goods_name}</p>