Compare commits

...

2 Commits

Author SHA1 Message Date
Anyon
330a53ba25 修改样式 2022-06-28 18:53:14 +08:00
Anyon
1bd6bd07d8 修改表格样式 2022-06-28 18:31:36 +08:00
4 changed files with 27 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,30 @@
}
}
/* 自定义表格行高 */
table[data-line] + div tbody {
.layui-table-cell {
padding-top: 10px;
line-height: 22px;
&.laytable-cell-checkbox {
line-height: 44px;
}
.layui-btn {
margin-top: 8px;
}
}
}
table[data-line='2'] + div tbody .layui-table-cell {
height: 62px;
}
table[data-line='3'] + div tbody .layui-table-cell {
height: 82px;
}
/* 表单验证异常提示 */
.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