<!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="//s.iamberry.com/watero/css/mui.min.css?v=2016101701" />
	<link rel="stylesheet" type="text/css" href="//s.iamberry.com/watero/css/iconfont.css?v=2016101701" />
	<link rel="stylesheet" type="text/css" href="//s.iamberry.com/watero/css/style.css?v=2016101701" />
	<script>
        // 屏蔽分享
        window.hiddenAllWechatMenu = true;
	</script>
</head>
<body style="background: #fff;">
<div class="loading-bg">
	<div class="mui-loading">
		<div class="mui-spinner">
		</div>
		&nbsp;&nbsp;加载中...
	</div>
</div>
<header class="mui-bar mui-bar-nav header">
	<div class="go-index go_index">
		<img src="//s.iamberry.com/watero/images/shop/logo.png" />
	</div>
</header>
<div class="mui-content" style="background: #fff;">
	<div class="pl-win-tt">
		<img style="width: 1.5em;" src="//s.iamberry.com/watero/images/shop/pay-win.jpg"><span class="sp"> 恭喜您，支付成功！</span>
		<div>已支付：<span class="cl-red" id="payMoney">¥0.00元+0.0积分</span></div>
	</div>
	<ul class="pay_win_list">
		<li>订单编号：<span class="cl-0" id="orderId"></span></li>
		<li>收货人：<span id="userName"></span></li>
		<li>手机号码：<span id="tel"></span></li>
		<li>订单金额：<span class="cl-0" id="amount"></span></li>
		<li>支付方式：在线支付</li>
		<li>订单时间:<span id="createDate"></span></li>
	</ul>
</div>
<script src="//s.iamberry.com/watero/js/mui.min.js?v=2016101701"></script>
<script src="//s.iamberry.com/watero/js/jquery-2.1.1.min.js"></script>
<script src="//s.iamberry.com/watero/js/shop/main.js?v=2016101701"></script>
<script src="//s.iamberry.com/watero/js/shop/wechat-utils-1.0.js"></script>
<script>
    mui.ready(function(){
        var orderId=getParam("orderId")==""?"1":getParam("orderId");
        $.ajax({
            "type":"post",
            "url":base_path+"/placeOrder/successOrder",
            "dataType":"json",
            "data" :{
                "openid":"",//"openid":"230"
                "id":orderId
            },
            "success" : function(res) {
                $("#payMoney").text(res.data.yetAmount);
                $("#orderId").text(res.data.id);
                $("#userName").text(res.data.contactName);
                $("#payMoney").text("¥"+accDiv(res.data.yetAmount,100));
                $("#tel").html(res.data.tel);
                $("#amount").text("¥"+accDiv(res.data.yetAmount,100));
                $("#createDate").text(res.data.createDate);
                document.querySelector('.loading-bg').style.display='none';
            }
        });
    });
</script>
</body>
</html>
