Authored by 张帅

修复页面问题

... ... @@ -137,18 +137,19 @@
<script>
// var articleId = paramObject.mkData;
$(function () {
//加载数据
var data = paramObject.mkData;
var articleId = data.articleId;
//获取文章的详细信息
// $.ajax({
// type: "get",
// url: contextPath + "/grassArticle/getArticleById?articleId=" + articleId,
// success: function (data) {
$.ajax({
type: "get",
url: contextPath + "/grassArticle/getArticleById?articleId=" + articleId,
success: function (data) {
debugger
if (data != null) {//成功的
var detailInfo = data;
var detailInfo = data.data;
$("#authorUid").html(detailInfo.authorUid);
$("#nickName").html(detailInfo.nickName);
$("#sourceStr").html(detailInfo.sourceStr);
... ... @@ -230,8 +231,8 @@
$("#relatedProduct").html("关联商品: 无");
}
}
// }
// });
}
});
});
... ...