-
Notifications
You must be signed in to change notification settings - Fork 0
/
tag_check.html
124 lines (120 loc) · 4.21 KB
/
tag_check.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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>知识点错误统计</title>
<link href="css/mui.min.css" rel="stylesheet" />
<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">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<link rel="stylesheet" href="css/mui.min.css">
<!--App自定义的css-->
<link rel="stylesheet" type="text/css" href="css/app.css"/>
<link rel="stylesheet" type="text/css" href="css/iconfont.css"/>
<script type="text/javascript" src="js/jquery-3.2.1.min.js"></script>
<script src="js/mui.min.js"></script>
<script src="js/tool.js"></script>
<style>
body{
background-color:#F3F3F3;
}
.topper
{
background-color:#29c4b5;
font-size: 35px;
margin:0;
margin-bottom: 1%;
padding-top: 0.3px;
padding-bottom: 0.3px;
text-align: center;
font-weight:bold;
color:#FFFFFF;
}
.user_img{
padding-left: 20px;
padding-top: 0.1px;
padding-bottom:0.1px;;
margin-top: 3%;
background-color: #FFFFFF;
font-size: 50px;
}
.img{
margin-top: 10%;
margin-left: 5%;
}
#jiaru{
height: 50px;
}
#login-form{
margin-top: 3%;
}
.oa-contact-name1{
font-size: 15px;
}
</style>
</head>
<body>
<header class="mui-bar mui-bar-nav ">
<a class="mui-icon mui-icon-arrowleft" id="back"></a>
<h1 class="mui-title">知识点错误统计</h1>
</header>
<nav class="mui-bar mui-bar-tab">
<a class="mui-tab-item " href="t_test.html">
<span class="mui-icon iconfont icon-ceshi"></span>
<span class="mui-tab-label">测试</span>
</a>
<a class="mui-tab-item" href="t_tiku.html">
<span class="mui-icon mui-icon-email"></span>
<span class="mui-tab-label">题库</span>
</a>
<a class="mui-tab-item" href="t_banji.html">
<span class="mui-icon mui-icon-contact"></span>
<span class="mui-tab-label">班级</span>
</a>
<a class="mui-tab-item" href="t_user.html">
<span class="mui-icon mui-icon-gear"></span>
<span class="mui-tab-label">我</span>
</a>
</nav>
<div class="mui-content">
<ul class="mui-table-view mui-table-view-striped mui-table-view-condensed " id="out">
</ul>
</div>
</body>
<script type="text/JavaScript" src="https://cdn.goeasy.io/goeasy.js"></script>
<script>
mui.init({
swipeBack:true //启用右滑关闭功能
});
mui('body').on('tap','a',function(){document.location.href=this.href;});
(function($,doc){
var userid = GetUseridCookie().get("userid");
if(userid==undefined){
alert("登录过期,请重新登录!");
javascript:window.location.href="login.html"
}
var tag=UrlParm.parm('tag');
var number=UrlParm.parm('number');
var testid=UrlParm.parm("testid");
var title=UrlParm.parm("title");
var use_paperid=UrlParm.parm("use_paperid");
document.getElementById('back').href='new_t_datijiguo.html?testid='+testid+'&title='+title+'&use_paperid='+use_paperid;
var t_tag=[];
var t_number=[];
t_tag=tag.split('@@');
t_number=number.split('@@');
jQuery.noConflict();
for(var i=0;i<t_number.length-1;i++)
{
out=document.getElementById('out');
var li = document.createElement('li');
//alert(t_number[i].substring(0,t_number[i].indexOf('.')+3));
li.className="mui-table-view mui-table-view-striped mui-table-view-condensed";
li.innerHTML='<div style="width:64%;height:60px;float:left;text-align:center;font-size:20px;background-color:#FAFAFA;padding:20px;">'+
t_tag[i]+'</div><div style="width:36%;height:60px;float:right;text-align:center;font-size:20px;background-color:#F2F2F2;padding:10px;">'+
'<h4 style="height:100%;text-align:center;padding:5px;">'+(parseFloat(t_number[i])*100).toFixed(2)+'%</h4></div>';
out.appendChild(li);
}
}(mui.document));
</script>
</html>