WebSite/Scripts/JS/Default.js

(开头部分) 8KB

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

$(document).ready(function () {
    if (document.cookie.indexOf('tcwl_remember') >= 0) {
        var co = document.cookie.substring(document.cookie.indexOf('tcwl_remember')).split(";")[0];
        if (co != null) {
            var times = co.split("=")[4];
            if (times == "1") {
                var username = co.split("=")[2].split("&")[0];
                var password = co.split("=")[3].split("&")[0];
                $("#userName").val(username);
                $("#passWord").val(password);
                $("#rememberme").attr("checked", true);
            }
        }
    }

    $("#userName").on('input', function (e) {
        $("#passWord").val('');
    });

    $('#ft').height($(window).height() - 697);
    if ($(window).height() - 697 <= 60) {
        $('#ft').height(70);
    }
    $('html').bind('keydown', function (e) {
        var ev = document.all ? window.event : e;
        if (ev.keyCode == 13) {
            Login();
        }
    });

    $(window).resize(function () {
        if ($(window).height() - 697 <= 60) {
            $('#ft').height(70);
            return;
        }
        $('#ft').height($(window).height() - 697);

    });
    $('#userName').bind('focus', function (e) {
        $(this).parent().css({ 'z-index': 10 });
        $(this).parent().addClass('lg-txt-active');

    });
    $('#userName').bind('blur', function (e) {
        $(this).parent().removeAttr('style');
        $(this).parent().removeClass('lg-txt-active');

    });

    $('#passWord').bind('focus', function (e) {
        $(this).parent().css({ 'z-index': 10 });
        $(this).parent().addClass('lg-pwd-active');

    });
    $('#passWord').bind('blur', function (e) {
        $(this).parent().removeAttr('style');
        $(this).parent().removeClass('lg-pwd-active');

    });
    $('#checkword').bind('focus', function (e) {
后面还有 154 行代码,购买后查看完整代码

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

AI 解读 AI

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

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