-
Notifications
You must be signed in to change notification settings - Fork 4
/
score.html
108 lines (94 loc) · 2.12 KB
/
score.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
108
<!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;
}
#score-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;
}
#score-head li {
flex: 1;
}
#score-head li:first-child {
flex: 2;
}
#score-head li:nth-child(3) {
flex: 3;
}
.mui-scroll-wrapper {
top: 35px;
}
#score-lists {
padding: 10px;
font-size: 13px;
color: #8f8f94;
text-align: center;
}
#score-lists>li {
border-bottom: solid 1px #dce1de;
}
.score-list {
display: -webkit-flex;
display: flex;
padding: 15px 0;
}
.score-list li:first-child {
flex: 2;
}
.score-list li:nth-child(3) {
flex: 3;
}
.score-list li {
flex: 1;
}
</style>
</head>
<body>
<div class="mui-content">
<ul id="score-head">
<li>学年</li>
<li>学期</li>
<li>课程名称</li>
<li>学分</li>
<li>绩点</li>
<li>成绩</li>
</ul>
<div class="mui-scroll-wrapper">
<div class="mui-scroll" id="score">
<script id="score-tpl" type="text/html">
<ul id="score-lists">
{{each data as scoreList}}
<li>
<ul class="score-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/score.js"></script>
</body>
</html>