
<!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 rel="canonical" href="http://jr.pcauto.com.cn/" ><!-- 适配页，即和pc同权重页面 -->
<link href="http://js.3conline.com/pcauto/2015/chedaiwap/css/ngoods.css" rel="stylesheet" type="text/css" />
</head>
<script>if(!window._addIvyID) document.write("<scr"+"ipt src='http://www.pconline.com.cn/_hux_/auto/default/index.js'><\/scr"+"ipt>");</script>
<body>
<!--栏目计数器-->
<script>document.body.insertBefore(document.createElement("script"),document.body.firstChild).src="http://count.pcauto.com.cn/count.php?channel={{{@root.pageCountId}}}&screen="+screen.width+"*"+screen.height+"&refer="+encodeURIComponent(document.referrer)+"&anticache="+new Date().getTime()+"&url="+encodeURIComponent(location.href)+"&from=cms"+"&uuid="+encodeURIComponent({{serialGroupId}}+":1");</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"> 
         <a onclick="history.back(-1);" class="header-back" title=""></a>
        <div class="header-title">
             <span class="header-title-nav txt-hide"><a href="http://{{{@root.host}}}/choose/{{#if browser}}wx/{{/if}}/f{{{@root.flow}}}/">选车系</a>&gt;<a href="http://{{{@root.host}}}/choose/sg{{serialGroupId}}-m{{modelId}}/{{#if browser}}wx/{{/if}}f{{{@root.flow}}}/">产品列表</a>&gt;产品详情</span>
           <a href="http://m.pcauto.com.cn/x/selectcity/jr/?returns=http://{{{@root.host}}}/product/pro{{productId}}-m{{modelId}}-s{{shoufu}}-p{{term}}/{{#if browser}}wx/{{/if}}f{{{@root.flow}}}/" class="m-ipcity"   id="Jselect">广州</a>
        </div>
    </div>
	<div class="m-notice">
    我们的车贷产品暂时未能覆盖到您所在的城市
    </div>
    <div class="head-th">
        <div class="u-tit">
            <img src="{{logo}}" alt=""/>
			 {{orgName}}
        </div>
        <div class="u-info">{{productName}}</div>
    </div>
    <ul class="m-plst bg-white">
        <li class="m-plst-a">
            <img src="{{icon}}"/>
            <div class="des txt-hide">
                <p class="pTit">经销商平均报价：<span class="red">{{price}}万</span></p>
                <p>
                    <em class="gray">首付：{{downPayment}}万&nbsp;&nbsp;</em>
                    <em class="gray">贷款金额：{{loanValue}}万</em>
                </p>
            </div>
        </li>   
        <li class="m-plst-b txt-hide blue" id="JselectC"  class="cur">{{name}}</li>
    </ul>
    <!--选车-->
    <div class="popCar" id="JpopCar">
        <div class="pop-bg"></div>
        <div class="pop-inner" id="Jpop-inner">
            <div class="pop-list">
                <div class="pop-th gray">选择车型</div>
				{{#if list}}
			      {{#each list}}
                <ul class="item item1">
				    <li class="item-th">{{year}}</li>
                    {{#if data}}
				      {{#each data}}
					   <a href = "http://{{{@root.host}}}/product/r{{../../../rid}}/pro{{../../../productId}}-m{{id}}-{{#if ../../../shoufu}}s{{../../../../shoufu}}{{else}}s{{../../../../firstdownPayment}}{{/if}}-p{{#if ../../../term}}{{../../../../term}}{{else}}{{../../../../firstPeriods}}{{/if}}/{{#if ../../../browser}}wx/{{/if}}f{{{@root.flow}}}/"/>
                       <li><em class="brand txt-hide">{{title}}</em><em class="red">{{price}}万</em>
					   <input type="hidden" value ="{{id}}" class="moder" />
					 </a>
					</li>
                     {{/each}}
			      {{/if}}
                </ul>
				  {{/each}}
			   {{/if}}    
            </div>
            <div class="pop-icon bg-white">
                <em></em>
                <em></em>
            </div>
        </div>
    </div>
    <!--/选车-->
    <!--以上为公共部分-->
    <div class="m-section m-form">
        <div class="u-info">抱歉，暂时没有符合您的金融产品。<br>为您推荐以下经销商办理车贷并提供购车咨询：</div>
        <form>
            <div class="u-txt"><input type="text" placeholder="请输入手机号" id="telephone"><i class="tred"></i></div>
            <div class="u-txt"><input type="text" placeholder="请输入您的称呼（如夏先生）" id="chenghu"><i class="tred"></i></div>
            <a onclick ="formSub();" class="u-btn" id="u-btn">提交</a>
        </form>
    </div>
	{{#if dealerList}}
    <div class="m-section m-delist">
	    <li class = "tred"> </li>
        <div class="m-th">选择多个经销商对比，可获更全面的参考</div>
        <ul id="Jdelist">
		   {{#each dealerList}}
		    {{#if_eq '1' check}}
            <li class="cur">
                <span>[4S店]{{name}}</span>
                <span>地址：{{address}}</span>
                <input type="checkbox" name="jxs" checked="checked" value="{{dealerId}}" >
            </li>
			  {{else}}
			  <li>
			     <span>[4S店]{{name}}</span>
                 <span>地址：{{address}}</span>
			    <input type="checkbox" name="jxs" value="{{dealerId}}" >
			   </li>
				{{/if_eq}}
			{{/each}}
        </ul>
		{{#if dealerShowLen}}
        <div class="u-more">展开剩余{{dealerShowLen}}经销商</div>
		{{/if}}

    </div>
{{/if}}
    <div class="m-popbox" id="m-popbox">
        <div class="m-bg"></div>
        <div class="m-pop">
            <div class="m-th">
                <p id="m-poptxt"></p>
            </div>
            <div class="m-tb" id="m-tb" onclick="closePop()">确定</div>
        </div>
    </div>
	<div class="m-popbox" id="m-network">
        <div class="m-bg"></div>
        <div class="m-pop">
            <div class="m-th">
                <p id="m-networktxt">网络不给力哦<br>请刷新页面再次输入信息！</p>
            </div>
            <div class="m-tb" id="m-nettb" onclick="closeDiv('m-network')">确定</div>
        </div>
    </div>
    <!-- 公共底部-->
    <script src="http://www.pcauto.com.cn/global/wap/footer_js/" charset="utf-8" class=" defer"></script>
    <!--/公共底部-->
</div>
<script src="http://js.3conline.com/wap/2013/common/js/zepto.min.js"></script>
<script src="http://js.3conline.com/min2/temp/v2/plugin-location2.js" charset="utf-8"></script>
<script src="http://js.3conline.com/pcauto/2015/chedaiwap/js/nogoods.js" charset="utf-8"></script>

<script>
// 提交数据
function formSub(){
    //具体获取表单可以通过这里提交，已经检查过数据了。
   // openPop("验证通过，执行ajax,开发在这里操作");
   //var modelId = document.getElementById('moderId').value;
    var url="http://{{{@root.host}}}/jrproxy/price.pcauto.com.cn/dealer/action/add_order.jsp?ad={{{@root.applyCountId}}}";
	var urlToken = 'http://{{{@root.host}}}/jrproxy/price.pcauto.com.cn/interface/token/applyToken.jsp';
	var token = '';
   // var url = "http://dev3.pcauto.com.cn:8001/dealer/action/add_order.jsp?_charset=GBK";
    var serialGroupId  = {{serialGroupId}};
    modelId	 = {{modelId}};
	var modelIdChange = getValue();
	var regionId = {{rid}};
	var name = document.getElementById('chenghu').value;
	var telPhone = document.getElementById('telephone').value;
	var ip ="{{ip}}";
	 // arr是一个数组，就是所有checkbox的值；
    var checkValue = '';
	var arr=document.getElementsByName("jxs");
    for(i=0;i<arr.length;i++){
     if(arr[i].checked){
	   checkValue = arr[i].value +',' +checkValue;
      }
    }
      if(checkValue.length >0)
      checkValue=checkValue.substring(0,checkValue.length-1);
    $.ajax({
      type: 'GET',
	  timeout : 15000,
      url: urlToken,
     // dataType: 'jsonp',
      // jsonp: 'callback',//传递给请求处理程序或页面的，用以获得jsonp回调函数名的参数名(默认为:callback)
      success:function (v){
		  token = v;
	      var confirmData ={"dIds":checkValue,"serialGroupId":serialGroupId,"modelId":modelId,"name":name,
          "phone":telPhone,"ip":ip,"regionId":regionId,"refererType":2,
           "origin":2,"payType":0,"html_TOKEN":token};
		  $.ajax({
             url: url,
             data: confirmData,
		     timeout : 3000, //超时时间设置，单位毫秒
             type:'POST',
             dataType:"json",
             error: function(){
                 openDiv('m-network');
           },
           success: function (data) {//一级订单提交成功
           if(data.status == 1){//发送成功
			   {{#if browser}}
    	             location.href="http://{{{@root.host}}}/success/wx/";// 询价成功页，不带参数
			   {{else}}
			        location.href="http://{{{@root.host}}}/success/";// 询价成功页，不带参数
	           {{/if}}
			
		    }
          console.log(data);
          callback(data);
         }
      });
      }
   });  	    
}
//提交
/*
function getToken(){
	//var token = '';
    var urlToken = 'http://{{{@root.host}}}/jrproxy/dev3.pcauto.com.cn:8001/interface/token/applyToken.jsp';
    $.ajax({
    type: 'GET',
	timeout : 3600,
    url: urlToken,
    dataType: 'jsonp',
   // jsonp: 'callback',//传递给请求处理程序或页面的，用以获得jsonp回调函数名的参数名(默认为:callback)
    success:function (v){
		 token = v.token;
		 return token;
     }
	});  
}
*/
/*
  function confirmAjax(url,params,callback){
      //  console.log(url);
        //代理处理ajax异步请求
        $.ajax({
            url: url,
            data:params,
            type:'POST',
            dataType:"json",
            error: function(){
                console.log("ajax error");
            },
            success: function (data) {//一级订单提交成功
                console.log("提交的参数：isHelper"+param.isHelper+"==>level:"+param.level+JSON.stringify(params))
                console.log("提交结果如下\n");
                console.log(data);
                callback(data);
            }
        });
    }
	*/


</script>
<script>_submitIvyID();</script>
<!--<script src="http://js.3conline.com/pcauto/2015/chedaiwap/js/pro.js" charset="utf-8"></script> -->
</body>
</html>
