Skip to content

Commit

Permalink
version3.8
Browse files Browse the repository at this point in the history
搜索去掉css
  • Loading branch information
Yurisa committed Sep 25, 2017
1 parent d1f5da9 commit 67c2518
Show file tree
Hide file tree
Showing 8 changed files with 47,678 additions and 27,861 deletions.
33,758 changes: 33,758 additions & 0 deletions Application/Runtime/Logs/Home/1506245052-17_09_24.log

Large diffs are not rendered by default.

41,765 changes: 13,912 additions & 27,853 deletions Application/Runtime/Logs/Home/17_09_24.log

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Uploads/img/201709/24/86058db7b7d612ba6db7dfad7633a484.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified Uploads/img/201709/24/b1acf4dd5bf8fcca64a9e7b014c78080.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion css/home.css
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
margin-left: 0;
}
.item {
max-height: 300px;
height: 250px;
border: 1px solid #ececec;
}
.img {
Expand Down
8 changes: 4 additions & 4 deletions js/personalCenter.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ $(document).ready(function () {
targetKeep: true,
precision:true, //是否包含小数
click: function(score, evt) {
alert('ID: ' + $(this).attr('id') + "\nscore: " + score + "\nevent: " + evt.type);
// alert('ID: ' + $(this).attr('id') + "\nscore: " + score + "\nevent: " + evt.type);
}
});
$('#function-demo2').raty({
Expand All @@ -180,7 +180,7 @@ $(document).ready(function () {
targetKeep: true,
precision:true, //是否包含小数
click: function(score, evt) {
alert('ID: ' + $(this).attr('id') + "\nscore: " + score + "\nevent: " + evt.type);
// alert('ID: ' + $(this).attr('id') + "\nscore: " + score + "\nevent: " + evt.type);
}
});
$('#function-demo3').raty({
Expand All @@ -199,7 +199,7 @@ $(document).ready(function () {
targetKeep: true,
precision:true, //是否包含小数
click: function(score, evt) {
alert('ID: ' + $(this).attr('id') + "\nscore: " + score + "\nevent: " + evt.type);
// alert('ID: ' + $(this).attr('id') + "\nscore: " + score + "\nevent: " + evt.type);
}
});
$('#function-demo4').raty({
Expand All @@ -218,7 +218,7 @@ $(document).ready(function () {
targetKeep: true,
precision:true, //是否包含小数
click: function(score, evt) {
alert('ID: ' + $(this).attr('id') + "\nscore: " + score + "\nevent: " + evt.type);
// alert('ID: ' + $(this).attr('id') + "\nscore: " + score + "\nevent: " + evt.type);
}
});
/**
Expand Down
6 changes: 3 additions & 3 deletions js/search.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ $(document).ready(function () {
if(type == 'humanities'){
$("#humanity ul").html("");
for( let m of menu){
$("#humanity ul").append($("<li><img src="+m.menu_imgurl+"><a href="+'culture.html?t_id='+m.t_id+'&type=humanities'+" style='width: 56%; height: 100px;line-height: 100px;float: right;color: #333333;font-size: 18px;font-weight: bold;text-align: left;'>"+m.menu_title+"</a></a><span style='width: 45%; float: left;color: #333333;font-size: 16px;text-align: left;margin-left: 50px;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;'>"+m.menu_content+"</span></li>"));
$("#humanity ul").append($("<li><img src="+m.menu_imgurl+"><a href="+'culture.html?t_id='+m.t_id+'&type=humanities'+" >"+m.menu_title+"</a></a><span style='width: 45%; float: left;color: #333333;font-size: 16px;text-align: left;margin-left: 50px;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;'>"+m.menu_content+"</span></li>"));
}
laypage({
cont: 'page2', //容器。值支持id名、原生dom对象,jquery对象。【如该容器为】:<div id="page1"></div>
Expand All @@ -94,7 +94,7 @@ $(document).ready(function () {
}else if(type == "diet"){
$("#diet ul").html("");
for(let m of menu){
$("#diet ul").append($("<li><img src="+m.menu_imgurl+"><a href="+'food.html?t_id='+m.t_id+'&type=diet'+" style='width: 56%;height: 100px;line-height: 100px;float: right;color: #333333;font-size: 18px;font-weight: bold;text-align: left;'>"+m.menu_title+"</a></a><span style='width: 45%; float: left;color: #333333;font-size: 16px;text-align: left;margin-left: 50px;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;'>"+m.menu_content+"</span></li>"));
$("#diet ul").append($("<li><img src="+m.menu_imgurl+"><a href="+'food.html?t_id='+m.t_id+'&type=diet'+" >"+m.menu_title+"</a></a><span style='width: 45%; float: left;color: #333333;font-size: 16px;text-align: left;margin-left: 50px;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;'>"+m.menu_content+"</span></li>"));
laypage({
cont: 'page3', //容器。值支持id名、原生dom对象,jquery对象。【如该容器为】:<div id="page1"></div>
pages: res.body.totalnum, //通过后台拿到的总页数
Expand All @@ -110,7 +110,7 @@ $(document).ready(function () {
}else if(type == "building"){
$("#building ul").html("");
for(let m of menu){
$("#building ul").append($("<li><img src="+m.menu_imgurl+"><a href="+'building.html?t_id='+m.t_id+'&type=building'+" style='width: 56%;height: 100px;line-height: 100px;float: right;color: #333333;font-size: 18px;font-weight: bold;text-align: left;'>"+m.menu_title+"</a></a><span style='width: 45%; float: left;color: #333333;font-size: 16px;text-align: left;margin-left: 50px;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;'>"+m.menu_content+"</span></li>"));
$("#building ul").append($("<li><img src="+m.menu_imgurl+"><a href="+'building.html?t_id='+m.t_id+'&type=building'+" >"+m.menu_title+"</a></a><span style='width: 45%; float: left;color: #333333;font-size: 16px;text-align: left;margin-left: 50px;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;'>"+m.menu_content+"</span></li>"));
laypage({
cont: 'page4', //容器。值支持id名、原生dom对象,jquery对象。【如该容器为】:<div id="page1"></div>
pages: res.body.totalnum, //通过后台拿到的总页数
Expand Down

0 comments on commit 67c2518

Please sign in to comment.