用AI赚第一桶💰低成本搭建一套AI赚钱工具,源码可二开。 广告
~~~ {php} echo TWidget($contObj)->tabs([ 'position' => 'left', 'widgets' => [ [ 'title'=>'表格', 'widget'=>[ 'type' => 'table', 'list' => $analysis_data['topic_group_analysis'], 'columns' => [ ['title','组名'], ['get_score','得分'], ['group_total_score','总分'], ['group_score_proportion_format','得分占比'], ] ] ], ['title'=>'内容','content'=>'2'], ['title'=>'html','widget'=>[ 'type' => 'html', 'html' => '<h1>HTML</h1><br/>AAABBB' ]], ['title'=>'图表','widget'=>[ 'type' => 'echart', 'echart_data' => $analysis_data["topic_group_analysis"], 'echart_type' => [ 'tab_title' => '饼状图', 'echart-config' => '{type:"pie",name_key:"title",value_key:"get_score"}', 'echart-option' => '{title :{}}' ] ]], ] ]); {/php} ~~~ ![](https://box.kancloud.cn/307ef650bf9153ee77d5c7c7084abaac_1339x208.png) ![](https://box.kancloud.cn/ee4985536b0784598a3b303b1c285962_1333x194.png) ![](https://box.kancloud.cn/259d747bc39b28da7d62a2223aa23a69_1343x207.png) ![](https://box.kancloud.cn/1e08e11ec48c6625f53527db87cbef72_1336x359.png)