No Description

consult.html 7.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  1. <!-- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -->
  2. <!-- // 咨询-->
  3. <div class="workconitem consublock">
  4. <div class="workcontit">咨询<a class="worksamlltit worksamlltit3 worksamlltitnow" href="#getConsult">收到咨询</a><a class="worksamlltit worksamlltit3" href="#getReply">收到回复</a><!-- <span class="workset floatR">设置</span> --></div>
  5. <div class="worksubcon">
  6. <div class="workmysrc workmysrc3" id="getConsult" style="display:none;">
  7. <div class="workmenubox clearfix">
  8. <form class="workmenufrm floatR">
  9. <div class="workselectbox floatL consultSelect" onclick="showSelect('consultSelect','consultOption','tip')">
  10. <input type="text" id="consultSelectId" value="0" style="display:none;">
  11. <span id="" class="workselectmenu" tip="0">全部</span>
  12. <div class="consultOption" style="display:none;">
  13. <ul id="downbox" class="workdropdown" >
  14. <li class="workcurrent" tip="0">全部</li>
  15. <li class="" tip="1">进行中</li>
  16. <li class="" tip="2">待感谢</li>
  17. <li class="" tip="3">待评价</li>
  18. <li class="" tip="4">完成的</li>
  19. </ul>
  20. </div>
  21. </div>
  22. <div class="workselectbox floatL timeType" onclick="showSelect('timeType','timeOption','tim')">
  23. <input type="text" id="timeTypeId" value="0" style="display:none;">
  24. <span id="" class="workselectmenu" tim="0">按发起时间排序</span>
  25. <div class="timeOption" style="display:none;">
  26. <ul id="downbox1" class="workdropdown workdropdown2" >
  27. <li tim="0" class="cur workcurrent">按发起时间排序</li>
  28. <li tim="1" class="cur">按最后回复时间排序</li>
  29. <li tim="2" class="cur">按完成时间排序</li>
  30. </ul>
  31. </div>
  32. </div>
  33. <input id="timeSortId" type="text" value="0" style="display:none;">
  34. <div class="workselectbox floatL">
  35. <div class="orderedbtn"><div></div></div>
  36. </div>
  37. </form>
  38. </div>
  39. <div class="workselectcon" id="workContainer">
  40. <div class="tcdPageCode"><span class="disabled">上一页</span><span class="current">1</span><a href="javascript:;" class="tcdNumber">2</a><a href="javascript:;" class="tcdNumber">3</a><a href="javascript:;" class="tcdNumber">4</a><span>...</span><a href="javascript:;" class="tcdNumber">26</a><a href="javascript:;" class="nextPage">下一页</a></div>
  41. </div>
  42. </div>
  43. <div class="workmysrc workmysrc3" id="getReply" style="display: none; ">
  44. <div class="workmenubox clearfix">
  45. <form class="workmenufrm floatR">
  46. <div class="workselectbox floatL replySelect" onclick="showSelect('replySelect','replyOption','tip')" >
  47. <input id="replySelectId" type="text" value="0" style ="display:none;"/>
  48. <span id="" class="workselectmenu" tip="0">全部</span>
  49. <div class="replyOption" style="display:none;">
  50. <ul id="downbox" class="workdropdown" >
  51. <li class=" workcurrent" tip="0">全部</li>
  52. <li class="" tip="1">进行中</li>
  53. <li class="" tip="2">待感谢</li>
  54. <li class="" tip="3">待评价</li>
  55. <li class="" tip="4">完成的</li>
  56. </ul>
  57. </div>
  58. </div>
  59. <div class="workselectbox floatL timeType2" onclick="showSelect('timeType2','timeOption2','tim')">
  60. <input type="text" id="timeTypeId2" value="0" style ="display:none;">
  61. <span id="" class="workselectmenu" tim="0">按发起时间排序</span>
  62. <div class="timeOption2" style="display:none;">
  63. <ul id="downbox1" class="workdropdown workdropdown2">
  64. <li class=" workcurrent" tim="0">按发起时间排序</li>
  65. <li class="" tim="1">按最后回复时间排序</li>
  66. <li class="" tim="2">按完成时间排序</li>
  67. </ul>
  68. </div>
  69. </div>
  70. <input id="timeSortId2" type="text" value="0" style ="display:none;">
  71. <div class="workselectbox floatL">
  72. <div class="orderedbtn" id="replyArrow"><div></div></div>
  73. </div>
  74. </form>
  75. </div>
  76. <div class="workselectcon" id="workContainer2">
  77. <div class="tcdPageCode"><a href="javascript:;" class="disabled">上一页</a><span class="current">1</span><a href="javascript:;" class="tcdNumber">2</a><a href="javascript:;" class="tcdNumber">3</a><a href="javascript:;" class="tcdNumber">4</a><span>...</span><a href="javascript:;" class="tcdNumber">26</a><a href="javascript:;" class="nextPage">下一页</a></div>
  78. </div>
  79. </div>
  80. </div>
  81. </div>
  82. <!-- 咨询 // -->
  83. <!-- <script type="text/javascript" src="js/consultFlat.js"></script> -->
  84. <script type="text/javascript">
  85. /*对话列表和对话框的切换*/
  86. /* $(".workconitem").on("click",".replybtn",function(){
  87. $.ajax({
  88. "url":"diloags.html",
  89. "dataType":"html",
  90. "success":function(result){
  91. //console.log(data);
  92. $(".workcon").html(result);
  93. //调取页面成功后,根据咨询id ajax
  94. $.ajax({
  95. "url" : "/ajax/consult",
  96. "type" : "get",
  97. //传值:
  98. "data" : "",
  99. "contentType" : "application/x-www-form-urlencoded",
  100. "success" : function(response) {
  101. console.log(response);
  102. },
  103. "complete":function(){
  104. },
  105. "beforeSend":function(){console.log(this.data)},
  106. "dataType" : "json"
  107. });
  108. }
  109. });
  110. }) */
  111. /* $(".workconitem").on("click",".replybtn",function(){
  112. alert($(this).attr("id"));
  113. $.ajax({
  114. "url":"diloags.html",
  115. "dataType":"html",
  116. "success":function(result){
  117. //console.log(data);
  118. $(".workcon").html(result);
  119. }
  120. })
  121. }) */
  122. /*...点击之后的下拉*/
  123. $(".moreopert").click(function(){
  124. $(".moreopertbtn").eq($(".moreopert").index(this)).toggle();
  125. })
  126. /*筛选条件选中之后的状态*/
  127. /* $(".workdropdown li").click(function(){
  128. var index = $(this).index();
  129. $(this).addClass("workcurrent").siblings().removeClass("workcurrent");
  130. });
  131. function $$$$$(_sId){
  132. return document.getElementById(_sId);
  133. }
  134. function hide(_sId){
  135. $$$$$(_sId).style.display = $$$$$(_sId).style.display == "none" ? "" : "none";
  136. }
  137. function pick(v) {
  138. $('#showbox').text(v);
  139. hide('downbox');
  140. }
  141. function pick1(v) {
  142. $('#showbox1').text(v);
  143. hide('downbox1');
  144. } */
  145. /*咨询菜单点击切换*/
  146. /* $(".worksamlltit3").click(function(){
  147. var index = $(this).index();
  148. $(this).addClass("worksamlltitnow").siblings().removeClass("worksamlltitnow");
  149. $(".workmysrc3").eq(index).show().siblings().hide();
  150. }); */
  151. </script>