新闻点赞用户判断
This commit is contained in:
@@ -222,7 +222,7 @@ function numberConver(thumbsUpCount){
|
|||||||
|
|
||||||
function isCollect(){
|
function isCollect(){
|
||||||
axios.post("/rest/news/checkCollect",{newsId : id}).then(function (response) {
|
axios.post("/rest/news/checkCollect",{newsId : id}).then(function (response) {
|
||||||
var msg = response.data.data
|
var msg = response.data.data;
|
||||||
if(msg){
|
if(msg){
|
||||||
$(".collection").addClass("collection02")
|
$(".collection").addClass("collection02")
|
||||||
$(".collection i").addClass("icon-collection02")
|
$(".collection i").addClass("icon-collection02")
|
||||||
|
|||||||
@@ -60,7 +60,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<p class="agreement">
|
<p class="agreement">
|
||||||
<a class="check"><img class="checkImg" src="../../images/checkImg02.png" id="check"></a>
|
<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>
|
</p>
|
||||||
<div class="content-block loginBox">
|
<div class="content-block loginBox">
|
||||||
<p><a class="button button-big button-fill theme" id="login_btn">登录</a></p>
|
<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>
|
</script>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
Reference in New Issue
Block a user