fix(系统设置): 主题色修改

This commit is contained in:
shiziyuan9527 2021-03-20 12:46:46 +08:00
parent b92364ff6f
commit 807bdfe841
4 changed files with 17 additions and 11 deletions

View File

@ -103,16 +103,16 @@ export default {
.active {
border: solid 1px #6d317c;
background-color: var(--color);
background-color: var(--primary_color);
color: #FFFFFF;
}
.case-button {
border-left: solid 1px var(--color);
border-left: solid 1px var(--primary_color);
}
.item{
border: solid 1px var(--color);
border: solid 1px var(--primary_color);
}
</style>

View File

@ -10,7 +10,7 @@
@dataChange="changePlan"/>
</template>
<template v-slot:menu>
<el-menu v-if="isMenuShow" active-text-color="#6d317c" :default-active="activeIndex"
<el-menu v-if="isMenuShow" :active-text-color="color" :default-active="activeIndex"
class="el-menu-demo header-menu" mode="horizontal" @select="handleSelect">
<el-menu-item index="functional">功能测试用例</el-menu-item>
<el-menu-item index="api">接口测试用例</el-menu-item>
@ -71,6 +71,9 @@
computed: {
planId: function () {
return this.$route.params.planId;
},
color: function () {
return `var(--primary_color)`
}
},
watch: {

View File

@ -9,7 +9,7 @@
@dataChange="changeReview"/>
</template>
<template v-slot:menu>
<el-menu v-if="isMenuShow" active-text-color="#6d317c"
<el-menu v-if="isMenuShow" :active-text-color="color"
class="el-menu-demo header-menu" mode="horizontal" @select="handleSelect"
:default-active="activeIndex">
<el-menu-item index="functional">功能测试用例</el-menu-item>
@ -78,6 +78,9 @@ export default {
computed: {
reviewId: function () {
return this.$route.params.reviewId;
},
color: function () {
return `var(--primary_color)`
}
},
mounted() {

View File

@ -62,19 +62,19 @@ html,body {
/* <-- 表格拖拽表头调整宽度,在 t-bable 上添加 border 属性,并添加 adjust-table 类名 */
.adjust-table td {
border-right: 0;
border-right: 0 !important;
}
.adjust-table th {
border-right-color: white;
border-right-color: white !important;
}
.adjust-table {
border-color: white;
border-color: white !important;
}
.adjust-table:after {
background-color: white;
background-color: white !important;
}
.adjust-table th:not([class*="el-table-column--selection"]):hover:after {
@ -84,11 +84,11 @@ html,body {
right: 0;
height: 50%;
width: 2px;
background-color: #EBEEF5;
background-color: #EBEEF5 !important;
}
.adjust-table tr:hover td {
border-right: 0;
border-right: 0 !important;
}
/* 表格拖拽表头调整宽度 --> */