修改表格样式

This commit is contained in:
Anyon 2022-06-28 18:31:36 +08:00
parent f1c12215c2
commit 1bd6bd07d8
4 changed files with 20 additions and 18 deletions

View File

@ -30,26 +30,11 @@
</div>
<div class="think-box-shadow">
{include file='queue/index_search'}
<table id="QueueTable" data-url="{:sysuri()}" data-target-search="form.form-search"></table>
<table id="QueueTable" data-line-2 data-url="{:sysuri()}" data-target-search="form.form-search"></table>
</div>
{/block}
{block name='script'}
<style>
#QueueTable + div tbody .layui-table-cell {
height: 56px;
line-height: 22px;
}
#QueueTable + div tbody .layui-table-cell .layui-btn {
margin-top: 8px;
}
#QueueTable + div tbody .layui-table-cell.laytable-cell-checkbox {
line-height: 44px;
}
</style>
<script>
$(function () {
$('#QueueTable').layTable({

View File

@ -343,6 +343,23 @@
}
}
/* 自定义表格2行高 */
table[data-line-2] + div tbody {
.layui-table-cell {
height: 62px;
padding-top: 10px;
line-height: 22px;
&.laytable-cell-checkbox {
line-height: 44px;
}
.layui-btn {
margin-top: 8px;
}
}
}
/* 表单验证异常提示 */
.label-required {
&-prev:before {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long