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 513a44c9
authored
Aug 09, 2021
by
李长胜
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
表格内容宽度调整
1 parent
b6aa5d56
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
56 additions
and
31 deletions
css/layui.css
html/employee/index.html
html/merchant/index.html
css/layui.css
View file @
513a44c
...
...
@@ -2,59 +2,80 @@
layui 样式自定义
-------------------------------------*/
.layui-input
:focus
,
.layui-textarea
:focus
{
border-color
:
#1989FA
!important
;
.layui-input
:focus
,
.layui-textarea
:focus
{
border-color
:
#1989FA
!important
;
}
.layui-form-label.required
::before
{
.layui-form-label.required
::before
{
content
:
'*'
;
display
:
inline-block
;
color
:
red
;
margin-right
:
5px
;
}
.layui-btn
{
background-color
:
#1989FA
!important
;
.layui-btn
{
background-color
:
#1989FA
!important
;
}
/* .layui-btn, .add-circle, .btn-no-border{
background-color: #1989FA!important;
height: 16px !important;
width: 16px !important;
border-radius: 50% !important;
} */
.layui-laypage-em
{
background-color
:
#1989FA
!important
;
.layui-laypage-em
{
background-color
:
#1989FA
!important
;
}
.layui-btn-xs
{
color
:
#1989FA
;
.layui-btn-xs
{
color
:
#1989FA
;
font-size
:
14px
;
height
:
14px
;
font-weight
:
400
;
line-height
:
14px
;
}
.layui-btn-xs
:hover
{
color
:
#1989FA
;
.layui-btn-xs
:hover
{
color
:
#1989FA
;
}
.layui-form-select
dl
dd
.layui-this
{
.layui-form-select
dl
dd
.layui-this
{
background-color
:
#1989FA
;
}
.layui-form-checked
[
lay-skin
=
primary
]
i
{
border-color
:
#1989FA
!important
;
.layui-form-checked
[
lay-skin
=
primary
]
i
{
border-color
:
#1989FA
!important
;
background-color
:
#1989FA
;
color
:
#fff
;
}
.layui-form-checkbox
[
lay-skin
=
primary
]
:hover
i
{
border-color
:
#1989FA
!important
;
color
:
#fff
;
.layui-form-checkbox
[
lay-skin
=
primary
]
:hover
i
{
border-color
:
#1989FA
!important
;
color
:
#fff
;
}
.layui-form-checked
span
,
.layui-form-checked
:hover
span
{
.layui-form-checked
span
,
.layui-form-checked
:hover
span
{
background-color
:
#1989FA
;
}
.layui-form-checked
i
,
.layui-form-checked
:hover
i
{
.layui-form-checked
i
,
.layui-form-checked
:hover
i
{
color
:
#1989FA
;
}
.layui-laydate
.layui-laydate-content
.layui-this
{
background-color
:
#1989FA
!important
;
color
:
#fff
!important
;
}
.layui-tab-brief
>
.layui-tab-title
.layui-this
{
color
:
#1989FA
;
}
.layui-laydate
.layui-laydate-content
.layui-this
{
background-color
:
#1989FA
!important
;
color
:
#fff
!important
;
.layui-tab-brief
>
.layui-tab-more
li
.layui-this
:after
,
.layui-tab-brief
>
.layui-tab-title
.layui-this
:after
{
border-bottom
:
2px
solid
#1989FA
;
}
\ No newline at end of file
html/employee/index.html
View file @
513a44c
...
...
@@ -98,7 +98,7 @@
{
field
:
'createdAccount'
,
title
:
'创建者'
},
{
field
:
'merchantName'
,
title
:
'商户名(商户号)'
,
width
:
160
},
{
field
:
'createdTime'
,
title
:
'更新时间'
,
width
:
160
},
{
fixed
:
'right'
,
title
:
'操作'
,
width
:
2
40
,
align
:
'center'
,
toolbar
:
'#employeeBar'
}
{
fixed
:
'right'
,
title
:
'操作'
,
width
:
2
76
,
align
:
'center'
,
toolbar
:
'#employeeBar'
}
]
]
})
...
...
html/merchant/index.html
View file @
513a44c
...
...
@@ -20,10 +20,14 @@
}
.merchant
.layui-table-cell
{
height
:
auto
;
/*
height: auto;
overflow: visible;
text-overflow: inherit;
white-space
:
normal
;
white-space: normal; */
height
:
auto
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
}
.merchant
#searchForm
.layui-inline
{
...
...
@@ -204,7 +208,7 @@
align
:
'center'
,
title
:
'操作'
,
toolbar
:
'#merchantBtns'
,
width
:
220
width
:
485
// fixed: 'right'
}]
]
...
...
@@ -220,7 +224,7 @@
case
'handleDetail'
:
go
(
'merchant'
,
'detail'
,
{
merchantId
:
row
.
id
})
break
// 修改
// 修改
case
'handleEdit'
:
// editLevel - 1-创建新商户;2-创建子商户;3-修改
// step - 1-基本信息;2-权限树
...
...
@@ -246,7 +250,7 @@
step
:
2
})
break
// 创建子商户/门店
// 创建子商户/门店
case
'handleAddMerchant'
:
// 1-创建新商户;2-创建子商户;3-修改
go
(
'merchant'
,
'edit'
,
{
...
...
@@ -256,13 +260,13 @@
step
:
1
})
break
// 创建员工
// 创建员工
case
'handleAddStaff'
:
go
(
'employee'
,
'add'
,
{
merchantId
:
row
.
id
})
break
// 修改账户有效期
// 修改账户有效期
case
'handleVaildPeriod'
:
// console.log(row)
layer
.
open
({
...
...
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