收起展开

This commit is contained in:
shijingjing
2022-07-19 15:37:16 +08:00
parent 8c0021f9db
commit 0aa4e30047
2 changed files with 41 additions and 13 deletions

View File

@@ -11,7 +11,7 @@
</div>
</div>
<div v-show="show">
<div v-for="(item, index) in list.slice(0,list.length - 2)" :key="index"
<div v-for="(item, index) in list.slice(2, list.length)" :key="index"
:class="{'color1': index % 4 == 2,'color2': index % 4 == 3,'color3': index % 4 == 0,'color4': index % 4 == 1 }" class="daily_item">
<div>{{ item.createTime.substring(10, 16) }}</div>
<div>{{ item.taskTitle }}</div>