CINXE.COM
南京大学电子邮件系统
<!DOCTYPE html> <html> <head> <meta charset="gb2312" /> <meta name="renderer" content="webkit" /> <meta name="force-rendering" content="webkit" /> <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" /> <link rel="shortcut icon" href="/cgi-bin/viewfile?type=skin&domain=&f=14217A43806E5DEC7C3E247D1A7B9962B5EF2618FCB46DBA12BF8D5BA65ED0F43FE336F5073EB51C&skin_modtime=1571126206" type="image/x-icon" /> <meta content="always" name="referrer" /> <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" /> <title>南京大学电子邮件系统</title> <style type="text/css"> body, ol, ul, h1, h2, h3, h4, h5, h6, p, th, td, dl, dd, form, fieldset, legend, input, textarea, select { margin: 0; padding: 0 } body { font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; } * { font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, PingFang SC, Microsoft YaHei, Source Han Sans SC, Noto Sans CJK SC, WenQuanYi Micro Hei, sans-serif; } #ClCache { display: none } select::-ms-expand { display: none; } a { text-decoration: none } li { list-style: none } img { border: 0; vertical-align: top } p { word-wrap: break-word } .Pad_Top { padding-top: 0.1px; } .Ver_top { vertical-align: top; } .fl { float: left; } .fr { float: right; } .cls { clear: both; } i { text-decoration: none; } .none { display: none; } .block { display: block; } .inlineblock { display: inline-block; } .clear { clear: both; } /* li加点 list-style-type:disc */ body { width: 100%; height: 100%; margin-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; background-image: url(/cgi-bin/viewfile?type=skin&domain=&f=14217A43806E5DEC7C3E247D1A7B9962B5EF2618FCB46DBAAD74CBCE92E4F6B1&skin_modtime=1571126206); background-repeat: no-repeat; background-position: center top; background-size: cover; overflow: hidden; } #top_bg { background-position: top center; background-size: 100%; } #bottom_bg { background-position: bottom center; background-size: 100%; } .yhdls { width: 758px; height: 586px; background-size: 100%; text-align: center; } .yhdl_ewm { width: 270px; height: 541px; background-color: rgba(255, 255, 255, 0.7); float: right; border-top-right-radius: 25px; border-bottom-right-radius: 25px; margin-top: 2px; } #qr_con { width: 200px; height: 200px; margin-top: 55%; } .smdl { font-size: 18px; } iframe { width: 150px; height: 200px !important; border: 0px; margin-top: 150px; } .yhdl { width: 488px; height: 568px; background: url(/cgi-bin/viewfile?type=skin&domain=&f=14217A43806E5DEC7C3E247D1A7B9962B5EF2618FCB46DBA2BEB45708EDA179D8F0889C07F304419&skin_modtime=1571126206) no-repeat; float: left; } .dl1 { background: url(/cgi-bin/viewfile?type=skin&domain=&f=14217A43806E5DEC7C3E247D1A7B9962B5EF2618FCB46DBAF18278DDDFE57014213C560DDF80A6BC&skin_modtime=1571126206) no-repeat; background-size: 100%; background-position: bottom center; width: 351px; height: 49px; /* margin-top: 30px; */ margin-top: 32px; font-size: 0; text-align: left; } .dl2 { background: url(/cgi-bin/viewfile?type=skin&domain=&f=14217A43806E5DEC7C3E247D1A7B9962B5EF2618FCB46DBAAF7F3BEC73F348BD213C560DDF80A6BC&skin_modtime=1571126206) no-repeat; background-size: 100%; background-position: bottom center; width: 351px; height: 49px; margin-top: 20px; } #tit01 { height: 114px; line-height: 114px; background-repeat: no-repeat; background-position: left left; color: #ffffff; font-size: 26px; font-weight: bold; float: left; margin-left: 275px; } .yhdl-dl { width: 351px; height: 427px; margin: auto; position: relative; } .xy { width: 100px; height: 100px; position: absolute; top: -20px; right: -160px; } #tit02 { color: #333333; font-size: 20px; line-height: 20px; font-weight: normal; text-align: center; /* margin-top: 28px; */ margin-top: 32px; font-weight: bold; } .bottom_line { width: 47px; height: 2px; background-color: #9c199a; /* margin: 12px auto 4px; */ margin: 8px auto 4px; } .uninput { width: 146px; height: 49px; border: none; font-size: 16px; line-height: 49px; vertical-align: middle; margin-top: 0px; margin-left: 40px; outline: 0; color: #333333; background: none; } .yminput { width: 162px; height: 40px; padding-right: 0px; border: none; font-size: 16px; line-height: 40px; vertical-align: middle; text-align: left; background-position: right top; appearance: none; -moz-appearance: none; -webkit-appearance: none; outline: 0; color: #454545; margin-top: 0px; background: none; cursor: pointer; } .ppinput { width: 311px; height: 49px; line-height: 49px; background: none; border: none; font-size: 16px; outline: 0; margin-top: 0px; margin-left: 40px; color: #333333; } .uninput::input-placeholder, .ppinput::input-placeholder { font-size: 14px; color: #bbbbbb; color: rgba(187, 187, 187, 0.7); letter-spacing: 1px; } .uninput::-webkit-placeholder, .ppinput::-webkit-placeholder { font-size: 14px; color: #bbbbbb; color: rgba(187, 187, 187, 0.7); letter-spacing: 1px; } .uninput::-ms-input-placeholder, .ppinput::-ms-input-placeholder { font-size: 14px; color: #bbbbbb; color: rgba(187, 187, 187, 0.7); letter-spacing: 1px; } .uninput::-webkit-input-placeholder, .ppinput::-webkit-input-placeholder { font-size: 14px; color: #bbbbbb; color: rgba(187, 187, 187, 0.7); letter-spacing: 1px; } .loginbutton { font-size: 20px; border: none; width: 351px; height: 49px; text-align: center; cursor: pointer; font-weight: normal; color: #ffffff; background-position: left -120; background-color: #9c199a; border-radius: 5px; outline: 0; line-height: 49px; } .cntoen { width: 140px; height: 31px; border: none; cursor: hand; outline: 0; cursor: pointer; } .entocn { width: 140px; height: 31px; border: none; cursor: hand; outline: 0; cursor: pointer; } #message { color: red; font-size: 12px; position: absolute; z-index: 100; width: 100px; left: 50%; margin-left: -50px; } #uin { font-size: 16px; } #pp { font-size: 16px; } #verify { margin-top: 15px; } #tit03 { color: #666666; /* color: #b89069; */ font-size: 14px; margin-top: 20px; line-height: 14px; } #verifycode { width: 80px; height: 26px; vertical-align: middle; } #tit05 { color: black; font-size: 14px; line-height: 14px; margin-right: 10px; float: left; float: left; } #tit0s5 { color: black; font-size: 14px; line-height: 14px; margin-right: 10px; float: left; } .logo { float: left; margin: 40px 0 0 60px; width: 100%; } .logo img { width: 240px; } .c, .e { width: 70px; font-size: 16px; /* height: 31px; line-height: 31px;*/ height: 28px; line-height: 28px; text-align: center; } .c { border-top-left-radius: 5px; border-bottom-left-radius: 5px; } .e { border-top-right-radius: 5px; border-bottom-right-radius: 5px; } /* 20200608 Gu */ .cntoen .c { background-color: #cdaf60; color: white; } .cntoen .e { background-color: #e9e0d8; color: #cea330; } .entocn .c { background-color: #e9e0d8; color: #cea330; } .entocn .e { background-color: #cdaf60; color: white; } /* .cntoen .c{ background-color: #960e8e; color: white; } .cntoen .e{ background-color: #efe6f2; color: #960e8e; } .entocn .c{ background-color: #efe6f2; color: #960e8e; } .entocn .e{ background-color: #960e8e; color: white; }*/ .fp1 { margin-top: 12px; float: left; width: 100%; } .fp2 { margin-top: 22px; float: right; } .dl { margin-top: 20px } /*20200608 Gu*/ #beian_tag { width: 100%; position: absolute; bottom: 0; left: 0; color: #cdcdcd !important; padding-bottom: 15px; text-decoration: none !important; } /* 1440px */ @media screen and (max-width: 1441px) and (min-width:1024px) { .yhdls { height: 390px; width: 614px; position: absolute; top: 50%; left: 50%; transform: translateX(-50%) translateY(-50%); -ms-transform: translateX(-50%) translateY(-50%); -moz-transform: translateX(-50%) translateY(-50%); -webkit-transform: translateX(-50%) translateY(-50%); -o-transform: translateX(-50%) translateY(-50%); } iframe { width: 200px; height: 180px !important; border: 0px; margin-top: 90px; } .yhdl_ewm { height: 385px; width: 264px; } #qr_con { margin-top: 34%; } .smdl { font-size: 16px; } .logo { margin: 35px 0 0 50px; } .yhdl { width: 363px; /* height: 407px; */ height: 390px; border-radius: 3px; background: url(/cgi-bin/viewfile?type=skin&domain=&f=14217A43806E5DEC7C3E247D1A7B9962B5EF2618FCB46DBA2BEB45708EDA179D8F0889C07F304419&skin_modtime=1571126206) no-repeat; background-size: 100%; position: absolute; z-index: 100; text-align: center; } #tit01 { height: 86px; color: #ffffff; font-size: 19px; font-weight: bold; margin-left: 200px; line-height: 86px; } .yhdl-dl { width: 264px; height: 320px; margin: auto; position: relative; } .xy { width: 100px; height: 100px; position: absolute; top: 0px; right: -130px; } .xy img { width: 80px; } #tit02 { color: #333333; font-size: 15px; text-align: center; margin-top: 15px; } .bottom_line { width: 35px; /* margin: 7px auto 4px */ ; margin: 4px auto; } .dl1 { background: url(/cgi-bin/viewfile?type=skin&domain=&f=14217A43806E5DEC7C3E247D1A7B9962B5EF2618FCB46DBAF18278DDDFE57014213C560DDF80A6BC&skin_modtime=1571126206) no-repeat; background-size: 100%; background-position: bottom center; width: 263px; height: 36px; /* margin-top: 22px; */ margin-top: 16px; } .dl2 { background: url(/cgi-bin/viewfile?type=skin&domain=&f=14217A43806E5DEC7C3E247D1A7B9962B5EF2618FCB46DBAAF7F3BEC73F348BD213C560DDF80A6BC&skin_modtime=1571126206) no-repeat; background-size: 100%; background-position: bottom center; width: 263px; height: 36px; margin-top: 10px; } .uninput { width: 110px; height: 36px; border: none; font-size: 12px; line-height: 36px; vertical-align: middle; padding-left: 0px; margin-top: 0px; margin-left: 30px; outline: 0; } .yminput { width: 120px; height: 36px; border: none; font-size: 12px; line-height: 36px; vertical-align: middle; text-align: left; background-position: right top; appearance: none; -moz-appearance: none; -webkit-appearance: none; outline: 0; margin-top: -2px; background: none; cursor: pointer; } .ppinput { width: 231px; height: 36px; border: none; font-size: 12px; line-height: 36px; padding-left: 0px; outline: 0; margin-left: 30px; } #tit03 { font-size: 12px; margin-top: 10px; } #tit05 { font-size: 12px; } .loginbutton { font-size: 15px; border: none; width: 263px; height: 36px; text-align: center; cursor: pointer; color: #ffffff; background: #9c199a; border-radius: 5px; outline: 0; line-height: 36px; } .cntoen { width: 106px; height: 24px; border: none; cursor: hand; outline: 0; cursor: pointer; } .c, .e { width: 53px; font-size: 12px; /* height: 24px; line-height: 24px; */ height: 20px; line-height: 20px; text-align: center; } .entocn { width: 106px; height: 24px; border: none; cursor: hand; outline: 0; cursor: pointer; } #uin { font-size: 12px !important; } #pp { font-size: 12px !important; } /* 20200609 Gu */ input::-webkit-input-placeholder { font-size: 12px !important; ; } .fp1 { margin-top: 15px; } .fp2 { margin-top: 15px; } #verify { margin-top: 10px } .dl { margin-top: 15px } } @media screen and (max-width: 750px) { .yhdls { width: 100%; } .yhdl_ewm { border-top-left-radius: 25px; border-top-right-radius: 25px; width: 90%; margin: 0 auto; } } </style> <!--[if IE 8]> <![endif]--> <script type="text/javascript" src="https://rescdn.qqmail.com/bizmail/zh_CN/htmledition/js_biz/lib/jquery/jquery-1.11.0.min37fecf.js"> </script> <script type="text/javascript"> $(function() { $(window).resize(function() { height = $(window).height(); $("#top_bg").height(height); $("#bottom_bg").height(height); width = $(window).width(); $("#top_bg").width(width); $("#bottom_bg").width(width); }).trigger("resize"); // 20200608 Gu var issafariBrowser = /Safari/.test(navigator.userAgent) && !/Chrome/.test(navigator.userAgent); var swidth = $(window).width(); if (issafariBrowser && swidth <= 1440) { $("#uin").css({ "line-height": "14px" }) $("#pp").css({ "line-height": "14px" }) } else if (issafariBrowser && swidth > 1440) { $("#uin").css({ "line-height": "20px" }) $("#pp").css({ "line-height": "20px" }) } }); </script> </head> <body> <a class="logo"> <img src="/cgi-bin/viewfile?type=skin&domain=&f=14217A43806E5DEC7C3E247D1A7B9962B5EF2618FCB46DBADB9331551DDF213DE0C4D19B27436ABD&skin_modtime=1571126206" alt=""> </a> <form> <div id="bottom_bg"> <center id=top_bg> <div class="yhdls"> <div class="yhdl"> <div id="tit01"> 电子邮件系统 </div> <div class="clear"></div> <div class="yhdl-dl Pad_Top"> <div class="xy none"> </div> <div id="tit02"> 用户登录 </div> <div class="bottom_line"></div> <!-- 消息提示框,必需 --> <div id="message" align="center"></div> <div align="center" class="dl1"> <input type="text" id="uin" name="uin" class="uninput" tabindex="1" placeholder="请输入您的账号" /> <select id="ymsele" onchange="setnewd();" class="yminput"> <option value="1">@nju.edu.cn</option> <option value="2">@smail.nju.edu.cn</option> </select> <span style="display:none;"> <input type="text" id="ymshow" name="ymshow" class="yminput" value="" readonly /> <input type="text" id="nowver" value="cn" readonly /> </span> </div> <div align="center" class="dl2"> <input type="password" id="pp" name="pp" class="ppinput" tabindex="2" placeholder="请输入您的密码" /> </div> <div id="verify" align="center" style="display:none"> <input type="text" id="verifycode" name="verifycode" /> <img id="verifyimage" /> </div> <div id="tit03" align="left"> · 遵守法律法规,请勿发送涉密信息 </div> <div class="clear"></div> <div align="center" class="dl"> <input id="tit04" type="submit" value=" 点击登录 " class="loginbutton" tabindex="3" /> </div> <div class="fp2"> <div class="cntoen" onclick="changever(this);"> <div class="fl c">中文</div> <div class="fr e">English</div> <div class="clear"></div> </div> <!-- <input type="button" value=" " class="cntoen" onclick="changever(this);" /> --> </div> <div class="fp1"> <a id="tit05" href=" https://itsc.nju.edu.cn/e7/42/c21422a583490/page.htm">忘记密码?</a> <a id="tit0s5" href="https://itsc.nju.edu.cn/96/2e/c21475a497198/page.htm">常见问题</a> </div> </div> </div> <div class="yhdl_ewm"> <iframe src="/qy_mng_logic/wwlogin/login_qrcode" scrolling="no" id="iframe"></iframe> <div class="smdl">微信扫码登录</div> </div> </div> <script type="text/javascript"> function SetCookie(name, value) { var Days = 30; //此 cookie 將被保存30天 var exp = new Date(); //new Date("December 31, 9998"); exp.setTime(exp.getTime() + Days * 24 * 60 * 60 * 1000); document.cookie = name + "=" + escape(value) + ";expires=" + exp.toGMTString(); } function getCookie(name) { var arr = document.cookie.match(new RegExp("(^| )" + name + "=([^;]*)(;|$)")); if (arr != null) return unescape(arr[2]); return null; } function changever(tbtn) { var nv = document.getElementById("nowver").value; var tv = "en"; if (nv == "en") { tv = "cn"; tbtn.className = "cntoen"; document.getElementById("tit01").innerHTML = "电子邮件系统"; document.getElementById("tit02").innerHTML = "用户登录"; document.getElementById("tit03").innerHTML = "·遵守法律法规,请勿发送涉密信息"; document.getElementById("tit04").value = "点击登录"; document.getElementById("tit05").innerHTML = "忘记密码?"; document.getElementById("tit0s5").innerHTML = "常见问题"; document.getElementById("uin").setAttribute("placeholder", "请输入您的账号"); document.getElementById("pp").setAttribute("placeholder", "请输入您的密码"); } else { tbtn.className = "entocn"; document.getElementById("tit01").innerHTML = "EMAIL SYSTEM"; document.getElementById("tit02").innerHTML = "USER LOGIN"; document.getElementById("tit03").innerHTML = "Obey laws and regulations,do not send confidential information"; document.getElementById("tit04").value = "CLICK LOGIN"; document.getElementById("tit05").innerHTML = "Forget password?"; document.getElementById("tit0s5").innerHTML = "Common problem"; document.getElementById("uin").setAttribute("placeholder", "Please enter your account"); document.getElementById("pp").setAttribute("placeholder", "Please enter your password"); } document.getElementById("nowver").value = tv; } function setnewd() { var sv = document.getElementById("ymsele").value; if (sv == 1) { document.forms[0].domain.value = 'nju.edu.cn'; SetCookie('lastdomain', 'nju.edu.cn'); } else if (sv == 2) { document.forms[0].domain.value = 'smail.nju.edu.cn'; SetCookie('lastdomain', 'smail.nju.edu.cn'); } else if (sv == 3) { document.forms[0].domain.value = 'jlxy.nju.edu.cn'; SetCookie('lastdomain', 'jlxy.nju.edu.cn'); } else if (sv == 4) { document.forms[0].domain.value = 'lamda.nju.edu.cn'; SetCookie('lastdomain', 'lamda.nju.edu.cn'); } } function setnowdomain() { var urldomain = window.location.href; var ldomain = getCookie('lastdomain'); if (ldomain.length > 8) { urldomain = "http://mail" + ldomain; } if (urldomain.indexOf("lamda.nju.edu.cn") > 5) { document.getElementById("ymsele").value = 4; document.getElementById("ymshow").value = "@lamda.nju.edu.cn"; setnewd(); document.forms[0].domain.value = 'lamda.nju.edu.cn'; } else if (urldomain.indexOf("smail.nju.edu.cn") > 5) { document.getElementById("ymsele").value = 2; document.getElementById("ymshow").value = "@smail.nju.edu.cn"; setnewd(); document.forms[0].domain.value = 'smail.nju.edu.cn'; } else if (urldomain.indexOf("jlxy.nju.edu.cn") > 5) { document.getElementById("ymsele").value = 3; document.getElementById("ymshow").value = "@jlxy.nju.edu.cn"; setnewd(); document.forms[0].domain.value = 'jlxy.nju.edu.cn'; } else { document.getElementById("ymsele").value = 1; document.getElementById("ymshow").value = "@nju.edu.cn"; setnewd(); document.forms[0].domain.value = 'nju.edu.cn'; } } window.onload = function() { setnowdomain(); } </script> <!--[if IE 8]> <script> /* * Copyright 2012 @louis_remi * Licensed under the MIT license. */ (function($,window,document,Math,undefined) { var div = $( "<div>" )[0], rsrc = /url\(["']?(.*?)["']?\)/, watched = [], positions = { top: 0, left: 0, bottom: 1, right: 1, center: .5 }; // feature detection if ( "backgroundSize" in div.style && !$.debugBGS ) { return; } $.cssHooks.backgroundSize = { set: function( elem, value ) { var firstTime = !$.data( elem, "bgsImg" ), pos, $wrapper, $img; $.data( elem, "bgsValue", value ); if ( firstTime ) { // add this element to the 'watched' list so that it's updated on resize watched.push( elem ); $.refreshBackgroundDimensions( elem, true ); // create wrapper and img $wrapper = $( "<div>" ).css({ position: "absolute", zIndex: -1, top: 0, right: 0, left: 0, bottom: 0, overflow: "hidden" }); $img = $( "<img>" ).css({ position: "absolute" }).appendTo( $wrapper ), $wrapper.prependTo( elem ); $.data( elem, "bgsImg", $img[0] ); pos = ( // Firefox, Chrome (for debug) $.css( elem, "backgroundPosition" ) || // IE8 $.css( elem, "backgroundPositionX" ) + " " + $.css( elem, "backgroundPositionY" ) ).split(" "); // Only compatible with 1 or 2 percentage or keyword values, // Not yet compatible with length values and 4 values. $.data( elem, "bgsPos", [ positions[ pos[0] ] || parseFloat( pos[0] ) / 100, positions[ pos[1] ] || parseFloat( pos[1] ) / 100 ]); // This is the part where we mess with the existing DOM // to make sure that the background image is correctly zIndexed $.css( elem, "zIndex" ) == "auto" && ( elem.style.zIndex = 0 ); $.css( elem, "position" ) == "static" && ( elem.style.position = "relative" ); $.refreshBackgroundImage( elem ); } else { $.refreshBackground( elem ); } }, get: function( elem ) { return $.data( elem, "bgsValue" ) || ""; } }; // The background should refresh automatically when changing the background-image $.cssHooks.backgroundImage = { set: function( elem, value ) { // if the element has a backgroundSize, refresh its background return $.data( elem, "bgsImg") ? $.refreshBackgroundImage( elem, value ) : // otherwise set the background-image normally value; } }; $.refreshBackgroundDimensions = function( elem, noBgRefresh ) { var $elem = $(elem), currDim = { width: $elem.innerWidth(), height: $elem.innerHeight() }, prevDim = $.data( elem, "bgsDim" ), changed = !prevDim || currDim.width != prevDim.width || currDim.height != prevDim.height; $.data( elem, "bgsDim", currDim ); if ( changed && !noBgRefresh ) { $.refreshBackground( elem ); } }; $.refreshBackgroundImage = function( elem, value ) { var img = $.data( elem, "bgsImg" ), currSrc = ( rsrc.exec( value || $.css( elem, "backgroundImage" ) ) || [] )[1], prevSrc = img && img.src, changed = currSrc != prevSrc, imgWidth, imgHeight; if ( changed ) { img.style.height = img.style.width = "auto"; img.onload = function() { var dim = { width: img.width, height: img.height }; // ignore onload on the proxy image if ( dim.width == 1 && dim.height == 1 ) { return; } $.data( elem, "bgsImgDim", dim ); $.data( elem, "bgsConstrain", false ); $.refreshBackground( elem ); img.style.visibility = "visible"; img.onload = null; }; img.style.visibility = "hidden"; img.src = currSrc; if ( img.readyState || img.complete ) { img.src = "data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw=="; img.src = currSrc; } elem.style.backgroundImage = "none"; } }; $.refreshBackground = function( elem ) { var value = $.data( elem, "bgsValue" ), elemDim = $.data( elem, "bgsDim" ), imgDim = $.data( elem, "bgsImgDim" ), $img = $( $.data( elem, "bgsImg" ) ), pos = $.data( elem, "bgsPos" ), prevConstrain = $.data( elem, "bgsConstrain" ), currConstrain, elemRatio = elemDim.width / elemDim.height, imgRatio = imgDim.width / imgDim.height, delta; if ( value == "contain" ) { if ( imgRatio > elemRatio ) { $.data( elem, "bgsConstrain", ( currConstrain = "width" ) ); delta = Math.floor( ( elemDim.height - elemDim.width / imgRatio ) * pos[1] ); $img.css({ top: delta }); // when switchin from height to with constraint, // make sure to release contraint on height and reset left if ( currConstrain != prevConstrain ) { $img.css({ width: "100%", height: "auto", left: 0 }); } } else { $.data( elem, "bgsConstrain", ( currConstrain = "height" ) ); delta = Math.floor( ( elemDim.width - elemDim.height * imgRatio ) * pos[0] ); $img.css({ left: delta }); if ( currConstrain != prevConstrain ) { $img.css({ height: "100%", width: "auto", top: 0 }); } } } else if ( value == "cover" ) { if ( imgRatio > elemRatio ) { $.data( elem, "bgsConstrain", ( currConstrain = "height" ) ); delta = Math.floor( ( elemDim.height * imgRatio - elemDim.width ) * pos[0] ); $img.css({ left: -delta }); if ( currConstrain != prevConstrain ) { $img.css({ height:"100%", width: "auto", top: 0 }); } } else { $.data( elem, "bgsConstrain", ( currConstrain = "width" ) ); delta = Math.floor( ( elemDim.width / imgRatio - elemDim.height ) * pos[1] ); $img.css({ top: -delta }); if ( currConstrain != prevConstrain ) { $img.css({ width: "100%", height: "auto", left: 0 }); } } } } // Built-in throttledresize var $event = $.event, $special, dummy = {_:0}, frame = 0, wasResized, animRunning; $special = $event.special.throttledresize = { setup: function() { $( this ).on( "resize", $special.handler ); }, teardown: function() { $( this ).off( "resize", $special.handler ); }, handler: function( event, execAsap ) { // Save the context var context = this, args = arguments; wasResized = true; if ( !animRunning ) { $(dummy).animate(dummy, { duration: Infinity, step: function() { frame++; if ( frame > $special.threshold && wasResized || execAsap ) { // set correct event type event.type = "throttledresize"; $event.dispatch.apply( context, args ); wasResized = false; frame = 0; } if ( frame > 9 ) { $(dummy).stop(); animRunning = false; frame = 0; } }}); animRunning = true; } }, threshold: 1 }; // All backgrounds should refresh automatically when the window is resized $(window).on("throttledresize", function() { $(watched).each(function() { $.refreshBackgroundDimensions( this ); }); }); })(jQuery,window,document,Math); </script> <script> $(".yhdl").css({ "backgroundSize": "contain" }) $(".dl1").css({ "backgroundSize": "contain" }) $(".dl2").css({ "backgroundSize": "contain" }) </script> <![endif]--> </center> </div> </form> <script> window.onload = function() { $("#iframe").contents().find(".js_qrcode_img").css('height', '140px'); $("#iframe").contents().find(".js_qrcode_img").css('width', '140px'); $("#iframe").contents().find(".js_qrcode_img").css('border', '0px'); } </script> <script type="text/javascript" src="https://rescdn.qqmail.com/bizmail/zh_CN/htmledition/js_biz/login527dd7.js"></script><script type="text/javascript"> window.Login && Login.init( { sAction : "/cgi-bin/login", sUin : "", sDomain : "nju.edu.cn", sPPP : "", bNeedEncrypt : true, nTimeStamp : "1732344845", bNeedVerify : false, sTemplate : "new_index/index", sError : "0", sMessage : "" }); Login.ready(); </script><a id="beian_tag" style="display: block;color: #828282;font-size: 12px;text-align: center;text-decoration:underline;" href="https://beian.miit.gov.cn/" target="_blank">苏ICP备10085945号-1</a></body> </html>