style(测试跟踪): 用例版本对比置灰样式优化

--bug=1022772 --user=陈建星 【测试跟踪】功能用例-设计验收问题汇总 https://www.tapd.cn/55049933/s/1342676
This commit is contained in:
chenjianxing 2023-02-24 15:14:49 +08:00 committed by jianxing
parent 3b3c9ddd3c
commit c6f39518ba

View File

@ -63,7 +63,7 @@
</div>
</div>
<div class="compare-row"
:class="{'compare-btn-disable': !compareBtnEnable}"
:class="{'compare-btn-disable': compareDisable}"
@click.stop="openCompare">
<div class="icon">
<img src="/assets/module/figma/icon_contrast_outlined.svg" alt=""/>
@ -196,7 +196,7 @@ export default {
enableCompare() {
return this.versionLeftId && this.versionRightId;
},
compareBtnEnable() {
compareDisable() {
return this.versionCompareOptions || this.versionCompareOptions.length < 2;
}
},
@ -209,7 +209,7 @@ export default {
this.clearSelectData();
},
openCompare() {
if (!this.compareBtnEnable) {
if (this.compareDisable) {
return;
}
this.setDefaultCompareOptions();
@ -548,9 +548,9 @@ export default {
}
}
color: #646a73;
.label {
font-size: 14px;
color: #646a73;
}
}
}