<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>京东-欢迎登陆</title>
<!--设置网页图标
rel: icon(设置图标)
type: 文件类型 image/图片类型(png,ico,x-ico)
-->
<link rel="icon" type="image/x-icon" href="img/icon.ico">
<link rel="stylesheet" type="text/css" href="css/jingdong.css">
</head>
<body>
<!--===========1.顶部 ==========-->
<div id="header">
<!--上面的文字 -->
<div class="h-top">
<!--图片的部分 -->
<div class="icon">
<img src="img/logo.png" alt="">
<img src="img/l-icon.png" alt="">
</div>
<!--问卷 -->
<a href="https://surveys.jd.com/index.php?r=survey/index/sid/568245/lang/zh-Hans" target="_blank">登录页面,调查问卷</a>
</div>
<!--下面的文字 -->
<div class="h-bootom">
<div>
<img src="img/warning.png" alt="">
<p>依据《网络安全法》,为保障您的账户安全和正常使用,请尽快完成手机号验证! 新版<a href="https://about.jd.com/privacy/" target="_blank">《京东隐私政策》</a>已上线,将更有利于保护您的个人隐私。
</p> </div>
</div>
</div>
<!--=============2.中间内容 =======-->
<div id="content">
<div class="input_div">
<div class="info-top">
<div class="top-top">
<img src="img/warning.png" alt="">
<p>京东不会以任何理由要求您转账汇款,谨防诈骗。</p>
</div>
<div class="top-bottom">
<button>扫码登录</button>|
<button>账号登录</button>
</div>
</div>
<div class="info-middle">
<div class="username">
<img src="img/pygame.png" alt="">
<input type="text" name="username" placeholder="邮箱/用户名/已验证手机号">
</div>
<div class="password">
<img src="img/password_icon.png" alt="">
<input type="text" name="password" placeholder="密码">
</div>
<!--忘记密码 -->
<a href="https://safe.jd.com/findPwd/index.action">忘记密码</a>
<!--登录按钮 -->
<button class="login_button">登录</button>
</div>
<div class="info-bottom">
<div>
<a class="qq" href="https://graph.qq.com/oauth2.0/show?which=Login&display=pc&response_type=code&state=38539B48F61E4E2064E443666C83ACAA4750F821809C1687C28A74953800BBE618BF2D959993CAA766ED93940866DAFE&client_id=100273020&redirect_uri=https%3A%2F%2Fqq.jd.com%2Fnew%2Fqq%2Fcallback.action%3Fview%3Dnull%26uuid%3Da6a8442a2d6d42e09cb7a984b171b4d5"><img src="img/qq.png" alt=""></a>
<font>|</font>
<a class="line" href="https://open.weixin.qq.com/connect/qrconnect?appid=wx827225356b689e24&state=C0AE834AA398CEB7182D0361BAA0536E1FF0B01BEC988329FA5932B9276F61268241D124211BB2CBEF23B374DA1B602B&redirect_uri=https%3A%2F%2Fqq.jd.com%2Fnew%2Fwx%2Fcallback.action%3Fview%3Dnull%26uuid%3Dad2d0c28e65c47d98ddc955f166ebe6e&response_type=code&scope=snsapi_login#wechat_redirect"><img src="img/weixin.png" alt=""></a>
<a class="regist" href="https://reg.jd.com/reg/person?ReturnUrl=http%3A%2F%2Fwww.jd.com" style="font color: red;"><img src="img/right.png" alt="">立即注册</a>
</div>
</div>
</div>
</div>
<!--3.=========== 1.底部 ==========-->
<div id="footer">
<div class="footer-a">
<a href="https://www.jd.com/">关于我们 </a>|
<a href="http://about.jd.com/contact"> 人才招聘 </a>|
<a href="http://zhaopin.jd.com/home;jsessionid=A2F35ECF6B857BCD111DA6556F19EA41.s1"> 商家入驻 </a>|
<a href=""> 广告服务 </a>|
<a href=""> 手机京东 </a>|
<a href=""> 友情链接 </a>|
<a href=""> 销售联盟 </a>|
<a href=""> 京东社区 </a>|
<a href=""> 京东公益 </a>|
<a href=""> English Site </a>
</div>
<div class="footer-p">
<p>Copyright © 2004-2018 京东JD.com 版权所有</p>
</div>
</div>
</body>
</html>
/* =====0.通用===========*/
* {
margin: 0;
padding: 0;
position: relative;
}
a {
text-decoration: none;
}
/*==========1.header========= */
#header {
width: 100%;
height: 120px;
}
#header .h-top {
width: 100%;
height: 80px;
}
#header .h-top .icon {
position: absolute;
left: 142px;
/* 垂直居中*/
height: 60px;
top: 50%;
line-height: 60px;
margin: -30px 0 0 0;
}
#header .h-top a {
/* 布局*/
position: absolute;
right: 35px;
bottom: 10px;
/* 字体*/
font-size: 12px;
color: rgb(153, 153, 153);
/* 背景图*/
background: url(../img/q-icon.png) no-repeat 0 center;
padding-left: 20px;
}
#header .h-top a:hover {
color: red;
text-decoration: underline;
}
#header .h-bootom {
width: 100%;
height: 40px;
background-color: rgb(255, 248, 240);
/* 让父标签水平居中*/
text-align: center;
}
#header .h-bootom,
.top-top {
/* background-color: chartreuse; */
display: inline;
}
/*用图片标签做 */
#header .h-bootom div p,
.top-top p {
font-size: 12px;
color: rgb(153, 153, 153);
display: inline;
}
#header .h-bootom div img,
.top-top img {
top: 9px
}
#header .h-bootom p a {
color: rgb(40, 40, 40);
}
#header .h-bootom p a:hover {
text-decoration: underline;
}
/* 用背景图的时候*/
/* #header .h-bootom p{
text-align: center;
height: 40px;
line-height: 40px;
color: rgb(153,153,153);
font-size: 12px;
background: url(../img/warning.png) no-repeat 220px center;
}
#header .h-bootom p a{
color: rgb(40,40,40);
}
#header .h-bootom p a:hover{
text-decoration: underline;
} */
/*==========2.content========= */
/* 内容顶部*/
#content {
width: 100%;
height: 514px;
background: url(../img/QQ截图20180816144141.png) no-repeat 20% center;
background-color: rgb(11, 142, 212);
}
#content .input_div {
width: 344px;
height: 438px;
background-color: white;
position: absolute;
top: 10px;
right: 110px;
}
/* 登录框顶部*/
#content .input_div .info-top {
height: 100px;
background-color: rgb(255, 248, 240);
text-align: center;
}
#content .input_div .info-top .top-bottom {
height: 55px;
width: 100%;
background-color: white;
position: absolute;
bottom: 0px;
/*设置竖线的颜色 */
color: rgb(200, 200, 200);
border-bottom: 1px solid rgb(220, 220, 220);
}
#content .input_div .info-top .top-bottom button {
width: 150px;
height: 55px;
border: 0;
background-color: rgba(0, 0, 0, 0);
font-size: 20px;
color: rgb(53, 53, 53);
}
#content .input_div .info-top .top-bottom button:hover {
color: #FF0000;
}
#content .input_div .info-top .top-bottom button:focus {
color: #FF0000;
/*按钮和输入框成为焦点狗默认的边框,是outline */
outline: none;
}
/*登录框中部 */
#content .input_div .info-middle {
height: 288px;
background-color: white;
position: relative;
}
/*用户名和密码 输入*/
#content .input_div .info-middle .username,
#content .input_div .info-middle .password {
background-color: white;
width: auto;
height: 40px;
position: absolute;
left: 20px;
right: 20px;
top: 40px;
border: 1px solid rgb(100, 100, 100);
}
#content .input_div .info-middle .password {
top: 110px;
}
#content .input_div .info-middle img {
float: left;
height: 100%;
border: 0px solid rgb(100, 100, 100);
}
#content .input_div .info-middle input {
border: 0;
float: left;
height: 100%;
width: auto;
padding-left: 15px;
}
/* 设置成为焦点时候的样式*/
#content .input_div .info-middle input:focus {
outline: none;
}
#content .input_div .info-middle a {
/* float: right; */
position: absolute;
top: 180px;
right: 20px;
font-size: 12px;
color: rgb(120, 120, 120);
}
#content .input_div .info-middle a:hover {
color: red;
text-decoration: underline;
}
/* 登录按钮*/
#content .input_div .info-middle button {
font-size: 25px;
letter-spacing: 25px;
font-weight: normal;
color: white;
width: 304px;
height: 42px;
background-color: #FF0000;
position: absolute;
bottom: 35px;
left: 20px;
}
/*登录框底部 */
#content .input_div .info-bottom {
height: 50px;
border-top: ;
background-color: white;
border-top: 1px solid rgb(220, 220, 220);
position: relative;
}
#content .input_div .info-bottom{
width: 100%;
line-height: 37px;
}
#content .input_div .info-bottom .qq{
position: absolute;
left: 20px;
top: 10px;
}
#content .input_div .info-bottom font{
color: rgb(200,200,200);
position: absolute;
left: 50px;
top: 3.5px;
}
#content .input_div .info-bottom .line{
position: absolute;
left: 60px;
top: 10px;
}
#content .input_div .info-bottom .regist img{
position: absolute;
top: 8px;
right: 62px;
}
#content .input_div .info-bottom .regist{
position: absolute;
top: 5px;
right: 20px;
}
/*==========3.footer========= */
#footer {
width: 100%;
height: 86px;
background-color: white;
position: relative;
}
#footer .footer-a{
font-size: 12px;
position: absolute;
top: 15px;
left: 290px;
}
#footer .footer-a a{
color: black;
}
/* #footer .footer-a:hover{
color: #FF0000;
text-decoration: underline;
} */
#footer .footer-p{
font-size: 12px;
position: absolute;
top: 40px;
left: 480px;
}
image.png