<!--{include file="<!--{$oetplpath}-->public/widget_header.tpl"}-->
<style>
  body{background: #fff;}
</style>
<div class="oe_jdlogin">
  <div class="content">
    <h1>马上登录，开启你的缘分之旅</h1>
    <div class="layui-tab layui-tab-brief" lay-filter="docDemoTabBrief">
      <input type="hidden" name="forward" id="forward" value="<!--{$forward}-->" />
      <input type="hidden" name="au_mod" id="au_mod" value="<!--{$au_mod}-->" />
      <input type="hidden" name="openid" id="openid" value="<!--{$openid}-->" />
      <input type="hidden" name="loginpage" id="loginpage" value="jdlogin" />
  
      <ul class="layui-tab-title">
        <li class="layui-this">帐号登录</li>
        <!--{if $config.smsflag == "1" && $config.regmobilecode == '1'}-->
        <li>短信登录</li>
        <!--{/if}-->
      </ul>
      
      <div class="layui-tab-content">
      
        <div class="oe_yanma" id="range_box" style="top:155px; left:65px;display:none;">
          <input type="hidden" name="rangecode" id="rangecode" value="" />
          <input type="hidden" id="send_type" id="send_type" value="login" />
          <h4>输入正确的图片校验码发送短信</h4>
          <input type="text" name="block_range" id="block_range" placeholder="请填写图片校验码" maxlength="5" data-input="mobile" /> 
          <img id="send_img_code" src="<!--{$urlpath}-->source/include/validcode.php?type=number&width=60&height=25&num=5" alt="点击换一张" class="cursor" />
        </div>
        <!--//range_box End -->
        
        <div class="layui-tab-item layui-show">
          <form class="layui-form" action="">
          <div class="layui-form-item">
            <div class="layui-input-block">
              <input type="text" name="loginname" id="loginname" placeholder="请输入用户名/手机号/邮箱" autocomplete="off" class="layui-input input_300" />
            </div>
          </div>
          <div class="layui-form-item">
            <div class="layui-input-block ">
              <input type="password" name="password" id="password" placeholder="请输入登录密码" autocomplete="off" class="layui-input input_300" />
              <a href="<!--{routeurl module='passport' action='forget'}-->" class="forget cursor" target="_top">忘记密码?</a>
            </div>
          </div>      
          <div class="layui-form-item">
            <div class="layui-input-block">
              <!--{if !empty($openid)}-->
              <button id="but_submit_login1" class="layui-btn layui-btn-lg oe_passport_btn" lay-submit lay-filter="loginform1">绑定登录<span class="oe_btn_loading layui-anim layui-icon layui-anim-rotate layui-anim-loop" style="display:none;">&#xe63d;</span></button>
              <!--{else}-->
              <button id="but_submit_login1" class="layui-btn layui-btn-lg oe_passport_btn" lay-submit lay-filter="loginform1">立即登录<span class="oe_btn_loading layui-anim layui-icon layui-anim-rotate layui-anim-loop" style="display:none;">&#xe63d;</span></button>
              <!--{/if}-->
            </div>
          </div>
          </form>
        </div>
        
        <div class="layui-tab-item">
          <form class="layui-form" action="">
          <div class="layui-form-item">
            <div class="layui-input-block">
              <input type="text" name="mobile" id="mobile" maxlength="11" placeholder="请输入登录手机号" autocomplete="off" class="layui-input input_300" />
            </div>
          </div>
          <div class="layui-form-item oe_ma">
            <div class="layui-input-block ">
              <input type="text" name="mobile_code" id="mobile_code" maxlength="6" placeholder="请输入手机验证码" autocomplete="off" class="layui-input input_300" />
              <span class="get action-send-mobile-code" f="but_send_mobile_code0" data-input="mobile" data-sendtype="login"><i>获取验证码</i></span>
            </div>
          </div>      
          <div class="layui-form-item">
            <div class="layui-input-block">
              <!--{if !empty($openid)}-->
              <button id="but_submit_login2" class="layui-btn layui-btn-lg oe_passport_btn" lay-submit lay-filter="loginform2">绑定登录<span class="oe_btn_loading layui-anim layui-icon layui-anim-rotate layui-anim-loop" style="display:none;">&#xe63d;</span></button>
              <!--{else}-->
              <button id="but_submit_login2" class="layui-btn layui-btn-lg oe_passport_btn" lay-submit lay-filter="loginform2">立即登录<span class="oe_btn_loading layui-anim layui-icon layui-anim-rotate layui-anim-loop" style="display:none;">&#xe63d;</span></button>
              <!--{/if}-->
            </div>
          </div>
          </form>
        </div>
        
      </div>
    </div>
    
  </div>
  
  
  <div class="oe_jdlogin_other">
    <!--{if !empty($openid) && !empty($au_headimg_full)}-->
    <div class="other_user">
      <dl>
        <dt><span><img src="<!--{$au_headimg_full}-->" /></span></dt>
        <dd>
          <!--{if !empty($au_nickname)}-->
          <h3><!--{$au_nickname}--></h3>
          <!--{/if}-->
        </dd>
      </dl>
    </div>
    <!--{/if}-->
    
    <div class="gologin">
      <p><a href="<!--{$oefile}-->?c=<!--{$c}-->&a=reg&forward=<!--{$forward|urlencode}-->&openid=<!--{$openid|urlencode}-->&au_nickname=<!--{$au_nickname|urlencode}-->&au_gender=<!--{$au_gender|urlencode}-->&au_province=<!--{$au_province|urlencode}-->&au_city=<!--{$au_city|urlencode}-->&au_headimgurl=<!--{$au_headimgurl|urlencode}-->&au_mod=<!--{$au_mod|urlencode}-->" target="_top">点此去注册<i></i></a></p>
    </div>
    
    <!--{if $config.sinalogin.flag == '1' || $config.qqlogin.flag == '1'  || $config.weixin_close == '0'}-->
    <h3 id="dsf_login_title"><span>其它方式登录</span></h3>
    <div class="icon" id="dsf_login_box">
      <!--{if $config.sinalogin.flag == '1'}-->
      <a href="<!--{$oefile}-->?c=<!--{$c}-->&a=auth&mod=sina&from=login&forward=<!--{$forward|urlencode}-->" target="_top" class="a_1"></a>
      <!--{/if}-->
      
      <!--{if $config.qqlogin.flag == '1'}-->
      <a href="<!--{$oefile}-->?c=<!--{$c}-->&a=auth&mod=qq&from=login&forward=<!--{$forward|urlencode}-->" target="_top" class="a_3"></a>
      <!--{/if}-->
      
      <!--{if $config.weixin_close == '0'}-->
      <a href="javascript:;" class="a_2" f="but_open_wxlogin"></a>
      <!--{/if}-->
      
    </div>
    <!--{/if}-->
    
  </div>
  <!--//oe_login_other End -->
  
</div>


<script type="text/javascript">
$(function(){
    //Tab的切换功能，切换事件监听等，需要依赖element模块
    layui.use('element', function(){

    });
    
    //9.02.21
    if ($("#dsf_login_box").find("a").length > 0) {
        
    }
    else {
        $("#dsf_login_box").hide();
        $("#dsf_login_title").hide();
    }
});
</script>
<script src="<!--{$skinpath}-->public/js/login.js?spm=<!--{$time}-->"></script>
<script src="<!--{$urlpath}-->tpl/static/js/picker.send.js"></script>
</body>
</html>