[update] 拆分、首页

This commit is contained in:
danshihao
2024-06-28 16:20:54 +08:00
parent 254f4dbd72
commit bc206c480b
11 changed files with 146 additions and 27 deletions
+8 -3
View File
@@ -1,5 +1,5 @@
<template>
<a-card :bordered="false">
<a-card :bordered="false" class="todo-card">
<a-spin :spinning="loading">
<div class="top-wrapper">
<p class="left-p"><i class="iconfont icon-calendar left-icon"></i>{{ $t('dashboard.todoTask.todoTask') }}</p>
@@ -34,7 +34,7 @@ export default {
}
},
created () {
// this.getTodoTask()
this.getTodoTask()
},
methods: {
// 获取待办任务
@@ -170,9 +170,11 @@ export default {
<style lang="less" scoped>
@size: 48px;
.todo-card {
height: calc(100vh - 611px);
}
.content-wrapper {
margin-top: 10px;
height: calc(100vh - 700px);
overflow-y: auto;
.content-item {
@@ -218,6 +220,9 @@ export default {
}
@media screen and (max-width: 1366px) {
@size: 40px;
.todo-card {
height: calc(100vh - 424px);
}
.content-wrapper {
height: calc(100vh - 506px);