62,046
社区成员
发帖
与我相关
我的任务
分享
$(document).ready(function () {
var width = document.body.clientWidth;
var ss = parent.document.getElementById("html").id;
alert(ss);
document.getElementById('html').style.fontSize = width + "px";
var height2 = window.screen.availHeight;
document.getElementById("DingcanMain_main_right").style.height = height2 / 380 - 0.48 + "rem";
})
var ss =window.opener.document.getElementById("html").id;
alert(ss);
试试