|
@@ -79,7 +79,7 @@
|
|
|
</div>
|
|
|
<link href="/static/css/lockScreen.css" rel="stylesheet">
|
|
|
<script src="/static/js/jquery.min.js?v=2.1.4"></script>
|
|
|
-<script src="/static/js/common/Feng.js"></script>
|
|
|
+<script src="/static/js/common/Feng.js?v=20250103"></script>
|
|
|
<style type="text/css">
|
|
|
.dbsx{
|
|
|
line-height: 12px;
|
|
@@ -230,13 +230,13 @@
|
|
|
listenTime();
|
|
|
}
|
|
|
function listenTime() {
|
|
|
- var body = document.querySelector('html');
|
|
|
- body.addEventListener("click",restTime);
|
|
|
- body.addEventListener("keyup",restTime);
|
|
|
- body.addEventListener("keypress",restTime);
|
|
|
- body.addEventListener("keydown",restTime);
|
|
|
- body.addEventListener("mousemove",restTime);
|
|
|
- body.addEventListener("mousewheel",restTime);
|
|
|
+ var body = document.querySelector('html');
|
|
|
+ Feng.addEvent(body, "click", restTime);
|
|
|
+ Feng.addEvent(body, "keyup", restTime);
|
|
|
+ Feng.addEvent(body, "keypress", restTime);
|
|
|
+ Feng.addEvent(body, "keydown", restTime);
|
|
|
+ Feng.addEvent(body, "mousemove", restTime);
|
|
|
+ Feng.addEvent(body, "mousewheel", restTime);
|
|
|
}
|
|
|
function restTime(){
|
|
|
if (task!=null){
|