首页 > 摄影作品 > 婴儿照 > 作品欣赏

创意萌娃

$(function(){if(null!=localStorage.getItem("like")&&($(".production-content__like-number")[0].innerHTML=localStorage.getItem("like")),$(".production-content__like-btn")[0].addEventListener("click",function(){var e=$(".production-content__like-number")[0].innerHTML;"true"==localStorage.getItem("like_status")?alert("亲,您已经点赞过了哦!"):(e++,localStorage.setItem("like",e),localStorage.setItem("like_status",!0),$(".production-content__like-number")[0].innerHTML=e)}),null!=localStorage.getItem("look")){var e=localStorage.getItem("look");$(".lookNumber")[0].innerHTML=e,e++,localStorage.setItem("look",e)}else{var t=$(".lookNumber")[0].innerHTML;localStorage.setItem("look",t)}})