新闻点赞用户判断

This commit is contained in:
尹吉欢
2018-04-08 14:48:54 +08:00
parent f61587783e
commit 29744d9260
2 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -222,7 +222,7 @@ function numberConver(thumbsUpCount){
function isCollect(){
axios.post("/rest/news/checkCollect",{newsId : id}).then(function (response) {
var msg = response.data.data
var msg = response.data.data;
if(msg){
$(".collection").addClass("collection02")
$(".collection i").addClass("icon-collection02")
+4 -2
View File
@@ -60,7 +60,7 @@
</div>
<p class="agreement">
<a class="check"><img class="checkImg" src="../../images/checkImg02.png" id="check"></a>
我已阅读并接受<a href="05_mine05_set03_agreement.html">《服务协议》</a>
我已阅读并接受<a onclick="openView()">《服务协议》</a>
</p>
<div class="content-block loginBox">
<p><a class="button button-big button-fill theme" id="login_btn">登录</a></p>
@@ -114,7 +114,9 @@ $(".check").on("click", function () {
});
function openView() {
clicked(BASE_PATH + '/user/agreement',true)
}
</script>
</body>