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 f7ae0b73
authored
Sep 26, 2021
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
合并冲突
2 parents
8fde78b2
e9318ce0
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
3 deletions
html/merchant/index.html
html/merchant/index.html
View file @
f7ae0b7
...
...
@@ -10,12 +10,16 @@
<meta
name=
"keywords"
itemprop=
"keywords"
content=
"广联,帐户管理,员工管理"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"/css/main.css"
/>
<style>
/*
/*
.merchant .layui-table-view {
margin: -5px 20px;
overflow-x: auto;
} */
/* .merchant .layui-table-box{
min-width: 1512px;
} */
.merchant
.layui-table
{
margin
:
0
;
width
:
100%
;
}
.merchant
#searchForm
.layui-inline
{
...
...
@@ -330,7 +334,34 @@
elem
:
'#merchantTable'
,
page
:
false
,
skin
:
'nob'
,
cols
:
gl
?
[
cols
]
:
[
colums
]
cols
:
gl
?
[
cols
]
:
[
colums
],
done
:
function
()
{
$
(
"[data-field='lowerHairPath']"
).
css
(
'display'
,
'none'
);
$
(
".layui-table-main tr"
).
each
(
function
(
index
,
val
)
{
$
(
$
(
".layui-table-fixed-l .layui-table-body tbody tr"
)[
index
]).
height
(
$
(
val
).
height
());
$
(
$
(
".layui-table-fixed-r .layui-table-body tbody tr"
)[
index
]).
height
(
$
(
val
).
height
());
});
//动态监听表头高度变化,冻结行跟着改变高度
$
(
".layui-table-header tr"
).
resize
(
function
()
{
$
(
".layui-table-header tr"
).
each
(
function
(
index
,
val
)
{
$
(
$
(
".layui-table-fixed .layui-table-header table tr"
)[
index
]).
height
(
$
(
val
).
height
());
});
});
//初始化高度,使得冻结行表头高度一致
$
(
".layui-table-header tr"
).
each
(
function
(
index
,
val
)
{
$
(
$
(
".layui-table-fixed .layui-table-header table tr"
)[
index
]).
height
(
$
(
val
).
height
());
});
//动态监听表体高度变化,冻结行跟着改变高度
$
(
".layui-table-body tr"
).
resize
(
function
()
{
$
(
".layui-table-body tr"
).
each
(
function
(
index
,
val
)
{
$
(
$
(
".layui-table-fixed .layui-table-body table tr"
)[
index
]).
height
(
$
(
val
).
height
());
});
});
//初始化高度,使得冻结行表体高度一致
$
(
".layui-table-body tr"
).
each
(
function
(
index
,
val
)
{
$
(
$
(
".layui-table-fixed .layui-table-body table tr"
)[
index
]).
height
(
$
(
val
).
height
());
});
}
})
table
.
on
(
'tool(merchant-table-filter)'
,
function
(
obj
)
{
...
...
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