-
Notifications
You must be signed in to change notification settings - Fork 4
/
failed-course.html
107 lines (95 loc) · 2.25 KB
/
failed-course.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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
<title></title>
<link href="css/mui.min.css" rel="stylesheet" />
<link href="css/common.css" rel="stylesheet" />
<style>
.mui-content {
font-size: 14px;
}
#course-head {
display: -webkit-flex;
display: flex;
height: 35px;
line-height: 35px;
padding: 0 10px;
box-shadow: 1px 1px 1px #dce1de;
text-align: center;
color: #03aa6c;
}
.mui-scroll-wrapper {
top: 35px;
}
#course-lists {
padding: 10px;
font-size: 13px;
color: #8f8f94;
text-align: center;
}
#course-lists>li {
border-bottom: solid 1px #dce1de;
}
.course-list {
display: -webkit-flex;
display: flex;
padding: 15px 0;
}
.course-list li,
#course-head li {
-webkit-flex: 1;
flex: 1;
}
.course-list li:nth-child(3),
#course-head li:nth-child(3) {
-webkit-flex: 3;
flex: 3;
}
.course-list li:nth-child(2),
#course-head li:nth-child(2) {
-webkit-flex: 2;
flex: 2;
}
.course-list li:first-child,
#course-head li:first-child {
-webkit-flex: 2;
flex: 2;
}
</style>
</head>
<body>
<div class="mui-content">
<ul id="course-head">
<li>课程代码</li>
<li>课程名称</li>
<li>课程性质</li>
<li>学分</li>
<li>成绩</li>
</ul>
<div class="mui-scroll-wrapper">
<div class="mui-scroll" id="failed-course">
<script id="failed-course-tpl" type="text/html">
<ul id="course-lists">
{{each data as scoreList}}
<li>
<ul class="course-list">
{{each scoreList as item}}
<li>{{item}}</li>
{{/each}}
</ul>
</li>
{{/each}}
</ul>
</script>
</div>
</div>
</div>
<script src="vendor/mui.min.js"></script>
<script src="vendor/zepto.min.js"></script>
<script src="vendor/template.js"></script>
<script src="js/common.js"></script>
<script src="js/failed-course.js"></script>
</body>
</html>