Yii2中Html的使用

 <ul class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu4">
                        <li role="presentation">
                            <?= Html::a('公共服务',['/jid/default/index','parent'=>'common','module'=>'user'],['role'=>'menuitem'])?>
                        </li>
                        <li role="presentation">
                            <?= Html::a('保单服务',['/jid/default/index','parent'=>'insurancepolicy','module'=>'policy'],['role'=>'menuitem'])?>
                        </li>
                        <li role="presentation">
                            <?= Html::a('信息服务',['/jid/default/index','parent'=>'information','module'=>'info'],['role'=>'menuitem'])?>
                        </li>
                    </ul>

 

posted @ 2017-03-13 10:35  侠岚之弋痕夕  阅读(1708)  评论(0)    收藏  举报
Where is the starting point, we don't have a choice, but the destination where we can pursue!