v1.4.0 - new features

This commit is contained in:
LINING-PC\lining
2025-10-11 18:57:38 +08:00
parent 811477852a
commit 0c317b1450
27 changed files with 159 additions and 5459 deletions
+9 -5
View File
@@ -2419,8 +2419,10 @@ const handleAddSuccessor = (task: Task) => {
v-if="subDay.date && subDay.date.getDate() === 1"
class="month-first-flag"
:style="{
left: `${getGlobalWeekPosition(monthIndex, weekIndex) + dayIndex * (60/7)}px`,
transform: 'translateX(-50%)' // 使旗帜中心(杆子)对齐日期位置
left: `${
getGlobalWeekPosition(monthIndex, weekIndex) + dayIndex * (60 / 7)
}px`,
transform: 'translateX(-50%)', // 使旗帜中心(杆子)对齐日期位置
}"
>
<div class="flag-pole"></div>
@@ -2551,8 +2553,10 @@ const handleAddSuccessor = (task: Task) => {
v-if="subDay.date && subDay.date.getDate() === 1"
class="month-first-vertical-line"
:style="{
left: `${getGlobalWeekPosition(monthIndex, weekIndex) + dayIndex * (60/7)}px`,
height: `${contentHeight}px`
left: `${
getGlobalWeekPosition(monthIndex, weekIndex) + dayIndex * (60 / 7)
}px`,
height: `${contentHeight}px`,
}"
></div>
</template>
@@ -2691,7 +2695,7 @@ const handleAddSuccessor = (task: Task) => {
class="sub-day-column"
:class="{
weekend: subDay.dayOfWeek === 0 || subDay.dayOfWeek === 6,
today: isToday(subDay.date)
today: isToday(subDay.date),
}"
:style="{ height: `${contentHeight}px`, width: '8.57px' }"
></div>