Commit 6917401a by 李长胜

样式调整

1 parent 36c43770
...@@ -232,4 +232,53 @@ border-color: var(--borderBlue)!important; ...@@ -232,4 +232,53 @@ border-color: var(--borderBlue)!important;
} }
.layui-form-item .layui-input-inline{ .layui-form-item .layui-input-inline{
margin-right: 0; margin-right: 0;
}
\ No newline at end of file \ No newline at end of file
}
/*滚动条样式 layui-table-body layui-table-main */
.layui-table-body::-webkit-scrollbar {
width: 10px;
height: 10px;
/* display: none; */
}
/*正常情况下滑块的样式*/
.layui-table-body::-webkit-scrollbar-thumb {
background-color: rgba(0, 0, 0, 0.05);
border-radius: 10px;
box-shadow: inset 1px 1px 0 rgba(0, 0, 0, 0.1);
}
/*鼠标悬浮在该类指向的控件上时滑块的样式*/
.layui-table-body::-webkit-scrollbar-thumb {
/* background-color: rgba(0, 0, 0, 0.2); */
background: #e9e8ff;
border-radius: 10px;
box-shadow: inset 1px 1px 0 rgba(0, 0, 0, 0.1);
}
/*鼠标悬浮在滑块上时滑块的样式*/
/* &::-webkit-scrollbar-thumb:hover {
background-color: rgba(0, 0, 0, 0.4);
box-shadow: inset 1px 1px 0 rgba(0, 0, 0, 0.1);
} */
/*正常时候的主干部分*/
.layui-table-body::-webkit-scrollbar-track {
border-radius: 10px;
box-shadow: inset 0 0 6px rgba(0, 0, 0, 0);
background-color: white;
}
/*鼠标悬浮在滚动条上的主干部分*/
/* .el-table__body-wrapper::-webkit-scrollbar-track:hover {
box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.4);
background-color: rgba(0, 0, 0, 0.01);
} */
\ No newline at end of file \ No newline at end of file
...@@ -129,6 +129,7 @@ ...@@ -129,6 +129,7 @@
var employeeTable = table.render({ var employeeTable = table.render({
elem: '#employeeTable', elem: '#employeeTable',
skin: 'nob', skin: 'nob',
height: 'full-300',
cols: accountInfo ? [colums] : [cols], cols: accountInfo ? [colums] : [cols],
done: function (res, curr, count) { done: function (res, curr, count) {
$('.switch').hover( $('.switch').hover(
...@@ -380,7 +381,9 @@ ...@@ -380,7 +381,9 @@
</script> </script>
<script type="text/html" id="switchTpl"> <script type="text/html" id="switchTpl">
<!-- 这里的 checked 的状态只是演示 --> <!-- 这里的 checked 的状态只是演示 -->
<div class="switch"><input type="checkbox" name="sex" value="{{d.roleName}}" data-id="{{d.id}}" lay-skin="switch" lay-text="开|关" lay-filter="sexDemo" {{ d.status == 0 ? 'checked' : '' }}></div> <div class="switch">
<input type="checkbox" name="sex" value="{{d.roleName}}" data-id="{{d.id}}" lay-skin="switch" lay-text="开|关" lay-filter="sexDemo" {{ d.status == 0 ? 'checked' : '' }}>
</div>
</script> </script>
</body> </body>
</html> </html>
...@@ -512,7 +512,8 @@ ...@@ -512,7 +512,8 @@
{ {
field: 'userName', field: 'userName',
title: '操作人', title: '操作人',
align: 'center' align: 'center',
width: 180
}, },
{ {
field: 'createdTime', field: 'createdTime',
...@@ -707,7 +708,7 @@ ...@@ -707,7 +708,7 @@
{ {
field: 'createdTime', field: 'createdTime',
title: '创建时间', title: '创建时间',
width: 180, width: 260,
align: 'center' align: 'center'
} }
] ]
......
...@@ -66,7 +66,7 @@ ...@@ -66,7 +66,7 @@
font-weight: 600; font-weight: 600;
} }
.Wrap { .Wrap {
margin: 8px 20px 0; margin: 8px 0 0;
height: 100%; height: 100%;
} }
#roleTitle { #roleTitle {
......
...@@ -103,6 +103,7 @@ ...@@ -103,6 +103,7 @@
var roleTable = table.render({ var roleTable = table.render({
elem: '#roleTable', elem: '#roleTable',
skin: 'nob', skin: 'nob',
height: 'full-300',
cols: gl ? [cols] : [colums] cols: gl ? [cols] : [colums]
}) })
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!