fa4c2b39 by 任超

style:预约列表

1 parent 7b044e7c
Pipeline #14 for fa4c2b39 failed in 0 seconds
......@@ -125,6 +125,7 @@
display: inline-block;
float: right;
color: #FFFFFF;
cursor: pointer;
}
.item_title a:hover {
color: #FFFFFF;
......
......@@ -11,8 +11,8 @@ $(function () {
})
// 获取列表信息
function _initData(currentPage=1) {
// var appointment_list = $(".appointment_list");
// appointment_list.empty();
var appointment_list = $(".appointment_list");
appointment_list.empty();
var li;
$.ajax({
type: "post", //提交方式
......@@ -52,10 +52,13 @@ function _initData(currentPage=1) {
li += '<li><span>办理业务类型:</span><p>'+records[i].businessName+'</p><a href="">办事指南</a></li>'
li += '<li><span>预约日期:</span><p>'+records[i].reserveTime+'</p></li>'
li += '<li><span>预约流水号:</span><p>'+records[i].reservationNumber+'</p></li>'
li += '</ul>'
if (records[i].state == '1') {
li += '<a class="cancel_reservation">取消预约</a>'
}
li += '</div>'
li += '</li>'
// appointment_list.append(li);
appointment_list.append(li);
}
}
......
......@@ -42,43 +42,7 @@
</div>
<!-- -------------预约列表--------------- -->
<div class="contentBox">
<ul class="appointment_list">
<li>
<div class="item_content">
<div class="item_title success">
<h3>正常</h3>
<a>
查看
<i class="layui-icon layui-icon-right"></i>
</a>
</div>
<ul class="item_info">
<li>
<span>预约人:</span>
<p>任超</p>
</li>
<li>
<span>办事大厅:</span>
<p>米香园办事大厅</p>
</li>
<li>
<span>办理业务类型:</span>
<p>二手房交易</p>
<a href="">办事指南</a>
</li>
<li>
<span>预约日期:</span>
<p>2020-12-56 上午 16:13</p>
</li>
<li>
<span>预约流水号:</span>
<p>897987987987</p>
</li>
</ul>
<a class="cancel_reservation">取消预约</a>
</div>
</li>
</ul>
<ul class="appointment_list"></ul>
<div id="page"></div>
</div>
</div>
......