摘要: 1 window.onload = function() { 2 alert("width: " + getPageScale().pageWidth + ", height: " + getPageScale().pageHeight); 3 }; 4 5 /** 6 * 获取浏览器视口大小 7 * @return {object} 宽,高 8 */ 9 fu... 阅读全文
posted @ 2018-11-13 16:14 就只是小茗 阅读(359) 评论(0) 推荐(0) 编辑