parent
7bdb25b43c
commit
df48e47b8e
@ -1,23 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>page</title>
|
||||
<script>
|
||||
// 当文档加载完成后执行
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
// 为整个文档添加点击事件监听器
|
||||
document.body.addEventListener('click', function(event) {
|
||||
// 阻止事件冒泡
|
||||
event.preventDefault();
|
||||
// 跳转到第二个页面
|
||||
window.location.href = 'log_in.html';
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<img src="E:/softwareengineer/work2/frontend/assets/d1.jpg" alt="描述性文字" style="width:100%; height:auto;">
|
||||
</body>
|
||||
</html>
|
Loading…
Reference in new issue