📄 evaluate.html
字号:
#set ($pid = ${StringUtil.getLong($request,"pid")})
#set ($p = ${StringUtil.getInt($request,"p",1)})
${pc.setPageNo($p)}
${pc.setPageSize(10)}
#set ($pevaluates = ${productMgr.getPEvaluateByPid($pid,$pc)})
<script>
window.top.setEvaluateLen(2);
</script>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>
${systemConfig.getStringConfigValue("webtitle")}
</title>
<link href="../css/light.css" rel="stylesheet" type="text/css">
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
#if (${pc.getPageCount()}>0)
<tr>
<td width="582" style="color:#666666">翻页:
#foreach( $i in [1..${pc.getPageCount()}] )
#if ($p==$i)
<span class='evaluateto' title='第 ${i} 页' >${i}</span>
#else
<a title='第 ${i} 页' href='javascript:go(${i})' class='evaluatet'>${i}</a>
#end
#end
</td>
</tr>
#else
<tr>
<td width="582" class="eval-line" style="color:#666666">暂无提问</td>
</tr>
#end
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="1058">
#foreach ( $pevaluate in $pevaluates )
<table width="100%" border="0" cellspacing="0" cellpadding="2">
<tr>
<td width="39%"><font color="#333333">提交人</font>:
${StringUtil.ascii2Html(${pevaluate.getString("author")})} </td>
<td width="24%"><span class="rate star${pevaluate.getString("star")}"> </span></td>
<td width="37%"><font color="#333333">日期</font>:
${pevaluate.getString("post_date")} </td>
</tr>
<tr align="left" valign="top">
<td colspan="3"> <font color="#666666">
${StringUtil.ascii2Html(${pevaluate.getString("content")})}
</font> </td>
</tr>
<tr>
<td colspan="3" class="eval-line"><font color="#0099CC">客服回复</font>:
${pevaluate.getString("feedback")} </td>
</tr>
</table>
<br>
#end </td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -