1$(document).ready(function () { 2 3 4 if ($(window).width() < 415) { 5 $("#header .user-cont").click(function (e) { 6 e.stopPropagation(); 7 if ($(this).find(".user").is(":hidden")) { 8 $(this).find(".user").show(); 9 } else { 10 $(this).find(".user").hide(); 11 12 } 13 }); 14 $("#header .user").click(function (e) { 15 e.stopPropagation(); 16 }); 17 $(document).click(function () { 18 $("#header .user").hide(); 19 }); 20 21 $("#nav").on("touchmove",function(e){ 22 e.stopPropagation(); 23 }) 24 25 } else { 26 27 //é¡¶é¨äºç»´ç 28 $(".app-cont .icon2").mouseover(function () { 29 $(this).find("span").show(); 30 }).mouseout(function () { 31 $(this).find("span").hide(); 32 }); 33 34 //ç¨æ·ä¿¡æ¯ 35 $(".user-cont").mouseover(function () { 36 $(this).find(".user").show(); 37 }).mouseout(function () { 38 $(this).find(".user").hide(); 39 }); 40 41 //å¯¼èª 42 $('#nav>li').mouseover(function () { 43 $(this).children('ul').show(); 44 }).mouseout(function () { 45 $(this).children('ul').hide(); 46 }); 47 $('#nav>li,#header .user a,#nav .nav-l a').mouseover(function () { 48 $(this).addClass('hover'); 49 }).mouseout(function () { 50 $(this).removeClass('hover'); 51 }); 52 } 53}); 54 55
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.