		<body class="bg">
			<div id="centre" class="layout">
				<div class="centreInner ">
					<div class="mainInner radius5 ">
						<!--2016-11-10-->
						
						<div class="loan">
							<p class="center f24 mt15 word-6">365金融贷款，帮您快速卖房</p>
							<div class="cf yz-loant">
								<div class="fl cf">
									<img src="<?=STATIC_SOURCE_URL?>/zsb/images/v1.0/applicat_img1.png" />
									<div>
										<p class="f16 ml10 word-3">额度高</p>
										<p class="f12 word-6 ml10 mt4">最高可贷房款8成</p>
									</div>
								</div>
								<div class="fl cf">
									<img src="<?=STATIC_SOURCE_URL?>/zsb/images/v1.0/applicat_img5.png" />
									<div>
										<p class="f16 ml10 word-3">放款快</p>
										<p class="f12 word-6 ml10 mt4">最快1天放款</p>
									</div>									
								</div>
								<div class="fl cf">
									<img src="<?=STATIC_SOURCE_URL?>/zsb/images/v1.0/applicat_img2.png" />
									<div>
										<p class="f16 ml10 word-3">结佣快</p>
										<p class="f12 word-6 ml10 mt4">客户成交后即可结佣</p>
									</div>									
								</div>
								<div class="fl cf">
									<img src="<?=STATIC_SOURCE_URL?>/zsb/images/v1.0/applicat_img4.png" />
									<div>
										<p class="f16 ml10 word-3">0风险</p>
										<p class="f12 word-6 ml10 mt4">无任何担保责任</p>
									</div>								
								</div>
							</div>	
							
							<div class="w870 mt30 cf">
								<div class="fl word-4c f16">贷款产品</div>
								<div class="fr word-blue f14">>></div><a class="fr word-blue f14" href="http://loan.house365.com" target="_blank">更多贷款产品 </a>
							</div>	
							<div class="yz-loana mt10 f13">								
								<table>
									<tr>
										<td width="160">
											<p class="f16 word-white" align="center">按揭贷款</p>
										</td>
										<td width="195" valign="top">
											<div class="yz-loanm1">
												<p class="word-9 l20">适用于：</p>
												<p class="word-6 l20">二手房、新房按揭;</p>
											</div>
										</td>
										<td width="334" valign="top">
											<div class="fl yz-loanm2" >
												<p class="word-9 l20">产品特点：</p>
												<p class="l20 word-6">最高可贷款<span class="word-orange">8</span>成</p>
												<p class="l20 word-6">期限最长<span class="word-orange">30</span>年</p>
												<p class="l20 word-6">手续费<span class="word-orange">1500</span>元/笔</p>
											</div>
											<div class="yz-loanm3">											
												<p class="l20  word-6">理论低至<span class="word-orange">8.5</span>折</p>
												<p class="l20 word-6">审批最快<span class="word-orange">3</span>天</p>
											</div>
										</td>
										<td valign="middle" align="center">
											<a class="yz-lbtn" href="http://loan.house365.com/mortgageLoan.html" target="_blank">查看详情</a>
										</td>
									</tr>
									<tr>
										<td width="160">
											<p class="f16 word-white" align="center">委托贷</p>
										</td>
										<td width="195" valign="top">
											<div class="yz-loanm1">
												<p class="word-9 l20">适用于：</p>
												<p class="word-6 l20">卖旧房，买新房，</p>
												<p class="word-6 l20">旧房在售，暂未成交，</p>
												<p class="word-6 l20">想先订购其他房产。</p>
											</div>
										</td>
										<td width="334" valign="top">
											<div class="fl yz-loanm2" >
												<p class="word-9 l20">产品特点：</p>
												<p class="l20 word-6">额度最高<span class="word-orange">200</span>万</p>
												<p class="l20 word-6">无抵押，不需公正</p>
												<p class="l20 word-6">手续费<span class="word-orange">1.3%</span>/笔</p>
											</div>
											<div class="yz-loanm3">											
												<p class="l20 word-6">借款周期<span class="word-orange">30-180</span>天</p>
												<p class="l20 word-6">按天计息、到期还本</p>
												<p class="l20 word-6">利息<span class="word-orange">0.04%</span>/天    </p>
											</div>
										</td>
										<td valign="middle" align="center">
											<a class="yz-lbtn" href="http://loan.house365.com/creditLoan.html " target="_blank">查看详情</a>
										</td>
									</tr>
									<tr>
										<td width="160">
											<p class="f16 word-white" align="center">换房贷</p>
										</td>
										<td width="195" valign="top">
											<div class="yz-loanm1">
												<p class="word-9 l20">适用于：</p>
												<p class="word-6 l20">卖旧房，买新房，</p>
												<p class="word-6 l20">旧房已卖，暂未拿到房款，</p>
												<p class="word-6 l20">新买房马上要付房款</p>
											
											</div>
										</td>
										<td width="334" valign="top">
											<div class="fl yz-loanm2" >
												<p class="word-9 l18">产品特点：</p>
												<p class="l20 word-6">额度最高<span class="word-orange">200</span>万</p>
												<p class="l20 word-6">无抵押，不需公正</p>
												<p class="l20 word-6">手续费<span class="word-orange">1.3%</span>/笔</p>
												     

											</div>
											<div class="yz-loanm3">											
												<p class="l20 word-6">借款周期<span class="word-orange">30-180</span>天</p>
												<p class="l20 word-6">按天计息、到期还本</p>
												<p class="l20 word-6">利息<span class="word-orange">0.04%</span>/天    </p>
											</div>
										</td>
										<td valign="middle" align="center">
											<a class="yz-lbtn" href="http://loan.house365.com/creditLoan.html" target="_blank">查看详情</a>
										</td>
									</tr>
									
								</table>
															
							</div>
							<div class="cf f14 w870">
								<div class="fl word-6">
									解决客户资金问题，快速卖房拿佣金
								</div>
								<div class="fr word-6">
									<?php 
									if(!empty($info['master_name']))
									{
									echo "赚佣详情，请咨询客户经理： <span class='word-3'>".$info['master_name']."</span>   <span class='word-orange'>".$info['master_telno']."</span>";
									}
									?>
								</div>
							</div>	
							
							<div class="w870 mt30 cf">
								<div class="fl word-4c f16"> 365金融学堂</div>
								<div class="fr word-blue f14">换房急用钱、过户前拿房款，找365金融</div>
							</div>	
							<div class="yz-loanv cf">
								<div class="fl">
									<div class="yz-lv">
										<img src="<?=STATIC_SOURCE_URL?>/zsb/images/v1.0/loan_1.png" />
										<div class="yz-cover" onclick="ShowPop('loanPop','http://www.house365.com/tv/365player/VideoPlayer1.2.swf?flvurl=http://pic.house365.com/erbu/zsb/1.mp4&loop=1&autoPlay=1&isAd=0&ispauseAd=0','【第一期】客户认为费率高')">
											<img src="<?=STATIC_SOURCE_URL?>/zsb/images/v1.0/yz-lstart.png" />
										</div>
									</div>
									<p class="word-3 f16 mt10 mb30">【第一期】客户认为费率高</p>
								</div>
								<div class="fl">
									<div class="yz-lv">
										<img src="<?=STATIC_SOURCE_URL?>/zsb/images/v1.0/loan_2.png" />
										<div class="yz-cover" onclick="ShowPop('loanPop','http://www.house365.com/tv/365player/VideoPlayer1.2.swf?flvurl=http://pic.house365.com/erbu/zsb/2.mp4&loop=1&autoPlay=1&isAd=0&ispauseAd=0','【第二期】卖方的房子有抵押，卖方不愿意做借款人')">
											<img src="<?=STATIC_SOURCE_URL?>/zsb/images/v1.0/yz-lstart.png" />
										</div>
									</div>
									<p class="word-3 f16 mt10 mb30">【第二期】卖方的房子有抵押，卖方不愿意做借款人</p>
								</div>
								<div class="fl">
									<div class="yz-lv">
										<img src="<?=STATIC_SOURCE_URL?>/zsb/images/v1.0/loan_3.png" />
										<div class="yz-cover" onclick="ShowPop('loanPop','http://www.house365.com/tv/365player/VideoPlayer1.2.swf?flvurl=http://pic.house365.com/erbu/zsb/3.mp4&loop=1&autoPlay=1&isAd=0&ispauseAd=0','【第三期】买房者不愿意办理独家委托')">
											<img src="<?=STATIC_SOURCE_URL?>/zsb/images/v1.0/yz-lstart.png" />
										</div>
									</div>
									<p class="word-3 f16 mt10 mb30">【第三期】买房者不愿意办理独家委托</p>
								</div>	
								<div class="fl">
									<div class="yz-lv">
										<img src="<?=STATIC_SOURCE_URL?>/zsb/images/v1.0/loan_4.png" />
										<div class="yz-cover" onclick="ShowPop('loanPop','http://www.house365.com/tv/365player/VideoPlayer1.2.swf?flvurl=http://pic.house365.com/erbu/zsb/4.mp4&loop=1&autoPlay=1&isAd=0&ispauseAd=0','【第四期】客户担心拿到借款买不到房子，还要支付利息')">
											<img src="<?=STATIC_SOURCE_URL?>/zsb/images/v1.0/yz-lstart.png" />
										</div>
									</div>
									<p class="word-3 f16 mt10 mb30">【第四期】客户担心拿到借款买不到房子，还要支付利息</p>
								</div>	
								<div class="fl">
									<div class="yz-lv">
										<img src="<?=STATIC_SOURCE_URL?>/zsb/images/v1.0/loan_5.png" />
										<div class="yz-cover" onclick="ShowPop('loanPop','http://www.house365.com/tv/365player/VideoPlayer1.2.swf?flvurl=http://pic.house365.com/erbu/zsb/5.mp4&loop=1&autoPlay=1&isAd=0&ispauseAd=0','【第五期】客户担心房子未成功售卖，导致借款无法偿还')">
											<img src="<?=STATIC_SOURCE_URL?>/zsb/images/v1.0/yz-lstart.png" />
										</div>
									</div>
									<p class="word-3 f16 mt10 mb30">【第五期】客户担心房子未成功售卖，导致借款无法偿还</p>
								</div>	
								<div class="fl">
									<div class="yz-lv">
										<img src="<?=STATIC_SOURCE_URL?>/zsb/images/v1.0/loan_6.png" />
										<div class="yz-cover" onclick="ShowPop('loanPop','http://www.house365.com/tv/365player/VideoPlayer1.2.swf?flvurl=http://pic.house365.com/erbu/zsb/6.mp4&loop=1&autoPlay=1&isAd=0&ispauseAd=0','【第六期】客户担心借款逾期')">
											<img src="<?=STATIC_SOURCE_URL?>/zsb/images/v1.0/yz-lstart.png" />
										</div>
									</div>
									<p class="word-3 f16 mt10 mb30">【第六期】客户担心借款逾期</p>
								</div>	
				    		</div>
						</div>
						<!--视频弹出框-->
						<div class="cover"></div>
						
						<div class="loanPop" style="display: none;">
							<div class="popwap cf">
								<span class="hidepop" onclick="HidePop('loanPop')">X</span>
								<div class="poptitle">
									
								</div>
								<div class="p10 yz-vedio">
									
								</div>					
							</div>				
						</div>
						<style>
							.word-6{color: #666;}
							.word-3{ color: #333;}
							.word-9{ color: #999;}
							.word-white{ color: #fff;}
							.word-orange{ color: #ff8400;}
							.word-blue{ color: #3887f2;}
							a.word-blue:hover{ color: #3887f2; text-decoration: underline;}
							.word-4c{ color: #4c4c4c;}
							.w870{ margin: 10px 0; width: 872px;}
							.mt4{ margin-top: 4px;}
							.mt30{ margin-top: 30px;}
							.l20{ line-height: 20px;}
							div.f13{ font-size: 13px;}
							.cf:after {content: "";display: block;clear: both;height: 0;font-size: 0;}
							.cf {zoom: 1;}
							.fl{ float: left;}
							.fr{ float: right;}
							.yz-loant{ width: 90%; margin: 40px auto;}
							.yz-loant div.fl{ width: 25%;}
							.yz-loant div img{ float: left;}
							.yz-loant div.fl div{ float: left;}
							.yz-loana{ width: 876px; height: 305px; background: url(<?=STATIC_SOURCE_URL?>/zsb/images/v1.0/yz-loanbg.png) no-repeat;}
							.yz-loana table{ width: 875px; margin: 1px auto;}
							.yz-loana td{ height: 100px;}
							.yz-loanm1{ margin: 12px 0 0 35px;}
							.yz-loanm2{ margin: 12px 0 0 35px;}
							.yz-loanm3{ margin: 30px 55px 0 0; width: 120px; float: right;}
							.yz-lbtn{ background: #ff8400; border-radius: 2px; padding: 10px 26px; font-size: 14px; color: #fff; cursor: pointer;}
							.yz-lbtn:hover{ color: #fff; text-decoration:underline;}
							#asideBox .a35, #asideBox .on .a35{ background: url(<?=STATIC_SOURCE_URL?>/zsb/images/v1.0/leftIco03new3.png) no-repeat;}
							.yz-loanv{width: 834px;padding: 20px;border: 1px solid #e0e0e0;border-radius: 6px;background-color: #fff;}
							.yz-loanv .fl{ margin: 10px 7px; cursor: pointer;}
							.yz-loanv .yz-lv{ position:relative;width: 264px; height: 168px; border-radius: 3px; overflow: hidden;}
							.yz-loanv p{ width: 264px; line-height: 24px;}
							.yz-loanv .yz-lv img{ width: 100%; height: 100%;}
							.yz-cover{ display: none; position: absolute;top:0; left: 0;width: 264px; height: 168px; }
							/*弹出框*/
							.cover{ position: fixed; left: 0;top:0; background:rgba(0,0,0,0.6);filter:progid:DXImageTransform.Microsoft.gradient( GradientType = 0,startColorstr = "#60000000",endColorstr = "#60000000"); z-index: 19;}	
							.loanPop{ padding:10px;position: fixed; z-index: 20; background:black; border-radius: 4px; font-family: Microsoft yahei;height: 450px; z-index: 1002;}					
							.loanPop span.hidepop{ position: absolute; right:10px;top:10px; background: #FF0000; border-radius: 10px; color: #fff; height: 20px; width: 20px; text-align: center;cursor:pointer; line-height: 20px;}														
							.loanPop .popwap{ width: 640px; height: 450px; font-size: 14px; line-height: 26px; background: #fff; }		
							.poptitle{ font-size: 14px; padding:0 5px 5px; background: #000000; color: #fff;}								
						</style>
						<script>
							$(function(){
								$(".yz-lv").hover(function(){
									$(this).children(".yz-cover").show();
								},function(){
									$(this).children(".yz-cover").hide();
								});
							})
							
							
							
							function ShowPop(show,obj,title){
								var bh = $(window).height(); 
								var bw = $(window).width();
								$(".cover").css({ 
									height:2 * bh, 
									width:bw, 
									display:"block" 
								}); 
								var name=show;					 
								var t=210;
								var l=320;					
								$("." + show).css({ 
									"top":bh/2 - t,
									"left":bw/2 - l
								}); 
								
								var src = "<embed src='" + obj + "' quality='high' pluginspage='http://www.macromedia.com/go/getflashplayer' width='640' height='420' type='application/x-shockwave-flash'  allowFullScreen='true' wmode='transparent'></embed>";
								$(".yz-vedio").html(src);
								$(".poptitle").html(title);
								$("." + show).fadeIn(500); 
							}
							//关闭提示
							function HidePop(show){
								$(".cover").fadeOut(100);
								$("." + show).fadeOut(500);
								$(".yz-vedio").html("");
							}	
						</script>
						<!-- 2016-11-10 -->
					</div>
				</div>
			</div>
		</body>

		<div class="dialog dialog2 dialogDk radius5" id="js_dialogDk">
			<div class="hd">
				<h3 class="h3">365贷款——<span id="loan_title"></span></h3>
				<p title="关闭" class="close close-win">关闭 </p>
			</div>

			<div class="mod">
				<div class="forms">
					<dl class="list">

						<dd class="list_item clearfix">
							<label class="label">贷款人姓名：</label>
							<div class="fields nameInput">
								<div class="fgInput jsNameInput jsFgInput">
									<label class="labelPrev labelPrevN jslabelPrev" for="jsNameInput">请输入姓名</label>
									<input type="text" id="jsNameInput" class="input_text w180 loan_name">
								</div>
							</div>
						</dd>
						<!---->

						<dd class="list_item clearfix">
							<label class="label">贷款人电话：</label>
							<div class="fields nameInput ">
								<div class="fgInput jsNameInput jsFgInput">
									<label class="labelPrev labelPrevN jslabelPrev" for="jsNameInputTel">请输入电话</label>
									<input type="text" id="jsNameInputTel" class="input_text w180 loan_telno">
								</div>
							</div>
						</dd>

						<dd class="list_item clearfix">
							<label class="label">贷款金额：</label>
							<div class="fields nameInput ">
								<div class="fgInput jsNameInput jsFgInput">
									<label class="labelPrev labelPrevN jslabelPrev" for="jsNameInputPirce">请输入贷款金额(单位：万元)</label>
									<input type="text" id="jsNameInputPirce" class="input_text w180 loan_amount">万元

								</div>
							</div>
						</dd>

						<dd class="list_item clearfix">
							<label class="label">贷款类型：</label>
							<div class="fields nameInput ">
								<div class="fgInput jsNameInput jsFgInput">
									<p class="input_text_dk producttype"></p>
								</div>
							</div>
						</dd>

						<dd class="list_item clearfix">
							<label class="label">经纪人账号：</label>
							<div class="fields nameInput ">
								<div class="fgInput jsNameInput jsFgInput">
									<p class="input_text_dk">xuefei</p>
								</div>
							</div>
						</dd>

						<dd class="list_item clearfix" style="display:none;">

							<div id="js_error_pop_d" style="color:red;padding-left:110px;"></div>

						</dd>

						<dd class="list_item clearfix">
							<a id="submitBtn" class="btnPopo btnCon radius5" href="javascript:void(0)">提交</a>
							<!--<a class="btnPopo btnCon radius5" href="javascript:void(0)" style="background:#f9f9f9;" >提交</a>-->
							<a class="btnPopo btnPopo02 btnCon radius5 close-win" href="javascript:void(0)">取消</a>
						</dd>
					</dl>
				</div>

			</div>

		</div>
	</body>

</html>
<script>
	$(function() {
		$(".link_d").click(function() {
				var pid = $(this).attr("id");
				if(pid == 5) {
					$(".producttype").text("信用贷款");
					$("#loan_title").text("信用贷款");
				} else if(pid == 4) {
					$(".producttype").text("房屋按揭");
					$("#loan_title").text("房屋按揭");
				}
				$("#pid").val(pid);
				openWin('js_dialogDk');
			})
			//贷款金额限制
		$(".loan_amount").on('keyup focusout', function() {
				var v = $(this).val().replace(/\D/g, '');
				if(v.length > 10) {
					v = v.substring(0, 10);
				}
				//$(this).val(v);
				$(".loan_amount").val(v);
			})
			//电话限制
		$(".loan_telno").on('keyup focusout', function() {
			var v = $(this).val().replace(/\D/g, '');
			if(v.length > 20) {
				v = v.substring(0, 20);
			}
			//$(this).val(v);
			$(".loan_telno").val(v);
		})

		//姓名限制//[\u4E00-\u9FA5]
		$(".loan_name").on('keyup focusout', function() {
			var v = $(this).val().replace(/[^\u4E00-\u9FA5a-zA-Z]/g, '');
			if(v.length > 10) {
				v = v.substring(0, 10);
			}
			//$(this).val(v);
			$(".loan_name").val(v);
		})

		$("#submitBtn").click(function() {

			var url = '/my_loan/addLoan/';
			var data = {};
			data.loan_amount = parseInt($(".loan_amount").val());
			data.loan_telno = parseInt($(".loan_telno").val());
			data.loan_name = encodeURI($(".loan_name").val());
			data.pid = $("#pid").val();
			// console.log(data);
			var tel_re = /^1\d{10}$/;
			if(!tel_re.test($(".loan_telno").val())) {
				$("#js_error_pop_d").text("请填写正确的手机号码后提交！").parent().show();
				return false;
			}
			if(!data.loan_amount || !data.loan_telno || !data.loan_name) {
				//openWin("warning3");  
				$("#js_error_pop_d").text("请填写正确的信息后提交！").parent().show();

				return false;
			}
			$.post(url, data, function(result) {
				if(result.result == 1) {
					//openWin("docation_loading");
					$("#js_dialogDk").hide();
					// alert('保存成功！');  
					openWin("warning1");
				} else {
					//alert("保存失败,请重新输入！");
					//openWin("warning2");
					$("#js_error_pop_d").text("很遗憾，保存失败！").parent().show();
				}
				//$(".link_d").hide();
			}, 'json');

			return false;
		})

	})
</script>

<div style="display:none;" class="dialog dialogW340 radius5" id="warning1">
	<div class="hd">
		<h3 class="h3">提示</h3>
		<p class="close close-win" title="关闭">关闭 </p>
	</div>
	<div class="mod">
		<div class="textMod textMod003"><img alt="" src="<?=STATIC_SOURCE_URL?>/zsb/images/v1.0/okBg.png"> 保存成功！</div>

	</div>
</div>