style: 调整 switch 开关主题颜色
This commit is contained in:
@@ -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"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user