公众号密码登录代码

<link href="https://cdnjs.cloudflare.com/ajax/libs/sweetalert/1.1.3/sweetalert.min.css" rel="stylesheet">
<script src="https://cdnjs.cloudflare.com/ajax/libs/sweetalert/1.1.3/sweetalert.min.js"></script>
<script type="text/javascript">
swal({
title:'',
text:"为防止接口泛滥,特加验证",
type:'input',
closeOnConfirm: false,
closeOnCancel: false,
confirmButtonText: "确 认",
imageUrl: 'https://june-1312800210.cos.ap-nanjing.myqcloud.com/uploads/mall4/20230221/78a2d3b46a8a1fe29e03ad8e15b8e64b.jpg',imageSize: '200x200',
inputPlaceholder:"关注公众号:“尼趣”获取验证码",
showLoaderOnConfirm:true,
},function(inputValue){
if (inputValue != '334') {
swal.showInputError('输入错误,关注即可获取');
return;
}
else{
swal.close('334');
return;
}
});
</script>

posted @ 2023-04-12 15:46  洪雨  阅读(169)  评论(0编辑  收藏  举报

友情链接

红尘修行笔记|钱度众生