[update] 拆分、首页
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user