数据页样式调试5

master
zcstatham 2 years ago
parent 7aeb09483b
commit 2b7835ec47
  1. 12
      app/view/index/index.html
  2. 2
      app/view/public/layout.html

@ -8,7 +8,7 @@
{/block}
{block name="body"}
<div class="layui-card">
<div class="layui-card-body layui-form" style="padding: 10px 0;">
<div class="layui-card-body layui-form" style="padding: 0 10px;">
<div class="layui-collapse">
<div class="layui-colla-item">
<h2 class="layui-colla-title">筛选</h2>
@ -154,7 +154,7 @@
<div class="layui-input-block layui-text-right" id="tool-bar">
<button type="button" class="layui-btn" id="search-btn">搜索</button>
<a href="{:url('index/index')}" class="layui-btn" id="reset-btn">重置条件</a>
<button type="button" class="layui-btn layui-btn-danger" id="deletes-btn">批量删除</button>
<button type="button" class="layui-btn layui-btn-danger" style="display: none;" id="deletes-btn">批量删除</button>
</div>
</div>
</div>
@ -357,6 +357,14 @@
},
where: param,
}, 'data');
let param_a = param;
delete param_a['car_phone_empty'];
delete param_a['car_frame_check'];
delete param_a['data_check'];
if (param_a.filter().length > 0)
$('#deletes-btn').css('display', 'inline-block')
else
$('#deletes-btn').css('display', 'none')
});
$('#deletes-btn').on('click', function () {
layer.confirm('真的删除行么', function(index){

@ -17,7 +17,7 @@
<li class="layui-nav-item"><a href="{:url('repeat/index')}">重复车架</a></li>
</ul>
</div>
<div class="layui-container-fluid" id="layui-content">
<div class="layui-container-fluid" id="layui-content" style="height: calc(100% - 60px);">
{block name="body"}{/block}
</div>

Loading…
Cancel
Save