Home >Backend Development >PHP Tutorial > thinkphp中volist输出内容部分显示?如上图

thinkphp中volist输出内容部分显示?如上图

WBOY
WBOYOriginal
2016-06-13 13:08:481306browse

thinkphp中volist输出内容部分显示?如下图
如何让业绩的内容显示一部分

------解决方案--------------------
这用css问题就能解决,设置高度,然后溢出隐藏,或者PHP截取字符长度
------解决方案--------------------

{$vo.Content|msubstr=0,100}
应该可以~
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn