Pages_main.js 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. /**
  2. /*大屏
  3. */
  4. $(function (){
  5. //导航
  6. $(".nav_contentbox").mouseenter(function(){
  7. $(this).children(".nav_popoutoutbox").stop(true,true).slideDown();
  8. }).mouseleave(function(){
  9. $(this).children(".nav_popoutoutbox").slideUp();
  10. })
  11. //左侧登录
  12. $(".direct_login_box").click(function(){
  13. $(this).addClass("direct_login_box_cur").siblings().removeClass("direct_login_box_cur")
  14. })
  15. //物流企业查询
  16. $(".sch_chose_outbox").mouseleave(function(){
  17. $(".sch_chose_outbox").removeClass("sch_enterprise_outbox_cr");
  18. })
  19. $(".sch_chsfct_btn").click(function(){
  20. $(".sch_chose_outbox").addClass("sch_enterprise_outbox_cr");
  21. $(".sch_chose_msg_cs").show();
  22. })
  23. $(".sch_chose_msg").click(function(){
  24. $(this).show().siblings().hide();
  25. })
  26. //汽车租赁
  27. $(".chs_oftype").click(function(){
  28. $(this).addClass("chs_oftype_on").siblings().removeClass("chs_oftype_on")
  29. })
  30. $(".forbid_chain_cg").click(function(){
  31. $(".forbid_chain_cg").hide();
  32. $(".if_cs01").addClass("forbid_chain_hcg");
  33. $(".if_cs02").removeClass("forbid_chain_hcg");
  34. })
  35. //统计分析
  36. $(".Lef_analysis_titbox").click(function(){
  37. $(this).addClass("Lef_analysis_titbox_in").siblings().removeClass("Lef_analysis_titbox_in");
  38. })
  39. $(".lef_analysis_titfuc02").click(function(){
  40. $(this).hide();
  41. $(this).siblings().show();
  42. $(this).parent().parent().siblings().slideUp();
  43. })
  44. $(".lef_analysis_titfuc01").click(function(){
  45. $(this).hide();
  46. $(this).siblings().show();
  47. $(this).parent().parent().siblings().slideDown();
  48. })
  49. })