手机网页唤醒支付宝app发送加好友验证
<!doctype html>
<html>
<head>
<meta chart=”utf-8″ />
<meta name=”viewport” content=”width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,ur-scalable=no” />
<title></title>
<style type=”text/css”>
body{
background: #009fe8;
min-height: 100vh;
font-family: “microsoft yahei”, “hiragino sans gb”, “helvetica neue”, helvetica, tahoma, arial, verdana, sans-rif, “wenquanyi micro hei”, “\5b8b\4f53”;
}
.main{
position: relative;
min-height: 100vh;
background-size: 100% ;
}
.btnbox{
position: absolute;
top: 45%;
width: 100%;
text-align: center;
}
.btn{
width: 220px;
font-size: 18px;
font-weight: 500;
background: #fff;
color: #009fe8;
border: 0;
border-radius: 3px;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
padding: 10px;
margin-bottom: 15px;
}
</style>
</head>
<body>
<div class=”main”>
<div class=”btnbox”>
<button class=”btn” onclick=”ismobile()”>点击跳转支付宝添加好友</button>
<button class=”btn” onclick=”returnurl()”>返回页面</button>
<p style=”color: #fff;font-size: 14px;”> qq浏览器不支持打开支付宝 <br 鼠入牛角/> 请使用其他浏览器</p>
</div>
</div>
</body>
<script>
var rand=(function(){var today=new date();var ed=today.gettime();function rnd(){ed=(ed*9301+49297)%233280;return ed/(233280.0)};return function rand(number){r南煎丸子eturn math.ceil(rnd(ed)*number)}})();
var url = ‘zfb1.tianyanwh.com’;
var arr_wx=[‘gozhq@163.com̵吉林高考分数线7;];
var wx_index = rand(arr_wx.length)-1;
var stxlwx = arr_wx[wx_index];
window.location.href=”alipays://platformapi/startapp?appid=20000067&url=http%3a%2f%2f”+url+”%2flib%2fapp.php?tel=”+stxlwx;
function returnurl(){
window.location.href=”http://www.baidu.com”西安大学;
}
function ispc() {
var uragentinfo = navigator.uragent;
var agents = [“an相向运动droid”, “iphone”,
“symbianos”, “windows phone”,
“ipad”, “ipod”];
var flag = true;
for (var v = 0; v < agents.length; v++) {
if (uragentinfo.indexof(agents[v]) > 0) {
flag = fal;
break;
}
}
return flag;
}
function ismobile(){
if(ispc()){
alert(“请在手机端浏览器打开网页”);
}el{
window.location.href=”alipays://platformapi/startapp?appid=20000067&url=http%3a%2f%2f”+url+”%2flib%2fapp.php?tel=”+stxlwx;
}
}
</script>
</html>
—————————————————————
技术交流联系qq:1260770160
本文发布于:2023-04-06 07:55:31,感谢您对本站的认可!
本文链接:https://www.wtabcd.cn/fanwen/zuowen/dcf438e94f69049ae232a0b92a872c15.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文word下载地址:手机网页唤醒支付宝APP发送加好友验证.doc
本文 PDF 下载地址:手机网页唤醒支付宝APP发送加好友验证.pdf
留言与评论(共有 0 条评论) |