-
Notifications
You must be signed in to change notification settings - Fork 4
/
train-plan.html
108 lines (97 loc) · 2.34 KB
/
train-plan.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;
}
#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;
bottom: 50px;
}
#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;
}
nav span {
display: table-cell;
overflow: hidden;
width: 1%;
height: 50px;
text-align: center;
vertical-align: middle;
white-space: nowrap;
text-overflow: ellipsis;
color: #929292;
}
.mui-bar {
-webkit-box-shadow: 0 0 1px rgba(0, 0, 0, .3);
box-shadow: 0 0 1px rgba(0, 0, 0, .3);
}
</style>
</head>
<body>
<div class="mui-content">
<ul id="course-head">
<li>课程性质</li>
<li>最低学分要求</li>
</ul>
<div class="mui-scroll-wrapper">
<div class="mui-scroll" id="train-plan">
<script id="train-plan-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>
<nav class="mui-bar mui-bar-tab">
<span>最低毕业学分:</span>
<span id="totalCredit"></span>
</nav>
<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/train-plan.js"></script>
</body>
</html>