<!--{assign var="menu_id" value="index"}-->
<!--{include file="<!--{$oetplpath}-->block_header.tpl"}--> 
<div class="oe_ntop">
  <i class="iconfont" onclick="goBack();">&#xe616;</i>
  <p>会员登录</p>
</div>
<div class="oe_login">
  <div class="oe_login_logo">
    <img src="<!--{$wapskin}-->images/logo.png" />
  </div>
  <ul>
  	<li>
	  <input type="text" placeholder="输入用户名/邮箱/手机" name="loginname" id="loginname" f="data-post" data-flag="1" data-prompt="请输入用户名/邮箱/手机" data-box="tips_submit" data-color="red" />
	</li>
  	<li>
	  <input type="password" placeholder="输入登录密码"  name="password" id="password" f="data-post" data-flag="1" data-prompt="请输入登录密码" data-box="tips_submit" data-color="red" />
	</li>
    <li class="li_3">
	  <p id="tips_submit" style="line-height:30px;"></p>
	  <span f="but_login" style="cursor:pointer;">登 录</span>
	</li>
    <li class="li_4">
	  <label onclick="goUrl('<!--{$oefile}-->&c=passport&a=reguser');">注册新会员</label>
	  <em onclick="goUrl('<!--{$oefile}-->&c=passport&a=forget');">找回密码？</em>
	</li>
  </ul>
</div>
<script type="text/javascript">
$(function(){
	//登录
	$(document).on("click", "[f='but_login']", function(){
		$_urlitems = _oemarryGetField();
		if ($_urlitems != false) {
			$_url = WAP_APPFILE + "&c=<!--{$c}-->&a=loginpost"+$_urlitems;
			$post_json = {"url":$_url, "type":"jump", "success_text":"登录成功", "fail_text":"登录失败", "tips_box":"tips_submit", "jumpurl":"<!--{$oefile}-->&c=cp"};
			_oemarryAjaxPost($post_json);
		}
	});

});
</script>
</body>
</html>