style: 调整 switch 开关主题颜色

This commit is contained in:
@changcode
2021-11-30 14:36:51 +08:00
parent 895e84b77c
commit 1f0fc53526
28 changed files with 214 additions and 94 deletions

View File

@@ -42,7 +42,7 @@
<transition name="el-zoom-in-top">
<div v-if="dropdownShow" class="endpoint-query-dropdown el-popover" style="right: 11px;top: 33px;">
<span style="padding-top: 2px">{{$t('project.endpoint.hideSameLabels')}}</span>
<el-switch v-model="hideSameLabels" active-color="#ee9d3f" size="small"></el-switch>
<el-switch v-model="hideSameLabels" active-icon-class="switch-open" inactive-icon-class="switch-shut" size="small"></el-switch>
</div>
</transition>
</button>