Commit 6123d953 authored by 谢章伟's avatar 谢章伟

列表组件显示问题修复

parent bddbf44a
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment