摘要:
registerJs($js); use yii\bootstrap\Modal; Modal::begin([ 'id' => 'page-modal', 'header' => 'this is title', 'footer' => '好的,我知道了', 'options'=>[ 'data-backdrop'=>'static',//点击... 阅读全文
摘要:
在视图页面代码如下 <?php use kartik\alert\Alert; echo Alert::widget([ 'type' => Alert::TYPE_INFO, 'title' => 'Note', 'titleOptions' => ['icon' => 'info-sign'], 阅读全文