网上书城原型界面样式编写(1)

原型界面样式编写

实现内容

1.用户登录注册界面编写
2.前台主界面编写
3.搜索书籍界面编写
4.购物车界面编写

代码块编写

用户登录注册界面代码
login.html

<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>登录界面</title>
		<link rel="seylesheet" type="text/css" href="css/bootstrap.css"/>
		 <style>
      .bd-placeholder-img {
        font-size: 1.125rem;
        text-anchor: middle;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
      }

      @media (min-width: 768px) {
        .bd-placeholder-img-lg {
          font-size: 3.5rem;
        }
      }
    </style>
	<style>
		.form-signin{
			position: relative;
			width:400px;
			top:200px;
			left:50%;
			margin-left:-200px;
			
		}
		</style>
	</head>
	<body class="text-center">
    <form class="form-signin" action="" method="post">
  <img class="mb-4" src="/docs/assets/brand/bootstrap-solid.svg" alt="" width="72" height="72">
  <h1 class="h3 mb-3 font-weight-normal">登录界面</h1>
  <div class="form-label-group">
  <input type="text" id="name" name="nmae" class="form-control" placeholder="请输入用户名...." required autofocus>
 </div>
 
 <div class="form-label-group">
  <input type="password" id="pwd" name="pwd" class="form-control" placeholder="请输入密码..." required>
  </div>
  <div class="checkbox mb-3">
    <label>
      <input type="checkbox" value="remember-me"> Remember me
    </label>
  </div>
  <button class="btn btn-lg btn-primary btn-block" type="submit">登录</button>
  <p class="mt-5 mb-3 text-muted">&copy; 2017-2020</p>
</form>



		<script src="../bootstrap-4.4.1/dist/js/bootstrap.js"></script>
	</body>
</html>

register.html

<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>登录界面</title>
		<link rel="seylesheet" type="text/css" href="css/bootstrap.css"/>
		 <style>
      .bd-placeholder-img {
        font-size: 1.125rem;
        text-anchor: middle;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
      }

      @media (min-width: 768px) {
        .bd-placeholder-img-lg {
          font-size: 3.5rem;
        }
      }
    </style>
	<style>
		.form-signin{
			position: relative;
			width:400px;
			top:200px;
			left:50%;
			margin-left:-200px;
			
		}
		</style>
	</head>
	<body class="text-center">
    <form class="form-signin" action="" method="post">
  <img class="mb-4" src="/docs/assets/brand/bootstrap-solid.svg" alt="" width="72" height="72">
  <h1 class="h3 mb-3 font-weight-normal">登录界面</h1>
  <div class="form-label-group">
  <input type="text" id="name" name="nmae" class="form-control" placeholder="请输入用户名...." required autofocus>
 </div>
 
 <div class="form-label-group">
  <input type="password" id="pwd" name="pwd" class="form-control" placeholder="请输入密码..." required>
  </div>
  <div class="checkbox mb-3">
    <label>
      <input type="checkbox" value="remember-me"> Remember me
    </label>
  </div>
  <button class="btn btn-lg btn-primary btn-block" type="submit">登录</button>
  <p class="mt-5 mb-3 text-muted">&copy; 2017-2020</p>
</form>



		<script src="../bootstrap-4.4.1/dist/js/bootstrap.js"></script>
	</body>
</html>

前台主界面编写





<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <title>飞凡网上书店</title>
    




<link href="css/main.css" rel="stylesheet" type="text/css" />
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
  </head>
  
  <body>
	<!--top-->
	


<div id="top_div">
	
		
		
			
				
					<p class="left">您好,欢迎来到飞凡网上书店 !</p>
			<p class="right"><a href="#">登陆</a> | <a href="#">注册</a> | <a href="#">我的购物车</a> | <a href="#">网站首页</a></p>
				
				
			
		
	
	<div class="fixed">
  • 2
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值