前台学习过程

$(document).ready(function () {});  

var  width = window.parent.$(".l-layout-center").width();

$("#content-left").css("height", height - 30);

$("#content-right").css({ "height": height - 30, "width": width - 250 });

$(window).resize(function () {      });   //浏览器窗口变动即可触发

原文地址:https://www.cnblogs.com/wdw31210/p/2998175.html