Skip to content

Commit

Permalink
5-25
Browse files Browse the repository at this point in the history
  • Loading branch information
AJLoveChina committed May 25, 2016
1 parent fd4b643 commit da63b3c
Show file tree
Hide file tree
Showing 10 changed files with 149 additions and 67 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,7 @@ java_demo/Pengfu/WebRoot/ueditor
java_demo/Nigeerhuo Maven Webapp/src/main/webapp/static/
java_demo/Nigeerhuo Maven Webapp/src/com/baidu/ueditor
*.txt
*.gif
*.gif
*.rmvb
*.mp4
*.xml
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,6 @@ public static String getResponse(Config config) {
Map<String, String> params = config.getMap();



//HttpRequestBase request = null;


HttpResponse back = null;

StringBuffer result = new StringBuffer();
Expand Down
24 changes: 24 additions & 0 deletions java_demo/Graduation Maven Webapp/src/main/webapp/index.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
dataType : "json",
success : function (json) {
console.log(json);
dealJson(json);
map.enableScrollWheelZoom();
var resourcePoints = [];
for (var i = 0; i < json.data.lines.length; i++) {
Expand Down Expand Up @@ -134,6 +135,29 @@
map.addControl(top_left_navigation);
map.addControl(top_right_navigation);
}
function dealJson(json) {
var damagePoints = {};
for (var i = 0; i < json.data.lines.length; i++) {
var name = json.data.lines[i].points[1].name;
var get = damagePoints[name];
if (get) {
damagePoints[name] += parseInt(json.data.lines[i].info, 10);
} else {
damagePoints[name] = parseInt(json.data.lines[i].info, 10);
}
}
for (var i = 0; i < json.data.lines.length; i++) {
var name = json.data.lines[i].points[1].name;
if (damagePoints[name]) {
json.data.lines[i].points[1].name = name.replace(/\(\s?\d+\s?\)/, "( " + damagePoints[name] + " )");
}
}
}
</script>


Expand Down
87 changes: 25 additions & 62 deletions nigeerhuo/.idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

36 changes: 36 additions & 0 deletions nigeerhuo/video/local.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="UTF-8">
<title></title>
<style>
*{
margin: 0;
padding: 0;
}
html,body{
position: relative;
height: 100%;
}
.logo{
position: fixed;
z-index: 99;
top: 100px;left: 100px;
color: white;
}
</style>
</head>
<body>

<div class="logo">
二货TV
</div>


<embed
width="100%"
height="100%"
src="追逐繁星的孩子.mp4"></embed>

</body>
</html>
7 changes: 7 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
<h2>
2016-05-25
</h2>
<article>
5-25
</article>

<h2>
2016-05-22
</h2>
Expand Down
1 change: 1 addition & 0 deletions untitled/.idea/.name

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions untitled/.idea/untitled.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions untitled/demo.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
p{
color: lightblue;
}


p span{
color: lightcoral;
}
35 changes: 35 additions & 0 deletions untitled/demo.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<!DOCTYPE html>
<html>
<head>

<title>demo</title>

<meta charset="utf-8" />

<link rel="stylesheet" type="text/css" href="demo.css">


<script>
alert("tishi");


</script>

</head>

<body>
<img src="http://tmxgb.hfut.edu.cn/hfut_tumu/img/aj/img-roll/roll-1.jpg"/>

<p style="font-size: 20px;color: red;">zhe shi duanluo</p>

<p>123</p>

<a href="http://baidu.com">链接</a>

<p>duan luo
<span>duan luo2</span>
</p>


</body>
</html>

0 comments on commit da63b3c

Please sign in to comment.