Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
E
ec-report-refactor
Project
Project
Details
Activity
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
lihuizhen
ec-report-refactor
Commits
be068e02
Commit
be068e02
authored
May 12, 2022
by
Jenny
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: table 首列背景
parent
d7d03511
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
NormalTable.vue
components/NormalTable/NormalTable.vue
+5
-6
No files found.
components/NormalTable/NormalTable.vue
View file @
be068e02
...
...
@@ -81,7 +81,7 @@
'--header-color'
:
headerTitleColor
,
'--header-font-size'
:
`${this.$u.common.pxToRpx(headerTitleFontSize)
}
rpx`
,
'--header-text-align'
:
headerTitlePostion
||
'center'
,
'--header-border
-bottom
'
:
bordered
?
`${frameStyle || 'solid'
}
${frameWidth || 1
}
px ${frameColor || '#e4e7ed'
}
`
:
'none'
,
'--header-border'
:
bordered
?
`${frameStyle || 'solid'
}
${frameWidth || 1
}
px ${frameColor || '#e4e7ed'
}
`
:
'none'
,
'--cell-text-align'
:
cellTitlePostion
,
'--cell-justify-content'
:
this
.
align
[
cellTitlePostion
],
'--cell-font-size'
:
`${cellTitleFontSize || 14
}
px`
,
...
...
@@ -187,7 +187,6 @@
position
:
sticky
;
left
:
0
;
z
-
index
:
1
;
background
:
var
(
--
header
-
background
-
color
);
}
}
.
tr
{
...
...
@@ -227,7 +226,7 @@
color
:
var
(
--
header
-
color
);
background
-
color
:
var
(
--
header
-
background
-
color
);
text
-
align
:
var
(
--
header
-
text
-
align
);
border
-
bottom
:
var
(
--
header
-
border
-
bottom
);
border
-
bottom
:
var
(
--
header
-
border
);
}
.
td_style
{
...
...
@@ -236,13 +235,13 @@
font
-
size
:
var
(
--
cell
-
font
-
size
);
line
-
height
:
var
(
--
cell
-
row
-
height
);
color
:
var
(
--
cell
-
color
);
border
-
bottom
:
var
(
--
header
-
border
-
bottom
);
border
-
bottom
:
var
(
--
header
-
border
);
}
.
even
-
striped
{
.
even
-
striped
,
.
even
-
striped
.
row_fixed
{
background
-
color
:
var
(
--
even
-
color
);
}
.
odd
-
striped
{
.
odd
-
striped
,
.
odd
-
striped
.
row_fixed
{
background
-
color
:
var
(
--
odd
-
color
);
}
<
/style>
\ No newline at end of file
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