-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathtest_myself.html
86 lines (84 loc) · 2.93 KB
/
test_myself.html
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no,viewport-fit=cover">
<title>本人检测</title>
<link rel="stylesheet" href="css/base.css" type="text/css">
<link rel="stylesheet" href="css/personal.css" type="text/css">
<link rel="stylesheet" href="css/bg.css" type="text/css">
<script src="js/jquery-1.12.4.min.js"></script>
<script src="js/login_base.js"></script>
</head>
<body>
<div class="page-hd">
<span class="icon-back">
<a href="test-reservation.html">
<img src="img/back.png" alt="" />
</a>
</span>
本人检测
</div>
<div class="tm-form-box">
<div class="form-box">
<div class="form-tips">
请选择检测类型
</div>
<form action="">
<div class="form-item">
<label for="type-check-01" class="type-check">
<input type="radio" name="type-check" id="type-check-01" checked>
<i class="iconfont active"></i>
<span>医护上门</span>
</label>
</div>
<div class="form-item">
<label for="type-check-02" class="type-check">
<input type="radio" name="type-check" id="type-check-02" >
<i class="iconfont"></i>
<span>到定点采血中心</span>
</label>
</div>
<div class="form-item">
<label for="type-check-03" class="type-check">
<input type="radio" name="type-check" id="type-check-03" >
<i class="iconfont"></i>
<span>自采/集采</span>
</label>
</div>
</form>
</div>
</div>
<div class="tr-next-icon">
<div class="next-icon">
<img src="img/next.png" alt="">
</div>
</div>
<script>
$(function () {
//选中状态切换
$(".type-check").on("click",function () {
$(".type-check").find(".iconfont").removeClass("active");
$(this).find(".iconfont").addClass("active");
});
//跳转
$(".next-icon").on("click",function () {
var $rdInput1=$("#type-check-01");
var $rdInput2=$("#type-check-02");
var $rdInput3=$("#type-check-03");
var value_1=$rdInput1[0].checked;
var value_2=$rdInput2[0].checked;
var value_3=$rdInput3[0].checked;
if (value_1){
location.assign("test_myself_to_door.html");
}else if(value_2){
location.assign("test_myself_fixed_point.html");
}else if (value_3){
location.assign("test_application_form_01.html");
}
});
});
</script>
</body>
</html>