把自己支付宝二维码转为链接:https://cli.im/deqr

2、下载源码打开“kouling.js”把前两行修改为自己的红包链接

3、然后把两个文件上传到虚拟主机,最后得到的“域名/default.html”复制

<html lang="zh-cmn-hans">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge, chrome=1">
<title>正在打开支付宝,请稍候……</title>
</head>
<body>
<script src="kouling.js"></script>
</body>
</html>
var _0 = "https://qr.alipay.com/c1x01174o2etmqh8giurp5e";
var _1 = "https://qr.alipay.com/c1x01174o2etmqh8giurp5e";

function is_weixin() {
	if (/MicroMessenger/i.test(navigator.userAgent)) {
		return true
	} else {
		return false
	}
}

function is_android() {
	var ua = navigator.userAgent.toLowerCase();
	if (ua.match(/(Android|SymbianOS)/i)) {
		return true
	} else {
		return false
	}
}

function is_ios() {
	var ua = navigator.userAgent.toLowerCase();
	if (/iphone|ipad|ipod/.test(ua)) {
		return true
	} else {
		return false
	}
}

function android_auto_jump() {
	WeixinJSBridge.invoke("jumpToInstallUrl", {}, function(e) {});
	window.close();
	WeixinJSBridge.call("closeWindow")
}

function ios_auto_jump() {
	if (_0 != "") {
		location.href = _0
	} else {
		window.close();
		WeixinJSBridge.call("closeWindow")
	}
}

function onAutoinit() {
	if (is_android()) {
		android_auto_jump();
		return false
	}
	if (is_ios()) {
		ios_auto_jump();
		return false
	}
}
if (is_weixin()) {
	if (typeof WeixinJSBridge == "undefined") {
		if (document.addEventListener) {
			document.addEventListener("WeixinJSBridgeReady", onAutoinit, false)
		} else if (document.attachEvent) {
			document.attachEvent("WeixinJSBridgeReady", onAutoinit);
			document.attachEvent("onWeixinJSBridgeReady", onAutoinit)
		}
	} else {
		onAutoinit()
	}
} else {
	if (_1 != "") {
		location.href = _1
	} else {
		window.close()
	}
}
ruanqq.com/plugin/css/default.html