加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
reply.jsp 2.58 KB
一键复制 编辑 原始数据 按行查看 历史
tjustb185150508 提交于 2020-12-03 22:58 . reply
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<style type="text/css">
table td {
height: 30px;
font-size: 16px;
}
a:link,a:visited {
color: #525252;
text-decoration: none;
} /* 未被访问的链接 */ /*已被访问的链接 */
a:hover {
color: #525252;
text-decoration: underline;
} /* 鼠标指针移动到链接上 */
.topicTitle:link,.topicTitle:visited {
color: #525252;
text-decoration: none;
}
.topicTitle:hover {
color: #2C86E5;
text-decoration: underline;
}
</style>
<div style="font-family: 微软雅黑;">
<table>
<%
int i = 1;
%>
<s:iterator value="listTopic" id="topic">
<tr>
<td style="width: 35px;font-style: italic;" align="center"><%=i%></td>
<td><div style="width:600px;">
<div
style="white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width: 400px;float: left;">
<a
href="cate_goCate.action?category.id=<s:property value="#topic.topicsType.typesCategory.id" />"
target="_top" style="font-size: 14px;"><s:property
value="#topic.topicsType.typesCategory.name" /> </a>-<a
href="type_goType.action?type.id=<s:property
value="#topic.topicsType.id" />"
target="_top" style="font-size: 14px;"><s:property
value="#topic.topicsType.name" /> </a>||&nbsp;<a
href="topic_goTopic.action?topic.id=<s:property
value="#topic.id" />"
target="_top" class="topicTitle"><s:property
value="#topic.title" /> </a>
</div>
<div style="float: left;font-size: 12px;color: #4C9ED9">
&nbsp;&nbsp;[
<s:property value="#topic.integral" />
]&nbsp;[回复:
<s:property value="#topic.countComment" />
]&nbsp;[
<s:if test="#topic.status==0">未结帖</s:if>
<s:else>已结帖</s:else>
]<s:if
test="#topic.niceTopic==1">[<font color="red">精品</font>]</s:if> <s:else></s:else>
</div>
</div></td>
<td align="right" width="80px;"><div
style="white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width: 80px;">
<a class="topicTitle" href="user_GoUser.action?user.id=<s:property
value="#topic.topicsUser.id" />" target="_top"
style="font-size: 14px;"><s:property
value="#topic.topicsUser.nickname" />
</a>&nbsp;&nbsp;
</div></td>
</tr>
<%
i++;
%>
</s:iterator>
</table>
</div>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化