第一次周测试

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>周测一</title>
    <script type="text/javascript" src="http://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
    <style>
        body{padding: 0;margin: 0;background: #F7FAFC;}
        a{text-decoration: none;}
        .index-box{width:300px;height: auto;margin:0 auto;margin-top: 40px;}
        .logo{background: url(tab.png) no-repeat;;width: 185px;height: 90px;margin:0 auto}
        .title{font-size: 18px;text-align: center;color: #707171;font-weight: bold;margin: 30px auto;}
        .index-body{text-align: center;}
        .nav-sliders{position: relative;display: inline-block;margin-bottom: 25px;}
        .nav-sliders>a{font-size: 20px;display: inline-block;width:150px ;font-family: "微软雅黑";color: #999;cursor: pointer;float:left;}
        .nav-sliders>a.active{color: #eb000c;}
        .nav-sliders>span{position: absolute;height: 2px;background: #eb000c;display:block;;left:0px;width: 150px;bottom:-8px;}

        .login-box{width: 300px;display: none;}
        .wrap{border:1px solid #d5d5d5;border-radius: 5px;background: #fff;}
        .wrap>div{position: relative;overflow: hidden;}
        .wrap>div>input{width: 95%;border:none;padding:17px 2.5%;border-radius: 5px;}
        .wrap>div>label.error{position: absolute;color: #c33;top: 0;line-height: 50px;transform: translate(25px,0);transition: all 0.5s ease-out;-webkit-transform: translate(25px,0);-moz-transform: translate(25px,0);opacity: 0;visibility:hidden;cursor: text;}
        .wrap>div>label.move{transform: translate(0,0);transition: all 0.5s ease-out;-webkit-transform: translate(0,0);-moz-transform: translate(0,0);opacity: 1;visibility: visible;}
        .password{border-top: solid 1px #d5d5d5 ;}
        .code{right:115px ;}
        .button{height: 40px;background:red;text-align: center;line-height: 40px;border-radius: 5px;margin-top: 25px;color: #fff;font-family: "微软雅黑";cursor: pointer;}
        .remember{text-align: left;margin-top: 20px;font-family: "微软雅黑";color: #00a2ff;}
        .remember>a{float:right;cursor: pointer;color: #00a2ff;}
        .rememberf {text-align: left;margin-top: 20px;font-family: "微软雅黑";color: rgb(0, 0, 0);}
        .rememberf >a{float:right;cursor: pointer;color: #000000;}
        .other{text-align: left;margin-top: 20px;font-family: "微软雅黑";color: #666666;overflow: hidden;}
        .other>span{font-size: 14px;float: left;margin-top: 2px;cursor: pointer;}
        .other>div{float: left; transition: all 1s ease-in;-webkit-transition: all 0.3s ease-in;opacity: 0;transform: translateX(-20px);-webkit-transform: translateX(-18px);-moz-transform: translateX(-18px);visibility: hidden;}
        .other>div>a{margin-left: 20px;color: #666666;font-size: 15px;}
        .other>.hidden{ transition: all 1s ease-in;display: block;-webkit-transition: all 0.3s ease-in;opacity: 1;transform: translateX(0);-webkit-transform: translateX(0);-moz-transform: translateX(0);visibility: visible;}
        .download{border:solid 1px #0f88eb;height: 40px;line-height: 40px;border-radius: 5px;color:#0f88eb ;font-family: "微软雅黑";margin-top: 50px;cursor: pointer;position: relative;}
        .download>.close{display: none;}
        .download .pic{display:none;position: absolute;background: #fff;bottom: 78px;width: 310px;left: -10px;z-index: 5;padding: 40px 0;border-radius: 8px;box-shadow: 0 0 8px 0 rgba(0,0,0,.15);}
        .registered-box{width: 300px;}
        .text{font-size: 14px;margin-top: 20px;font-family: "微软雅黑";color: #666666;}
        .text>a{color: #0f88eb;}
        .verification-code{position: absolute;right:22px;top: 14px;font-family: "微软雅黑";font-size: 18px;cursor: pointer;}
        #register:hover{opacity: 0.7;}
        #login:hover{opacity: 0.7;}
    </style>
</head>
<body>
<div class="index-box">
    <div class="index-header">
        <h2 class="title"></h2>
    </div>
    <div class="index-body">
        <div class="nav-sliders">
            <a class="registered active">账号登录</a>
            <a class="login">手机登录</a>
            <span class="on"></span>
        </div>
        <div class="change">
            <div class="registered-box">
                <div class="wrap">
                    <div class="phone">
                        <input type="text" name="" value="" id="name" placeholder="请输入邮箱或手机号">
                        <label class="error name">请输入邮箱或手机号</label>
                    </div>
                    <div class="password">
                        <input type="text"  id="phone" value="" placeholder="请输入您的密码">
                        <label class="error phone restet">请输入您的密码</label>
                    </div>

                    <div class="password">
                    </div>
                </div>
                <div class="rememberf">
                    <label><input type="checkbox">七天内自动登录</label>
                    <a>忘记密码</a>
                    <div class="button" id="register">登录</div>
                    <div class="remember">
                        <label>登录即代表同意《飞扬会员规则》</label>
                        <a >注册</a>
                    </div>
                    <div class="text"><a href="/terms" target="_blank"></a></div>
                </div>
                <div class="login-box">
                    <div class="wrap">
                        <div class="phone">
                            <input type="text" name="" id="login-phone" value="" placeholder="请输入邮箱或手机号">
                            <label class="error phone restet">请输入邮箱或手机号</label>
                        </div>
                        <div class="password">
                            <input type="password" name=""  id="login-password" placeholder="请输入您的密码" maxlength="6">
                            <label class="error phone">请输入您的密码</label>
                        </div>
                    </div>
                    <div class="button" id="login">登录</div>

                    <div class="other">
                    </div>
                </div>
            </div>
        </div>
    </div>

    <script>
        $(function(){
            jcPublic.Tab();
        })
        var jcPublic = {
            Tab:function(){
                $(".nav-sliders>a").on("click",function(){
                    $(this).addClass('active').siblings().removeClass('active');
                    var $width = $(this).width();
                    var $index = $(this).index();
                    $(".on").stop(true,true).animate({"left":$width*$index+5+"px"},300);
                    $(this).parents(".index-body").children('.change').children().eq($index).stop(true,false).show().siblings().hide();
                })
            }
        }
    </script>
</body>
</html>
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
提供的源码资源涵盖了安卓应用、小程序、Python应用和Java应用等多个领域,每个领域都包含了丰富的实例和项目。这些源码都是基于各自平台的最新技术和标准编写,确保了在对应环境下能够无缝运行。同时,源码中配备了详细的注释和文档,帮助用户快速理解代码结构和实现逻辑。 适用人群: 这些源码资源特别适合大学生群体。无论你是计算机相关专业的学生,还是对其他领域编程感兴趣的学生,这些资源都能为你提供宝贵的学习和实践机会。通过学习和运行这些源码,你可以掌握各平台开发的基础知识,提升编程能力和项目实战经验。 使用场景及目标: 在学习阶段,你可以利用这些源码资源进行课程实践、课外项目或毕业设计。通过分析和运行源码,你将深入了解各平台开发的技术细节和最佳实践,逐步培养起自己的项目开发和问题解决能力。此外,在求职或创业过程中,具备跨平台开发能力的大学生将更具竞争力。 其他说明: 为了确保源码资源的可运行性和易用性,特别注意了以下几点:首先,每份源码都提供了详细的运行环境和依赖说明,确保用户能够轻松搭建起开发环境;其次,源码中的注释和文档都非常完善,方便用户快速上手和理解代码;最后,我会定期更新这些源码资源,以适应各平台技术的最新发展和市场需求。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值