1/* ----- ä¾§è¾¹æ¬æµ® ---- */ 2$(document).on("mouseenter", ".suspension .a", function () { 3 var _this = $(this); 4 var s = $(".suspension"); 5 var isService = _this.hasClass("a-service"); 6 var isServicePhone = _this.hasClass("a-service-phone"); 7 var isQrcode = _this.hasClass("a-qrcode"); 8 if (isService) { 9 s.find(".d-service").show().siblings(".d").hide(); 10 } 11 if (isServicePhone) { 12 s.find(".d-service-phone").show().siblings(".d").hide(); 13 } 14 if (isQrcode) { 15 s.find(".d-qrcode").show().siblings(".d").hide(); 16 } 17}); 18$(document).on("mouseleave", ".suspension, .suspension .a-top", function () { 19 $(".suspension").find(".d").hide(); 20}); 21$(document).on("mouseenter", ".suspension .a-top", function () { 22 $(".suspension").find(".d").hide(); 23}); 24$(document).on("click", ".suspension .a-top", function () { 25 $("html,body").animate({ 26 scrollTop: 0 27 }); 28}); 29$(window).scroll(function () { 30 var st = $(document).scrollTop(); 31 var $top = $(".suspension .a-top"); 32 if (st > 400) { 33 $top.css({ 34 display: 'block' 35 }); 36 } else { 37 if ($top.is(":visible")) { 38 $top.hide(); 39 } 40 } 41});
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.