ThinkChat2.0新版上线,更智能更精彩,支持会话、画图、阅读、搜索等,送10W Token,即刻开启你的AI之旅 广告
### Tile Widgets ~~~ return $this->TBuilder('custom') ->layoutView('layout_simple') ->col(3)->addTile(['bg_class'=>'info','icon_class'=>'fa fa-check','value'=>'12','text'=>'项目数量']) ->col(3)->addTile(['bg_class'=>'alert','icon_class'=>'fa fa-exclamation-triangle','value'=>'24/36','text'=>'完成人数/总参与人数']) ->col(3)->addTile(['bg_class'=>'system','icon_class'=>'fa fa-group','value'=>'12/18','text'=>'接受邀请人数/邀请人数']) ->col(3)->addTile(['bg_class'=>'success','icon_class'=>'fa fa-gift','value'=>'65','text'=>'联系人数量']) ->row() ->col(3)->addTile(['value'=>'142人','text'=>'总参与人数','footer_icon'=>'fa fa-arrow-up','footer_text'=>'今日新增数量<b>8人</b>','sub_type'=>'adv']) ->col(3)->addTile(['bg_class'=>'alert','value'=>'24/36','text'=>'完成人数/总参与人数','footer_icon'=>'fa fa-arrow-up','footer_text'=>'今日新增数量<b>8人</b>','sub_type'=>'adv']) ->col(3)->addTile(['bg_class'=>'system','icon_class'=>'fa fa-group','value'=>'12/18','text'=>'接受邀请人数/邀请人数','sub_type'=>'adv']) ->col(3)->addTile(['bg_class'=>'warning','icon_class'=>'fa fa-gift','value'=>'65','text'=>'联系人数量']) ->row() ->col(3)->addTile(['bg_class'=>'system','value'=>'23个','text'=>'数量','sub_type'=>'adv']) ->col(3)->addTile(['bg_class'=>'success','value'=>'142人','text'=>'总参与人数','footer_icon'=>'fa fa-arrow-up','footer_text'=>'今日新增数量<b>8人</b>','sub_type'=>'adv']) ->col(3)->addTile(['icon_class'=>'fa fa-gift','value'=>'23个','text'=>'数量','footer_icon'=>'fa fa-arrow-up','footer_text'=>'今日新增数量<b>8人</b>']) ->col(3)->addTile(['bg_class'=>'primary','icon_class'=>'fa fa-group','value'=>'142人','text'=>'总参与人数','footer_icon'=>'fa fa-arrow-up','footer_text'=>'今日新增数量<b>8人</b>','sub_type'=>'adv']) ->fetch(); ~~~ ![](https://box.kancloud.cn/cfdbc1c9974022ba8f862cce31eff5d6_1668x622.png)