refactor(测试跟踪): 首页关联用例数量统计尽量一行展示
--bug=1013121 --user=陈建星 【测试跟踪】首页 关联用例数量统计名称 建议一行展示 https://www.tapd.cn/55049933/s/1157029
This commit is contained in:
parent
5c078e5b19
commit
efa3f78963
|
@ -75,9 +75,9 @@ public class TrackController {
|
|||
statistics.setCoverageRage(df.format(coverageRageNumber) + "%");
|
||||
}
|
||||
|
||||
statistics.setApiCaseCountStr(Translator.get("api_case") + " <br/><br/>" + statistics.getApiCaseCount());
|
||||
statistics.setPerformanceCaseCountStr(Translator.get("performance_case") + " <br/><br/>" + statistics.getPerformanceCaseCount());
|
||||
statistics.setScenarioCaseStr(Translator.get("scenario_case") + " <br/><br/>" + statistics.getScenarioCaseCount());
|
||||
statistics.setApiCaseCountStr(Translator.get("api_case") + "<br/><br/>" + statistics.getApiCaseCount());
|
||||
statistics.setPerformanceCaseCountStr(Translator.get("performance_case") + "<br/><br/>" + statistics.getPerformanceCaseCount());
|
||||
statistics.setScenarioCaseStr(Translator.get("scenario_case") + "<br/><br/>" + statistics.getScenarioCaseCount());
|
||||
|
||||
return statistics;
|
||||
}
|
||||
|
|
|
@ -145,9 +145,13 @@ export default {
|
|||
border-bottom: 0px solid #EBEEF5;
|
||||
}
|
||||
|
||||
.el-card >>> .el-card__body {
|
||||
padding-right: 0;
|
||||
}
|
||||
.count-info-div{
|
||||
margin-top: 3px;
|
||||
margin-bottom: 3px;
|
||||
text-align: center;
|
||||
}
|
||||
.count-info-div >>>p{
|
||||
font-size: 10px;
|
||||
|
@ -156,4 +160,9 @@ export default {
|
|||
position: absolute;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.el-col {
|
||||
padding-right: 0 !important;
|
||||
padding-left: 0 !important;
|
||||
}
|
||||
</style>
|
||||
|
|
Loading…
Reference in New Issue