Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
h5
/
account
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 0e89c7ed
authored
Oct 19, 2021
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'master' of 192.168.3.233:h5/account
2 parents
3f8c72bf
2b536b96
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
93 additions
and
28 deletions
css/commonResetIndex.css
css/employee.css
css/layui.css
css/main.css
font/PingFang-Regular.ttf
html/employee/add.html
html/employee/detail.html
html/employee/index.html
html/merchant/add.html
html/merchant/index.html
html/role/detail.html
html/role/index.html
css/commonResetIndex.css
View file @
0e89c7e
...
@@ -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
css/employee.css
View file @
0e89c7e
...
@@ -80,7 +80,7 @@
...
@@ -80,7 +80,7 @@
transform
:
translateY
(
-50%
);
transform
:
translateY
(
-50%
);
font-size
:
14px
;
font-size
:
14px
;
font-family
:
PingFangSC-Medium
,
PingFang
SC
;
font-weight
:
500
;
font-weight
:
500
;
color
:
#333333
;
color
:
#333333
;
}
}
\ No newline at end of file
\ No newline at end of file
css/layui.css
View file @
0e89c7e
...
@@ -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
;
}
}
...
...
css/main.css
View file @
0e89c7e
...
@@ -4,14 +4,19 @@
...
@@ -4,14 +4,19 @@
@import
url('./employee.css')
;
@import
url('./employee.css')
;
html
,
body
{
html
,
body
{
height
:
100%
;
height
:
100%
;
font-family
:
PingFang-Regular
;
}
@font-face
{
font-family
:
'PingFang-Regular'
;
src
:
url("../font/PingFang-Regular.ttf")
;
}
}
#app
{
#app
{
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
height
:
100%
;
height
:
100%
;
background-color
:
#F4F5FA
;
background-color
:
#F4F5FA
;
padding
:
0
20px
0
40px
;
padding
:
0
20px
0
40px
;
}
}
header
{
header
{
...
...
font/PingFang-Regular.ttf
0 → 100644
View file @
0e89c7e
No preview for this file type
html/employee/add.html
View file @
0e89c7e
...
@@ -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"
>
...
...
html/employee/detail.html
View file @
0e89c7e
...
@@ -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
;
...
@@ -83,12 +86,16 @@
...
@@ -83,12 +86,16 @@
.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>
...
@@ -254,7 +261,7 @@
...
@@ -254,7 +261,7 @@
field
:
'createdTime'
,
field
:
'createdTime'
,
title
:
'操作时间'
,
title
:
'操作时间'
,
align
:
'center'
,
align
:
'center'
,
width
:
1
6
0
width
:
1
8
0
}
}
]
]
]
]
...
...
html/employee/index.html
View file @
0e89c7e
...
@@ -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: 12
0px"
>
<div
class=
"layui-input-inline
updateSelectAngle"
style=
"width: 10
0px"
>
<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"
style=
"width: 250px"
>
<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>
...
@@ -107,7 +107,7 @@
...
@@ -107,7 +107,7 @@
{
field
:
'statusName'
,
title
:
'状态'
,
align
:
'center'
},
{
field
:
'statusName'
,
title
:
'状态'
,
align
:
'center'
},
{
field
:
'createdAccount'
,
title
:
'创建者'
,
align
:
'center'
},
{
field
:
'createdAccount'
,
title
:
'创建者'
,
align
:
'center'
},
{
field
:
'merchantName'
,
title
:
'商户名(商户号)'
,
align
:
'center'
,
width
:
160
},
{
field
:
'merchantName'
,
title
:
'商户名(商户号)'
,
align
:
'center'
,
width
:
160
},
{
field
:
'updatedTime'
,
title
:
'更新时间'
,
align
:
'center'
,
width
:
11
2
},
{
field
:
'updatedTime'
,
title
:
'更新时间'
,
align
:
'center'
,
width
:
11
0
},
{
title
:
'操作'
,
width
:
220
,
align
:
'left'
,
toolbar
:
'#employeeBar'
},
{
title
:
'操作'
,
width
:
220
,
align
:
'left'
,
toolbar
:
'#employeeBar'
},
{
field
:
'statusName'
,
title
:
'启用开关'
,
width
:
85
,
templet
:
'#switchTpl'
,
unresize
:
true
}
{
field
:
'statusName'
,
title
:
'启用开关'
,
width
:
85
,
templet
:
'#switchTpl'
,
unresize
:
true
}
]
]
...
...
html/merchant/add.html
View file @
0e89c7e
...
@@ -259,7 +259,7 @@
...
@@ -259,7 +259,7 @@
<div
class=
"layui-input-inline w-70"
>
<div
class=
"layui-input-inline w-70"
>
<input
style=
"color: #333333 !important"
name=
"merchantAddress"
disabled
class=
"layui-input layui-btn-disabled"
id=
"addrEl"
placeholder=
"请选择商户地址"
/>
<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> -->
<!-- <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>
</div>
<!-- <div class="layui-form-item">
<!-- <div class="layui-form-item">
...
...
html/merchant/index.html
View file @
0e89c7e
...
@@ -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,16 @@
...
@@ -64,6 +73,16 @@
.show
{
.show
{
display
:
inline-block
;
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>
</style>
<title>
商户管理
</title>
<title>
商户管理
</title>
</head>
</head>
...
@@ -132,14 +151,15 @@
...
@@ -132,14 +151,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 +193,7 @@
...
@@ -173,7 +193,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>
...
@@ -271,13 +291,13 @@
...
@@ -271,13 +291,13 @@
field
:
'merchantName'
,
field
:
'merchantName'
,
title
:
'商户名称'
,
title
:
'商户名称'
,
align
:
'center'
,
align
:
'center'
,
width
:
1
0
0
width
:
1
3
0
},
},
{
{
field
:
'merchantModelName'
,
field
:
'merchantModelName'
,
title
:
'模式'
,
title
:
'模式'
,
align
:
'center'
,
align
:
'center'
,
width
:
1
0
0
width
:
1
3
0
},
},
{
{
field
:
'accountTypeNames'
,
field
:
'accountTypeNames'
,
...
@@ -307,12 +327,14 @@
...
@@ -307,12 +327,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'
,
...
@@ -335,7 +357,7 @@
...
@@ -335,7 +357,7 @@
field
:
'updatedTime'
,
field
:
'updatedTime'
,
title
:
'更新时间'
,
title
:
'更新时间'
,
align
:
'center'
,
align
:
'center'
,
width
:
11
2
width
:
11
0
},
},
{
{
align
:
'left'
,
align
:
'left'
,
...
...
html/role/detail.html
View file @
0e89c7e
...
@@ -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"
>
...
...
html/role/index.html
View file @
0e89c7e
...
@@ -94,9 +94,9 @@
...
@@ -94,9 +94,9 @@
{
field
:
''
,
title
:
'序号'
,
type
:
'numbers'
,
width
:
80
},
{
field
:
''
,
title
:
'序号'
,
type
:
'numbers'
,
width
:
80
},
{
field
:
'roleName'
,
title
:
'角色名称'
,
align
:
'center'
},
{
field
:
'roleName'
,
title
:
'角色名称'
,
align
:
'center'
},
{
field
:
'roleCode'
,
title
:
'角色号'
,
align
:
'center'
},
{
field
:
'roleCode'
,
title
:
'角色号'
,
align
:
'center'
},
{
field
:
'statusName'
,
title
:
'状态'
,
align
:
'center'
},
{
field
:
'statusName'
,
title
:
'状态'
,
align
:
'center'
,
width
:
100
},
{
field
:
'createdTime'
,
title
:
'创建时间'
,
align
:
'center'
},
{
field
:
'createdTime'
,
title
:
'创建时间'
,
align
:
'center'
,
width
:
110
},
{
field
:
'updatedTime'
,
title
:
'更新时间'
,
align
:
'center'
,
width
:
11
2
},
{
field
:
'updatedTime'
,
title
:
'更新时间'
,
align
:
'center'
,
width
:
11
0
},
{
fixed
:
'right'
,
title
:
'操作'
,
width
:
160
,
align
:
'center'
,
toolbar
:
'#roleBar'
}
{
fixed
:
'right'
,
title
:
'操作'
,
width
:
160
,
align
:
'center'
,
toolbar
:
'#roleBar'
}
]
]
var
gl
=
false
var
gl
=
false
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment