-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathm_index.html
140 lines (140 loc) · 3.05 KB
/
m_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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="stylesheet" type="text/css" href="lib/bootstrap.css">
<link rel="stylesheet" type="text/css" href="css/common.css">
<style>
article{
width: 375px !important;
margin: 0 auto;
}
.main-btn{
margin-left: 10px;
width: 30px;
height: 40px;
}
.task-area{
width: 210px;
margin: 90px auto;
}
.task-single{
display: inline-block;
overflow: hidden;
width: 100px;
height: 115px;
position: relative;
}
.task-btn{
width: 100px;
height: 115px;
}
.task-f{
position: absolute;
right: 0;
bottom: 10px;
width: 45px;
height: 45px;
}
.user-area{
overflow: hidden;
width: 325px;
margin: 0 auto;
}
.user-img{
width: 50px;
height: 50px;
float: left;
margin-left: 10px;
}
.user-level{
width: 220px;
margin-top: 5px;
margin-left: 70px;
font-size: 20px;
}
.progress{
height: 10px;
width: 245px;
margin-left: 70px;
}
footer{
width: 374px;
margin: 0 auto;
margin-top: 100px;
height: 42px;
text-align: center;
vertical-align: middle;
line-height: 40px;
font-size: 22px;
border-top: 1px solid #000;
box-shadow: 0px -0.1px 0.6px 0.5px #000;
}
#preview,#review{
float: left;
width: 50%;
}
#preview{
border-right: 1px solid black;
}
</style>
</head>
<body>
<article class="" >
<header><img class="main-btn" src="img/main.png" alt=""></header>
<section>
<div class="task-area">
<span class="task-single">
<img class="task-btn" src="img/icon1.png" alt="">
<img class="task-f" src="img/iconf.png" alt="">
</span>
<span class="task-single">
<img class="task-btn" src="img/icon2.png" alt="">
</span>
<span class="task-single">
<img class="task-btn" src="img/icon3.png" alt="">
</span>
<span class="task-single">
<img class="task-btn" src="img/icon4.png" alt="">
</span>
</div>
<div class="user-area">
<img class="user-img" src="img/user.png">
<div class="user-exp">
<div class="user-level">Lv.<span id="user-rank"></span></div>
<div class="progress">
<div class="progress-bar progress-bar-info" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100" style="width: 0%">
</div>
</div>
</div>
</div>
</section>
</article>
<footer>
<div id="preview">PREVIEW</div>
<div id="review">REVIEW</div>
</footer>
<script type="text/javascript" src="lib/jquery-2.1.4.min.js"></script>
<script type="text/javascript" src="js/common.js"></script>
<script>
$(function(){
getUserData();
getListData(0);
//updateWordList(2,1);
$("#review").click(function(){
window.location = "m_review.html";
});
$("#preview").click(function(){
if ( typeof(preview_id) != "undefined") {
window.location = "m_preview.html?id="+preview_id;
} else {
alert("单词已学习完毕");
}
});
});
</script>
</body>
</html>