手机网站/WAP | app手机客户端 | ';
template+= '';
template+= ' ';
template+= ' {viewTime} ';
template+='{goodsName}'; var max=Math.min(v.length,3); if(v.length>1) v.reverse(); v.each(function(goods,index){ var vt = ($time() - goods['viewTime']); vt = Math.round(vt/(60*1000))+'分钟前浏览过:'; if(vt.toInt()>=60){ vt = Math.round(vt.toInt()/60)+'小时前浏览过:'; if(vt.toInt()>23){ vt = Math.round(vt.toInt()/24)+'天前浏览过:'; if(vt.toInt()>3){ vt = new Date(goods['viewTime']).toLocaleString()+'浏览过:'; } } }; if(!!!vt.toInt()){vt='刚才浏览了:'} goods['viewTime'] = vt; if(index |
020 | 生活服务/卡密/会员卡 |
权限管理及优化 | 日志管理 |