Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
house-type
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xingyuji
house-type
Commits
0c170fec
Commit
0c170fec
authored
Sep 14, 2020
by
wangjiankun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
多级表头表格翻页图标修改
parent
9497a54c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
34 additions
and
14 deletions
+34
-14
nextPage.svg
src/assets/icons/svg/nextPage.svg
+1
-1
prevPage.svg
src/assets/icons/svg/prevPage.svg
+1
-1
index.vue
src/components/multilHeaderTable/index.vue
+32
-12
No files found.
src/assets/icons/svg/nextPage.svg
View file @
0c170fec
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg
t=
"1
599805021250"
class=
"icon"
viewBox=
"0 0 1024 1024"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
p-id=
"1130"
width=
"48"
height=
"48"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
><defs><style
type=
"text/css"
></style></defs><path
d=
"M784.246262 454.443749L360.714443 30.88935a85.577949 85.577949 0 0 0-120.983285 121.005865l363.062756 363.040176-363.085336 362.995017a85.577949 85.577949 0 0 0 120.983285 120.983285l423.554399-423.464079a85.510209 85.510209 0 0 0 0-121.005865z"
fill=
"#13227a"
p-id=
"1131
"
></path></svg>
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg
t=
"1
600047835797"
class=
"icon"
viewBox=
"0 0 1024 1024"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
p-id=
"8212"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
width=
"200"
height=
"200"
><defs><style
type=
"text/css"
></style></defs><path
d=
"M810.476403 511.9258a85.287562 85.287562 0 0 1-24.733393 60.554169l-426.437812 426.437812a85.287562 85.287562 0 0 1-121.108338-121.108339L604.933378 511.9258 238.19686 146.042157A85.287562 85.287562 0 0 1 359.305198 24.933819l426.437812 426.437812A85.287562 85.287562 0 0 1 810.476403 511.9258z"
fill=
"#ffffff"
p-id=
"8213
"
></path></svg>
\ No newline at end of file
src/assets/icons/svg/prevPage.svg
View file @
0c170fec
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg
t=
"1
599805133863"
class=
"icon"
viewBox=
"0 0 1024 1024"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
p-id=
"2073"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
width=
"48"
height=
"48"
><defs><style
type=
"text/css"
></style></defs><path
d=
"M421.228666 514.957971L784.268842 151.917795a85.577949 85.577949 0 0 0 0-121.005866 85.532789 85.532789 0 0 0-120.983285 0L239.731158 454.443749a85.577949 85.577949 0 0 0 0 121.005865l423.554399 423.464079a85.532789 85.532789 0 1 0 120.983285-120.983285L421.228666 514.957971z"
fill=
"#13227a"
p-id=
"2074
"
></path></svg>
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg
t=
"1
600048195218"
class=
"icon"
viewBox=
"0 0 1024 1024"
version=
"1.1"
xmlns=
"http://www.w3.org/2000/svg"
p-id=
"875"
xmlns:xlink=
"http://www.w3.org/1999/xlink"
width=
"200"
height=
"200"
><defs><style
type=
"text/css"
></style></defs><path
d=
"M414.42 530.583c12.377-7.888 28.994-6.427 39.802 4.381l282.843 282.843-90.51 90.51c-12.496 12.496-32.758 12.496-45.254 0L318.458 625.473l0.265-0.265-89.974-89.974c-12.497-12.497-12.497-32.758 0-45.255L624.729 94l90.51 90.51c12.496 12.496 12.496 32.758 0 45.255l-300.82 300.818z"
p-id=
"876"
fill=
"#ffffff
"
></path></svg>
\ No newline at end of file
src/components/multilHeaderTable/index.vue
View file @
0c170fec
...
@@ -30,17 +30,38 @@
...
@@ -30,17 +30,38 @@
<div
class=
"productionName"
v-if=
"tableData.length > 0"
style=
"display: flex;flex-direction: row;width: 100%"
>
<div
class=
"productionName"
v-if=
"tableData.length > 0"
style=
"display: flex;flex-direction: row;width: 100%"
>
<div
v-for=
"(item,index) in tableData"
:key=
"index"
style=
"flex:1;min-width: 160px;overflow-x: auto;border-right: 1px solid #ffffff;"
>
<div
v-for=
"(item,index) in tableData"
:key=
"index"
style=
"flex:1;min-width: 160px;overflow-x: auto;border-right: 1px solid #ffffff;"
>
<el-row
:class=
"
{'dataCell':true}" style="position: relative">
<el-row
:class=
"
{'dataCell':true}" style="position: relative">
<svg-icon
<div
:icon-class=
"currentPageList[index].page === 1 ? 'prevPage-dis' : 'prevPage'"
class=
"position left"
class=
"position left scaleIcon"
:style=
"
{
@
click=
"pagePrev(index)"
padding: '2px',
:disabled=
"currentPageList[index].page === 1"
></svg-icon>
width: '21px',
height: '21px',
lineHeight: '18px',
background: currentPageList[index].page === 1 ? '' : '#3974CA',
cursor: currentPageList[index].page === 1 ? 'default' : 'pointer'
}"
>
<svg-icon
:icon-class=
"currentPageList[index].page === 1 ? 'prevPage-dis' : 'prevPage'"
class=
"scaleIcon"
@
click=
"pagePrev(index)"
></svg-icon>
</div>
<div
class=
"position right"
:style=
"
{
padding: '2px',
borderRadius: '4px',
width: '21px',
height: '21px',
lineHeight: '18px',
background: currentPageList[index].page === currentPageList[index].pages ? '' : '#3974CA',
cursor: currentPageList[index].page === currentPageList[index].pages ? 'default' : 'pointer'
}">
<svg-icon
<svg-icon
:icon-class=
"currentPageList[index].page === currentPageList[index].pages ? 'nextPage-dis' : 'nextPage'"
:icon-class=
"currentPageList[index].page === currentPageList[index].pages ? 'nextPage-dis' : 'nextPage'"
class=
"position right scaleIcon"
class=
"scaleIcon"
@
click=
"pageNext(index)"
@
click=
"pageNext(index)"
></svg-icon>
:disabled=
"currentPageList[index].page === currentPageList[index].page"
</div>
></svg-icon>
{{
item
.
productionName
}}
{{
item
.
productionName
}}
</el-row>
</el-row>
<el-col
<el-col
...
@@ -280,15 +301,14 @@
...
@@ -280,15 +301,14 @@
font-size
:
16px
;
font-size
:
16px
;
cursor
:
pointer
;
cursor
:
pointer
;
font-weight
:
600
;
font-weight
:
600
;
color
:
#409eff
;
transform
:
translateY
(
-50%
);
transform
:
translateY
(
-50%
);
}
}
.left
{
.left
{
left
:
10px
;
left
:
10px
;
}
}
.scaleIcon
{
.scaleIcon
{
width
:
1
8
px
;
width
:
1
9
px
;
height
:
1
8
px
;
height
:
1
9
px
;
}
}
.right
{
.right
{
right
:
10px
;
right
:
10px
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment