Commit a374b2b3 by doszhang

dos

parent 986e4aa0
...@@ -17,5 +17,5 @@ ...@@ -17,5 +17,5 @@
{:/block} {:/block}
//js 文件导入 //js 文件导入
{:block name="js"} {:block name="js"}
<script src="__CDN__/js/common.js?v=1.5"></script> <script src="__CDN__/js/common.js?v=1.6"></script>
{:/block} {:/block}
\ No newline at end of file
...@@ -118,8 +118,11 @@ $(document).ready(function () { ...@@ -118,8 +118,11 @@ $(document).ready(function () {
// $('.logo').css('top', getTranslateDistance(40, true)); // $('.logo').css('top', getTranslateDistance(40, true));
$("input").on("focus blur", function () { $("input").on("focus blur", function () {
window.scroll(0, 0); //失焦后强制让页面归位 window.scroll(0, 0); //失焦后强制让页面归位
var resizeHeight = document.documentElement.clientHeight || document.body.clientHeight; setTimeout(function () {
alert(resizeHeight); var resizeHeight = document.documentElement.clientHeight || document.body.clientHeight;
alert(resizeHeight);
}, 2000)
}); });
window.οnresize = function () { window.οnresize = function () {
alert(1); alert(1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment