perf:panel 下拉列表操作图表悬浮显示
This commit is contained in:
@@ -37,7 +37,7 @@
|
|||||||
animation:150,
|
animation:150,
|
||||||
handle:'.panelContent',
|
handle:'.panelContent',
|
||||||
}" >
|
}" >
|
||||||
<el-dropdown-item v-for="item in panelData" :key="item.id+1"
|
<el-dropdown-item v-for="item in panelData" :key="item.id+1" class="panel-title-li"
|
||||||
:class="showPanel.id==item.id?'nz-dashboard-dropdown-bg':''" :command="item">
|
:class="showPanel.id==item.id?'nz-dashboard-dropdown-bg':''" :command="item">
|
||||||
<!--{{item.name}}-->
|
<!--{{item.name}}-->
|
||||||
<el-row :gutter="10" class="panel-list-width" >
|
<el-row :gutter="10" class="panel-list-width" >
|
||||||
@@ -977,5 +977,15 @@
|
|||||||
.nz-dashboard-dropdown .nz-icon-edit {
|
.nz-dashboard-dropdown .nz-icon-edit {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
}
|
}
|
||||||
|
.panel-title-li{
|
||||||
|
.panel-dropdown-btn{
|
||||||
|
visibility: hidden;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.panel-title-li:hover{
|
||||||
|
.panel-dropdown-btn{
|
||||||
|
visibility: visible;
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user