| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100 | 
							- <!DOCTYPE html>
 
- <html>
 
- 	<head>
 
- 		<meta charset="UTF-8">
 
- 		<title>支付成功</title>
 
- 		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1, user-scalable=no">
 
- 		<meta name="apple-mobile-web-app-capable" content="yes">
 
- 		<meta name="apple-mobile-web-app-status-bar-style" content="black">
 
- 		<link rel="stylesheet" type="text/css" href="css/mui.min.css" />
 
- 		<link rel="stylesheet" type="text/css" href="css/iconfont.css" />
 
- 		<link rel="stylesheet" type="text/css" href="css/main.css" />
 
- 		<script type="text/javascript" src="//res.wx.qq.com/open/js/jweixin-1.1.0.js"></script>
 
- 		<script>
 
- 			//屏蔽分享
 
- 			document.addEventListener('WeixinJSBridgeReady', function onBridgeReady() {
 
- 				WeixinJSBridge.call('hideOptionMenu');
 
- 			});
 
- 		</script>
 
- 	</head>
 
- 	<body style="background: #fff;">
 
- 	<div class="loading-bg">
 
- 			<div class="mui-loading">
 
- 				<div class="mui-spinner">
 
- 				</div>
 
- 				  加载中...
 
- 			</div>
 
- 	</div>
 
- 			<div class="mui-content" style="background: #fff;">
 
- 				<div style="background-color: #f1f1f1;height:220px;text-align: center;padding: 50px 0;">
 
- 				<div style="padding: 10px 0;">
 
- 					<span class="iconfont icon-yes" style="color: #3bbf64;font-size: 30px;"></span>
 
- 				</div>
 
- 				<h4> 恭喜您支付成功</h4>
 
- 				<p>感谢您的购买</p>
 
- 				</div>
 
- 				<div style="margin:-40px auto 0 auto;width:240px;text-align: center;">
 
- 					<img width="160px" src="images/qrcode.png" class="code_show"  style="display: none;"/>
 
- 					<p style="padding-bottom: 20px;display: none;" class="code_show" >
 
- 						长按识别,关注aiberle公众号<br /> 随时查看订单信息
 
- 					</p>
 
- 				<div style="">
 
- 					<button type="button" class="mui-btn my-btn go-pro-list">继续逛逛</button>    
 
- 					<button type="button" class="mui-btn my-btn go_order_details">查看订单</button>
 
- 				</div>
 
- 				</div>	
 
- 			</div>
 
- 	<script type="text/javascript" src="js/mui.min.js"></script>
 
- 	<script type="text/javascript" src="js/jquery-2.1.1.min.js"></script>
 
- 	<script type="text/javascript" src="js/main.js"></script>
 
- 	<script type="text/javascript">
 
- 	var orderId=getParam("orderId");		
 
- 	mui.ready(function(){
 
- 		console.log("页面加载完毕")
 
- 		
 
- 		$.ajax(base_path + '/wechat/agent/member?dates=' + new Date().getTime(), {
 
- 					dataType: 'json',
 
- 					type: 'post',
 
- 					xhrFields: {
 
- 						withCredentials: true
 
- 					},
 
- 					crossDomain: true,
 
- 					timeout: 15000,
 
- 					success: function(dt) {
 
- 						var data = dt.data;
 
- 						if(dt.status) {
 
- 							console.log(data);
 
- 							if(data.userStatus == null || data.userStatus == "" || typeof(data.userStatus) == "undefined" || data.userStatus !=2){
 
- 								$(".code_show").show();
 
- 							}
 
- 						} else {
 
- 							$(".code_show").show();
 
- 						}
 
- 					},
 
- 					error: function(xhr, type, errorThrown) {
 
- 						//异常处理;
 
- 						console.log(xhr);
 
- 					}
 
- 				});
 
- 		
 
- 		
 
- 		document.querySelector('.loading-bg').style.display='none';
 
- 	});
 
- 	//跳转订单详情
 
- 	mui('body').on('tap','.go_order_details',function(){
 
- 		mui.openWindow({
 
- 			url: 'order-details.html?orderId='+orderId
 
- 		});
 
- 	});
 
- 	//跳转产品列表
 
- 	mui('body').on('tap','.go-pro-list',function(){
 
- 		mui.openWindow({
 
- 			url: 'pro-list.html'
 
- 		});
 
- 	});
 
- 	
 
- 	
 
- 	</script>
 
- 	</body>
 
- </html>
 
 
  |