代码拉取完成,页面将自动刷新
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>日历记事</title>
<link rel="stylesheet" href="./index.css">
</head>
<body>
<div class="text-container">
<div class="text-item">
<label for="forWhat" class="for-what-label">For:</label>
<input type="text" id="forWhat" class="for-what-input" placeholder="请输入主题">
</div>
<div class="text-item">
<span>上次违反日期:<span id="lastDate"></span></span>
</div>
<div class="text-item">
<span>距今已经:<span id="howManyDays"></span>天</span>
</div>
<div class="text-item">
<span>最长纪录:<span id="longestRecord"></span>天</span>
</div>
</div>
<div class="calendar-container">
<div class="calendar-controls-container">
<button class="left base-btn" id="prev">←</button>
<p class="now" id="selectedDay"></p>
<button class="right base-btn" id="next">→</button>
</div>
<div class="calendar-main" id="calendar">
<div class="calendar-row">
<div class="calendar-item">周日</div>
<div class="calendar-item">周一</div>
<div class="calendar-item">周二</div>
<div class="calendar-item">周三</div>
<div class="calendar-item">周四</div>
<div class="calendar-item">周五</div>
<div class="calendar-item">周六</div>
</div>
</div>
</div>
<div class="violate-container">
<button id="violate">违反</button>
</div>
</body>
<script src="./index.js" type="module"></script>
</html>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。