style: 更改首页统计详情字体

更改首页统计卡牌右下角的统计详情字体
This commit is contained in:
song.tianyang 2020-12-22 20:02:07 +08:00
parent 2cf68db349
commit 5180210910
4 changed files with 27 additions and 17 deletions

View File

@ -83,14 +83,14 @@
{{apiCountData.runningCount}} {{apiCountData.runningCount}}
</span> </span>
</el-col> </el-col>
<el-col> <el-col style="margin-top: 5px;">
<span class="default-property"> <span class="default-property">
{{$t('api_test.home_page.detail_card.not_started')}} {{$t('api_test.home_page.detail_card.not_started')}}
{{"\xa0\xa0"}} {{"\xa0\xa0"}}
{{apiCountData.notStartedCount}} {{apiCountData.notStartedCount}}
</span> </span>
</el-col> </el-col>
<el-col> <el-col style="margin-top: 5px;">
<span class="main-property"> <span class="main-property">
{{$t('api_test.home_page.detail_card.finished')}} {{$t('api_test.home_page.detail_card.finished')}}
{{"\xa0\xa0"}} {{"\xa0\xa0"}}
@ -157,10 +157,11 @@ export default {
box-shadow: 0 0px 0px 0 rgba(0,0,0,.1); box-shadow: 0 0px 0px 0 rgba(0,0,0,.1);
} }
.default-property{ .default-property{
font-size: 12px
} }
.main-property{ .main-property{
color: #F39021; color: #F39021;
font-size: 12px
} }
.el-card /deep/ .el-card__header { .el-card /deep/ .el-card__header {

View File

@ -11,7 +11,9 @@
<span class="count-number"> <span class="count-number">
{{sceneCountData.allApiDataCountNumber}} {{sceneCountData.allApiDataCountNumber}}
</span> </span>
{{$t('api_test.home_page.unit_of_measurement')}} <span style="color: #6C317C;">
{{$t('api_test.home_page.unit_of_measurement')}}
</span>
</div> </div>
</el-main> </el-main>
</el-container> </el-container>
@ -65,12 +67,14 @@
{{sceneCountData.unexecuteCount}} {{sceneCountData.unexecuteCount}}
</span> </span>
</el-col> </el-col>
<el-col> <el-col style="margin-top: 5px;">
{{$t('api_test.home_page.detail_card.execution_failed')}} <span class="defaultProperty">
{{"\xa0\xa0"}} {{$t('api_test.home_page.detail_card.execution_failed')}}
{{sceneCountData.executionFailedCount}} {{"\xa0\xa0"}}
{{sceneCountData.executionFailedCount}}
</span>
</el-col> </el-col>
<el-col> <el-col style="margin-top: 5px;">
<span class="main-property"> <span class="main-property">
{{$t('api_test.home_page.detail_card.execution_pass')}} {{$t('api_test.home_page.detail_card.execution_pass')}}
{{"\xa0\xa0"}} {{"\xa0\xa0"}}
@ -141,10 +145,11 @@ export default {
box-shadow: 0 0px 0px 0 rgba(0,0,0,.1); box-shadow: 0 0px 0px 0 rgba(0,0,0,.1);
} }
.defaultProperty{ .defaultProperty{
font-size: 12px
} }
.main-property{ .main-property{
color: #F39021; color: #F39021;
font-size: 12px
} }
.el-card /deep/ .el-card__header { .el-card /deep/ .el-card__header {

View File

@ -11,7 +11,9 @@
<span class="count-number"> <span class="count-number">
{{scheduleTaskCountData.allApiDataCountNumber}} {{scheduleTaskCountData.allApiDataCountNumber}}
</span> </span>
{{$t('api_test.home_page.unit_of_measurement')}} <span style="color: #6C317C;">
{{$t('api_test.home_page.unit_of_measurement')}}
</span>
</div> </div>
</el-main> </el-main>
</el-container> </el-container>
@ -66,9 +68,9 @@
{{scheduleTaskCountData.failedCount}} {{scheduleTaskCountData.failedCount}}
</span> </span>
</el-col> </el-col>
<el-col style=" height: 20px"> <el-col style=" height: 20px;margin-top: 3px;">
</el-col> </el-col>
<el-col> <el-col style="margin-top: 5px;">
<span class="main-property"> <span class="main-property">
{{$t('api_test.home_page.detail_card.success')}} {{$t('api_test.home_page.detail_card.success')}}
{{"\xa0\xa0"}} {{"\xa0\xa0"}}
@ -146,10 +148,11 @@ export default {
box-shadow: 0 0px 0px 0 rgba(0,0,0,.1); box-shadow: 0 0px 0px 0 rgba(0,0,0,.1);
} }
.default-property{ .default-property{
font-size: 12px
} }
.main-property{ .main-property{
color: #F39021; color: #F39021;
font-size: 12px;
} }
.el-card /deep/ .el-card__header { .el-card /deep/ .el-card__header {

View File

@ -99,9 +99,9 @@
{{testCaseCountData.uncoverageCount}} {{testCaseCountData.uncoverageCount}}
</span> </span>
</el-col> </el-col>
<el-col style=" height: 20px"> <el-col style=" height: 20px;margin-top: 3px;">
</el-col> </el-col>
<el-col> <el-col style="margin-top: 5px;">
<span class="main-property"> <span class="main-property">
{{$t('api_test.home_page.detail_card.coverage')}} {{$t('api_test.home_page.detail_card.coverage')}}
{{"\xa0\xa0"}} {{"\xa0\xa0"}}
@ -176,10 +176,11 @@ export default {
box-shadow: 0 0px 0px 0 rgba(0,0,0,.1); box-shadow: 0 0px 0px 0 rgba(0,0,0,.1);
} }
.default-property{ .default-property{
font-size: 12px
} }
.main-property{ .main-property{
color: #F39021; color: #F39021;
font-size: 12px
} }
.el-card /deep/ .el-card__header { .el-card /deep/ .el-card__header {