Commit b7f4f607 by doszhang

dos

parent bb0fa145
...@@ -97,15 +97,12 @@ const guardian = [ ...@@ -97,15 +97,12 @@ const guardian = [
$(document).ready(function () { $(document).ready(function () {
// $('.container').addClass('fix') // $('.container').addClass('fix')
// if ($('.page2').height() < document.documentElement.clientHeight) { if ($('.page2').height() < document.documentElement.clientHeight) {
// var scale = document.documentElement.clientHeight / $('.page').height(); var scale = document.documentElement.clientHeight / $('.page').height();
// $('.bg').css({ $('.bg').css({
// 'transform': 'scale(1,' + scale + ')' 'height': '100%'
// }); });
// } else { }
// fixHeight = Math.abs($('.page').height() - document.documentElement.clientHeight) / 2;
// }
// $('.container').css('height', document.documentElement.clientHeight + 'px');
$("input").on("blur", function () { $("input").on("blur", function () {
window.scroll(0, 0); //失焦后强制让页面归位 window.scroll(0, 0); //失焦后强制让页面归位
......
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