<!doctype html>
<html>
<head>
<title>提交成功页</title>
<meta charset="utf-8">
<meta name="keywords" content="">
<meta name="description" content="">
<meta name="Author" content="wenqing_gz huangrongtao_gz"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0,user-scalable=no">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
<!-- uc强制竖屏 -->
<meta name="screen-orientation" content="portrait">
<!-- QQ强制竖屏 -->
<meta name="x5-orientation" content="portrait">
<!-- windows phone 点击无高光 -->
<meta name="msapplication-tap-highlight" content="no">
<!--忽略数字自动识别为电话号码-->
<meta name="format-detection" content="telephone=no" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<link href="http://js.3conline.com/pcauto/2015/chedaiwap/css/ngoods.css" rel="stylesheet" type="text/css" />
<script>
{{#if orderId}}
var xmlhttp;
function send(method, url, callback) {
	if(window.XMLHttpRequest) {
    	xmlhttp = new XMLHttpRequest();
    }else if(window.ActiveXObject) {
        xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
        }
        xmlhttp.onreadystatechange = callback;
        xmlhttp.open(method, url, true);
        xmlhttp.send();
}
var url = "http://{{{@root.host}}}/api/qrcode?orderId={{orderId}}";
send("GET", url, function() {
	//请求成功
    if (xmlhttp.readyState == 4 && xmlhttp.status == 200) {
		//存在数据
		 var resultHtml = xmlhttp.responseText;
		 var replyJson = JSON.parse(resultHtml);
		 var url = replyJson.url;
		 document.getElementById("imageUrl").src = url;
	}
})
{{/if}}
</script>
</head>
<body class="bg-white">
<!--栏目计数器-->
<script>document.body.insertBefore(document.createElement("script"),document.body.firstChild).src="http://count.pchouse.com.cn/count.php?channel=2166&screen="+screen.width+"*"+screen.height+"&refer="+encodeURIComponent(document.referrer)+"&anticache="+new Date().getTime()+"&url="+encodeURIComponent(location.href)+"&from=cms";</script>
<div class="g-doc" id="JimgLoad">
    <!--头部-->
    <script src="http://www.pcauto.com.cn/global/wap/header_js/" charset="utf-8" class=" defer"></script>
    <!--/头部-->
    <div class="header-bg"> 
        <div class="header-title header-title-1">
            <span class="header-title-nav"><a href="http://{{{@root.host}}}/">首页</a> &gt; 我要贷款</span>
        </div>
    </div>
    <!--以上为公共部分-->
    <div class="m-section m-sucbox">
        <div class="m-info">
            {{#if orderId}}您已成功提交车贷申请！{{else}}您已经成功报名！{{/if}}<br>
            将会有经销商与您联系！
        </div>
    </div>
        {{#if fromWechat}}
        <div class="m-wechat m-wechat-2 bg-white">
            <div class="m-tb">
                <i>记得我们在这里：</i><br/>
                1、点标题下的“<em>太平洋汽车贷款平台</em>”关注<br/>
                2、搜索微信公众账号：<em>太平洋汽车贷款平台</em><br/>
                3、扫一扫下方二维码关注我们
            </div>
            <div class="m-th">
                <div class="m-left">
                    <img id= "imageUrl" src="{{#if orderId}}http://www1.pcauto.com.cn/images/blank.gif{{else}}{{path}}/pcauto.jpg{{/if}}"/>
                </div>
                <div class="m-right">                   
                    <img src="http://www1.pcauto.com.cn/2015/chedai/wap/mark.gif" />              
                </div>
            </div> 
        </div>    
        {{else}}
        <div class="m-wechat">
            <div class="m-th">
                <div class="m-left">
                    <img id= "imageUrl" src="{{#if orderId}}http://www1.pcauto.com.cn/images/blank.gif{{else}}{{path}}/pcauto.jpg{{/if}}"/>
                    <div class="u-tips">
                        <span class="u-icon"></span>
                        <span class="u-txt">
                            长按二维码<br>保存图片
                        </span>
                    </div>
                </div>
                <div class="m-right">
                    <div class="u-tips">关注太平洋汽车金融公众账号，随时随地获取最新申请状态！</div>
                    <div class="u-txt" id="Jwechat"><i>pcautojr</i></div>
                    <div class="u-txt2">长按以上文本进行复制</div>
                </div>
            </div>  
            <div class="m-tb">
                <i>微信订阅方法：</i><br>
                点击右上角按钮，选择“查看官方账号”，或在“添加朋友”里搜索“<em>太平洋汽车贷款平台</em>”
            </div>    
        </div>
        {{/if}}
    <!-- 公共底部-->
    <script src="http://www.pcauto.com.cn/global/wap/footer_js/" charset="utf-8" class=" defer"></script>
    <!--/公共底部--> 
</div>
</body>
</html>