获取最大高度

function ResizeAll() {
        var $box = $('.works-box .item');
        $box.css({
            "height": "auto"
        });
        $box.height(Math.max.apply(null, $box.map(function () {
            return $(this).height();
        })));
    }