Commit 5130e3a1 authored by zhengke's avatar zhengke

修改

parent b39ea38c
...@@ -39,12 +39,10 @@ ...@@ -39,12 +39,10 @@
} }
.recordForm .TeacherContent { .recordForm .TeacherContent {
height: 40px;
line-height: 40px;
margin-top: 10px; margin-top: 10px;
border-radius: 2px; border-radius: 2px;
font-size: 12px; font-size: 12px;
padding-left: 20px; padding: 8px;
background-color: #F0F5FB; background-color: #F0F5FB;
} }
...@@ -85,7 +83,13 @@ ...@@ -85,7 +83,13 @@
text-decoration: underline; text-decoration: underline;
cursor: pointer; cursor: pointer;
} }
.TeacherNewClass{
display: flex;
margin-bottom:3px;
}
.TeacherNewClass:last-child{
margin-bottom:0;
}
</style> </style>
<template> <template>
<div class="page-body"> <div class="page-body">
...@@ -179,7 +183,11 @@ ...@@ -179,7 +183,11 @@
</li> </li>
</div> </div>
<div class="TeacherContent"> <div class="TeacherContent">
签到数{{item.CheckNum}},缺勤数{{item.NoCheckNum}} <div v-for="(subItem,subIndex) in item.TimeList" class="TeacherNewClass">
<div>{{subIndex+1}}节课 {{subItem.StartTime}}-{{subItem.EndTime}}</div>
<div style="color:green;margin:0 20px;" title="签到数">{{subItem.CheckNum}}</div>
<div style="color:red;" title="缺勤数">{{subItem.NoCheckNum}}</div>
</div>
</div> </div>
</div> </div>
</div> </div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment