$this->getLayout()->getBlock() 发布于2019年1月23日 作者:yang 获取block的内容使用方法: $sidebar_block=$this->getLayout()->getBlock('minicart_content')->toHtml();