var _height = $(window).height(); console.log(_height); $('.Plan_img').height(_height); $(function(){ /* * 调用的方法 * */ PublicAction.AjaxSend( { CORID:'m_ztbutton', /*操作ID*/ } ); })