一、简介
html网页制作期末大作业-网上花店商城html+css+javascript 8个页面适用学生作业 课程设计花店、期末作业花店、毕业设计花店
二、部分网页截图
三、部分网页源码
1. 首页代码
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>花之密语</title>
<link rel="stylesheet" href="css/flower.css">
<link rel="stylesheet" href="css/base.css">
<link rel="stylesheet" href="iconfont/iconfont.css">
<link rel="stylesheet" href="css/response.css">
<script src="js/jquery-3.2.1.js"></script>
<script src="js/index-jQuery.js"></script>
</head>
<body>
<!--头部开始-->
<header>
<div class="container">
<div class="row">
<div class="col-lg-3 col-md-3 col-sm-3 col-xs-3">
<div class="logo">
<img src="img/logo2.png" alt="">
</div>
</div>
<div class="col-lg-9 col-md-9">
<div class="head-right">
<nav class="nav1">
<ul class="main-nav">
<li><a href="index.html">首页</a></li>
<li><a href="flower.html">花之密语</a></li>
<li><a href="shop.html">鲜花商城</a></li>
<li><a href="car.html">购物车</a></li>
<li><a href="about.html">关于我们</a></li>
<li><a href="liuyan.html">登录</a></li>
</ul>
</nav>
</div>
</div>
</div>
</div>
</header>
<div class="head">
<div class="container">
<div class="row">
<div class="head-right">
<nav class="nav2">
<ul class="main-nav">
<li class="col-sm-4 col-xs-4">
<a><i class="iconfont1 iconfont"></i></a>
</li>
<li class="col-sm-4 col-xs-4">
<a href="index.html">Flower Power</a>
</li>
<li class="col-sm-4 col-xs-4">
<a href="car.html"><i class="iconfont"></i></a>
</li>
</ul>
<!-- 侧导航开始 -->
<ul class="aside">
<li><a href="index.html">首页</a></li>
<li><a href="flower.html">花之密语</a></li>
<li><a href="shop.html">鲜花商城</a></li>
<li><a href="car.html">购物车</a></li>
<li><a href="about.html">关于我们</a></li>
<li><a href="liuyan.html">登录</a></li>
</ul>
</nav>
</div>
</div>
</div>
</div>
<!-- 头部导航结束 -->
<!-- 图开始 -->
<section class="banner-img">
<div class="container">
<div class="row">
<div class="big-img col-lg-12 col-md-12 col-sm-12 col-xs-12">
<h2 class="text-center">FLORAL EMBLEMS</h2>
</div>
<div class="big-img2 col-lg-12 col-md-12 col-sm-12 col-xs-12"></div>
</div>
</div>
</section>
<section class="section-mulu">
<div class="container">
<div class="row">
<ul class="mulu">
<li>首页</li>
<li><span>//</span>花之密语</li>
</ul>
</div>
</div>
</section>
<!--最新优惠开始 -->
<section class="section-price">
<div class="container">
<div class="row">
<div class=" why-top col-lg-12 col-md-12 col-sm-12 col-xs-12">
<div class="text-center mb-1">花之密语</div>
<div class="text-center mtn-2">Floral Emblems</div>
<div class="icon"><i class="iconfont"></i></div>
</div>
</div>
</div>
</section>
<!-- 花语详情 -->
<section class="section-huayu">
<div class="container">
<div class="row">
<ul >
<li class="xq col-lg-4 col-md-4 col-sm-6 col-xs-12">
<div class="xqa" href="">
<img src="img/shop2.jpg" alt="">
<div class="zhezhao">
<a href="huayu-xiangqing.html">
<h4>满天星</h4>
<p>当别人送你一捧满天星意味着我在思念你,你是清纯的,给我一个梦境,我是真心喜欢你的,拥有你我很喜悦,这是我想给你的浪漫。</p>
<a class="title1" href="huayu-xiangqing.html">花语详情</a>
</a>
</div>
</div>
</li>
<li class="xq col-lg-4 col-md-4 col-sm-6 col-xs-12">
<div class="xqa" href="">
<img src="img/shop1.jpg" alt="">
<div class="zhezhao">
<a href="huayu-xiangqing.html">
<h4>满天星</h4>
<p>当别人送你一捧满天星意味着我在思念你,你是清纯的,给我一个梦境,我是真心喜欢你的,拥有你我很喜悦,这是我想给你的浪漫。</p>
<a class="title1" href="huayu-xiangqing.html">花语详情</a>
</a>
</div>
</div>
</li>
<li class="xq col-lg-4 col-md-4 col-sm-6 col-xs-12">
<div class="xqa" href="">
<img src="img/shop3.jpg" alt="">
<div class="zhezhao">
<a href="huayu-xiangqing.html">
<h4>满天星</h4>
<p>当别人送你一捧满天星意味着我在思念你,你是清纯的,给我一个梦境,我是真心喜欢你的,拥有你我很喜悦,这是我想给你的浪漫。</p>
<a class="title1" href="huayu-xiangqing.html">花语详情</a>
</a>
</div>
</div>
</li>
<li class="xq col-lg-4 col-md-4 col-sm-6 col-xs-12">
<div class="xqa" href="">
<img src="img/shop1.jpg" alt="">
<div class="zhezhao">
<a href="huayu-xiangqing.html">
<h4>满天星</h4>
<p>当别人送你一捧满天星意味着我在思念你,你是清纯的,给我一个梦境,我是真心喜欢你的,拥有你我很喜悦,这是我想给你的浪漫。</p>
<a class="title1" href="huayu-xiangqing.html">花语详情</a>
</a>
</div>
</div>
</li>
<li class="xq col-lg-4 col-md-4 col-sm-6 col-xs-12">
<div class="xqa" href="">
<img src="img/shop1.jpg" alt="">
<div class="zhezhao">
<a href="huayu-xiangqing.html">
<h4>满天星</h4>
<p>当别人送你一捧满天星意味着我在思念你,你是清纯的,给我一个梦境,我是真心喜欢你的,拥有你我很喜悦,这是我想给你的浪漫。</p>
<a class="title1" href="huayu-xiangqing.html">花语详情</a>
</a>
</div>
</div>
</li>
<li class="xq col-lg-4 col-md-4 col-sm-6 col-xs-12">
<div class="xqa" href="">
<img src="img/shop1.jpg" alt="">
<div class="zhezhao">
<a href="huayu-xiangqing.html">
<h4>满天星</h4>
<p>当别人送你一捧满天星意味着我在思念你,你是清纯的,给我一个梦境,我是真心喜欢你的,拥有你我很喜悦,这是我想给你的浪漫。</p>
<a class="title1" href="huayu-xiangqing.html">花语详情</a>
</a>
</div>
</div>
</li>
</ul>
</div>
</div>
</section>
<!-- footer开始 -->
<footer class="footer">
<div class="container">
<div class="row">
<div class="conten-footer">
<div class="logo-footer">
<img src="img/logo22.png" alt="">
</div>
</div>
<div class="main-text-footer">
<div class="footerleft col-lg-4 col-md-4 col-sm-6 col-xs-12">
<div class="footer-left">
<h3>Flower power</h3>
<p>花开静谧无声,但是它的芳菲会使我们驻足停留;花落悄然无息,或许它的那份飘逸会使我们凝眉深思。岁月如花,笑看花开,静赏花落是人生的一种极致。</p>
<ul class="logos">
<li><a href=""><i class="iconfont"></i></a></li>
<li><a href=""><i class="iconfont"></i></a></li>
<li><a href=""><i class="iconfont"></i></a></li>
</ul>
</div>
</div>
<div class="footerleft col-lg-4 col-md-4 col-sm-6 col-xs-12">
<div class="footer-center">
<div class="work-time">
<h3>Work Time</h3>
<div class="main-time">
<span class="time1">Monday - Friday </span>
<span class="time1"> :09:00 -------------- 23:00</span>
</div>
<div class="main-time">
<span class="time1">Saturday - Sunday </span>
<span class="time1"> :11:00 ------------ 23:00</span>
</div>
</div>
<div class="email">
<h3>Subscribe to our news</h3>
<form action="" class="your-email">
<input type="text" placeholder="your email" class="input-email">
<div class="submit">
<input type="button" value="submit" class="input-submit">
</div>
</form>
</div>
</div>
</div>
<div class="footerleft col-lg-2 col-md-2 col-sm-6 col-xs-12">
<div class="footer-right1">
<h3>Menu categories</h3>
<div class="main-categories">
<p class="text">香槟玫瑰</p>
<p class="text">满天星</p>
<p class="text">迷你花束</p>
<p class="text">康乃馨</p>
<p class="text">家居花饰</p>
<p class="text">鲜花花束</p>
</div>
</div>
</div>
<div class="footerleft col-lg-2 col-md-2 col-sm-6 col-xs-12">
<div class="footer-right1">
<h3>quick links</h3>
<div class="main-categories lianjie">
<a href="index.html"><p class="text">首页</p></a>
<a href="flower.html"><p class="text">花之密语</p></a>
<a href="shop.html"><p class="text">鲜花商城</p></a>
<a href="about.html"><p class="text">关于我们</p></a>
<a href="car.html"><p class="text">购物车</p></a>
<a href="liuyan.html"><p class="text">登录</p></a>
</div>
</div>
</div>
</div>
</div>
</div>
</footer>
<div class="footer-bottom">© 2023 All Rights Reserved.</div>
</body>
</html>
2. 登录代码
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>登录</title>
<link rel="stylesheet" href="css/liuyan.css">
<link rel="stylesheet" href="css/response.css">
<link rel="stylesheet" href="iconfont/iconfont.css">
<script src="js/jquery-3.2.1.js"></script>
<script src="js/index-jQuery.js"></script>
</head>
<body>
<!--头部开始-->
<header>
<div class="container">
<div class="row">
<div class="col-lg-3 col-md-3 col-sm-3 col-xs-3">
<div class="logo">
<img src="img/logo2.png" alt="">
</div>
</div>
<div class="col-lg-9 col-md-9">
<div class="head-right">
<nav class="nav1">
<ul class="main-nav">
<li><a href="index.html">首页</a></li>
<li><a href="flower.html">花之密语</a></li>
<li><a href="shop.html">鲜花商城</a></li>
<li><a href="car.html">购物车</a></li>
<li><a href="about.html">关于我们</a></li>
<li><a href="liuyan.html">登录</a></li>
</ul>
</nav>
</div>
</div>
</div>
</div>
</header>
<div class="head">
<div class="container">
<div class="row">
<div class="head-right">
<nav class="nav2">
<ul class="main-nav">
<li class="col-sm-4 col-xs-4">
<a><i class="iconfont1 iconfont"></i></a>
</li>
<li class="col-sm-4 col-xs-4">
<a href="index.html">Flower Power</a>
</li>
<li class="col-sm-4 col-xs-4">
<a href="car.html"><i class="iconfont"></i></a>
</li>
</ul>
<!-- 侧导航开始 -->
<ul class="aside">
<li><a href="index.html">首页</a></li>
<li><a href="flower.html">花之密语</a></li>
<li><a href="shop.html">鲜花商城</a></li>
<li><a href="car.html">购物车</a></li>
<li><a href="about.html">关于我们</a></li>
<li><a href="liuyan.html">登录</a></li>
</ul>
</nav>
</div>
</div>
</div>
</div>
<!-- 头部导航结束 -->
<!-- 图开始 -->
<section class="banner-img">
<div class="container">
<div class="row">
<div class="big-img col-lg-12 col-md-12 col-sm-12 col-xs-12">
<h2 class="text-center">Leave A Message</h2>
</div>
<div class="big-img2 col-lg-12 col-md-12 col-sm-12 col-xs-12"></div>
</div>
</div>
</section>
<section class="section-mulu">
<div class="container">
<div class="row">
<ul class="mulu">
<li>首页</li>
<li><span>//</span>登录</li>
</ul>
</div>
</div>
</section>
<!--登录开始 -->
<section class="section-price">
<div class="container">
<div class="row">
<div class=" why-top col-lg-12 col-md-12 col-sm-12 col-xs-12">
<div class="text-center mb-1">登录</div>
<div class="text-center mtn-2">Leave A Message</div>
<div class="icon"><i class="iconfont"></i></div>
</div>
</div>
</div>
</section>
<div class="section-liuyan">
<div class="container">
<div class="row">
<div class="content col-lg-12 col-md-12 col-sm-12 col-xs-12">
<form action="">
<input type="text" placeholder="Your Name" class="input-contact">
<input type="text" placeholder="Email Address" class="input-contact">
<textarea name="" id="" placeholder="Write Message"></textarea>
<input type="button" value="Send Message" class=" btn-input">
</form>
</div>
</div>
</div>
</div>
<!-- footer开始 -->
<footer class="footer">
<div class="container">
<div class="row">
<div class="conten-footer">
<div class="logo-footer">
<img src="img/logo22.png" alt="">
</div>
</div>
<div class="main-text-footer">
<div class="footerleft col-lg-4 col-md-4 col-sm-6 col-xs-12">
<div class="footer-left">
<h3>Flower power</h3>
<p>花开静谧无声,但是它的芳菲会使我们驻足停留;花落悄然无息,或许它的那份飘逸会使我们凝眉深思。岁月如花,笑看花开,静赏花落是人生的一种极致。</p>
<ul class="logos">
<li><a href=""><i class="iconfont"></i></a></li>
<li><a href=""><i class="iconfont"></i></a></li>
<li><a href=""><i class="iconfont"></i></a></li>
</ul>
</div>
</div>
<div class="footerleft col-lg-4 col-md-4 col-sm-6 col-xs-12">
<div class="footer-center">
<div class="work-time">
<h3>Work Time</h3>
<div class="main-time">
<span class="time1">Monday - Friday </span>
<span class="time1"> :09:00 -------------- 23:00</span>
</div>
<div class="main-time">
<span class="time1">Saturday - Sunday </span>
<span class="time1"> :11:00 ------------ 23:00</span>
</div>
</div>
<div class="email">
<h3>Subscribe to our news</h3>
<form action="" class="your-email">
<input type="text" placeholder="your email" class="input-email">
<div class="submit">
<input type="button" value="submit" class="input-submit">
</div>
</form>
</div>
</div>
</div>
<div class="footerleft col-lg-2 col-md-2 col-sm-6 col-xs-12">
<div class="footer-right1">
<h3>Menu categories</h3>
<div class="main-categories">
<p class="text">香槟玫瑰</p>
<p class="text">满天星</p>
<p class="text">迷你花束</p>
<p class="text">康乃馨</p>
<p class="text">家居花饰</p>
<p class="text">鲜花花束</p>
</div>
</div>
</div>
<div class="footerleft col-lg-2 col-md-2 col-sm-6 col-xs-12">
<div class="footer-right1">
<h3>quick links</h3>
<div class="main-categories lianjie">
<a href="index.html"><p class="text">首页</p></a>
<a href="flower.html"><p class="text">花之密语</p></a>
<a href="shop.html"><p class="text">鲜花商城</p></a>
<a href="about.html"><p class="text">关于我们</p></a>
<a href="car.html"><p class="text">购物车</p></a>
<a href="liuyan.html"><p class="text">登录</p></a>
</div>
</div>
</div>
</div>
</div>
</div>
</footer>
<div class="footer-bottom">© 2023 All Rights Reserved.</div>
</body>
</html>
3. 购物车代码
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>购物车</title>
<link rel="stylesheet" href="css/car.css">
<link rel="stylesheet" href="iconfont/iconfont.css">
<link rel="stylesheet" href="css/response.css">
<script src="js/jquery-3.2.1.js"></script>
<script src="js/index-jQuery.js"></script>
</head>
<body>
<!--头部开始-->
<header>
<div class="container">
<div class="row">
<div class="col-lg-3 col-md-3 col-sm-3 col-xs-3">
<div class="logo">
<img src="img/logo2.png" alt="">
</div>
</div>
<div class="col-lg-9 col-md-9">
<div class="head-right">
<nav class="nav1">
<ul class="main-nav">
<li><a href="index.html">首页</a></li>
<li><a href="flower.html">花之密语</a></li>
<li><a href="shop.html">鲜花商城</a></li>
<li><a href="car.html">购物车</a></li>
<li><a href="about.html">关于我们</a></li>
<li><a href="liuyan.html">登录</a></li>
</ul>
</nav>
</div>
</div>
</div>
</div>
</header>
<div class="head">
<div class="container">
<div class="row">
<div class="head-right">
<nav class="nav2">
<ul class="main-nav">
<li class="col-sm-4 col-xs-4">
<a><i class="iconfont1 iconfont"></i></a>
</li>
<li class="col-sm-4 col-xs-4">
<a href="index.html">Flower Power</a>
</li>
<li class="col-sm-4 col-xs-4">
<a href="car.html"><i class="iconfont"></i></a>
</li>
</ul>
<!-- 侧导航开始 -->
<ul class="aside">
<li><a href="index.html">首页</a></li>
<li><a href="flower.html">花之密语</a></li>
<li><a href="shop.html">鲜花商城</a></li>
<li><a href="car.html">购物车</a></li>
<li><a href="about.html">关于我们</a></li>
<li><a href="liuyan.html">登录</a></li>
</ul>
</nav>
</div>
</div>
</div>
</div>
<!-- 头部导航结束 -->
<!-- 图开始 -->
<section class="banner-img">
<div class="container">
<div class="row">
<div class="big-img col-lg-12 col-md-12 col-sm-12 col-xs-12">
<h2 class="text-center">CART</h2>
</div>
<div class="big-img2 col-lg-12 col-md-12 col-sm-12 col-xs-12"></div>
</div>
</div>
</section>
<section class="section-mulu">
<div class="container">
<div class="row">
<ul class="mulu">
<li>首页</li>
<li><span>//</span>购物车</li>
</ul>
</div>
</div>
</section>
<!-- 购物车 -->
<section class="car">
<div class="container">
<div class="row">
<div class="col-lg-8 col-md-8 col-sm-12 col-xs-12">
<table class="table">
<tbody>
<tr>
<td class="delete">
<a href="">×</a>
</td>
<td class="shop">
<a href="shop-xiangqing.html"><img src="img/car1.jpg" alt=""></a>
</td>
<td class="name">
<a href="shop-xiangqing.html">玫瑰</a>
<span class="des">粉色[现货] 不含花瓶</span><br>
<span class=price>¥52.10 <del>¥99.9</del></span>
</td>
<td class="number">
<input type="number" min="0" name="number" value="1" size="4">
</td>
<td class="zong">
<span>¥52.10</span>
</td>
</tr>
<tr>
<td class="delete">
<a href="">×</a>
</td>
<td class="shop">
<a href="shop-xiangqing.html"><img src="img/car2.jpg" alt=""></a>
</td>
<td class="name">
<a href="shop-xiangqing.html">满天星</a>
<span class="des">蓝色[现货] 不含花瓶</span><br>
<span class=price>¥52.10 <del>¥99.9</del></span>
</td>
<td class="number">
<input type="number" min="0" name="number" value="1" size="4">
</td>
<td class="zong">
<span>¥52.10</span>
</td>
</tr>
</tbody>
</table>
</div>
<div class="col-lg-4 col-md-4 col-sm-12 col-xs-12">
<div class="totals">
<table>
<tbody>
<tr class="car-subtotal">
<th>小计</th>
<td>¥108.20</td>
</tr>
<tr class="car-subtotal">
<th>配送方式</th>
<td>快递 ¥10</td>
</tr>
<tr class="car-subtotal">
<th>总计</th>
<td>¥118.20</td>
</tr>
</tbody>
</table>
<div class="jiesuan">
<a href=" ">提交订单</a>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- footer开始 -->
<footer class="footer">
<div class="container">
<div class="row">
<div class="conten-footer">
<div class="logo-footer">
<img src="img/logo22.png" alt="">
</div>
</div>
<div class="main-text-footer">
<div class="footerleft col-lg-4 col-md-4 col-sm-6 col-xs-12">
<div class="footer-left">
<h3>Flower power</h3>
<p>花开静谧无声,但是它的芳菲会使我们驻足停留;花落悄然无息,或许它的那份飘逸会使我们凝眉深思。岁月如花,笑看花开,静赏花落是人生的一种极致。</p>
<ul class="logos">
<li><a href=""><i class="iconfont"></i></a></li>
<li><a href=""><i class="iconfont"></i></a></li>
<li><a href=""><i class="iconfont"></i></a></li>
</ul>
</div>
</div>
<div class="footerleft col-lg-4 col-md-4 col-sm-6 col-xs-12">
<div class="footer-center">
<div class="work-time">
<h3>Work Time</h3>
<div class="main-time">
<span class="time1">Monday - Friday </span>
<span class="time1"> :09:00 -------------- 23:00</span>
</div>
<div class="main-time">
<span class="time1">Saturday - Sunday </span>
<span class="time1"> :11:00 ------------ 23:00</span>
</div>
</div>
<div class="email">
<h3>Subscribe to our news</h3>
<form action="" class="your-email">
<input type="text" placeholder="your email" class="input-email">
<div class="submit">
<input type="button" value="submit" class="input-submit">
</div>
</form>
</div>
</div>
</div>
<div class="footerleft col-lg-2 col-md-2 col-sm-6 col-xs-12">
<div class="footer-right1">
<h3>Menu categories</h3>
<div class="main-categories">
<p class="text">香槟玫瑰</p>
<p class="text">满天星</p>
<p class="text">迷你花束</p>
<p class="text">康乃馨</p>
<p class="text">家居花饰</p>
<p class="text">鲜花花束</p>
</div>
</div>
</div>
<div class="footerleft col-lg-2 col-md-2 col-sm-6 col-xs-12">
<div class="footer-right1">
<h3>quick links</h3>
<div class="main-categories lianjie">
<a href="index.html"><p class="text">首页</p></a>
<a href="flower.html"><p class="text">花之密语</p></a>
<a href="shop.html"><p class="text">鲜花商城</p></a>
<a href="about.html"><p class="text">关于我们</p></a>
<a href="car.html"><p class="text">购物车</p></a>
<a href="liuyan.html"><p class="text">登录</p></a>
</div>
</div>
</div>
</div>
</div>
</div>
</footer>
<div class="footer-bottom">© 2023 All Rights Reserved.</div>
</body>
</html>