<table id="datagrid" class="easyui-datagrid" toolbar="#toolbar" data-options="url:'{:url('Article/getlist')}', pageSize:20, pagination:true, fit:true,singleSelect:true">
<thead>
<tr>
<th data-options="field:'id', width:100">编号</th>
<th data-options="field:'realname', width:100">姓名</th>
<th data-options="field:'area', width:200">区域</th>
<th data-options="field:'mobile', width:200" >手机号</th>
<th data-options="field:'add_time', width:50">注册时间</th>
<th data-options="field:'thumb', width:200,
formatter:function(value,row,index){
if(value){
return '<img src='+value+' height=50>';
} else {
return '';
}}">图片</th>
</tr>
</thead>
</table>