WeChat/js/common.js

(开头部分) 4KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

/**/
//搜索框
function switchSearch()
{
	var sbox = $("#eSearchBox");
	if (sbox.is(":hidden"))
	{
		//sbox.show();
		sbox.slideDown();
    }
	else
	{
		//sbox.hide();
        sbox.slideUp();
    }
};


 $(document).ready(function () {
       

        //$("#treebody").height($("#treebody").height() + "px");
        $("#treeparent").height($(".treeaside").height() + "px");

        $("#sidebody").height($("#sidebody").height() + "px");
        $("#sideparent").height(($(".ui-aside").height() - 59 - ($(".toolmenu") ? $(".toolmenu").height() : 0)) + "px");
        $("#pagebodyb").width($("#pagebodyb").width() + "px");
        $("#pagebodya").width($("#epage").width() + "px");
        var cur = $("#pagebodyb a.cur");
        if (cur.index() > 4) {
            $("#pagebodya").scrollLeft($("#pagebodyb a").eq(cur.index() - 4).get(0).offsetLeft);
        }

        $("#eSearchBox").css("top", "-10000px");
        $("#eSearchBox").css("display", "block");
        $(".eform .text").each(function (index, val) {
            var td = getParent(this, "td");			
            var ele = $(this);
			
			if(ele.parent().attr("etype")=="fileselect")	
			{
				ele.css("width", ($(td).width() - 56) + "px");
				return true;
			}
			if(ele.parent().parent().attr("etype")=="selinput")	
			{
				ele.css("width",  ($(td).width() - 25) + "px");
				return true;
			}
			if(ele.parent().attr("etype")=="searchselect")	
			{
				ele.css("width", "40px");
				return true;
			}
			if(ele.parent().attr("etype")=="dateregion"){
				ele.css("width", "100px");
				return true;
			}
			if(ele.parent().attr("etype")=="date"){
				ele.css("width", $(td).width() + "px");
后面还有 109 行代码,解锁后查看完整代码

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

AI 解读

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

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