if(obj.time.indexOf('-')>0){
time=obj.time.substr(5,2)+'月'+obj.time.substr(8,2)+'日 '+obj.time.substr(11,5);
}else{
time=obj.time;
}
html+="<dl>";
if(obj.pict!=null&&obj.pict.imgs!=null&&obj.pict.imgs[0].url!=null){
html+="<dt><img src='"+obj.pict.imgs[0].url+"'>";
html += obj.video === '' ? '<span></span></dt>': '<span><img src="https://file.caixin.com/webchannel/home/img/icon_video.png"></span></dt>'
}else{
if(obj.cate.indexOf('101098167')!== -1){
//数据加使用写死的图片
html+="<dt><img src='https://img.caixin.com/2018-04-10/1523327881747430.jpg'>";
html += obj.video === '' ? '<span></span></dt>': '<span><img src="https://file.caixin.com/webchannel/home/img/icon_video.png"></span></dt>'
}
}
html+="<dd><div class='tit'><em>"+obj.channelDesc.replace("频道","")+"</em>";
html+="<a href='"+obj.link+"#gocomment'><i>";
html+="<em aid='"+obj.comm.aid+"' tid='"+obj.comm.tid+"'>0</em></i></a></div>";
html+="<p><a href='"+obj.link+"'>"+obj.desc+"</a>";
if(obj.attr==5){html+='<span class="icon_key" title="收费文章"></span>';}else if(obj.attr!=5 && obj.freeTime){html+=('<span class="icon_time_'+ obj.freeDuration +'" title="限时免费"></span>');}else{html+='<span class="icon_free" title="免费文章"></span>'}
html+="</p>";
html+="<span>"+obj.edit.name+" "+time+"</span></dd></dl>";
return html;
①“反蒸馏”之战
② 当AI重塑职场
稳就业|企业对AI人才技能需求快速迭代:有哪些新趋势?
财新闻|特朗普称预计“所有战线都将实现全面停火”
缓解对中小企业拖欠 如何把握供应链金融的合理账期?
38岁梅西上演帽子戏法 阿根廷3-0阿尔及利亚
香港机场发生持刀抢劫案 6公斤黄金市值700万港元(含视频)
伊朗2比2战平新西兰队 赛后球队被勒令离开美国
财新闻|美国、伊朗公布谅解备忘录全文(包含14项条款)
曾致32人死亡 北京密云养老照料中心暴雨洪灾调查评估报告公布
两度落后两度追平 世界杯小组赛日本2-2绝平荷兰
智谱科创板IPO辅导验收 新模型刺激市值破9300亿港元
特稿|“我们跑路了” 湖南911亿元非法集资案始末
剑桥大学:SpaceX堪比殖民时代的东印度公司
穿透太子集团|特稿精选
if(obj.time.indexOf('-')>0){
time=obj.time.substr(5,2)+'月'+obj.time.substr(8,2)+'日 '+obj.time.substr(11,5);
}else{
time=obj.time;
}
html+="<dl>";
if(obj.pict!=null&&obj.pict.imgs!=null&&obj.pict.imgs[0].url!=null){
html+="<dt><img src='"+obj.pict.imgs[0].url+"'>";
html += obj.video === '' ? '<span></span></dt>': '<span><img src="https://file.caixin.com/webchannel/home/img/icon_video.png"></span></dt>'
}else{
if(obj.cate.indexOf('101098167')!== -1){
//数据加使用写死的图片
html+="<dt><img src='https://img.caixin.com/2018-04-10/1523327881747430.jpg'>";
html += obj.video === '' ? '<span></span></dt>': '<span><img src="https://file.caixin.com/webchannel/home/img/icon_video.png"></span></dt>'
}
}
html+="<dd><div class='tit'><em>"+obj.channelDesc.replace("频道","")+"</em>";
html+="<a href='"+obj.link+"#gocomment'><i>";
html+="<em aid='"+obj.comm.aid+"' tid='"+obj.comm.tid+"'>0</em></i></a></div>";
html+="<p><a href='"+obj.link+"'>"+obj.desc+"</a>";
if(obj.attr==5){html+='<span class="icon_key" title="收费文章"></span>';}else if(obj.attr!=5 && obj.freeTime){html+=('<span class="icon_time_'+ obj.freeDuration +'" title="限时免费"></span>');}else{html+='<span class="icon_free" title="免费文章"></span>'}
html+="</p>";
html+="<span>"+obj.edit.name+" "+time+"</span></dd></dl>";
return html;