【练习】苏宁易购注册界面的实现

html代码+css代码

 <!DOCTYPE html>
    <html>
	<head>
		<meta charset="utf-8">
		<title>苏宁易购</title>
		<style>
			body{
				font-family: "microsoft yahei";
				background-color: rgb(248,248,248);
				font-size: 12px;
			}
			div.big{
				max-width: 860px;
				height: 450px;
				
				margin: 0 auto;
			}
			div.title{
				max-width: 860px;
				height: 76px;
			}
			div.bottom{
				background-color: white;
				border: 1px solid #C0C0C0;
				border-top: 3px solid #f90;
			}
			div.small{
				max-width: 333px;
				margin: 0 auto;
			}
			div.text{
				float: left;
				font-size: 18px;
				color: rgb(102,105,102);
				line-height: 76px;
			}
			div.text2{
				float: left;
				line-height: 20px;
			}
			div.input{
				margin: 0 auto;
				margin-top: 50px;
				max-width: 333px;
			}
			div.liwu{
				font-size: 14px;
				margin: 0 auto;
				line-height: 20px;
			}
			div.phone{
				border: 1px solid #C0C0C0;
				max-width: 333px;
				height: 37px;
				margin-bottom: 28px;
			}
			div.phone_1{
				height: 34px;
				width: 250px;
				float: left;
			}
			div.phone_2{
				height: 34px;
				width: 120px;
				float: left;
			}
			div.phone_3{
				line-height: 36px;
				width: 120px;
				float: right;
				background-color: rgb(245,245,245);
				text-align: center;
				
			}
			div.submit{
				width: 333px;
				margin-top: 60px;
				height: 37px;
			}
			div.qiye{
				margin-top: 5px;
				width: 333px;
				height: 19px;
				margin-bottom: 25px;
			}
			div.list{
				width: 333px;
				font-size: 10px;
			}
			a.logo{
				float: left;
				margin-right: 20px;
			}
			a.login{
				color: #333333;
				float: right;
				margin-top: 50px;
			}
			a.qiye{
				
				color: #1afa29;
				line-height: 19px;
			}
			a.login:hover,a.code:hover,a.list:hover{
				color: rgb(225,105,0);
			}
			
			a.code{
				color: #333333;
				font-size: 13px;
				
			}
			a.list{
				color: #333333;
			}
			img.liwu{
				width: 18px;
				height: 18px;
				float: left;
			}
			img.home{
				width: 16px;
				height: 16px;
				
			}
			label.head{
				float: left;
				width: 70px;
				margin-left: 8px;
				line-height: 37px;
			}
			input.phone{
				height: 100%;
				width: 100%;
				
			}
			input.submit{
				width: 100%;
				height: 100%;
				background-color: rgb(255,85,0);
			}
			input{
				border: 0px;
				background: 0px;
				outline: 0;
				background-color: white);
			}
			input[placeholder]{
				font-family:"microsoft yahei" ;
				font-size: 12px;
				color: rgb(202,202,202);
			}
			input[value]{
				font-size: 18px;
				color: white;
			}
			a{
				text-decoration:none;
			}
			p.list{
				text-align: center;
			}
			p.list2{
				text-align: center;
				color: #b2b2b2;
			}
		</style>
	</head>
	<body>
		<div class="big">
			<div class="title">
				<a href="https://www.suning.com/" class="logo"><img src="img/logo.png" height="72px"></a>
				<a href="https://www.suning.com/" class="login">我已经注册,马上登录></a>
				<div class="text">
					欢迎注册
				</div>
			</div>
			<div class="bottom">
				
				<div class="input">
					<div class="liwu">	
						
							<img src="img/礼物.png" class="liwu"/>
						
						<div class="text2"></div>
						注册领<strong style="color: #ff4400;">199</strong>元大礼包
					</div>
					<br/>
					<form action="so.do" method="post">
						<div class="phone">
						 <label class="head">手机号</label>
						 <div class="phone_1">
							 <input type="text" class="phone" maxlength="11" placeholder="建议使用常用的手机号"/>
						 </div>
						 </div>
						 <div class="phone">
						 <label class="head">手机验证码</label> 
						 <div class="phone_2">
						 							 <input type="text" class="phone" placeholder="请输入手机验证码"/>
						 </div>
						 <div class="phone_3">
						 							 <a href="" class="code">获取短信验证码</a>
						 </div>
						 </div>
						 <div class="phone">
							 <label class="head">设置密码</label>
							 <div class="phone_1">
								  <input type="text" class="phone" maxlength="11" placeholder="请输入密码"/>
							 </div>
						 </div>
						 <div class="submit">
						 	<input type="submit" value="提交注册" class="submit"/>
						 </div>
						<div class="qiye">
							<a href="https://reg.suning.com/company.do" class="qiye"><img src="img/楼房-大厦.png" class="home"> 企业用户注册></a>
						</div>
					</form>
				</div>
				
			</div>
			<div class="list1">
				<p class="list">
								<a href="" class="list">苏宁	互联&nbsp;<span>|</span>&nbsp;苏宁金融&nbsp;<span>|</span>&nbsp;苏宁支付&nbsp;<span>|</span>&nbsp;PP视频&nbsp;<span>|</span>&nbsp;红孩子&nbsp;<span>|</span>
								&nbsp;苏宁物流&nbsp;<span>|</span>&nbsp;手机苏宁&nbsp;<span>|</span>&nbsp;零售云&nbsp;<span>|</span>&nbsp;苏宁云&nbsp;<span>|</span>&nbsp;知识产权举报&nbsp;<span>|</span>&nbsp;投资者关系&nbsp;<span>|</span>&nbsp;苏宁智能
								</a>
							</p>
							<p class="list">
								<a href="" class="list">联系我们&nbsp;<span>|</span>&nbsp;诚聘英才&nbsp;<span>|</span>&nbsp;合作招商&nbsp;
								<span>|</span>&nbsp;广告平台&nbsp;<span>|</span>&nbsp;苏宁联盟&nbsp;<span>|</span>
								&nbsp;苏宁招标&nbsp;<span>|</span>&nbsp;友情链接&nbsp;<span>|</span>&nbsp;隐私政策&nbsp;
								<span>|</span>&nbsp;用户体验提升计划&nbsp;<span>|</span>&nbsp;股东会员认证</a>
							</p>
							<p class="list2">
								<a>Copyright© 2002-2020,苏宁易购集团股份有限公司版权所有&nbsp;<span>|</span>&nbsp;
								<img src="img/国徽.png" width="18px" height="18px" align="center"/>&nbsp苏公网安备 32010202010078号
								&nbsp;<span>|</span>&nbsp;苏ICP备10207551号-4
								</a>
							</p>
							<p class="list2">
								<a>
									合字B2-20180025&nbsp;<span>|</span>&nbsp;合字A1.B1.B2-20180017&nbsp;<span>|</span>&nbsp;
									出版物经营许可证新出发苏批字第A-243号&nbsp;<span>|</span>&nbsp;互联网药品信息服务资格证书(苏)-非经营性-2016-0005
								</a>
							</p>
							<p class="list2">
								<a>
									经营证照&nbsp;<span>|</span>&nbsp;网络文化经营许可证:苏网文〔2018〕10580-203号
									&nbsp;<span>|</span>&nbsp;互联网违法和不良信息举报邮箱:kfpt-yy@cnsuning.com&nbsp;<span>|</span>&nbsp;
									举报电话:02566996699-865948
								</a>
							</p>
							<p class="list2">
								<a>
									医疗器械网络交易服务第三方平台备案凭证-(苏)网械平台备字(2018)第00052号
								</a>
								
							</p>
							<p class="list2">
								<a>
									本网站直接或间接向消费者推销商品或者服务的商业宣传均属于&nbsp;"广告"&nbsp; (包装及参数、售后保障等商品信息除外)
								</a>
							</p>
							<p>
								<a>
									<img src="" />
								</a>
							</p>
			</div>
		</div>
	</body>
    </html>

结束语

  很多的实现方法仅仅用了所学的知识点,复杂化了其实现过程,相信之后的学习能让自己将该注册页面的实现过程简单化,模块化。
  • 2
    点赞
  • 16
    收藏
    觉得还不错? 一键收藏
  • 2
    评论
评论 2
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值