$this->getLayout()->getBlock()

$this->getLayout()->getBlock()

获取block的内容使用方法:

$sidebar_block=$this->getLayout()->getBlock('minicart_content')->toHtml();

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注