diff --git a/src/main/webapp/template/1/default/news-detail.htm b/src/main/webapp/template/1/default/news-detail.htm index 64d8ea57..910979f4 100755 --- a/src/main/webapp/template/1/default/news-detail.htm +++ b/src/main/webapp/template/1/default/news-detail.htm @@ -52,20 +52,17 @@ <#else> 已经没有了 - -
- 下一篇: - <#if next.title?has_content> - ${next.title} - <#else> - 已经没有了 - -
- - 点赞 - - + +
+ 下一篇: + <#if next.title?has_content> + ${next.title} + <#else> + 已经没有了 +
+ + @@ -93,25 +90,6 @@ } }) }, - // 点赞关注(一个账号只允许关注一次) - save: function() { - var that = this; - //用户-关注接口 - ms.http.post("/people/attention/collectionLog/save.do", that.collectionFrorm).then(function (data) { - if (data.result) { - that.$message.success("点赞成功!"); - } - }) - that.likeTotal() - }, - // 点赞数 - likeTotal: function (){ - var that = this; - //用户-关注接口 - ms.http.post("/attention/collection/list", that.collectionFrorm).then(function (data) { - that.Total = data.data.rows[0].dataCount - }) - } }, created() { this.likeTotal() @@ -660,4 +638,4 @@ } - \ No newline at end of file +