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 eb4c04d1
authored
Oct 19, 2021
by
李长胜
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
样式改动
1 parent
8faf731b
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
91 additions
and
29 deletions
css/commonResetIndex.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/index.html
html/role/detail.html
css/commonResetIndex.css
View file @
eb4c04d
...
...
@@ -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
css/layui.css
View file @
eb4c04d
...
...
@@ -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
;
}
...
...
css/main.css
View file @
eb4c04d
...
...
@@ -5,7 +5,10 @@
html
,
body
{
height
:
100%
;
}
@font-face
{
font-family
:
PingFang-Regular
;
src
:
url("../font/PingFang-Regular.ttf")
format
(
"ttf"
);
}
#app
{
display
:
flex
;
flex-direction
:
column
;
...
...
font/PingFang-Regular.ttf
0 → 100644
View file @
eb4c04d
No preview for this file type
html/employee/add.html
View file @
eb4c04d
...
...
@@ -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"
>
...
...
html/employee/detail.html
View file @
eb4c04d
...
...
@@ -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>
...
...
html/employee/index.html
View file @
eb4c04d
...
...
@@ -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: 120px"
>
<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"
/>
<input
type=
"text"
name=
"keywords"
required
lay-verify=
"required"
placeholder=
"请输入"
autocomplete=
"off"
class=
"layui-input
updateCircleAngle
"
/>
</div>
</div>
...
...
html/merchant/index.html
View file @
eb4c04d
...
...
@@ -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,15 @@
.show
{
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>
<title>
商户管理
</title>
</head>
...
...
@@ -132,14 +150,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 +192,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>
...
...
@@ -307,12 +326,14 @@
{
field
:
'statusName'
,
title
:
'账户状态'
,
align
:
'center'
align
:
'center'
,
width
:
100
},
{
field
:
'merchantLegalPerson'
,
title
:
'联系人'
,
align
:
'center'
align
:
'center'
,
width
:
100
},
{
field
:
'merchantLegalPersonPhone'
,
...
...
html/role/detail.html
View file @
eb4c04d
...
...
@@ -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"
>
...
...
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