first.html 2.2 KB
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>产品页</title>
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
    <link rel="stylesheet" type="text/css" href="css/common.css">
    <link rel="stylesheet" type="text/css" href="css/first.css">
    <script src="js/base.js"></script>
    <script src="js/jquery.min.js"></script>
</head>
<body>
<div class="container">
    <div class="home_container">

    </div>

    <!--设置Onclick样式-->
    <div class="download_container" style="display:block">
        <div class="download_container_main">
            <!--关闭图标-->
            <div class="download_container_main_close" >
                <img src="images/close_pic.png" id="btn_close">
            </div>
            <!--设置input框-->
            <div class="download_container_main_input">
                <input type="text" placeholder="请输入手机号或名字">
            </div>
            <!--设置登录-->
            <div class="download_container_main_btn" >
                <div class="download_container_main_btn_register " onclick="btn_next()" >
                    <a href="#">登录</a>
                </div>
            </div>
        </div>
    </div>
</div>

<script type="text/javascript">
    $(function () {
        // 遮罩层 以及 内容
        $(".btn_box_a").click(function(){
            $(".download_container").css("display","block")
            $(this).css("background","#CCCCCC")
        })

        $("#btn_close").click(function () {
            $(".download_container").css("display",'none')
            $(".btn_box_a").css("background","#0A84D9")
        })
        //------------------------------------
        // $("#btn_sub").click(function () {
        //     $(".download_container_main_btn_register").css("display","block")
        //     $(this).css("background","#CCCCCC")
        // })
        // $("#btn_sub").click(function () {
        //     $(".download_container_main_btn_register").css("display","block")
        //     $(this).css("background","#0A84D9")
        // })
    });
    function btn_next() {
        window.location.href = "wtfk.html";
    }

</script>

</body>
</html>