$('.xcarcoin_tb').each(function(i){

                var aika='爱卡币';
                if(data[i]==0){
                }else{
                    $(this).text(aika+data[i]);
                }
            })

 

$.each(data.log, function(i,item) {
                        str +='<tr><td width="11%"><a target="_blank" href="http://my.xcar.com.cn/space.php?uid='+item.uid+'" class="xcarcoin_img"><img width="30" height="30" src="'+item.avatar+'"></a></td><td width="26%"><a target="_blank" href="http://my.xcar.com.cn/space.php?uid='+item.uid+'">'+item.username+'</a></td><td width="30%">'+item.dateline+'</td><td width="19%" title="'+item.reason+'">'+item.reason_min+'</td><td width="14%">'+item.score+'</td></tr>';
                    });