jq动态修改文章高度

window.onload = function (){
// Pc
var detailHeight = $("#newsInfo").height()+400;
$("#layout_diy_1484042021").css("height",detailHeight+"px");

var detailHeight_mo = $(".newsInfo_mo").height()+400;
$(".content_mo").css("height",detailHeight_mo+"px");
}

 

posted @ 2022-09-13 14:59  谢凌  阅读(7)  评论(0编辑  收藏  举报