Commit eb4c04d1 by 李长胜

样式改动

1 parent 8faf731b
...@@ -56,3 +56,13 @@ ...@@ -56,3 +56,13 @@
.mt40{ .mt40{
margin-top: 40px; margin-top: 40px;
} }
.updateCircleAngle{
border-top-left-radius: 0;
border-bottom-left-radius:0 ;
border-left: none;
}
.updateSelectAngle .layui-select-title .layui-input{
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
\ No newline at end of file \ No newline at end of file
...@@ -8,6 +8,9 @@ ...@@ -8,6 +8,9 @@
--borderBlue:#5850FF; --borderBlue:#5850FF;
--btnHeight:32px; --btnHeight:32px;
} }
.layui-form-checkbox[lay-skin=primary] span:hover{
background: #fff;
}
.layui-btn+.layui-btn { .layui-btn+.layui-btn {
margin-left: 20px; margin-left: 20px;
...@@ -163,25 +166,43 @@ border-color: var(--borderBlue)!important; ...@@ -163,25 +166,43 @@ border-color: var(--borderBlue)!important;
border-color: var(--borderBlue); border-color: var(--borderBlue);
background-color: var(--btnBlue); background-color: var(--btnBlue);
} }
.layui-table-header table .layui-table-cell {
height: 54px;
line-height: 54px;
}
/* 表格行内容高度自适应 */ /* 表格行内容高度自适应 */
.layui-table-cell{ .layui-table-cell{
height: auto;
/* overflow: visible; /* overflow: visible;
text-overflow: inherit; */ text-overflow: inherit; */
white-space: normal;
/* 高度最多四行,超出省略号结尾 */ /* 高度最多四行,超出省略号结尾 */
/* display: -webkit-box; /* display: -webkit-box;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
line-clamp: 4; line-clamp: 4;
overflow: hidden; overflow: hidden;
word-break: break-all; */ word-break: break-all; */
/* height: auto;
white-space: normal;
overflow: hidden;
-webkit-line-clamp: 4;
-webkit-box-orient: vertical;
display: -webkit-box;
word-break: break-all; */
}
.layui-table-cell{
height:54px;
/* line-height: 54px; */
white-space: normal;
overflow: hidden; overflow: hidden;
-webkit-line-clamp: 2; -webkit-line-clamp: 2;
-webkit-box-orient: vertical; -webkit-box-orient: vertical;
display: -webkit-box; display: -webkit-box;
word-break: break-all; word-break: break-all;
} }
.layui-table-cell li{ .layui-table-cell li{
list-style-type: none; list-style-type: none;
} }
......
...@@ -5,7 +5,10 @@ ...@@ -5,7 +5,10 @@
html, body { html, body {
height: 100%; height: 100%;
} }
@font-face {
font-family:PingFang-Regular;
src: url("../font/PingFang-Regular.ttf") format("ttf");
}
#app { #app {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
......
No preview for this file type
...@@ -158,7 +158,7 @@ ...@@ -158,7 +158,7 @@
<label class="layui-form-label required">可见商户:</label> <label class="layui-form-label required">可见商户:</label>
<div class="layui-input-block"> <div class="layui-input-block">
<input class="layui-input" placeholder="可见商户" id="searchMerchant" /> <input class="layui-input" placeholder="可见商户" id="searchMerchant" />
<ul id="visibleInferiorMerTree" style="height: 200px; overflow-y: auto" class="ztree wrapper-tree"></ul> <ul id="visibleInferiorMerTree" style="max-height: 200px; overflow-y: auto" class="ztree wrapper-tree"></ul>
</div> </div>
</div> </div>
<div class="layui-form-item"> <div class="layui-form-item">
......
...@@ -19,6 +19,9 @@ ...@@ -19,6 +19,9 @@
.sub-title { .sub-title {
margin-top: 21px; margin-top: 21px;
} }
.content-title {
margin-bottom: 20px;
}
.fixed-btn { .fixed-btn {
position: fixed; position: fixed;
right: 10px; right: 10px;
...@@ -58,8 +61,8 @@ ...@@ -58,8 +61,8 @@
height: 1px; height: 1px;
} }
.layui-tab-content { .layui-tab-content {
position: relative; position: relative;
} }
.layui-no-data { .layui-no-data {
width: 100%; width: 100%;
height: 500px; height: 500px;
...@@ -77,18 +80,22 @@ ...@@ -77,18 +80,22 @@
margin-top: 12px; margin-top: 12px;
} }
.show { .show {
display: inline-block; display: inline-block;
} }
.hide { .hide {
display: none; display: none;
} }
.wrapper .employeeDetail .layui-this {
color: #5850ff;
background-color: #f4f6fc;
}
</style> </style>
<body> <body>
<div id="app"> <div id="app">
<main class="wrapper detail"> <main class="wrapper detail">
<div class="layui-tab layui-tab-brief" lay-filter="editTab"> <div class="layui-tab layui-tab-brief" lay-filter="editTab">
<ul class="layui-tab-title"> <ul class="layui-tab-title employeeDetail">
<li lay-id="1" class="layui-this">基本信息</li> <li lay-id="1" class="layui-this">基本信息</li>
<li lay-id="2">账户权限</li> <li lay-id="2">账户权限</li>
<li lay-id="3">修改记录</li> <li lay-id="3">修改记录</li>
......
...@@ -51,14 +51,14 @@ ...@@ -51,14 +51,14 @@
</div> </div>
</div> </div>
<div class="layui-inline" pane> <div class="layui-inline" pane>
<div class="layui-input-inline" style="width: 120px"> <div class="layui-input-inline updateSelectAngle" style="width: 120px">
<select name="type" lay-verify="required" placeholder="员工姓名/手机号"> <select name="type" lay-verify="required" placeholder="员工姓名/手机号">
<option value="0">员工姓名</option> <option value="0">员工姓名</option>
<option value="1">手机号</option> <option value="1">手机号</option>
</select> </select>
</div> </div>
<div class="layui-input-inline"> <div class="layui-input-inline">
<input type="text" name="keywords" required lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input" /> <input type="text" name="keywords" required lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input updateCircleAngle" />
</div> </div>
</div> </div>
......
...@@ -48,6 +48,15 @@ ...@@ -48,6 +48,15 @@
.commonInput { .commonInput {
width: 260px; width: 260px;
} }
.updateSelectAngle .layui-select-title .layui-input {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
#updateCircleAngle {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
border-left: none;
}
#relevancyBtn { #relevancyBtn {
display: flex; display: flex;
...@@ -64,6 +73,15 @@ ...@@ -64,6 +73,15 @@
.show { .show {
display: inline-block; display: inline-block;
} }
.merchantTable .layui-table-cell {
height: 88px;
white-space: normal;
overflow: hidden;
-webkit-line-clamp: 4;
-webkit-box-orient: vertical;
display: -webkit-box;
word-break: break-all;
}
</style> </style>
<title>商户管理</title> <title>商户管理</title>
</head> </head>
...@@ -132,14 +150,15 @@ ...@@ -132,14 +150,15 @@
</div> </div>
<div class="singleRow"> <div class="singleRow">
<div class="layui-inline loginName"> <div class="layui-inline loginName">
<div class="layui-input-inline" style="width: 120px"> <div class="layui-input-inline updateSelectAngle" style="width: 120px">
<select name="accountOrPhone" lay-filter="nameFilter"> <select name="accountOrPhone" lay-filter="nameFilter">
<option value="0">登录账号名</option> <option value="0">登录账号名</option>
<option value="1">手机号</option> <option value="1">手机号</option>
</select> </select>
</div> </div>
<div class="layui-input-inline" style="width: 286px; margin-left: -5px"> <!-- margin-left: -5px -->
<input class="layui-input" placeholder="请输入" name="merchantLoginAccount" /> <div class="layui-input-inline" style="width: 286px; margin-left: -4px">
<input class="layui-input" placeholder="请输入" name="merchantLoginAccount" id="updateCircleAngle" />
</div> </div>
</div> </div>
<div id="model"> <div id="model">
...@@ -173,7 +192,7 @@ ...@@ -173,7 +192,7 @@
</div> </div>
</div> </div>
</form> </form>
<div class="table-page"> <div class="table-page merchantTable">
<table class="layui-table" id="merchantTable" lay-filter="merchant-table-filter"></table> <table class="layui-table" id="merchantTable" lay-filter="merchant-table-filter"></table>
<div id="merchantPage" class="align-left"></div> <div id="merchantPage" class="align-left"></div>
</div> </div>
...@@ -307,12 +326,14 @@ ...@@ -307,12 +326,14 @@
{ {
field: 'statusName', field: 'statusName',
title: '账户状态', title: '账户状态',
align: 'center' align: 'center',
width: 100
}, },
{ {
field: 'merchantLegalPerson', field: 'merchantLegalPerson',
title: '联系人', title: '联系人',
align: 'center' align: 'center',
width: 100
}, },
{ {
field: 'merchantLegalPersonPhone', field: 'merchantLegalPersonPhone',
......
...@@ -51,12 +51,12 @@ ...@@ -51,12 +51,12 @@
height: 100%; height: 100%;
} }
.show { .show {
display: inline-block; display: inline-block;
} }
.hide { .hide {
display: none; display: none;
} }
</style> </style>
<body> <body>
<div id="app"> <div id="app">
...@@ -64,10 +64,10 @@ ...@@ -64,10 +64,10 @@
<div class="sub-bg-white"> <div class="sub-bg-white">
<div class="topwrap"> <div class="topwrap">
<div class="grayLine"></div> <div class="grayLine"></div>
<h3 class="content-title"> <div class="content-title">
角色基本信息 <span>角色基本信息</span>
<div class="title-right" id="merchantName"></div> <div class="title-right" id="merchantName"></div>
</h3> </div>
<div class="layui-form-item"> <div class="layui-form-item">
<label class="layui-form-label">角色名称:</label> <label class="layui-form-label">角色名称:</label>
<div class="layui-input-block"> <div class="layui-input-block">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!