portal html css js resource

myConsult.html 5.8KB

    <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <title>咨询-我的工作台-科袖网</title> <link rel="shortcut icon" type="image/x-icon" href="images/favicon.png" media="screen" /> <link type="text/css" href="css/bootstrap.min.css" rel="stylesheet"> <link type="text/css" href="css/reset.css" rel="stylesheet" /> <link type="text/css" href="css/common.css" rel="stylesheet"> <link type="text/css" href="css/workspace.css" rel="stylesheet"> <script type="text/javascript" src="js/jquery-1.11.1.js"></script> </head> <body> <!--头部--> <header id="header"> <script src="js/header.js"></script> </header> <!--中间--> <div id="container"> <div class="con-center"> <div class="workmenu"> <a href="workspaces.html" class="workmenutit">工作台</a> <a class="worksubmenu subcolor" id="gozixu">咨询</a> <a href="resourceList.html" class="worksubmenu " >资源</a> <a href="articalList.html" class="worksubmenu " >文章</a> <a class="worksubmenu" id="odemand">需求</a> </div> <div class="workcon"> <div class="workconitem consublock"> <div class="workcontit"> <a class="worksamlltit worksamlltit3 nohide" href="consult.html" style="display: none;">收到咨询</a> <a class="worksamlltit worksamlltit3 worksamlltitnow" href="myConsult.html">我的咨询</a> </div> <div class="worksubcon"> <div class="workmysrc workmysrc3" id="getReply"> <div class="workmenubox clearfix"> <form class="workmenufrm floatR"> <!-- <div class="workselectbox floatL replySelect" onclick="showSelect('replySelect','replyOption','tip')" > --> <div class="workselectbox floatL replySelect selcet1"> <input id="replySelectId" type="text" value="0" style="display:none;" /> <span id="showStatus2" class="workselectmenu" tip="0">全部</span> <div class="replyOption option1" style="display:none;"> <ul id="downbox" class="workdropdown"> <li class="workcurrent" tip="0">全部</li> <li class="" tip="1">待回复</li> <li class="" tip="2">进行中</li> <li class="" tip="3">被谢绝</li> <li class="" tip="5">待评价</li> </ul> </div> </div> <!-- <div class="workselectbox floatL timeType2" onclick="showSelect('timeType2','timeOption2','tim')"> --> <div class="workselectbox floatL timeType2 selcet2"> <input type="text" id="timeTypeId2" value="" style="display:none;"> <span id="showTimeSort2" class="workselectmenu" tim="1">按最后回复时间排序</span> <div class="timeOption2 option2" style="display:none;"> <ul id="downbox1" class="workdropdown workdropdown2"> <li class="" tim="0">按发起时间排序</li> <li class="workcurrent" tim="1">按最后回复时间排序</li> <li class="" tim="2">按完成时间排序</li> </ul> </div> </div> <input id="timeSortId2" type="text" value="0" style="display:none;"> <div class="workselectbox floatL"> <div class="orderedbtn" id="replyArrow"> <div></div> </div> </div> </form> </div> <div class="workselectcon" id="wode"> <div id="workContainer2"></div> <div class="tcdPageCode getReplyPage"></div> </div> </div> </div> </div> </div> </div> </div> <!--底部--> <footer> <script type="text/javascript" src="js/footer.js"></script> </footer> <script type="text/javascript" src="js/jquery.cookie.js"></script> <script type="text/javascript" src="js/jquery.similar.msgbox.js"></script> <script type="text/javascript" src="js/jquery.page.js"></script> <script type="text/javascript" src="js/common.js"></script> <script type="text/javascript" src="js/myConsult.js"></script> <script type="text/javascript"> //下拉菜单,点击选项和body,下拉菜单你消失 function selcet(i) { /* console.log($(".selcet"+i)); */ $(".selcet" + i).on('click', function(e) { var attrPa; var option = $(this).find(".option" + i); /* console.log(option); */ option .css("display", "block") .slideDown(); if($(this).find(".workselectmenu").attr('tip')) { attrPa = 'tip'; } if($(this).find(".workselectmenu").attr('tim')) { attrPa = 'tim'; }; var o_this = $(this); o_this.find("li").click(function() { option.slideUp(); /* console.log($(this)); */ o_this.find("li").removeClass("workcurrent"); $(this).addClass("workcurrent"); o_this.find("span").text($(this).text()); o_this.find("span").attr(attrPa, $(this).attr(attrPa)); /* $(this).find("span").attr(attrPa,$(this).attr(attrPa)); $(this).find("input").val($(this).attr(attrPa)); */ consultStatus = $("#consultSelectId").val(); //咨询状态值 timeType = $("#timeTypeId").val(); //时间类型值 sortType = $("#timeSortId").val(); //排序值; replyStatus = $("#replySelectId").val(); //回复状态值 timeType2 = $("#timeTypeId2").val(); //回复时间类型值 sortType2 = $("#timeSortId2").val(); //回复中 排序值; }); $("body").click(function(e) { if($(e.target)["0"] == $("#showStatus2")["0"]) { $(".select1").slideDown(); } else if($(e.target)["0"] == $("#showTimeSort2")["0"]) { $(".select2").slideDown(); } else if($(e.target)["0"] == $("#showStatus")["0"]) { $(".select3").slideDown(); } else if($(e.target)["0"] == $("#showTimeSort")["0"]) { $(".select4").slideDown(); } else { option.slideUp(); } }); }) }; selcet(1); selcet(2); /*...点击之后的下拉*/ $(".moreopert").click(function() { $(".moreopertbtn").eq($(".moreopert").index(this)).toggle(); }) </script> </body> </html>