固定作业列表、倒计时的高度

This commit is contained in:
2018-05-03 20:37:33 +08:00
parent 3e18c8e4ff
commit 0282a9f401
4 changed files with 5 additions and 5 deletions

View File

@@ -88,7 +88,7 @@
<!--<span style="color: red"> 功能未完成</span>-->
</div>
<div class="text item">
<el-table :data="tableHomeworkData" style="width: 100%"
<el-table :data="tableHomeworkData" height="300" style="width: 100%"
:default-sort="{prop: 'time', order: 'descending'}">
<el-table-column prop="coursename" label="科目" sortable>
</el-table-column>

View File

@@ -69,6 +69,6 @@
</el-container>
</el-container>
</div>
<script th:src="@{/js/homepage.js}+'?v=0.1'"></script>
<script th:src="@{/js/homepage.js}+'?v=0.2'"></script>
</body>
</html>

View File

@@ -37,6 +37,6 @@
</el-container>
</el-container>
</div>
<script th:src="@{/js/homepage.js}+'?v=0.1'"></script>
<script th:src="@{/js/homepage.js}+'?v=0.2'"></script>
</body>
</html>

View File

@@ -103,7 +103,7 @@
<el-col :span="23">
<div class="grid-content bg-purple-dark">
<template>
<el-table :data="tableHomeworkData" style="width: 100%"
<el-table :data="tableHomeworkData" height="450" style="width: 100%"
:default-sort="{prop: 'worktime', order: 'descending'}">
<el-table-column type="expand">
<template slot-scope="props">
@@ -305,6 +305,6 @@
</el-container>
</el-container>
</div>
<script th:src="@{/js/homepage.js}+'?v=0.1'"></script>
<script th:src="@{/js/homepage.js}+'?v=0.2'"></script>
</body>
</html>