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 3a0b33d0
authored
Aug 09, 2021
by
李长胜
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改商户查找样式和登入名字
1 parent
2b4b020e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
96 additions
and
42 deletions
css/img/zTreeStandard.png
html/components/header.html
html/merchant/detail.html
css/img/zTreeStandard.png
View file @
3a0b33d
11.5 KB
|
W:
|
H:
13.1 KB
|
W:
|
H:
2-up
Swipe
Onion skin
html/components/header.html
View file @
3a0b33d
...
@@ -10,11 +10,11 @@
...
@@ -10,11 +10,11 @@
<li
class=
"layui-nav-item"
>
<li
class=
"layui-nav-item"
>
<a
href=
""
>
<a
href=
""
>
<img
src=
"//t.cn/RCzsdCq"
class=
"layui-nav-img"
/>
<img
src=
"//t.cn/RCzsdCq"
class=
"layui-nav-img"
/>
<span
>
XXXX有限公司
</span>
<span
id=
"curMerchantName"
>
</span>
</a>
</a>
<dl
class=
"layui-nav-child"
>
<dl
class=
"layui-nav-child"
>
<
dd><a
href=
"javascript:;"
>
修改信息
</a></dd
>
<
!-- <dd><a href="javascript:;">修改信息</a></dd> --
>
<dd><a
href=
"javascript:;"
id=
"logout"
>
退
了
</a></dd>
<dd><a
href=
"javascript:;"
id=
"logout"
>
退
出
</a></dd>
</dl>
</dl>
</li>
</li>
</ul>
</ul>
...
@@ -23,11 +23,15 @@
...
@@ -23,11 +23,15 @@
<div
class=
"bread-crumb"
></div>
<div
class=
"bread-crumb"
></div>
</div>
</div>
<script>
<script>
layui
.
use
([
'element'
,
'request'
],
function
()
{
layui
.
use
([
'element'
,
'request'
,
'helper'
],
function
()
{
var
element
=
layui
.
element
var
element
=
layui
.
element
element
.
init
()
element
.
init
()
highlight
()
highlight
()
bindEvents
()
bindEvents
()
// var $ = layui.$
var
helper
=
layui
.
helper
var
user
=
helper
.
store
.
get
(
'user'
)
document
.
getElementById
(
'curMerchantName'
).
innerHTML
=
user
.
merchantName
||
""
;
})
})
function
highlight
()
{
function
highlight
()
{
var
$
=
layui
.
$
var
$
=
layui
.
$
...
...
html/merchant/detail.html
View file @
3a0b33d
...
@@ -15,6 +15,55 @@
...
@@ -15,6 +15,55 @@
.pull-right
{
.pull-right
{
float
:
right
;
float
:
right
;
}
}
.merchant-left
#secondmerchantName
{
margin-left
:
80px
;
height
:
24px
;
font-size
:
16px
;
font-family
:
PingFangSC-Medium
,
PingFang
SC
;
font-weight
:
500
;
color
:
#333333
;
line-height
:
24px
;
}
.merchant-left
>
div
:not
(
:first-child
)
{
margin-left
:
80px
;
height
:
20px
;
font-size
:
12px
;
font-family
:
PingFangSC-Regular
,
PingFang
SC
;
font-weight
:
400
;
color
:
#999999
;
line-height
:
20px
;
}
.layui-form
{
margin-top
:
20px
;
}
.merchant-right
>
div
:first-child
{
position
:
relative
;
height
:
40px
;
line-height
:
40px
;
}
.merchant-right
.companyName
{
height
:
36px
;
font-size
:
16px
;
font-family
:
PingFangSC-Medium
,
PingFang
SC
;
font-weight
:
500
;
color
:
#333333
;
line-height
:
36px
;
}
.merchant-right
.layui-btn
{
position
:
absolute
;
right
:
0
;
}
.merchant-right
.layui-input-inline
{
position
:
absolute
;
right
:
80px
;
}
</style>
</style>
</head>
</head>
...
@@ -129,7 +178,7 @@
...
@@ -129,7 +178,7 @@
</div>
</div>
<div
class=
"merchant-right"
>
<div
class=
"merchant-right"
>
<div>
<div>
<span
id=
"merchantNameTable"
></span>
员工列表
<span
class=
"companyName"
>
<span
id=
"merchantNameTable"
></span>
员工列表
</span>
<div
class=
"layui-input-inline"
>
<div
class=
"layui-input-inline"
>
<input
class=
"layui-input"
placeholder=
"请输入员工姓名/手机号"
id=
"tableSearchForm"
/>
<input
class=
"layui-input"
placeholder=
"请输入员工姓名/手机号"
id=
"tableSearchForm"
/>
</div>
</div>
...
@@ -197,7 +246,8 @@
...
@@ -197,7 +246,8 @@
</div>
</div>
</div>
</div>
<div
class=
"footer-close"
>
<div
class=
"footer-close"
>
<button
class=
"layui-btn"
id=
"closeEl"
>
关闭
</button></div>
<button
class=
"layui-btn"
id=
"closeEl"
>
关闭
</button>
</div>
</div>
</div>
</main>
</main>
</div>
</div>
...
@@ -362,41 +412,41 @@
...
@@ -362,41 +412,41 @@
page
:
true
,
page
:
true
,
cols
:
[
cols
:
[
[{
[{
field
:
''
,
field
:
''
,
title
:
'序号'
,
title
:
'序号'
,
type
:
'numbers'
,
type
:
'numbers'
,
width
:
80
width
:
80
},
},
{
{
field
:
'staffName'
,
field
:
'staffName'
,
title
:
'员工姓名'
,
title
:
'员工姓名'
,
width
:
120
width
:
120
},
},
{
{
field
:
'roleName'
,
field
:
'roleName'
,
title
:
'角色'
,
title
:
'角色'
,
width
:
120
width
:
120
},
},
{
{
field
:
'merchantName'
,
field
:
'merchantName'
,
title
:
'登录账户'
,
title
:
'登录账户'
,
width
:
120
width
:
120
},
},
{
{
field
:
'statusName'
,
field
:
'statusName'
,
title
:
'登录密码'
,
title
:
'登录密码'
,
width
:
120
width
:
120
},
},
{
{
field
:
'createdAccount '
,
field
:
'createdAccount '
,
title
:
'创建者'
,
title
:
'创建者'
,
width
:
100
width
:
100
},
},
{
{
field
:
'createdTime'
,
field
:
'createdTime'
,
title
:
'创建时间'
,
title
:
'创建时间'
,
width
:
150
width
:
150
}
}
]
]
]
]
})
})
...
@@ -410,7 +460,7 @@
...
@@ -410,7 +460,7 @@
})
})
})
})
$
(
'#closeEl'
).
on
(
'click'
,
function
()
{
$
(
'#closeEl'
).
on
(
'click'
,
function
()
{
go
(
'merchant'
,
'index'
)
go
(
'merchant'
,
'index'
)
})
})
...
...
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