refactor: 重构首页CSS样式

清除无效CSS样式、未使用CSS样式
This commit is contained in:
song.tianyang 2020-12-17 19:10:51 +08:00
parent 62d1522dc6
commit df2f5df2f7
7 changed files with 9 additions and 30 deletions

View File

@ -8,7 +8,10 @@
<el-container> <el-container>
<el-main> <el-main>
<div class="text item"> <div class="text item">
<br/>
{{$t('api_test.home_page.api_details_card.this_week_add',[apiCountData.thisWeekAddedCount])}} {{$t('api_test.home_page.api_details_card.this_week_add',[apiCountData.thisWeekAddedCount])}}
<br/>
<br/>
</div> </div>
</el-main> </el-main>
</el-container> </el-container>
@ -53,7 +56,5 @@ export default {
} }
</script> </script>
<style scoped> <style scoped>
.el-aside {
text-align: center;
}
</style> </style>

View File

@ -52,10 +52,8 @@ export default {
</script> </script>
<style scoped> <style scoped>
.el-aside { .el-aside {
/*background-color: #D3DCE6;*/ line-height: 100px;
/*color: #333;*/
text-align: center; text-align: center;
/*line-height: 20;*/
} }
.countNumber{ .countNumber{
font-size: 40px; font-size: 40px;

View File

@ -42,11 +42,5 @@ export default {
} }
</script> </script>
<style scoped> <style scoped>
.el-aside {
/*background-color: #D3DCE6;*/
/*color: #333;*/
text-align: center;
line-height: 100px;
}
</style> </style>

View File

@ -49,10 +49,5 @@ export default {
} }
</script> </script>
<style scoped> <style scoped>
.el-aside {
/*background-color: #D3DCE6;*/
/*color: #333;*/
text-align: center;
/*line-height: 200px;*/
}
</style> </style>

View File

@ -60,10 +60,8 @@ export default {
</script> </script>
<style scoped> <style scoped>
.el-aside { .el-aside {
/*background-color: #D3DCE6;*/ line-height: 100px;
/*color: #333;*/
text-align: center; text-align: center;
/*line-height: 200px;*/
} }
.countNumber{ .countNumber{

View File

@ -49,10 +49,5 @@ export default {
} }
</script> </script>
<style scoped> <style scoped>
.el-aside {
/*background-color: #D3DCE6;*/
/*color: #333;*/
text-align: center;
/*line-height: 200px;*/
}
</style> </style>

View File

@ -59,10 +59,8 @@ export default {
</script> </script>
<style scoped> <style scoped>
.el-aside { .el-aside {
/*background-color: #D3DCE6;*/ line-height: 100px;
/*color: #333;*/
text-align: center; text-align: center;
/*line-height: 200px;*/
} }
.countNumber{ .countNumber{