style:legend option 样式调整

This commit is contained in:
wangwenrui
2020-09-18 11:04:44 +08:00
parent 52a7bf6ee2
commit af13b0902b
3 changed files with 11 additions and 8 deletions

View File

@@ -93,7 +93,7 @@
<table style="width: 100%">
<th style="max-width: 100%"></th>
<template v-for="legendOption in screenLegendOptions">
<th v-if="legendOption.value == 'on'" class="option-th">
<th v-if="legendOption.value == 'on'" class="option-th legend-option-cell" >
<span @click="legendValueSort(legendOption,screenLegendList,screenLegendOptions)">{{legendOption.option}}</span>
<span ><i style="font-size: 12px !important;" :class="{'nz-icon nz-icon-arrow-down':legendOption.sort =='asc','nz-icon nz-icon-arrow-up':legendOption.sort=='desc'}" ></i></span>
</th>
@@ -106,7 +106,7 @@
</div>
</td>
<template v-for="legendOption in screenLegendOptions">
<td v-if="legendOption.value == 'on'">{{formatLegendData(item[legendOption.option])}}</td>
<td v-if="legendOption.value == 'on'" class="legend-option-cell">{{formatLegendData(item[legendOption.option])}}</td>
</template>
</tr>
</tbody>