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

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

WBOY
Release: 2016-06-13 13:08:48
Original
1305 people have browsed it

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

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

{$vo.Content|msubstr=0,100}
应该可以~
Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template