mirror of
				https://gitee.com/technical-laohu/mpay.git
				synced 2025-11-04 16:53:44 +08:00 
			
		
		
		
	1. 开发文档加载速度优化
2. 浏览器跳转支付宝异常修复
This commit is contained in:
		@@ -8,8 +8,6 @@
 | 
			
		||||
	<head>
 | 
			
		||||
		<title>开发文档</title>
 | 
			
		||||
	</head>
 | 
			
		||||
	<link rel="stylesheet" type="text/css"
 | 
			
		||||
		href="https://cdn.jsdelivr.net/gh/pandao/editor.md@1.5.0/css/editormd.min.css">
 | 
			
		||||
	<style type="text/css">
 | 
			
		||||
		body {
 | 
			
		||||
			font-family: "Helvetica Neue", "Helvetica", "Microsoft Yahei", "微软雅黑", "Lantinghei SC", "STXihei", "WenQuanYi Micro Hei", Arial, sans-serif;
 | 
			
		||||
 
 | 
			
		||||
@@ -305,9 +305,10 @@
 | 
			
		||||
                openAppBtn.className = 'layui-btn layui-btn-normal';
 | 
			
		||||
                openAppBtn.onclick = function () {
 | 
			
		||||
                    if (codeType == 0) {
 | 
			
		||||
                        window.location.href = 'alipays://platformapi/startapp?appId=20000067&&url=' + payCode;
 | 
			
		||||
                        const payUrl = encodeURIComponent(payCode);
 | 
			
		||||
                        window.location.href = 'alipays://platformapi/startapp?appId=20000067&&url=' + payUrl;
 | 
			
		||||
                    } else {
 | 
			
		||||
                        const currentUrl = window.location.href;
 | 
			
		||||
                        const currentUrl = encodeURIComponent(window.location.href);
 | 
			
		||||
                        window.location.href = 'alipays://platformapi/startapp?appId=20000067&&url=' + currentUrl;
 | 
			
		||||
                    }
 | 
			
		||||
                };
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user