{{include file=Main_View('head')}}
<style>
	.bind{
		margin-top: 10px;
		width: 100%;
		float: left;
		background-color: #fff;
	}
	.sort{
		font-size: 16px;
		font-weight: bold;
	}
	.bind .sort span{
		padding-left: 10px;
		float: left; !important
	}
	.select_bind{
		border: 1px solid #DDD;
		border-top: 0;
	}
	.select_bind .radio{
		line-height: 80px;
	}
	.select_bind .radio .layui-form-radio {
		padding-left: 10px;
	}
	.msg{
		padding-left: 10px;
		line-height: 30px;
		text-align: center;
	}

	.layui-input{
		width: 30%;
		float: left;
		margin-top: 5px;
    	margin-left: 10px;
	}
	label{
		float: left;
		line-height: 50px;
		padding-left: 20px;
	}

</style>

<div class="bind layui-form">
	<div class="sort"><span>微信账号登陆</span></div>
	<div class="select_bind">
		
		<div style="clear: both;text-align: center;">
			<img src="/wechat/login/qrcode_login/codelogin/{{$_GET['codelogin']}}"/>
		</div>
		<div class="msg">
			<red>请使用微信扫描登陆</red>
		</div>
	</div>
</div>

<script type="text/javascript">
<!--
function countSecond(){
	$.get("/wechat/login/testlogin/codelogin/{{$_GET['codelogin']}}{{C('html')}}?"+Math.random(), function(data){
		if(data>0)window.location.href='{{FromUrl}}';
	});
	setTimeout("countSecond()",2000);
}
countSecond()
//-->
</script>
{{include file=Main_View('foot')}}