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 6917401a
authored
Oct 17, 2021
by
李长胜
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
样式调整
1 parent
36c43770
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
59 additions
and
5 deletions
css/layui.css
html/employee/index.html
html/merchant/detail.html
html/merchant/index.html
html/role/add.html
html/role/index.html
css/layui.css
View file @
6917401
...
@@ -232,4 +232,53 @@ border-color: var(--borderBlue)!important;
...
@@ -232,4 +232,53 @@ border-color: var(--borderBlue)!important;
}
}
.layui-form-item
.layui-input-inline
{
.layui-form-item
.layui-input-inline
{
margin-right
:
0
;
margin-right
:
0
;
}
\ No newline at end of file
\ No newline at end of file
}
/*滚动条样式 layui-table-body layui-table-main */
.layui-table-body
::-webkit-scrollbar
{
width
:
10px
;
height
:
10px
;
/* display: none; */
}
/*正常情况下滑块的样式*/
.layui-table-body
::-webkit-scrollbar-thumb
{
background-color
:
rgba
(
0
,
0
,
0
,
0.05
);
border-radius
:
10px
;
box-shadow
:
inset
1px
1px
0
rgba
(
0
,
0
,
0
,
0.1
);
}
/*鼠标悬浮在该类指向的控件上时滑块的样式*/
.layui-table-body
::-webkit-scrollbar-thumb
{
/* background-color: rgba(0, 0, 0, 0.2); */
background
:
#e9e8ff
;
border-radius
:
10px
;
box-shadow
:
inset
1px
1px
0
rgba
(
0
,
0
,
0
,
0.1
);
}
/*鼠标悬浮在滑块上时滑块的样式*/
/* &::-webkit-scrollbar-thumb:hover {
background-color: rgba(0, 0, 0, 0.4);
box-shadow: inset 1px 1px 0 rgba(0, 0, 0, 0.1);
} */
/*正常时候的主干部分*/
.layui-table-body
::-webkit-scrollbar-track
{
border-radius
:
10px
;
box-shadow
:
inset
0
0
6px
rgba
(
0
,
0
,
0
,
0
);
background-color
:
white
;
}
/*鼠标悬浮在滚动条上的主干部分*/
/* .el-table__body-wrapper::-webkit-scrollbar-track:hover {
box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.4);
background-color: rgba(0, 0, 0, 0.01);
} */
\ No newline at end of file
\ No newline at end of file
html/employee/index.html
View file @
6917401
...
@@ -129,6 +129,7 @@
...
@@ -129,6 +129,7 @@
var
employeeTable
=
table
.
render
({
var
employeeTable
=
table
.
render
({
elem
:
'#employeeTable'
,
elem
:
'#employeeTable'
,
skin
:
'nob'
,
skin
:
'nob'
,
height
:
'full-300'
,
cols
:
accountInfo
?
[
colums
]
:
[
cols
],
cols
:
accountInfo
?
[
colums
]
:
[
cols
],
done
:
function
(
res
,
curr
,
count
)
{
done
:
function
(
res
,
curr
,
count
)
{
$
(
'.switch'
).
hover
(
$
(
'.switch'
).
hover
(
...
@@ -380,7 +381,9 @@
...
@@ -380,7 +381,9 @@
</script>
</script>
<script
type=
"text/html"
id=
"switchTpl"
>
<script
type=
"text/html"
id=
"switchTpl"
>
<!--
这里的
checked
的状态只是演示
-->
<!--
这里的
checked
的状态只是演示
-->
<
div
class
=
"switch"
><
input
type
=
"checkbox"
name
=
"sex"
value
=
"{{d.roleName}}"
data
-
id
=
"{{d.id}}"
lay
-
skin
=
"switch"
lay
-
text
=
"开|关"
lay
-
filter
=
"sexDemo"
{{
d
.
status
==
0
?
'checked'
:
''
}}
><
/div
>
<
div
class
=
"switch"
>
<
input
type
=
"checkbox"
name
=
"sex"
value
=
"{{d.roleName}}"
data
-
id
=
"{{d.id}}"
lay
-
skin
=
"switch"
lay
-
text
=
"开|关"
lay
-
filter
=
"sexDemo"
{{
d
.
status
==
0
?
'checked'
:
''
}}
>
<
/div
>
</script>
</script>
</body>
</body>
</html>
</html>
html/merchant/detail.html
View file @
6917401
...
@@ -512,7 +512,8 @@
...
@@ -512,7 +512,8 @@
{
{
field
:
'userName'
,
field
:
'userName'
,
title
:
'操作人'
,
title
:
'操作人'
,
align
:
'center'
align
:
'center'
,
width
:
180
},
},
{
{
field
:
'createdTime'
,
field
:
'createdTime'
,
...
@@ -707,7 +708,7 @@
...
@@ -707,7 +708,7 @@
{
{
field
:
'createdTime'
,
field
:
'createdTime'
,
title
:
'创建时间'
,
title
:
'创建时间'
,
width
:
18
0
,
width
:
26
0
,
align
:
'center'
align
:
'center'
}
}
]
]
...
...
html/merchant/index.html
View file @
6917401
This diff is collapsed.
Click to expand it.
html/role/add.html
View file @
6917401
...
@@ -66,7 +66,7 @@
...
@@ -66,7 +66,7 @@
font-weight
:
600
;
font-weight
:
600
;
}
}
.Wrap
{
.Wrap
{
margin
:
8px
20px
0
;
margin
:
8px
0
0
;
height
:
100%
;
height
:
100%
;
}
}
#roleTitle
{
#roleTitle
{
...
...
html/role/index.html
View file @
6917401
...
@@ -103,6 +103,7 @@
...
@@ -103,6 +103,7 @@
var
roleTable
=
table
.
render
({
var
roleTable
=
table
.
render
({
elem
:
'#roleTable'
,
elem
:
'#roleTable'
,
skin
:
'nob'
,
skin
:
'nob'
,
height
:
'full-300'
,
cols
:
gl
?
[
cols
]
:
[
colums
]
cols
:
gl
?
[
cols
]
:
[
colums
]
})
})
...
...
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