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

@@ -165,7 +165,8 @@
v-model="editChart.param.time"
:active-value="true"
:inactive-value="false"
active-color="#ee9d3f"
active-icon-class="switch-open"
inactive-icon-class="switch-shut"
size="small"></el-switch>
</el-form-item>
<el-form-item class="form-item--half-width" v-if="editChart.type == 'logs'" :label='$t("dashboard.panel.chartForm.descending")' prop="param.descending">
@@ -173,7 +174,8 @@
v-model="editChart.param.descending"
:active-value="true"
:inactive-value="false"
active-color="#ee9d3f"
active-icon-class="switch-open"
inactive-icon-class="switch-shut"
size="small"></el-switch>
</el-form-item>
<el-form-item class="form-item--half-width" v-if="editChart.type == 'logs'" :label='$t("dashboard.panel.chartForm.wrapLines")' prop="param.wrapLines">
@@ -181,7 +183,8 @@
v-model="editChart.param.wrapLines"
:active-value="true"
:inactive-value="false"
active-color="#ee9d3f"
active-icon-class="switch-open"
inactive-icon-class="switch-shut"
size="small"></el-switch>
</el-form-item>
</div>
@@ -325,7 +328,8 @@
<el-switch
:id="'chart-box-legendValue-'+item.label"
v-model="editChart.param.legendValue[item.key]"
active-color="#ee9d3f"
active-icon-class="switch-open"
inactive-icon-class="switch-shut"
active-value="on"
inactive-value="off"
>