Commit 8be458c3 by 李长胜

样式修改1.1

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