已讀和未讀的代碼如下,請問是在哪裡進行設置
<c:if test="${(type == 'seeUnread') ||(type == 'seeRead')}">
<span class="unable"><a href="<%=basePath%>user/receive!seeMail.action?folderType=${ft}&page=1&type=${type}">首頁</a></span>
<c:forEach var="wp" begin="${pageView.pageindex.startIndex}" end="${pageView.pageindex.endIndex}">
<c:if test="${pageView.currentpage == wp}"><b>${wp}</b></c:if>
<c:if test="${pageView.currentpage != wp}">
<span class="unable"><a href="<%=basePath%>user/receive!seeMail.action?folderType=${ft}&page=${wp}&type=${type}" >${wp}</a></span> </c:if>
</c:forEach>
<span class="unable"><a href="<%=basePath%>user/receive!seeMail.action?folderType=${ft}&page=${pageView.totalpage}&type=${type}">末頁</a></span>
</c:if>
給未讀的條目加上一個樣式
比如
<div class="unread">...</div>
然後css定義樣式
.unread{
font-weight:blod;
}