💘 恋爱纪念日计时器 💘

✨ 我们已经相爱 00 个月 0
🎉 下次纪念日还有 0
💞 累计 0 个心动日夜

❤️ 甜蜜进度条 ██████████<span style="color:transparent">████</span> 87%

📅 重要日期:
初遇0天 · 初吻0天 · 同居0

🌟 每一天都是新的浪漫开始

这是一个图床测试😊

1
2
3
4
5
6
7
8
# 💖 我们的恋爱纪念日 💖

## 🌸 **甜蜜时光** 🌸

```diff
+ 相遇的第 <span id="days-together">0</span> 天
! 已经相爱 <span id="years-together">0</span> 年 <span id="months-together">0</span> 个月 <span id="days-in-love">0</span> 天
# 下次纪念日还有 <span id="countdown">0</span> 天

📅 重要日期

事件 日期 倒计时
初遇日 2020-03-14 0天
第一次约会 2020-03-21 0天
周年纪念 每年-03-14 0天

💌 心动时刻

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// 恋爱时间计算器
function updateLoveTime() {
const startDate = new Date("2020-03-14"); // 修改为你们的纪念日
const now = new Date();

// 总天数计算
const daysTogether = Math.floor((now - startDate) / (1000 * 60 * 60 * 24));

// 年/月/日计算
const years = now.getFullYear() - startDate.getFullYear();
const months = (years * 12) + now.getMonth() - startDate.getMonth();
const daysInMonth = now.getDate() - startDate.getDate();

// 下次周年纪念
const nextAnniversary = new Date(now.getFullYear(), startDate.getMonth(), startDate.getDate());
if (now > nextAnniversary) {
nextAnniversary.setFullYear(nextAnniversary.getFullYear() + 1);
}
const countdown = Math.ceil((nextAnniversary - now) / (1000 * 60 * 60 * 24));

// 更新显示
document.getElementById('days-together').textContent = daysTogether;
document.getElementById('years-together').textContent = years;
document.getElementById('months-together').textContent = months;
document.getElementById('days-in-love').textContent = daysInMonth;
document.getElementById('countdown').textContent = countdown;

// 其他日期计算...
}

updateLoveTime();
setInterval(updateLoveTime, 86400000); // 每天更新

💘 浪漫进度条

恋爱温度计
热度:██████████████ 85%

甜蜜值 ❤️:██████████████ 92%

✨ 每一天都比昨天更爱你 ✨

1
2
3
4
5
6
7
8
9
10

### 使用说明:
1. 将代码中的日期`2020-03-14`替换为你们实际的纪念日
2. 在支持HTML/JS的Markdown编辑器/网站中使用(如GitHub Pages、Obsidian等)
3. 如需纯静态版本,可以手动计算后更新数字

### 效果增强建议:
- 添加你们的合照(`![photo](url)`
- 增加更多纪念事件(第一次旅行、求婚日等)
- 添加爱心符号装饰(`♥️ ❤️ 💑 💏`

c------------------- -------------------

倒计时 ⏳

重要事件倒计时

  • 再见: 天后
  • 生日 天后
  • 项目截止 天后

测试. 哈哈哈 再一次测试

( っ’-')╮ =͟͟͞͞🏀

可惜呀 图床功能不行了🥰

https://yyimg.yanguk.top/imgcyy/24/10/Screenshot_20240922_193749_com.ss.android.ugc.aweme_edit_18834509224533_e0c32e99cfb2ae0ba377f54cdcc5d9e3.jpg

https://img.yanguk.top/file/b789b4ef3d1a817434854.png

https://img.yanguk.top/file/16a796e19c8133ff9e53c.jpg

1