这家伙有点懒,还没写个性签名!
在/layouts/main.php中如下定义 NavBar::begin([ 'brandLabel' => Html::img('/images/logo.png', [ 'alt' => '莆田市微启点文化传媒有限公司 ' ]), 'brandUrl' => Yii::$app->homeUrl, 'options' => [ 'class' => 'navbar-default navbar-fixed-top' ] ]);
在/layouts/main.php中如下定义
NavBar::begin([ 'brandLabel' => Html::img('/images/logo.png', [ 'alt' => '莆田市微启点文化传媒有限公司 ' ]), 'brandUrl' => Yii::$app->homeUrl, 'options' => [ 'class' => 'navbar-default navbar-fixed-top' ] ]);
非常感谢,已解决