<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>标题</title>
</head>
<body>
<script>
var openlink = "weixin://dl/business/?t=xxxxx"; // 小程序代码
if(openlink!=''){
window.location = openlink
}else{
console.log([]);
}
// 处理微信浏览器
window.addEventListener('pageshow', function (e) {
if(e.persisted || (window.performance && window.performance.navigation.type == 2)){
window.location.reload()
}
});
</script>
</body>
</html>
在浏览器上面唤起微信小程序的代码
摘要
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http
本文为本站原创,转载请注明出处。文中观点与所涉产品信息以官方发布为准。

