forked from milkpotatoes/student-space
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·250 lines (245 loc) · 15.7 KB
/
index.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
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, shrink-to-fit=no" />
<link rel="stylesheet" href="css/mdui.min.css" />
<link rel="stylesheet" type="text/css" href="css/viewer.min.css" />
<link rel="stylesheet" href="css/style.css" />
<link rel="manifest" href="json/manifest.json" />
<link rel="shortcut icon" href="src/ic_launcher.png" type="image/x-icon">
<script src="js/viewer.min.js" type="text/javascript" charset="utf-8"></script>
<script src="js/base64.min.js"></script>
<script src="js/showdown.min.js" type="text/javascript" charset="utf-8"></script>
<title>学习空间 - 牛奶土豆</title>
<link rel="preload" href="src/Ultimate Material Lollipop Collection - 456.jpg" as="image">
</head>
<body class="mdui-appbar-with-toolbar mdui-theme-layout-auto mdui-drawer-body-left">
<header class="mdui-appbar mdui-appbar-fixed simple-appbar mdui-hidden">
<div class="mdui-toolbar mdui-color-theme"> <a href="javascript:;" onclick="window.history.back()"
class="mdui-btn mdui-btn-icon"><i class="mdui-icon material-icons">arrow_back</i></a> <span
class=" mdui-typo-title"></span> </div>
</header>
<div class="page-loading mdui-theme-layout-auto">
<div class="mdui-spinner page-loading-pgs"></div>
<div class="page-loading-appname">学习空间</div>
<div class="page-loading-version"></div>
</div> <!-- 登录界面 -->
<div class="main-container login" appbar="simple-appbar" page-title="学习空间 - 登录" scroll-hide="false"
back-up-btn="false" back-btn="false">
<div class="mdui-card-content mdui-center mdui-container">
<div class="mdui-textfield mdui-textfield-floating-label mdui-col-xs-12"> <i
class="mdui-icon material-icons">phone</i> <label class="mdui-textfield-label">手机号</label> <input
class="mdui-textfield-input" id="userCode" name="userCode" pattern="^1+[0-9]{10,10}$"
autocomplete="off" type="tel" />
<div class="mdui-textfield-error">手机号格式错误</div>
</div>
<div class="mdui-textfield mdui-textfield-floating-label mdui-col-xs-12 password-widget"> <i
class="mdui-icon material-icons">lock</i> <label class="mdui-textfield-label">密码</label> <input
class="mdui-textfield-input" id="password" type="password" name="password" /> </div>
<div class="mdui-textfield mdui-textfield-floating-label mdui-col-xs-8 sms-widget" style="display: none;">
<i class="mdui-icon material-icons">message</i> <label class="mdui-textfield-label">短信验证码</label> <input
class="mdui-textfield-input" id="smsCode" pattern="^[0-9]{1,6}$" type="tel" name="smscode" />
<div class="mdui-textfield-error">验证码格式错误</div>
</div> <button class="mdui-btn mdui-btn-raised mdui-color-theme-accent mdui-m-t-3 mdui-col-xs-4 sms-widget"
id="sendsms" type="button" style="display: none;">获取验证码</button>
<p class="mdui-typo mdui-col-xs-12" style="font-size: 16px;"><a id="login-type" class="login-sms"
href="javascript:void(0);">验证码登录/注册</a></p> <label class="mdui-checkbox"><input type="checkbox"
id="agree-rules-login" /><i class="mdui-checkbox-icon"></i>我已阅读并同意<a
class="show-page mdui-text-color-theme-accent" data="agreement">《学习空间用户条款》</a>、<a
class="show-page mdui-text-color-theme-accent" data="privacystatement">《学习空间隐私条款》</a></label>
<div class="mdui-col-xs-12"> <input type="submit" id="login-btn"
class="mdui-btn mdui-btn-raised mdui-color-theme-accent mdui-float-right" value="登录" /> </div>
</div>
</div>
<div class="main-container index" appbar="nonw" page-title="学习空间" back-up-btn="true">
<header class="mdui-appbar mdui-appbar-fixed">
<div class="mdui-toolbar mdui-color-theme"> <a href="javascript:;" class="mdui-btn mdui-btn-icon"
mdui-drawer="{target: '#drawer'}"><i class="mdui-icon material-icons">menu</i></a> <span
class="mdui-typo-title mdui-toolbar-spacer">学习空间</span> <a href="javascript:void(0);"
class="mdui-btn mdui-btn-icon show-page" data="unclaim" mdui-tooltip="{content: '未认领'}"> <i
class="mdui-icon material-icons notifications-icon">notifications_none</i> </a> </div>
</header>
<div class="mdui-drawer" id="drawer">
<div class="mdui-card-media">
<div class="background-card"
style="width: 100%; height: 196px; background-image: url('src/Ultimate%20Material%20Lollipop%20Collection%20-%20456.jpg'); background-repeat: no-repeat; background-size: 100% auto;">
</div>
<div class="mdui-card-primary mdui-list-item mdui-card-media-covered show-page userBasicInfo"
data="user">
<div class="mdui-list-item-avatar"><img class="userAvatar" /></div>
<div class="mdui-list-item-content ">
<div class="mdui-list-item-title nick-name"> </div>
<div class="mdui-list-item-summary userCode"></div>
</div>
</div>
</div>
<ul class="mdui-list">
<li class="mdui-list-item mdui-ripple mdui-slider-disabled widgets mdui-hidden"> <i
class="mdui-list-item-icon mdui-icon material-icons">widgets</i>
<div class="mdui-list-item-content">桌面小部件</div>
</li>
<li class="mdui-list-item mdui-ripple show-page mdui-hidden" data="settings"> <i
class="mdui-list-item-icon mdui-icon material-icons">settings</i>
<div class="mdui-list-item-content">设置</div>
</li>
<li class="mdui-list-item mdui-ripple show-page" data="help"> <i
class="mdui-list-item-icon mdui-icon material-icons">book</i>
<div class="mdui-list-item-content">帮助</div>
</li>
</li>
<li class="mdui-list-item mdui-ripple show-page" data="about"> <i
class="mdui-list-item-icon mdui-icon material-icons">send</i>
<div class="mdui-list-item-content">关于</div>
</li>
<li class="mdui-list-item mdui-ripple" onclick="logout()"> <i
class="mdui-list-item-icon mdui-icon material-icons">exit_to_app</i>
<div class="mdui-list-item-content">退出登录</div>
</li>
</ul>
</div>
<div class="main">
<ul class="mdui-list mdui-container mdui-center" id="examList">
<li></li>
</ul>
<div class="mdui-progress mdui-m-t-1 exam-item-pgs">
<div class="mdui-progress-indeterminate"></div>
</div>
</div>
</div>
<div class="main-container unclaim" appbar="simple-appbar" page-title="未认领考试" scroll-hide="false" back-up-btn="true"
back-btn="true">
<div class="main">
<ul class="mdui-list mdui-container mdui-center" id="unClaimExamList"> </ul>
<div class="mdui-typo mdui-hidden noUnclaimExam" style="text-align: center;"
mdui-dialog="{target: '#claimExam', history: false}"> 当前无未认领考试 </div>
<div class="mdui-progress mdui-m-t-1 exam-item-pgs">
<div class="mdui-progress-indeterminate"></div>
</div>
</div>
<div class="mdui-dialog" id="claimExam">
<div class="mdui-dialog-title">捐赠</div>
<div class="mdui-dialog-content"> <span class="mdui-typo"> 请选择属于本人的考试认领 </span>
<div class="mdui-panel examInfo" mdui-panel="{accordion: true}"> </div>
</div>
<div class="mdui-dialog-actions"> <button class="mdui-btn mdui-ripple" mdui-dialog-close>关闭</button> </div>
</div>
</div>
<div class="main-container exam" appbar="none" page-title="成绩详情" back-up-btn="true" back-btn="true">
<header class="mdui-appbar mdui-appbar-fixed mdui-appbar-scroll-toolbar-hide">
<div class="mdui-toolbar mdui-color-theme"> <a href="javascript:;" onclick="window.history.back()"
class="mdui-btn mdui-btn-icon"><i class="mdui-icon material-icons">arrow_back</i></a> <span
class=" mdui-typo-title">成绩详情</span> </div>
<div class="mdui-tab mdui-tab-scrollable mdui-tab-full-width mdui-color-white mdui-hidden mdui-p-l-1"
mdui-tab="{trigger:'click'}"></div>
</header>
<div class="main mdui-p-t-2">
<div class="mdui-progress mdui-m-t-1 exam-detail-pgs">
<div class="mdui-progress-indeterminate"></div>
</div>
</div>
</div>
<div class="main-container about" appbar="simple-appbar" page-title="关于" scroll-hide="false" back-up-btn="true"
back-btn="true">
<div class="mdui-container">
<div class="mdui-card mdui-m-t-2 mdui-hoverable"> <img class="mdui-img-circle mdui-center mdui-m-t-3 back"
src="src/ic_launcher.png" style="width: 154px;">
<div class="mdui-m-y-3 mdui-typo-title" style="width: 100%;text-align: center;"> <span
class="mdui-typo-title app-name">学习空间</span><br /> <span
class="mdui-subheader description">七天网络成绩查询</span> </div>
</div>
<ul class="mdui-list">
<li class="mdui-card mdui-m-t-1 mdui-hoverable mdui-list-item"> <i
class="mdui-list-item-icon mdui-icon material-icons">send</i>
<div class="mdui-list-item-content">
<div class="mdui-list-item-title">版本</div>
<div class="mdui-list-item-text mdui-list-item-one-line appVersion"></div>
</div>
</li>
<li class="mdui-subheader mdui-text-color-theme-accent import-list">引用库</li>
</ul>
</div>
</div>
<div class="main-container user" appbar="simple-appbar" page-title="我" scroll-hide="false" back-up-btn="true"
back-btn="true">
<div class="mdui-container">
<div class="mdui-card-media mdui-m-t-2 mdui-card">
<div class="background-card mdui-valign"
style="width: 100%; height: 218px; background-image: url('src/Ultimate%20Material%20Lollipop%20Collection%20-%20456.jpg'); background-repeat: no-repeat; background-size: 100% auto;">
<div class="user-avatar mdui-center"><img class="userAvatar" /></div>
</div>
<div class="mdui-card-primary mdui-card-media-covered mdui-p-y-0">
<div class="mdui-list-item-content userBasicInfo nick-name mdui-center"
style="text-align: center; font-size: 18px;"> </div>
</div>
</div>
<ul class="mdui-list">
<li class="mdui-subheader">用户信息</li>
<li class="mdui-card mdui-m-t-1 mdui-hoverable mdui-list-item"> <i
class="mdui-list-item-icon mdui-icon material-icons">account_circle</i>
<div class="mdui-list-item-content">
<div class="mdui-list-item-title">用户名</div>
<div class="mdui-list-item-text mdui-list-item-one-line nick-name"></div>
</div>
</li>
<li class="mdui-card mdui-m-t-1 mdui-hoverable mdui-list-item"> <i
class="mdui-list-item-icon mdui-icon material-icons">phone</i>
<div class="mdui-list-item-content">
<div class="mdui-list-item-title">手机号</div>
<div class="mdui-list-item-text mdui-list-item-one-line userCode"> </div>
</div>
</li>
<li class="mdui-card mdui-m-t-1 mdui-hoverable mdui-list-item"> <i
class="mdui-list-item-icon mdui-icon material-icons">location_on</i>
<div class="mdui-list-item-content">
<div class="mdui-list-item-title">所在区域</div>
<div class="mdui-list-item-text mdui-list-item-one-line city-area"></div>
</div>
</li>
<li class="mdui-subheader">用户信息</li>
<li class="mdui-card mdui-m-t-1 mdui-hoverable mdui-list-item"> <i
class="mdui-list-item-icon mdui-icon material-icons"></i>
<div class="mdui-list-item-content">
<div class="mdui-list-item-title">学生姓名</div>
<div class="mdui-list-item-text mdui-list-item-one-line student-name"></div>
</div>
</li>
<li class="mdui-card mdui-m-t-1 mdui-hoverable mdui-list-item"> <i
class="mdui-list-item-icon mdui-icon material-icons"></i>
<div class="mdui-list-item-content">
<div class="mdui-list-item-title">所在学校</div>
<div class="mdui-list-item-text mdui-list-item-one-line school-name"> </div>
</div>
</li>
<li class="mdui-card mdui-m-t-1 mdui-hoverable mdui-list-item"> <i
class="mdui-list-item-icon mdui-icon material-icons"></i>
<div class="mdui-list-item-content">
<div class="mdui-list-item-title">所在年级</div>
<div class="mdui-list-item-text mdui-list-item-one-line grade"></div>
</div>
</li>
</ul> <button
class="mdui-btn mdui-btn-block mdui-btn-raised mdui-color-theme-accent mdui-m-b-1 mdui-m-t-2 saveUserInfo"
disabled>保存</button>
</div>
</div>
<div class="main-container document help agreement privacystatement widgets" appbar="simple-appbar"
page-title="请稍后..."
data='{"help": {"title": "帮助", "data": "md/help.md"}, "agreement": {"title": "使用条款", "data": "md/agreement.md"}, "privacystatement": {"title": "隐私条款", "data": "md/privacystatement.md"}, "widgets": {"title": "桌面小部件", "data": "md/widgets.md"}}'
scroll-hide="true" back-up-btn="true" back-btn="true">
<div class="main mdui-p-t-2 mdui-container mdui-typo"> </div>
</div>
<div class="back-up-btn-box">
<button class="mdui-fab mdui-color-theme-accent mdui-ripple mdui-fab-fixed back-top mdui-hidden">
<i class="mdui-icon material-icons">keyboard_arrow_up</i>
</button>
</div>
<script type="text/javascript">
if ('serviceWorker' in navigator) {
navigator.serviceWorker.register("sw.js");
}
</script>
<script src="js/mdui.min.js"></script>
<script src="js/switch_device.js" type="text/javascript" charset="utf-8"></script>
</body>
</html>