tab选项卡到底要怎么用? [ 2.0 版本 ]
<?php
echo yii\bootstrap\Tabs::widget([
'items' => [
[
'label' => 'One',
'content' => 'Anim pariatur cliche...',
'active' => true
],
[
'label' => 'Two',
'content' => 'Anim pariatur cliche...',
],
],
]);
?
共 1 个回答
-
<?php echo \yii\bootstrap\Tabs::widget([ 'items' => [ [ 'label' => 'One', 'content' => 'Anim pariatur cliche...', 'active' => true ], [ 'label' => 'Two', 'content' => 'Anim pariatur cliche...', ] ] ]) ?>
共 2 条回复dashixiong 回复于 2017-03-14 09:24 回复@tw1996 不可能的,有效果的。你不信把第二个content的值换成123再试试。
tw1996
注册时间:2016-03-13
最后登录:2020-03-25
在线时长:37小时2分
最后登录:2020-03-25
在线时长:37小时2分
- 粉丝3
- 金钱0
- 威望0
- 积分370