在设置里的代码处,页脚处的位置添加代码即可。 <div id="timer"></div> <script> function startTimer(fromDate, element) { function update() { const now = new Date(