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.
 
 
 
 
 
 
gzf/WebRoot/ui/pub.jsp

136 lines
5.4 KiB

<%@ page language="java" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ page language="java" %>
<%@ page language="java" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<jsp:include page="header.jsp"></jsp:include>
<!-- Breadcrumb -->
<div class="breadcrumb-area section" style="background: linear-gradient(45deg, rgb(240, 100, 150), rgb(140, 200, 208));">
<div class="container">
<div class="breadcrumb pt-75 pb-75 pt-sm-70 pb-sm-40 pt-xs-70 pb-xs-40">
<div class="row">
<div class="col">
<h2>申请公示</h2>
<!-- breadcrumb-list start -->
<ul class="breadcrumb-list">
<li class="breadcrumb-item"><a href="<%=basePath%>">Home</a></li>
<li class="breadcrumb-item active">公示</li>
</ul>
<!-- breadcrumb-list end -->
</div>
</div>
</div>
</div>
</div>
<!--// Breadcrumb -->
<!-- Page Conttent -->
<main class="page-content section">
<!-- Blog Grids Area -->
<div class="blog-grids-area pt-80 pt-md-60 pt-sm-40 pt-xs-30 pb-110 pb-md-90 pb-sm-70 pb-xs-60">
<div class="container">
<div class="row">
<table id="example" class="table">
<thead>
<tr>
<th>房源</th>
<th>大小</th>
<th>类型</th>
<th>价格</th>
<th>申请人</th>
<th>上传资料</th>
<th>备注</th>
<th>申请时间</th>
<th>状态</th>
<th style="width: 150px;">投诉举报</th>
</tr>
</thead>
<tbody>
<c:forEach items="${list}" var="item">
<tr class="even gradeA">
<td>
${item.hs.rooname}
</td>
<td>${item.hs.size} </td>
<td>${item.hs.cate} </td>
<td>${item.hs.price}元/月 </td>
<td>
${item.user.username}/
${item.user.realname}</td>
<td>
<a target="_blank" href="<%=basePath%>${item.attachfile}">
查看
</a>
</td>
<td>
<span class="bz badge badge-info" txt="${item.message }">查看</span>
</td>
<td>${item.created}</td>
<td>
<c:if test="${item.state eq '1' }">
<span class="badge badge-warning">待街道审核</span>
</c:if>
<c:if test="${item.state eq '2' }">
<span class="badge badge-success">街道审核通过</span>
</c:if>
<c:if test="${item.state eq '3' }">
<span class="badge badge-danger">街道审核不通过</span>
</c:if>
<c:if test="${item.state eq '4' }">
<span class="badge badge-warning">待市级审核</span>
</c:if>
<c:if test="${item.state eq '5' }">
<span class="badge badge-success">市级审核通过</span>
</c:if>
<c:if test="${item.state eq '6' }">
<span class="badge badge-danger">市级审核不通过</span>
</c:if>
</td>
<td>
<a class="btn" href="<%=basePath%>app/jb.do?id=${item.id}">举报</a>
</td>
</tr>
</c:forEach>
</tbody>
</table>
</div>
</div>
</div>
<!--// Blog Grids Area -->
</main>
<!--// Page Conttent -->
<jsp:include page="footer.jsp"></jsp:include>
<link href="<%=basePath %>static/toastr-master/toastr.min.css" rel="stylesheet" type="text/css" />
<script src="<%=basePath %>static/toastr-master/toastr.min.js"></script>
<script>
$(".bz").click(function(){
var txt = $(this).attr("txt");
toastr.success(txt, '提示');
});
</script>