refactor(测试跟踪): 首页关联用例数量统计尽量一行展示
--bug=1013121 --user=陈建星 【测试跟踪】首页 关联用例数量统计名称 建议一行展示 https://www.tapd.cn/55049933/s/1157029
This commit is contained in:
parent
a2536cc35b
commit
29eafe4531
|
@ -75,9 +75,9 @@ public class TrackController {
|
||||||
statistics.setCoverageRage(df.format(coverageRageNumber) + "%");
|
statistics.setCoverageRage(df.format(coverageRageNumber) + "%");
|
||||||
}
|
}
|
||||||
|
|
||||||
statistics.setApiCaseCountStr(Translator.get("api_case") + " <br/><br/>" + statistics.getApiCaseCount());
|
statistics.setApiCaseCountStr(Translator.get("api_case") + "<br/><br/>" + statistics.getApiCaseCount());
|
||||||
statistics.setPerformanceCaseCountStr(Translator.get("performance_case") + " <br/><br/>" + statistics.getPerformanceCaseCount());
|
statistics.setPerformanceCaseCountStr(Translator.get("performance_case") + "<br/><br/>" + statistics.getPerformanceCaseCount());
|
||||||
statistics.setScenarioCaseStr(Translator.get("scenario_case") + " <br/><br/>" + statistics.getScenarioCaseCount());
|
statistics.setScenarioCaseStr(Translator.get("scenario_case") + "<br/><br/>" + statistics.getScenarioCaseCount());
|
||||||
|
|
||||||
return statistics;
|
return statistics;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Reference in New Issue