奖杯隐藏调整

dev_aliyun
杨树明 5 years ago
parent 47f774488a
commit 2a3f639f69

@ -39,10 +39,24 @@
</a> </a>
</div> </div>
<script> <script>
function trophyreturnfun(){ function trophyreturnfun(){
$("#trophyreturn").hide() $("#trophyreturn").hide()
} localStorage.setItem('trophy_uid', true);
}
$(function() {
var trophy_uid = false;
console.log(trophy_uid)
if (window.localStorage) {
trophy_uid = localStorage.getItem('trophy_uid');
} else {
trophy_uid = false
}
if(trophy_uid===true){
$("#trophyreturn").hide()
}
})
</script> </script>
Loading…
Cancel
Save