Web/VIPCenter/VIPClud/analysis.min.js

(完整代码) 9KB

function versions() { var i = window.navigator && navigator.userAgent || ""; return /^1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\    -m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o    |ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)    |hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|k    yo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p    1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phi    l|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|s    e(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\    -|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g     |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte|xiaomi|meizhou|mobile|miui\-/i.test(i) } $(function () { function i() { var i = {}, e = null, t = [], n = "", a = "", o = ""; if (n = location.search.length > 0 ? location.search.substr(1) : "") { t = n.split("&"); for (var s = 0; s < t.length; s++) e = t[s].split("="), a = decodeURIComponent(e[0]), o = decodeURIComponent(decodeURIComponent(e[1])), i[a] = o } return i } function e(i) { var e = ("string" == typeof i ? i : "") || location.href, t = /\/(?![^?]*\/)([^?#]+)(?=\?|$)/, n = []; return e.match(t) ? (n = e.match(t)[1].split("."), n.length > 0 ? n : void 0) : void 0 } function t() { var i = -1; $("#search_key").on({ keyup: function (e) { var t = $.trim($(this).val()), n = encodeURIComponent(t), o = e.keyCode, s = 0, r = ["#result_lib", "#recommend_lib"], l = $(r[0]); t || (i = -1, l.html($(r[1]).html()), l.show(), $(r[1]).hide()), 38 !== o && 40 !== o && 13 !== o ? ($("#recommend_lib").hide(), $.ajax({ url: "http://www.baidu.com/item/suggest.json?key=" + n, type: "GET", dataType: "jsonp", jsonp: "callback", success: function (e) { var t = "", n = e.length || 0; if (i = -1, l.find(".on").removeClass("on"), n) { for (var a = 0; n > a; a++) t += '<li><div class="search-item">' + e[a].key + "</div></li>"; t += '<li class="close_result">关闭</li>', l.html(t).show() } } })) : (s = l.find("li").length, l.find(".on").length && (i = l.find(".on").index()), i = a(l, i, o, s)) }, focusin: function () { var i = $(this).val(); i.length || $("#recommend_lib").show() } }) } $("#toolbar_bg .kf_phone").hover(function () { var i = '<div class="kf_time">工作日:9:00-22:00<br/>节假日:9:00-18:00</div>'; $(this).after(i) }, function () { $(this).next(".kf_time").remove() }), $(".secondary_menu").parent("li").on({ mouseenter: function () { $(this).find(".secondary_menu").show(), $(this).find(".insurance_icon").removeClass("fold").addClass("unfold") }, mouseleave: function () { $(this).find(".secondary_menu").hide(), $(this).find(".insurance_icon").removeClass("unfold").addClass("fold") } }), $("#search_key").each(function () { var t = $(this), n = t.siblings(".placeholder"), a = function () { var a = e(); if (a && "html" === a[1] && "search" === a[0]) { var o = i(); o.q && (n.hide(), t.val(decodeURIComponent(o.q))) } }; return a(), t.focus(function () { n.hide() }).blur(function () { var i = $.trim(t.val()), e = n.text(); ("" === i || i === e) && (t.val(""), n.show()) }).trigger("blur"), !1 }); var n = { blur: function (i, e) { i.find("li:eq(" + e + ")").removeClass("on") }, focus: function (i, e) { var t = i.find("li:eq(" + e + ")"); i.find("li:eq(" + e + ")").addClass("on"), $("#search_key").val(t.text()) } }, a = function (i, e, t, a) { return 38 === t && (n.blur(i, e), e = 0 >= e ? a - 2 : e - 1, n.focus(i, e)), 40 === t && (n.blur(i, e), e = e === a - 2 ? 0 : e + 1, n.focus(i, e)), 13 === t && $(".search_btn").trigger("click"), e }; t(), App_Down.init(), $(".header_extra").mouseleave(function (i) { setTimeout(function (i) { $("#result_lib").hide().html(""), $("#recommend_lib").hide() }, 1e3) }), $(".dropdown_list").on("mouseenter", "li", function () { var i = $(this); isCloseTrigger = i.hasClass("close_result"), isCloseTrigger || (i.siblings("li").removeClass("on"), i.addClass("on"), $(".search_key").val(i.text()), _$index = i.index()) }).on("mouseleave", "li", function () { $(this).removeClass("on") }).on("click", "li", function () { var i = $(this).hasClass("close_result"), e = $(this).hasClass("suggest_link"); if (i || e) { if (e) return; $(this).parent(".dropdown_list").html("").hide() } else $("#search_key").val($(this).text()), $(".search_btn").trigger("click") }), $("#menu .classify").each(function () { var i = $(this), e = $(".classify_tit", i), t = $(".classifyCon", i), n = $("i", e); return e.click(function () { t.is(":hidden") ? (t.show(), n.html("&nbsp;-")) : (t.hide(), n.html("+")) }), i.mouseleave(function () { t.hide(), n.html("+") }), !1 }), $(".okhqb_feed").click(function () { var i; $(".feedback").length > 0 ? i = $(".feedback").html() : (i = '<div class="help_offer_1 cfix">', i += '<textarea name="inquiry_remark" cols="" rows="" id="inquiry_remark" style="color: rgb(204, 204, 204);">请输入您对我们网站有什么意见或建议,您的反馈将帮助我们更好的为您服务!</textarea>', i += '<input type="text" style="color: rgb(204, 204, 204);" name="inquiry_email" id="inquiry_email" value="请您填写您的邮箱" class="w_e_mail" placeholder="请您填写您的邮箱">', i += '<input class="help_tijiao" id="u_inquiry_submit" name="" value=""></div>'), art.dialog({ id: "__feed", title: "意见反馈", content: i, ok: !1, noFn: !0 }) }), $("#inquiry_remark").live({ focus: function () { "请输入您对我们网站有什么意见或建议,您的反馈将帮助我们更好的为您服务!" == $(this).val() && $(this).val("") }, blur: function () { "" == $(this).val() && $(this).val("请输入您对我们网站有什么意见或建议,您的反馈将帮助我们更好的为您服务!") } }), $("#inquiry_email").live({ focus: function () { "请您填写您的邮箱" == $(this).val() && $(this).val("") }, blur: function () { "" == $(this).val() && $(this).val("请您填写您的邮箱") } }), $("#u_inquiry_submit").live("click", function () { var i = $("#inquiry_remark").val(), e = $("#inquiry_email").val(), t = /^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/; "" == i || "请输入您对我们网站有什么意见或建议,您的反馈将帮助我们更好的为您服务!" == i ? art.dialog({ title: "提示", content: "请填写您要反馈的信息!", icon: "warning", time: 2 }) : i.length > 255 ? art.dialog({ title: "提示", content: "反馈信息超过规定长度,请整理后重新提交!", icon: "warning", time: 2 }) : "" === e || e === $("#inquiry_email")[0].defaultValue ? art.dialog({ title: "提示", content: "为了及时解决您反馈的意见或建议,请填写您的邮箱!", icon: "warning", time: 2 }) : t.test(e) ? $.ajax({ url: "http://www.baidu.com/help/save", type: "post", dataType: "json", data: { url: window.location.href, inquiry_remark: i, inquiry_email: e }, beforeSubmit: function () { $("#u_inquiry_submit").attr("disabled", "disabled") }, success: function (i) { return 1 == i.status ? (art.dialog({ title: "提示", content: i.data, icon: "succeed", time: 2 }), art.dialog.get("__feed").close(), !1) : (art.dialog({ title: "提示", content: i.data, icon: "warning", time: 2 }), !1) } }) : art.dialog({ title: "提示", content: "邮箱格式填写错误,请填写您的正确邮箱!", icon: "warning", time: 2 }) }) }), function (i) { i.fn.changeTab = function (e) { var t = { tabMenu: ".tabMenu", tabBox: ".tabBox", sClass: "cur", eType: "mouseover" }, n = i.extend({}, t, e); return this.each(function () { var e = i(this), t = i(n.tabMenu, e).children(), a = i(n.tabBox, e); t.each(function (e) { var t = i(this); t.bind(n.eType, function () { return t.addClass(n.sClass).siblings().removeClass(n.sClass), a.hide().eq(e).show(), !1 }), t.hasClass(n.sClass) && a.hide().eq(e).show() }) }) } }(jQuery), function (i, e) { "function" != typeof Array.indexOf && (Array.prototype.indexOf = function (i) { for (var e = -1, t = 0, n = this.length; n > t; t++) if (this[t] === i) { e = t; break } return e }, Array.prototype.lastIndexOf = function (i) { for (var e = -1, t = this.length - 1; t >= 0; t--) if (this[t] === i) { e = t; break } return e }); var t = { init: function () { this.setup() }, setup: function () { var i, t = e(".J-app-down"), n = ["p", "dt", "h1", "h2", "h3", "h4", "h5", "h6"], a = "", o = ""; t.length && (t.each(function () { var i = e(this); a = -1 !== n.indexOf(i.parent()[0].nodeName.toLowerCase()) ? e('<span class="app-down-wrap"/>') : '<div class="app-down-wrap"/>', i.wrap(a) }), i = e(".app-down-wrap"), o = '<span class="app-down-expanded">	<img width="98" height="98" src="http://s.hqbcdn.com/assets/v4/images/newindex/app_down.jpg" alt="app download" />随时逛 及时购</span>', i.append(o), this.$wrapEle = i, this.eventAction()) }, eventAction: function () { function i(i, e) { var t = (i.outerWidth() - e.outerWidth()) / 2, n = e.outerHeight(); return { left: t, top: n } } var t = this.$wrapEle; t.on("hover.app.down", function (t) { var n = e(this).find(".app-down-expanded"), a = e(this)[0].fixPos; (!a || e.isEmptyObject(a)) && (a = e(this)[0].fixPos = i(n, n.prev(".J-app-down"))), n.css({ left: -a.left, top: a.top }), n.toggle() }) } }; i.App_Down = t }(window, jQuery);

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。