     $("#screenDimension").val(window.screen.width + '*' + window.screen.height);
        } catch (e) {
        }
    }

    $(document).keydown(function (e) {
        // 回车键事件
        if (e.which === 13) {
            $('input[type="button"]').click();
        }
    });

    //加密
    function rsaEncrypt(publicKey, pwd) {
        var encrypt = new JSEncrypt();
        encrypt.setPublicKey(publicKey);
        return encrypt.encrypt(pwd);
    }

    var open = 0;
    layui.use("layer", function 