纪念日新增农历日期显示
部署到群晖 / deploy (push) Successful in 44s

- 人员详情页:日期下方显示完整农历「农历 YYYY年 X月X日」
- 日历页本月纪念日列表:日期下方显示农历月日「X月X日」
- 公历事件用 solarToLunar 算当年对应农历
- 农历事件按当年公历落点反算农历(与原始农历一致)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
yuming
2026-06-02 14:19:14 +08:00
parent f0835726de
commit e643512dfa
6 changed files with 44 additions and 5 deletions
+5
View File
@@ -44,6 +44,11 @@
<text wx:if="{{item.isLunar}}" class="lunar-badge">农历</text>
</view>
<view class="anniversary-lunar">
<text class="lunar-icon">🌙</text>
<text class="lunar-text">{{item.lunarText}}</text>
</view>
<view wx:if="{{item.daysUntil !== undefined}}" class="days-info">
<text wx:if="{{item.daysUntil === 0}}" class="days-text urgent">今天</text>
<text wx:elif="{{item.daysUntil === 1}}" class="days-text warning">明天</text>