<?= \yii\widgets\Menu::widget(['options' => ['class' => 'nav nav-pills nav-stacked'],'items' => [
    ['label' => '账户','url' => ['/user/profile']],
    ['label' => '信息','url' => ['/user/profile']],
]]) ?>