<!doctype html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <link href="static/css/base.css" rel="stylesheet" />
    <link href="static/css/me.min.css" rel="stylesheet" />
    <script src="/uploads/image/mqpiscsjs/phonescale.js"></script>
    
    
    <title>妈妈俱乐部</title>
    <style>
        
        .meheader .logo{
            opacity: 0;
        }
        
        .txt-logo{
            width: 280px;
            margin: 80px auto 0;
            display: block;
        }
        .txt-tag{
            font-size: 48px;
            color: #242434;
            margin-top: 30px;
            letter-spacing: 4px;
        }
        
        .w-login-user{
            width: 500px;
            margin: auto;
            margin-top: 100px;
        }
        
        .w-login-user input{
            display: block;
            color: #b2b7c2!important;
            font-size: 32px;
            border: none;
            box-shadow: none;
            width: 100%;
            background-color: transparent !important;
            height: 80px;
            padding: 0 20px;
            border-bottom: 1px solid #e2e4ea;
        }
        .w-login-btn{
            width: 500px;
            height:88px;
            line-height:88px;
            background:rgba(52,132,255,1);
            border-radius:10px;
            
            font-size:30px;
            color:rgba(255,255,255,1);
            margin: 50px auto 20px;
            text-align: center;
        }
        
        .find_pwd{
            font-size: 28px;
            color: rgba(65,72,93,1);
            width: 500px;
            display: block;
            margin: auto;
            text-align: right;
        }
        html, body{
            height: 100%;
        }
        
        input:-webkit-autofill {
            background-color: #faffbd;
            background-image: none;
            color: #606060;
            -webkit-box-shadow: 0 0 0 1000px white inset;
        }
        
    </style>
</head>

<body>
    
    <div class="meheader v-center">
        <a href="/mamaclub/" class="v-center">
            <img  class="logo">
        </a>
        <div class="rule list">登录</div>
    </div>
    
    <div class="w-login-box">
        <div class="w-login-title">
            <img  class="txt-logo">
            <h1 class="txt-tag">登录贝亲</h1>
        </div>
        <div class="w-login-user">
            <input type="text" class="w-login-user-in u uname" placeholder="请输入手机号或用户名">
            <input type="password" class="w-login-user-in p pwd" placeholder="请输入密码">
        </div>
        <div class="w-login-btn" v="u">登录</div>
        <a href="/mamaclub/find_pwd.html" class="find_pwd">忘记密码</a>
        
    </div>
    
    
    <style>
    body{
        padding-bottom: 92px;
    }
    .footer {
        width: 100%;
        height: 92px;
        position: fixed;
        left: 0;
        bottom: 0;
        background-color: white;;
        z-index: 999999;
        border-top: 1px solid rgba(216,216,216,0.8);
    }
    
    .footer .nav {
        width: 25%;
        height: 100%;
        justify-content: center;
    }
    
    .footer .nav img {
        height: 75%;
    }
</style>

<div class="footer v-center">
    
            <a href="index.html" class="nav v-center">
            <img  class="nav-icon">
        </a>    
            <a class="nav v-center" href="member_activity.html">
            <img  class="nav-icon">
        </a>    
            <a class="nav v-center" href="member_vip.html">
            <img  class="nav-icon">
        </a>    
            <a href="quanzi.html" class="nav v-center">
            <img  class="nav-icon">
        </a>    
        <a href="member_center.html" class="nav v-center">
        <img  class="nav-icon">
    </a></div>



<script async ></script>
<script>
    window.datalayer = window.datalayer || [];
    function gtag() { datalayer.push(arguments); }
    gtag('js', new date());
    gtag('config', 'ua-96844273-1');
    console.log("footer_analytics_fine_pc");
</script>







    
    
</body>
<script src="/uploads/image/mqpiscslib/jquery.min.js"></script>
<script ></script>
<script>
    $(".w-login-change1").click(function () {
        $(".w-login-box-tel").show()
    })
    $(".w-login-change2").click(function () {
        $(".w-login-box-tel").hide()
    })    
</script>
<script>
    $(document).ready(function () {
        $(".w-login-btn").click(function () {
            var v = $(this).attr('v');
            var u = $(".u").val();
            var p = $('.p').val();
            var m = $(".m").val();
            var c = $(".c").val();
            
            if (v == 'u') {
                if (u == '' || u == null) {
                    alert('请输入用户名');
                    return false;
                }
                
                if (p == '' || p == null) {
                    alert('请输入密码');
                    return false;
                }
                
                var sdata = {
                    v: v,
                    u: u,
                    p: p
                }
            } else if (v == 'm') {
                if (m == '' || m == null) {
                    alert('请输入手机号');
                    return false;
                } else {
                    if (!checkmobile(mobile)) {
                        alert("请输入正确的手机号");
                        return false;
                    }
                }
                
                if (c == '' || c == null) {
                    alert('请输入短信验证码');
                    return false;
                }
                
                var sdata = {
                    v: v,
                    m: m,
                    c: c
                }
            }
            
            $.ajax({
                type: "post",
                url: "login/login",
                data: sdata,
                datatype: "json",
                success: function (res) {
                    if (res.type == 'error') {
                        if (res.data == 't') {
                            $('.tishi').show();
                            return false;
                        } else {
                            // alert(res.data);
                            console.log(res)
                            if (res.type == "error" && res.data == null) {
                                // console.log('heh')
                                location.href = "find_pwd.html?res=oldpwd";
                            } else {
                                alert(res.data);
                            }
                            return false;
                        }
                    } else {
                        window.location.href = res.link;
                    }
                }
            })
        })
    })
    var timeinv;
    var vcodeflag = false;
</script>
</html>