修改样式

This commit is contained in:
wenc000 2020-03-18 18:28:36 +08:00
parent 11c4cd4020
commit 2dc1fff4cf
3 changed files with 7 additions and 25 deletions

View File

@ -17,7 +17,7 @@
<div class="layui-row layui-col-space15">
<div class="layui-col-md2">
<div class="layui-card">
<div class="layui-card-body">
<div class="layui-card-body left-tree-wrap">
<div id="leftTreeWrap">
<ul id="leftTree" class="ztree"></ul>
</div>
@ -54,7 +54,7 @@
// 初始化大小
function initSize() {
$('#leftTreeWrap').css({
height: $win.height() - 50,
height: $win.height() - 30,
overflow: 'auto'
});
$('#listContentWrap').css({

View File

@ -20,12 +20,6 @@
<div class="layui-inline">
<input type="text" id="keywords" class="layui-input search-item" placeholder="输入关键字">
</div>
<div class="layui-inline">
<input type="text" id="startTime" class="layui-input search-item" placeholder="开始时间" readonly>
</div>
<div class="layui-inline">
<input type="text" id="endTime" class="layui-input search-item" placeholder="结束时间" readonly>
</div>
<button type="button" id="search" class="layui-btn layui-btn-sm">
<i class="fa fa-lg fa-search"></i> 搜索
</button>
@ -108,24 +102,12 @@
url: top.restAjax.path('api/datadictionary/listpagedictionary?parentId={parentId}', [parentId]),
where: {
keywords: $('#keywords').val(),
startTime: $('#startTime').val(),
endTime: $('#endTime').val()
},
height: $win.height() - 60,
});
}
// 初始化日期
function initDate() {
// 日期选择
laydate.render({
elem: '#startTime',
format: 'yyyy-MM-dd'
});
laydate.render({
elem: '#endTime',
format: 'yyyy-MM-dd'
});
}
function initDate() {}
// 删除
function removeData(ids) {
top.dialog.msg(top.dataMessage.delete, {

View File

@ -12,8 +12,8 @@
<link rel="stylesheet" href="assets/layuiadmin/style/admin.css" media="all">
</head>
<body>
<div class="layui-fluid layui-anim layui-anim-fadein">
<div class="layui-row layui-col-space15">
<div class="layui-fluid layui-anim layui-anim-fadein" style="padding: 0px;">
<div class="layui-row">
<div class="layui-col-md12">
<div class="layui-card">
<div class="layui-card-body">
@ -77,7 +77,7 @@
id: 'dataTable',
url: top.restAjax.path('api/dynamicconfigtable/dynamicconfigform/listpageform/{tableName}', [$('#tableName').val()]),
width: admin.screen() > 1 ? '100%' : '',
height: $win.height() - 90,
height: $win.height() - 60,
limit: 20,
limits: [20, 40, 60, 80, 100, 200],
toolbar: '#headerToolBar',
@ -241,7 +241,7 @@
startTime: $('#startTime').val(),
endTime: $('#endTime').val()
},
height: $win.height() - 90,
height: $win.height() - 60,
});
}
// 初始化日期