You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

53 lines
1.5 KiB

<%--
Created by IntelliJ IDEA.
User: 10295
Date: 2018/4/15
Time: 22:43
To change this template use File | Settings | File Templates.
--%>
<%@ page pageEncoding="utf-8"%>
<%@ page isELIgnored="false"%> <!--支持EL表达式,不设的话,EL表达式不会解析-->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="1029559041@qq.com">
<title>WebCrawler</title>
<!-- Bootstrap Core CSS -->
<link href="/webjars/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet">
<!-- Custom Fonts -->
<link href="/webjars/font-awesome/5.0.13/web-fonts-with-css/css/fontawesome-all.min-jsf.css" rel="stylesheet" type="text/css">
<!-- jQuery -->
<script src="/webjars/jquery/3.3.1-1/jquery.min.js"></script>
<%--<script src="/webjars/bootstrap/4.1.0/js/bootstrap.min.js"></script>--%>
<script src="/webjars/bootstrap/4.1.1/js/bootstrap.bundle.min.js"></script>
<script src="/webjars/jquery-tmpl/beta1.0.0/jquery.tmpl.min.js"></script>
<script>
$.fn.serializeJson = function() {
var arr = this.serializeArray();
var json = {};
arr.forEach(function(item) {
var name = item.name;
var value = item.value;
if (!json[name]) {
json[name] = value;
} else if ($.isArray(json[name])) {
json[name].push(value);
} else {
json[name] = [json[name], value];
}
});
return json;
}
</script>
<![endif]-->