<c:if test="${fn:length(news.title)>10}">${fn:substring(news.title, 0, 10)}...</c:if>
<c:if test="${fn:length(news.title)<=10}">${news.title}</c:if>
省略显示标题
最新推荐文章于 2021-06-14 12:43:43 发布
<c:if test="${fn:length(news.title)>10}">${fn:substring(news.title, 0, 10)}...</c:if>
<c:if test="${fn:length(news.title)<=10}">${news.title}</c:if>