$(".qdlbiao").length && $.each($(".qdlbiao"), function(a, c) { a = $(c).find("li").length; var b = parseint(a / 5); a = 5 - (a - 5 * b); if (!(0 < a && 0 == a % 5)) for (b = 0; b < a; b++) $(c).append("
  • ") }); var domainwww = $("body").attr("data-domainwww"), domainstatic = $("body").attr("data-domainstatic"), zburl = domainwww + "get/index.php"; $(".search").click(function() { teamsnew() }); function teamsnew() { var a = $(".so_txt").val(); $.ajax({ url: zburl, cache: !1, type: "post", async: !1, datatype: "json", data: { act: 11, code: a }, success: function(c) { var b = c.data; 1 == c.status && (0 < b.length ? ($(".sslb").show().html(""), $.each(b, function(e, d) { e = "
  • " + d.shot_name + "
  • "; $(".sslb").append(e) })) : ($(".nodata").show(), settimeout(function() { $(".nodata").hide() }, 2e3))) }, error: function(c) {} }) } $(".sslb").on("click", "li", function() { $(".sslb").hide() }); $(".so_txt").keydown(function(a) { if (13 == a.keycode) return teamsnew(), !1 });