Commit b1d0b0b5 by doszhang

dos

parent 1fcde8a4
......@@ -17,5 +17,5 @@
{:/block}
//js 文件导入
{:block name="js"}
<script src="__CDN__/js/common.js?v=1.3"></script>
<script src="__CDN__/js/common.js?v=1.4"></script>
{:/block}
\ No newline at end of file
......@@ -120,6 +120,7 @@ $(document).ready(function () {
window.scroll(0, 0); //失焦后强制让页面归位
});
window.οnresize = function () {
alert(1);
//键盘弹起与隐藏都会引起窗口的高度发生变化
var resizeHeight = document.documentElement.clientHeight || document.body.clientHeight;
if ((resizeHeight) < (originalHeight)) {
......
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