first.html
2.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>产品页</title>
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
<link rel="stylesheet" type="text/css" href="css/common.css">
<link rel="stylesheet" type="text/css" href="css/first.css">
<script src="js/base.js"></script>
<script src="js/jquery.min.js"></script>
</head>
<body>
<div class="container">
<div class="home_container">
</div>
<!--设置Onclick样式-->
<div class="download_container" style="display:block">
<div class="download_container_main">
<!--关闭图标-->
<div class="download_container_main_close" >
<img src="images/close_pic.png" id="btn_close">
</div>
<!--设置input框-->
<div class="download_container_main_input">
<input type="text" placeholder="请输入手机号或名字">
</div>
<!--设置登录-->
<div class="download_container_main_btn" >
<div class="download_container_main_btn_register " onclick="btn_next()" >
<a href="#">登录</a>
</div>
</div>
</div>
</div>
</div>
<script type="text/javascript">
$(function () {
// 遮罩层 以及 内容
$(".btn_box_a").click(function(){
$(".download_container").css("display","block")
$(this).css("background","#CCCCCC")
})
$("#btn_close").click(function () {
$(".download_container").css("display",'none')
$(".btn_box_a").css("background","#0A84D9")
})
//------------------------------------
// $("#btn_sub").click(function () {
// $(".download_container_main_btn_register").css("display","block")
// $(this).css("background","#CCCCCC")
// })
// $("#btn_sub").click(function () {
// $(".download_container_main_btn_register").css("display","block")
// $(this).css("background","#0A84D9")
// })
});
function btn_next() {
window.location.href = "wtfk.html";
}
</script>
</body>
</html>