Authored by liangyi.chen@yoho.cn

爬虫页面优化

... ... @@ -60,7 +60,7 @@
<table id="activityListTable" ></table>
</div>
<div region="center" id="articleEditer" style="margin-left: 20px" >
</div>
</body>
<script>
... ... @@ -197,7 +197,7 @@
str = str + ' <img style="width:60px; height: 60px;margin-left: 3px" src="'+ imgList[0]+'" >' ;
}
str = str + "<a href= "+sourceUrl+" style='margin-left:10px'>查看详情</a>";
str = str + "<a role='linkDetail' target='_blank' style='margin-left:10px' href="+sourceUrl+">查看详情</a>"
str =str + '</p>';
str = str + '</div>';
return str;
... ... @@ -329,6 +329,7 @@
$(this).datagrid("getPanel").find("a[role='updateStatus']").linkbutton({
iconCls : "icon-edit",
onClick: function () {
debugger;
var checkStatus = $(this).attr("dataAuthStatus");
var dataId = $(this).attr("dataId");
index = $(this).attr("index");
... ... @@ -367,10 +368,10 @@
}
});
}
});
function switchRecommend(id, status) {
$.post(serverContextPath + "/tblCrawlerArticle/modifyTblCrawlerArticleStatus?id=" + id + "&checkStatus=" + status, function (data) {
if(data.code != 200){
... ...