展开全部
当然可以..
<c:set value="1" var="typeTitle" />
<c:forEach var="xinwenType" items="${xinwenType }">
<div class="li_list"
<c:if test="${typeTitle != 1}"> style="display:none;"</c:if>>
<img src="${basePath}/static/images/girl${typeTitle }.jpg" />
<c:set value="${typeTitle+1 }" var="typeTitle"></c:set>
<ul>
<c:forEach var="cmsTitle" items="${xinwenType.cmsTitleList }"
varStatus="varStatus" end="8">
<li><a href="${basePath }/title/info/${cmsTitle.id}">${varStatus.index+1}.${cmsTitle.title}</a></li>
</c:forEach>
<li class="more"><a href="${basePath }/title/query?typeId=${xinwenType.typeId}">更多>></a>
</li>
</ul>
</div>
</c:forEach>
<c:set value="1" var="typeTitle" />
<c:forEach var="xinwenType" items="${xinwenType }">
<div class="li_list"
<c:if test="${typeTitle != 1}"> style="display:none;"</c:if>>
<img src="${basePath}/static/images/girl${typeTitle }.jpg" />
<c:set value="${typeTitle+1 }" var="typeTitle"></c:set>
<ul>
<c:forEach var="cmsTitle" items="${xinwenType.cmsTitleList }"
varStatus="varStatus" end="8">
<li><a href="${basePath }/title/info/${cmsTitle.id}">${varStatus.index+1}.${cmsTitle.title}</a></li>
</c:forEach>
<li class="more"><a href="${basePath }/title/query?typeId=${xinwenType.typeId}">更多>></a>
</li>
</ul>
</div>
</c:forEach>
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询