更新 test.html

master
wangsiyuan 2023-12-27 11:33:43 +08:00
parent ae52b1869c
commit 58e96145a3
1 changed files with 31 additions and 26 deletions

View File

@ -29,11 +29,13 @@
color: #fff; /* 白色文字 */ color: #fff; /* 白色文字 */
background-color: green; /* 已签到日期的背景色 */ background-color: green; /* 已签到日期的背景色 */
} }
#current-time { #current-time {
color: #333; color: #333;
margin-bottom: 15px; margin-bottom: 15px;
text-align: center; text-align: center;
} }
.reminder { .reminder {
margin-top: 20px; margin-top: 20px;
font-size: 16px; font-size: 16px;
@ -43,6 +45,7 @@
.calendar-table th { .calendar-table th {
background-color: #f2f2f2; background-color: #f2f2f2;
} }
.color-box { .color-box {
display: inline-block; display: inline-block;
width: 20px; width: 20px;
@ -57,6 +60,7 @@
</style> </style>
</head> </head>
<body> <body>
<div>
<!-- 动态显示当前时间的标题 --> <!-- 动态显示当前时间的标题 -->
<h1 id="current-time">当前时间: </h1> <h1 id="current-time">当前时间: </h1>
@ -87,6 +91,7 @@
</div> </div>
</div> </div>
<script src="//unpkg.com/layui@2.9.2/dist/layui.js"></script> <script src="//unpkg.com/layui@2.9.2/dist/layui.js"></script>
<script> <script>
layui.use(['layer'], function () { layui.use(['layer'], function () {