移动新ui
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
hb_cyjc_yd/WebRoot/hbcyjc/indexscenicgood/indexscenicgood_list.jsp

144 lines
5.0 KiB

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/common/ctx.jsp"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>景区评论列表</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="${ctx}/hbcyjc/resourceNew/js/jquery-3.7.0.min.js"></script>
<script type="text/javascript" src="${ctx}/js/layer/layer.js"></script>
<!-- 字体图标 -->
<link href="${ctx}/assets/font-awesome/css/font-awesome.min.css" rel="stylesheet"/>
<link href="${ctx}/assets/ionicon/css/ionicons.min.css" rel="stylesheet"/>
<link href="${ctx}/css/material-design-iconic-font.min.css" rel="stylesheet">
<!-- select2 带搜索的下拉 -->
<link href="${ctx}/assets/select2/select2.css" rel="stylesheet" type="text/css"/>
<link href="${ctx}/assets/jquery-multi-select/multi-select.css" rel="stylesheet" type="text/css"/>
<!-- 自定义样式 -->
<%@ include file="/common/theme_css.jsp" %>
<script type="text/javascript">
//查询
function mySearch() {
document.mainForm.submit();
}
//重置
function myReset() {
$("#starttime").val("");
$("#endtime").val("");
$("#ctype").val("");
}
</script>
</head>
<body>
<div class="xingk_nr"></div>
<div class="header_top">
<p class="header_xtbt">${title}详情</p>
</div>
<form action="${ctx}/indexscenicgood/gotolist.do" id="mainForm" method="post" name="mainForm" enctype="multipart/form-data">
<input id="sceniccode" name="sceniccode" type="hidden" value="${sceniccode}"/>
<input id="title" name="title" type="hidden" value="${title}"/>
<div class="table_sck">
<div class="tsble_form">
<div class="form_hpzs">
<label class="form_label">时间范围:</label>
<div class="form_input">
<input id="starttime" name="starttime" value="${starttime}" readonly="readonly"/>
</div>
-<div class="form_input">
<input id="endtime" name="endtime" value="${endtime}" readonly="readonly"/>
</div>
</div>
<div class="form_hpzs">
<label class="form_label">评论类型:</label>
<div class="form_select" style="width: 110px;">
<select id="ctype" name="ctype">
<option value="">请选择</option>
<c:choose>
<c:when test="${ctype=='1'}">
<option value="1" selected="selected">好评</option>
</c:when>
<c:otherwise>
<option value="1">好评</option>
</c:otherwise>
</c:choose>
<c:choose>
<c:when test="${ctype=='2'}">
<option value="2" selected="selected">中评</option>
</c:when>
<c:otherwise>
<option value="2">中评</option>
</c:otherwise>
</c:choose>
<c:choose>
<c:when test="${ctype=='3'}">
<option value="3" selected="selected">差评</option>
</c:when>
<c:otherwise>
<option value="3">差评</option>
</c:otherwise>
</c:choose>
</select>
</div>
</div>
<div class="">
<button type="button" onclick="mySearch()" class="bttn bttn_ss" title="搜索"><i class="fa fa-search"></i>搜索</button>
<button class="bttn" title="重置" onclick="myReset()"><i class="fa fa-rotate-left "></i>重置</button>
</div>
<div class="clear"></div>
</div>
</div>
<div class="lst_table_box">
<div class="t_r_t" id="t_r_t">
<div class="t_r_title pp-list">
<table class="pp-list">
<tr>
<th style="text-align:center;" width="5%">序号</th>
<th style="text-align:center;" width="10%">评论时间</th>
<th style="text-align:center;" width="15%">评论用户</th>
<th style="text-align:center;" width="10%">评论来源</th>
<th style="text-align:center;" width="10%">评分</th>
<th style="text-align:center;" width="50%">评论内容</th>
</tr>
</table>
</div>
</div>
<div class="t_r_content t_table" id="t_r_content" onscroll="aa()" style="max-height:360px">
<table class="pp-list">
<c:forEach items="${list}" var="lis" varStatus="vst">
<tr>
<td align="center" width="5%">${(vst.index)+1}</td>
<td title="" width="10%"><fmt:formatDate value="${lis.criticismTime}" type="date" pattern="yyyy-MM-dd"/></td>
<td title="" width="15%">${lis.criticismUser}</td>
<td title="" width="10%"><cjy:dic diccode="${lis.criticismSource}"/></td>
<td title="" width="10%">${lis.grade}</td>
<td title="" width="50%">${lis.criticismContent}</td>
</tr>
</c:forEach>
</table>
</div>
<%@include file="/common/page.jsp"%>
</div>
</form>
<!-- 时间选择器 -->
<script type="text/javascript" src="${ctx}/js/laydate5.09/laydate.js"></script>
<script type="text/javascript">
laydate.render({
elem: '#starttime',
theme: 'datecolor'
});
laydate.render({
elem: '#endtime',
theme: 'datecolor'
});
</script>
</body>
</html>