refactor(测试跟踪): 首页关联用例数量统计尽量一行展示

--bug=1013121 --user=陈建星 【测试跟踪】首页 关联用例数量统计名称 建议一行展示 https://www.tapd.cn/55049933/s/1157029
This commit is contained in:
chenjianxing 2022-05-12 17:23:57 +08:00 committed by f2c-ci-robot[bot]
parent 5c078e5b19
commit efa3f78963
2 changed files with 12 additions and 3 deletions

View File

@ -75,9 +75,9 @@ public class TrackController {
statistics.setCoverageRage(df.format(coverageRageNumber) + "%"); statistics.setCoverageRage(df.format(coverageRageNumber) + "%");
} }
statistics.setApiCaseCountStr(Translator.get("api_case") + "&nbsp;&nbsp;<br/><br/>" + statistics.getApiCaseCount()); statistics.setApiCaseCountStr(Translator.get("api_case") + "<br/><br/>" + statistics.getApiCaseCount());
statistics.setPerformanceCaseCountStr(Translator.get("performance_case") + "&nbsp;&nbsp;<br/><br/>" + statistics.getPerformanceCaseCount()); statistics.setPerformanceCaseCountStr(Translator.get("performance_case") + "<br/><br/>" + statistics.getPerformanceCaseCount());
statistics.setScenarioCaseStr(Translator.get("scenario_case") + "&nbsp;&nbsp;<br/><br/>" + statistics.getScenarioCaseCount()); statistics.setScenarioCaseStr(Translator.get("scenario_case") + "<br/><br/>" + statistics.getScenarioCaseCount());
return statistics; return statistics;
} }

View File

@ -145,9 +145,13 @@ export default {
border-bottom: 0px solid #EBEEF5; border-bottom: 0px solid #EBEEF5;
} }
.el-card >>> .el-card__body {
padding-right: 0;
}
.count-info-div{ .count-info-div{
margin-top: 3px; margin-top: 3px;
margin-bottom: 3px; margin-bottom: 3px;
text-align: center;
} }
.count-info-div >>>p{ .count-info-div >>>p{
font-size: 10px; font-size: 10px;
@ -156,4 +160,9 @@ export default {
position: absolute; position: absolute;
top: 0; top: 0;
} }
.el-col {
padding-right: 0 !important;
padding-left: 0 !important;
}
</style> </style>