响应式优化

This commit is contained in:
wangxinbo
2020-11-15 16:47:42 +08:00
parent 8de6c6900c
commit 30686dab03
33 changed files with 2803 additions and 1824 deletions

View File

@ -40,10 +40,10 @@
</el-form-item>
</el-form>
<div ref="printMe">
<div ref="printMe" class="print-me">
<h2 style="text-align: center">{{ this.deptName }}班级儿童考勤表</h2>
<h4 style="text-align: left">
考勤月份{{ this.month }} ------ 班级总数{{ this.classcount }} ------
考勤月份{{ this.month }} ---- 班级总数{{ this.classcount }} ----
幼儿总数{{ this.chilidcount }}
</h4>
<el-table
@ -398,4 +398,16 @@ export default {
},
},
};
</script>
</script>
<style lang="scss" scoped>
.print-me {
@media (max-width: 768.98px) {
h2 {
font-size: 14px;
}
h4 {
font-size: 12px;
}
}
}
</style>