// 首次点开触发
var res = document.cookie.indexOf("name");
if(res!=0){
var oDate =new Date();
document.cookie ="name=zheng;";
document.getElementById('first').style.display ='block';
$('.guide-mask').click(function () {
$(this).hide();
});
}
使用cookie实现首次打开时触发
最新推荐文章于 2022-02-14 09:45:39 发布