<html xmlns:th="http://www.thymeleaf.org">
<head>
<title>私塾家</title>
<script th:include="sys/common/metaCSS" th:remove="tag"></script> 
<script th:include="sys/common/metaJS" th:remove="tag"></script> 
</head>
<style>
	.tablelink{margin-right:10px;}
	.stylecss{
	      color: red;
	}
	.select_width{
	     width: 70px;
	}
	.date_width{
	     width: 100px;
	}
</style>
<body>
<div class="place">
	<span>位置：</span>
	<ul class="placeul">
		<li><a href="#">运营管理</a></li>
		<li><a th:href="@{/sys/story/storyList.html}">故事列表</a></li>
		<li><a href="#">回复评论列表</a></li>
	</ul>
</div>
<div class="rightinfo">
	<form id="seachform" th:action="@{/sys/story/storyCardReplyList.html}" method="post">
	   <input type="hidden" name="EQ_storyCardId" th:value="${search.get('EQ_storyCardId')}">
	   <input type="hidden" name="storyTaskId" th:value="${storyTaskId}">
	      <input type="hidden" name="storyId" th:value="${storyId}">
	<ul class="seachform">
		<li>
			<label>评论内容</label>
			<input name="LIKE_content" type="text" class="scinput" th:value="${search.get('LIKE_content')}"/>
		</li>
		<li>
			<label>评论人</label>
			<input name="LIKE_userName" type="text" class="scinput" th:value="${search.get('LIKE_userName')}"/>
		</li>
		<li>
			<label>&nbsp;</label>
			<input type="button" class="scbtn" value="查询" />
		</li>
		<li>
				<ul class="toolbar">
					<a th:href="@{/sys/story/storyCardList.html(storyId=${storyId},EQ_storyTaskId=${storyTaskId})}"><li class="click"><span><img style="width: 24px;height: 24px" th:src="@{/static/sys/images/goto.png}" /></span>返回</li></a>
				</ul>
		</li>
	</ul>
	</form>
	<table class="tablelist">
		<thead>
		    <tr>
		        <th style="width: 50px;">序号</th>
		        <th>回复昵称</th>
				<th>回复人头像</th>
				<th>回复内容</th>
				<th>回复时间</th>
		    </tr>
		</thead>
		<tbody>
			<tr th:each="item:${list}" >
				<td th:text="${itemStat.count}" ></td>
				   <td th:text="${item.userName}" ></td>
					<td  class="imgtd">
							<img  th:if="${item.userPhoto}!=null" th:src="${imgUrl}+''+${item.userPhoto}" style="width: 50px;height: 50px;" />
					</td>
					<td th:title="${item.content}" th:text="${item.content} ? (${#strings.length(item.content)} &gt; 30 ? ${#strings.substring(item.content,0,30)} :${item.content} ) :'' ">
					</td>
					<td th:text="${#calendars.format(item.createTime,'yyyy-MM-dd HH:mm:ss')}" ></td>
				
			</tr>
		</tbody>
	</table>
	<!-- 分页 -->
	<div class="pagin">
    	<div class="message">共<i class="blue">[[${page.rowCnt}]]</i>条记录，当前显示第&nbsp;<i class="blue">[[${page.pageNo }]]&nbsp;</i>页</div>
    	<div th:utext='${listNavigatHtml}' th:remove="tag" ></div>
   	</div>
</div>
</body>
</html>