Commit 0e89c7ed by 胡悦

Merge branch 'master' of 192.168.3.233:h5/account

2 parents 3f8c72bf 2b536b96
......@@ -56,3 +56,13 @@
.mt40{
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
......@@ -80,7 +80,7 @@
transform: translateY(-50%);
font-size: 14px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500;
color: #333333;
}
\ No newline at end of file
......@@ -8,6 +8,9 @@
--borderBlue:#5850FF;
--btnHeight:32px;
}
.layui-form-checkbox[lay-skin=primary] span:hover{
background: #fff;
}
.layui-btn+.layui-btn {
margin-left: 20px;
......@@ -163,25 +166,43 @@ border-color: var(--borderBlue)!important;
border-color: var(--borderBlue);
background-color: var(--btnBlue);
}
.layui-table-header table .layui-table-cell {
height: 54px;
line-height: 54px;
}
/* 表格行内容高度自适应 */
.layui-table-cell{
height: auto;
/* overflow: visible;
text-overflow: inherit; */
white-space: normal;
/* 高度最多四行,超出省略号结尾 */
/* display: -webkit-box;
-webkit-box-orient: vertical;
line-clamp: 4;
overflow: hidden;
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;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
display: -webkit-box;
word-break: break-all;
}
.layui-table-cell li{
list-style-type: none;
}
......
......@@ -4,14 +4,19 @@
@import url('./employee.css');
html, body {
height: 100%;
font-family:PingFang-Regular;
}
@font-face {
font-family:'PingFang-Regular';
src: url("../font/PingFang-Regular.ttf");
}
#app {
display: flex;
flex-direction: column;
height: 100%;
background-color: #F4F5FA;
padding: 0 20px 0 40px;
}
header {
......
No preview for this file type
......@@ -158,7 +158,7 @@
<label class="layui-form-label required">可见商户:</label>
<div class="layui-input-block">
<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 class="layui-form-item">
......
......@@ -19,6 +19,9 @@
.sub-title {
margin-top: 21px;
}
.content-title {
margin-bottom: 20px;
}
.fixed-btn {
position: fixed;
right: 10px;
......@@ -58,8 +61,8 @@
height: 1px;
}
.layui-tab-content {
position: relative;
}
position: relative;
}
.layui-no-data {
width: 100%;
height: 500px;
......@@ -77,18 +80,22 @@
margin-top: 12px;
}
.show {
display: inline-block;
}
display: inline-block;
}
.hide {
display: none;
}
.hide {
display: none;
}
.wrapper .employeeDetail .layui-this {
color: #5850ff;
background-color: #f4f6fc;
}
</style>
<body>
<div id="app">
<main class="wrapper detail">
<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="2">账户权限</li>
<li lay-id="3">修改记录</li>
......@@ -254,7 +261,7 @@
field: 'createdTime',
title: '操作时间',
align: 'center',
width: 160
width: 180
}
]
]
......
......@@ -51,14 +51,14 @@
</div>
</div>
<div class="layui-inline" pane>
<div class="layui-input-inline" style="width: 120px">
<div class="layui-input-inline updateSelectAngle" style="width: 100px">
<select name="type" lay-verify="required" placeholder="员工姓名/手机号">
<option value="0">员工姓名</option>
<option value="1">手机号</option>
</select>
</div>
<div class="layui-input-inline">
<input type="text" name="keywords" required lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input" />
<div class="layui-input-inline" style="width: 250px">
<input type="text" name="keywords" required lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input updateCircleAngle" />
</div>
</div>
......@@ -107,7 +107,7 @@
{ field: 'statusName', title: '状态', align: 'center' },
{ field: 'createdAccount', title: '创建者', align: 'center' },
{ field: 'merchantName', title: '商户名(商户号)', align: 'center', width: 160 },
{ field: 'updatedTime', title: '更新时间', align: 'center', width: 112 },
{ field: 'updatedTime', title: '更新时间', align: 'center', width: 110 },
{ title: '操作', width: 220, align: 'left', toolbar: '#employeeBar' },
{ field: 'statusName', title: '启用开关', width: 85, templet: '#switchTpl', unresize: true }
]
......
......@@ -259,7 +259,7 @@
<div class="layui-input-inline w-70">
<input style="color: #333333 !important" name="merchantAddress" disabled class="layui-input layui-btn-disabled" id="addrEl" placeholder="请选择商户地址" />
<!-- <div class="m-t-10" id="addrEl">请选择商户地址</div> -->
<button type="button" class="layui-btn" data-type="handleSelectAddr">选择地址</button>
<button type="button" class="layui-btn" data-type="handleSelectAddr" style="margin-left: 20px">选择地址</button>
</div>
</div>
<!-- <div class="layui-form-item">
......
......@@ -48,6 +48,15 @@
.commonInput {
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 {
display: flex;
......@@ -64,6 +73,16 @@
.show {
display: inline-block;
}
.merchantTable .layui-table-cell {
height: 88px;
/* line-height: 88px; */
white-space: normal;
overflow: hidden;
-webkit-line-clamp: 4;
-webkit-box-orient: vertical;
display: -webkit-box;
word-break: break-all;
}
</style>
<title>商户管理</title>
</head>
......@@ -132,14 +151,15 @@
</div>
<div class="singleRow">
<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">
<option value="0">登录账号名</option>
<option value="1">手机号</option>
</select>
</div>
<div class="layui-input-inline" style="width: 286px; margin-left: -5px">
<input class="layui-input" placeholder="请输入" name="merchantLoginAccount" />
<!-- margin-left: -5px -->
<div class="layui-input-inline" style="width: 286px; margin-left: -4px">
<input class="layui-input" placeholder="请输入" name="merchantLoginAccount" id="updateCircleAngle" />
</div>
</div>
<div id="model">
......@@ -173,7 +193,7 @@
</div>
</div>
</form>
<div class="table-page">
<div class="table-page merchantTable">
<table class="layui-table" id="merchantTable" lay-filter="merchant-table-filter"></table>
<div id="merchantPage" class="align-left"></div>
</div>
......@@ -271,13 +291,13 @@
field: 'merchantName',
title: '商户名称',
align: 'center',
width: 100
width: 130
},
{
field: 'merchantModelName',
title: '模式',
align: 'center',
width: 100
width: 130
},
{
field: 'accountTypeNames',
......@@ -307,12 +327,14 @@
{
field: 'statusName',
title: '账户状态',
align: 'center'
align: 'center',
width: 100
},
{
field: 'merchantLegalPerson',
title: '联系人',
align: 'center'
align: 'center',
width: 100
},
{
field: 'merchantLegalPersonPhone',
......@@ -335,7 +357,7 @@
field: 'updatedTime',
title: '更新时间',
align: 'center',
width: 112
width: 110
},
{
align: 'left',
......@@ -821,9 +843,9 @@
switch (window.isDxternal) {
// scrm 系统
case 1:
glBtn()
glBtn()
break
// 广联运营系统
// 广联运营系统
default:
getChannel()
getModel()
......
......@@ -51,12 +51,12 @@
height: 100%;
}
.show {
display: inline-block;
}
display: inline-block;
}
.hide {
display: none;
}
.hide {
display: none;
}
</style>
<body>
<div id="app">
......@@ -64,10 +64,10 @@
<div class="sub-bg-white">
<div class="topwrap">
<div class="grayLine"></div>
<h3 class="content-title">
角色基本信息
<div class="content-title">
<span>角色基本信息</span>
<div class="title-right" id="merchantName"></div>
</h3>
</div>
<div class="layui-form-item">
<label class="layui-form-label">角色名称:</label>
<div class="layui-input-block">
......
......@@ -94,9 +94,9 @@
{ field: '', title: '序号', type: 'numbers', width: 80 },
{ field: 'roleName', title: '角色名称', align: 'center' },
{ field: 'roleCode', title: '角色号', align: 'center' },
{ field: 'statusName', title: '状态', align: 'center' },
{ field: 'createdTime', title: '创建时间', align: 'center' },
{ field: 'updatedTime', title: '更新时间', align: 'center', width: 112 },
{ field: 'statusName', title: '状态', align: 'center', width: 100 },
{ field: 'createdTime', title: '创建时间', align: 'center', width: 110 },
{ field: 'updatedTime', title: '更新时间', align: 'center', width: 110 },
{ fixed: 'right', title: '操作', width: 160, align: 'center', toolbar: '#roleBar' }
]
var gl = false
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!