src/mvc/admin/Bootstrap.Admin/wwwroot/js/error.js

(完整代码) 518B

$(function () {
    $.fn.extend({
        autoCenter: function () {
            var that = this;
            var getHeight = function () {
                return Math.max(0, ($(window).height() - that.outerHeight()) / 2 + $(document).scrollTop());
            };
            $(window).resize(function () {
                that.css({ marginTop: getHeight() });
            });
            that.css({ marginTop: getHeight(), transition: "all .5s linear" });
        }
    });
    $('.error-wrapper').autoCenter();
});

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

AI 解读

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

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