<?php /*a:1:{s:82:"F:\wpf\WpfApp1\WpfApp1\bin\x64\Debug\web\im\application\seller\view\user\user.html";i:1594602395;}*/ ?>
<!DOCTYPE html>
<html>
    <head>
	<meta charset="utf-8">
<meta charset="utf-8">
<link type="text/css" href="/im/public/seller/css/login.css" rel="stylesheet">
<title>商家登录</title>
</head>
<body>
      <div class="Header__header___Bak-D">
	  <div class="Header__left___1J0e2">
	  <img src="/im/public/seller/images/l.png" class="logo" width="78" height="24" alt="开店宝">
	  <p class="Header__logoDesc___44Md2">商家管理平台</p></div>
	  <div class="Header__right___14LG0"><ul>
	  <li class="item">
	  <a href="<?php echo site_url(); ?>" target="_blank">首页</a></li>
	  <li class="item">
	  <a href="<?php echo url('index/help/lists?id=50'); ?>" target="_blank">入驻指南</a></li>
	  <li class="item">
	  <a href="<?php echo url('index/help/lists?id=40'); ?>" target="_blank">商城资讯</a>
	  </li>
	  </ul></div></div>
	 <div class="login__content"><div class="slogan">海量流量、精准营销、深度分析，助力餐厅销量口碑双丰收</div>
	 <div class="login__box" id="loginBox" >
	 <div class="content">
	   
		<div class="login">
	           <div class="tit">商家登录</div>
			   <div class="frm">
			    <form class="am-form tpl-form-line-form" id="register_form"  action="<?php echo url('login'); ?>" >
				   <div class="ipt"><label for="account">账号</label><input type="text" name="username" placeholder="账户名" value="" placeholder="管理员帐号"/> </div>
			       <div class="ipt pwd"><label for="account">账号</label>
				   <input type="text" value="" name="password" " placeholder="密码"/>
				   </div>
				
				    <div class="btn"> <a  class="submit" >登录</a> </div>
					  <div class="btn"> <a  href="<?php echo url('index/user/register'); ?>" class="reg" >还没有账号? 免费注册</a> </div>
					<div class="warn"></div>
			     </form> 
			   </div>
			   
	   </div>
	   
	</div>	
	 
  </div>
  
	  
	
		<script type="text/javascript" src="/im/public/seller/js/jquery.min.js" ></script>
		<script type="text/javascript">
		

		
		$(".submit").click(function(){
    		var self = $("#register_form");
    		$.post(self.attr("action"),self.serialize(),success,"json");
    		return false;
         });
    		function success(data){
    			if(data.code){
    				window.location.href =data.url;
    			} else {
				    $(".warn").html(data.msg);
    				//刷新验证码
    				//$(".reloadverify").click();
    			}
    		}
    	
	</script>				
</body>
</html>
