Commit 8be458c3 by 李长胜

样式修改1.1

1 parent 86ebc704
......@@ -96,6 +96,7 @@
background-color: var(--btnBlue);
}
.layui-form-checked i,
.layui-form-checked:hover i {
color: var(--btnBlue);
......@@ -169,7 +170,7 @@ border-color: var(--borderBlue)!important;
}
.layui-table-header table .layui-table-cell {
height: 54px;
line-height: 54px;
line-height: 54px;
}
/* 表格行内容高度自适应 */
/* .layui-table-header table .layui-table-cell {
......@@ -177,7 +178,8 @@ border-color: var(--borderBlue)!important;
line-height: 20px;
} */
.layui-table-cell{
height: 54px;
height: auto;
/* line-height: 20px; */
/* white-space: pre-wrap;
box-sizing: content-box;
......@@ -189,6 +191,12 @@ border-color: var(--borderBlue)!important;
-webkit-box-orient: vertical;
display: -webkit-box;
word-break: break-all;
padding:0 6px;
}
.layui-table-view .layui-table td {
padding: 13px 0;
border-top: none;
border-left: none;
}
/* .layui-table-cell, .layui-table-tool-panel li{
white-space: pre-wrap;
......@@ -249,8 +257,8 @@ border-color: var(--borderBlue)!important;
}
/*滚动条样式 layui-table-body layui-table-main */
.layui-table-body::-webkit-scrollbar {
width: 10px;
height: 10px;
width: 5px;
height: 5px;
/* display: none; */
}
......@@ -258,14 +266,14 @@ border-color: var(--borderBlue)!important;
.layui-table-body::-webkit-scrollbar-thumb {
background-color: rgba(0, 0, 0, 0.05);
border-radius: 10px;
border-radius: 5px;
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;
background: #e9e8ff;
border-radius: 10px;
......@@ -301,5 +309,7 @@ border-color: var(--borderBlue)!important;
border-width: 1px;
border-style: solid;
border-radius: 2px;
box-shadow:none;// 0 2px 5px 0 rgb(0 0 0 / 10%);
}
\ No newline at end of file
box-shadow:none;
/* 0 2px 5px 0 rgb(0 0 0 / 10%) */
}
......@@ -168,6 +168,13 @@ footer {
.op1 {
opacity: 1;
}
.createBtn{
display: flex;
align-items: center;
}
.createBtn span{
margin-left: 2px;
}
.footer-close {
text-align: center;
width: 100%;
......@@ -181,6 +188,7 @@ footer {
.footer-close button{
width: 68px;
height: 40px;
padding: 0;
}
.layui-tab-title {
background-color: #F4F6FC;
......@@ -244,6 +252,6 @@ footer {
.layui-no-data .no-data div {
margin-top: 12px;
}
.layui-form-checked span, .layui-form-checked:hover span {
/* .tabmutiple-content-wrap .layui-form-checked span, .layui-form-checked:hover span {
background-color: #fff;
}
\ No newline at end of file
} */
\ No newline at end of file
......@@ -70,9 +70,8 @@
background-color: #ffffff;
margin: 15px auto;
position: relative;
/* min-height: calc(100vh-182px); */
/* height: 100%; */
padding-bottom: 30px;
margin-bottom: 100px;
}
.edit-box .grayLine {
position: absolute;
......
......@@ -23,9 +23,9 @@
<div class="layui-form-item">
<div class="twocol">
<div class="layui-inline merchantNames" pane id="addEl">
<button type="button" class="layui-btn layui-btn-normal" id="addEmployee">
<i class="layui-icon layui-icon-addition" style="vertical-align: top"></i>
创建员工
<button type="button" class="layui-btn layui-btn-normal createBtn" id="addEmployee">
<i class="layui-icon layui-icon-addition"></i>
<span>创建员工</span>
</button>
</div>
<div class="layui-inline merchantNames" pane>
......
......@@ -59,7 +59,7 @@
display: flex;
}
.merchant-left {
/* padding-top: 15px; */
padding-top: 15px;
min-height: calc(100vh - 200px);
background-color: #fff;
width: 340px;
......
......@@ -74,7 +74,7 @@
display: inline-block;
}
.merchantTable .layui-table-cell {
height: 88px;
height: auto;
/* line-height: 88px; */
white-space: normal;
overflow: hidden;
......@@ -95,9 +95,9 @@
<div class="h20"></div>
<form class="layui-form" lay-filter="searchFilter" id="searchForm">
<div class="layui-inline hide" id="operateEl">
<button class="layui-btn mb5" id="addBtn">
<i class="layui-icon layui-icon-addition" style="vertical-align: top"></i>
创建商户
<button class="layui-btn mb5 createBtn" id="addBtn">
<i class="layui-icon layui-icon-addition"></i>
<span>创建商户</span>
</button>
</div>
<!-- <div class="hide"> -->
......@@ -357,7 +357,7 @@
field: 'updatedTime',
title: '更新时间',
align: 'center',
width: 110
width: 90
},
{
align: 'left',
......
......@@ -20,9 +20,9 @@
<div class="layui-form-item">
<div class="twocol">
<div class="layui-inline" pane id="addEl">
<button type="button" class="layui-btn layui-btn-normal" id="addRole" style="padding: 0 15px">
<button type="button" class="layui-btn layui-btn-normal createBtn" id="addRole">
<i class="layui-icon layui-icon-addition" style="vertical-align: top"></i>
创建角色
<span>创建角色</span>
</button>
</div>
......@@ -86,7 +86,7 @@
{ field: 'roleName', title: '角色名称', align: 'center' },
{ field: 'roleCode', title: '角色号', align: 'center' },
{ field: 'merchantName', title: '所属商户名', align: 'center' },
{ field: 'statusName', title: '状态', align: 'center' },
{ field: 'statusName', title: '状态', align: 'center', width: 100 },
{ field: 'updatedTime', title: '更新时间', align: 'center' },
{ fixed: 'right', title: '操作', minWidth: 160, align: 'center', toolbar: '#roleBar' }
]
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!