refactor: ts+echarts+resize方式简化
Former-commit-id: 0a85c26f3c27843cd4e20b367e62d1f9b40370d9
This commit is contained in:
@@ -20,7 +20,7 @@ const date: Date = new Date();
|
||||
const greetings = computed(() => {
|
||||
if (date.getHours() >= 6 && date.getHours() < 8) {
|
||||
return '晨起披衣出草堂,轩窗已自喜微凉🌅!';
|
||||
} else if (date.getHours() >= 8 && date.getHours() < 18) {
|
||||
} else if (date.getHours() >= 8 && date.getHours() < 12) {
|
||||
return '上午好🌞!';
|
||||
} else if (date.getHours() >= 12 && date.getHours() < 18) {
|
||||
return '下午好☕!';
|
||||
@@ -209,5 +209,8 @@ const greetings = computed(() => {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.svg-icon {
|
||||
fill: currentColor !important;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user