|
@@ -56,26 +56,26 @@ $(function() {
|
|
|
|
|
|
})
|
|
|
//筛选关闭和打开
|
|
|
- //根据cookie值设置筛选是否显示
|
|
|
- var rsw = localStorage.getItem("hideorshow");
|
|
|
- if(rsw!=null){
|
|
|
- if(rsw=="D"){
|
|
|
- $("#screenBtn").addClass("down");
|
|
|
- $(".searchTender").show();
|
|
|
- $('#fold').show()
|
|
|
- }else{
|
|
|
- $("#screenBtn").removeClass("down");
|
|
|
- $(".searchTender").hide();
|
|
|
- $('#fold').hide()
|
|
|
- }
|
|
|
- }
|
|
|
+ //根据cookie值设置筛选是否显示 移除该需求操作
|
|
|
+ // var rsw = localStorage.getItem("hideorshow");
|
|
|
+ // if(rsw!=null){
|
|
|
+ // if(rsw=="D"){
|
|
|
+ // $("#screenBtn").addClass("down");
|
|
|
+ // $(".searchTender").show();
|
|
|
+ // $('#fold').show()
|
|
|
+ // }else{
|
|
|
+ // $("#screenBtn").removeClass("down");
|
|
|
+ // $(".searchTender").hide();
|
|
|
+ // $('#fold').hide()
|
|
|
+ // }
|
|
|
+ // }
|
|
|
//记录用户刷选按钮状态
|
|
|
$("#screenBtn").click(function(){
|
|
|
if($(this).attr("class").indexOf("down")>0){
|
|
|
- localStorage.setItem("hideorshow", "D");
|
|
|
+ // localStorage.setItem("hideorshow", "D");
|
|
|
$('#fold').show()
|
|
|
}else{
|
|
|
- localStorage.setItem("hideorshow", "U");
|
|
|
+ // localStorage.setItem("hideorshow", "U");
|
|
|
$('#fold').hide()
|
|
|
}
|
|
|
})
|