Yii2修改默认布局

public $layout = 'layout';//在类中定义一个变量,名为$layout的php文件

<?php echo $content; ?>

posted @ 2015-09-24 09:40  慕尘  阅读(508)  评论(0)    收藏  举报