|
|
@@ -117,11 +117,12 @@
|
|
|
[class.today]="day.isToday"
|
|
|
[class.other-month]="!day.isCurrentMonth"
|
|
|
[class.has-projects]="day.projectCount > 0"
|
|
|
+ [class.high-load]="day.projectCount >= 2"
|
|
|
[class.clickable]="day.projectCount > 0 && day.isCurrentMonth"
|
|
|
(click)="onCalendarDayClick(day)">
|
|
|
<div class="day-number">{{ day.date.getDate() }}</div>
|
|
|
@if (day.projectCount > 0) {
|
|
|
- <div class="day-badge" [class.high-load]="day.projectCount >= 2">
|
|
|
+ <div class="day-projects-label">
|
|
|
{{ day.projectCount }}个项目
|
|
|
</div>
|
|
|
}
|