Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
shld-databoard-ui
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
潘自豪 Rambo Pan
shld-databoard-ui
Commits
6123d953
Commit
6123d953
authored
Aug 15, 2024
by
谢章伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
列表组件显示问题修复
parent
bddbf44a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
winners-list.vue
src/module/databoard/components/card/winners-list.vue
+1
-2
No files found.
src/module/databoard/components/card/winners-list.vue
View file @
6123d953
...
...
@@ -3,14 +3,12 @@
<table>
<tbody>
<tr
v-for=
"(row, idx) in $props.rows"
:key=
"idx"
:style=
"
{height: 100 / rows.length + '%'}">
<div
v-if=
"!row.blankColumn"
>
<td
v-if=
"showIcon"
><div
class=
"col_number"
>
{{
idx
+
1
}}
</div></td>
<td
class=
"winner_span"
:style=
"titleIndependentStyle?row.titleStyle:columnsStyle['title']"
>
{{
row
.
title
}}
</td>
<td
v-for=
"(col, idz) in row.column"
:key=
"idz"
:style=
"columnsStyle[col.key]"
>
<p
class=
"key_span"
>
{{
col
.
key
}}
</p>
<p
class=
"value_span"
:style=
"col.valStyle"
>
{{
colFormatter
[
''
+
idz
]?
colFormatter
[
''
+
idz
](
col
.
value
):
col
.
value
}}
</p>
</td>
</div>
</tr>
</tbody>
</table>
...
...
@@ -104,6 +102,7 @@ td {
.winner_span
{
color
:
white
;
font-size
:
14px
;
display
:
table-cell
;
}
.key_span
{
...
...
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