精彩专栏推荐 文末获取联系
✍️ 作者简介: 一个热爱把逻辑思维转变为代码的技术博主
作者主页: 【主页——获取更多优质源码】
web前端期末大作业: 【毕设项目精品实战案例 (1000套) 】
程序员有趣的告白方式:【HTML七夕情人节表白网页制作 (110套) 】
超炫酷的Echarts大屏可视化源码:【 Echarts大屏展示大数据平台可视化(150套) 】
HTML+CSS+JS实例代码: 【️HTML+CSS+JS实例代码 (炫酷特效网页代码) 继续更新中…】
免费且实用的WEB前端学习指南: 【web前端零基础到高级学习视频教程 120G干货分享】
关于作者: 历任研发工程师,技术组长,教学总监;曾于2016年、2020年两度荣获CSDN年度十大博客之星。 十载寒冰,难凉热血;多年过去,历经变迁,物是人非。 然而,对于技术的探索和追求从未停歇。 坚持原创,热衷分享,初心未改,继往开来!
鲜花网页设计 、鲜花商城网页制作、在线花店网站、盆栽网、花卉网等网站的设计与制作。
️HTML鲜花网页设计,采用DIV+CSS布局,共有多个页面,排版整洁,内容丰富,主题鲜明,首页使用CSS排版比较丰富,色彩鲜明有活力。顶部导航及底部区域背景色为100%宽度,主体内容区域宽度
一套优质的网页设计应该包含 (具体可根据个人要求而定)
网站布局方面:计划采用目前主流的、能兼容各大主流浏览器、显示效果稳定的浮动网页布局结构。
网站程序方面:计划采用最新的网页编程语言HTML5+CSS3+JS程序语言完成网站的功能设计。并确保网站代码兼容目前市面上所有的主流浏览器,已达到打开后就能即时看到网站的效果。
网站素材方面:计划收集各大平台好看的图片素材,并精挑细选适合网页风格的图片,然后使用PS做出适合网页尺寸的图片。
网站文件方面:网站系统文件种类包含:html网页结构文件、css网页样式文件、js网页特效文件、images网页图片文件;
网页编辑方面:网页作品代码简单,可使用任意HTML编辑软件(如:Dreamweaver、HBuilder、Vscode 、Sublime 、Webstorm、Text 、Notepad++
等任意html编辑软件进行运行及修改编辑等操作)。
其中:
(1)html文件包含:其中index.html是首页、其他html为二级页面;
(2) css文件包含:css全部页面样式,文字滚动, 图片放大等;
(3) js文件包含:js实现动态轮播特效, 表单提交, 点击事件等等(个别网页中运用到js代码)。
doctype html>
<!--[if (gte IE 9)|!(IE)]><!-->
<html lang="en">
<head>
<meta charset="utf-8">
<title>XXX花店-首页title>
<script src="js/jquery-1.8.2.min.js">script>
<script src="js/common.js">script>
<script src="js/jquery.easing.1.3.js">script>
<script src="js/ddsmoothmenu.js">script>
<script src="js/jquery.flexslider.js">script>
<script src="js/jquery.elastislide.js">script>
<script src="js/jquery.jcarousel.min.js">script>
<script src="js/jquery.accordion.js">script>
<script src="js/light_box.js">script>
<script type="text/javascript">$(document).ready(function(){$(".inline").colorbox({inline:true, width:"50%"});});script>
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link rel="stylesheet" href="css/style.css">
<link rel="stylesheet" href="css/orange.css">
<link rel="stylesheet" href="css/skeleton.css">
<link rel="stylesheet" href="css/layout.css">
<link rel="stylesheet" href="css/ddsmoothmenu.css"/>
<link rel="stylesheet" href="css/elastislide.css"/>
<link rel="stylesheet" href="css/home_flexslider.css"/>
<link rel="stylesheet" href="css/light_box.css"/>
<script src="js/html5.js">script>
head>
<body>
<div class="mainContainer big container">
<div class="header-wrapper">
<header class="container">
<div class="head-right">
<ul class="top-nav">
<li class=""><a href="#">我的账户a>li>
<li class="my-wishlist"><a href="#">收藏a>li>
<li class="checkout"><a href="#" >结算a>li>
<li class="log-in"><a href="account_login.html" >登录a>li>
ul>
<section class="header-bottom">
<div class="cart-block">
<ul>
<li>(2)li>
<li><a href="#" title="购物车"><img title="购物车" alt="购物车" src="picture/item_icon.png" />a>li>
<li>购物车li>
ul>
<div id="minicart" class="remain_cart" style="display: none;">
<p class="empty">您的购物车共有2件商品p>
<ol>
<li>
<div class="img-block"><img src="picture/small_img1.png" title="" alt="" />div>
<div class="detail-block">
<h4><a href="#" title="玫瑰">玫瑰a>h4>
<p>
<strong>1strong> x ¥99.00
p>
<a href="#" title="Details">细节展示a>
div>
<div class="edit-delete-block">
<a href="#" title="Edit"><img src="picture/edit_icon.png" alt="Edit" title="Edit" />a>
<a href="#" title="Remove"><img src="picture/delete_item_btn.png" alt="Remove" title="Remove" />a>
div>
li>
<li>
<div class="img-block"><img src="picture/small_img.png" title="" alt="" />div>
<div class="detail-block">
<h4><a href="#" title="玫瑰">玫瑰a>h4>
<p>
<strong>1strong> x ¥99.00
p>
<a href="#" title="Details">细节展示a>
div>
<div class="edit-delete-block">
<a href="#" title="Edit"><img src="picture/edit_icon.png" alt="Edit" title="Edit" />a>
<a href="#" title="Remove"><img src="picture/delete_item_btn.png" alt="Remove" title="Remove" />a>
div>
li>
<li>
<div class="total-block">共计:<span>¥198.00span>div>
<a href="index.html" title="结算" class="orange-btn">结算a>
li>
ol>
div>
div>
<div class="search-block">
<input type="text" value="搜索" />
<input type="submit" value="submit"/>
div>
section>
div>
<h1 class="logo">
<img title="Logo" alt="Logo" src="picture/logo.png" />h1>
<nav id="smoothmenu1" class="ddsmoothmenu mainMenu">
<ul id="nav">
<li class="active"><a href="index.html">首页a>li>
<li ><a href="category.html">全部商品a>li>
<li><a href="contact_us.html">留言板a>li>
ul>
nav>
<div class="mobMenu">
<h1>
<span>菜单span>
<a class="menuBox highlight" href="javascript:void(0);">a>
<span class="clearfix">span>
h1>
<div id="menuInnner" style="display:none;">
<ul class="accordion">
<li class="active"><a href="index.html" >首页a>li>
<li class="parent"><a href="category.html" >全部商品a>li>
<li class=""><a href="contact_us.html" >留言板a>li>
<span class="clearfix">span>
ul>
div>
div>
div>
<section class="banner-wrapper">
<div class="banner-block container">
<div class="flexslider">
<ul class="slides">
<li><img title="Banner" alt="Banner" src="picture/banner1.png" />li>
<li><img title="Banner" alt="Banner" src="picture/banner2.png" />li>
<li><img title="Banner" alt="Banner" src="picture/banner3.png" />li>
<li><img title="Banner" alt="Banner" src="picture/banner4.png" />li>
ul>
div>
<ul class="banner-add">
<li class="add1"><a href="#" title=""><img title="add1" alt="add1" src="picture/banner_add1.png" />a>li>
<li class="add2"><a href="#" title=""><img title="add2" alt="add2" src="picture/banner_add2.png" />a>li>
ul>
div>
section>
<section class="content-wrapper">
<div class="content-container container">
<div class="heading-block">
<h1>热卖商品h1>
<ul class="pagination">
<li class="grid"><a href="#" title="网格">a>li>
ul>
div>
<div class="feature-block">
<ul id="mix" class="product-grid">
<li>
<div class="pro-img"><img title="Freature Product" alt="Freature Product" src="picture/default_img1.png" />div>
<div class="pro-hover-block">
<h4 class="pro-name">玫瑰h4>
<div class="link-block">
<a href="#quick-view-container" class="quickllook inline" title="快速浏览">快速浏览a>
<a href="index.html" class="quickproLink" title="Link">产品链接a>div>
<div class="pro-price">¥69.00div>
div>
li>
<li>
<div class="pro-img"><img title="Freature Product" alt="Freature Product" src="picture/default_img2.png" />div>
<div class="pro-hover-block">
<h4 class="pro-name">康乃馨h4>
<div class="link-block">
<a href="#quick-view-container" class="quickllook inline" title="快速浏览">快速浏览a>
<a href="index.html" class="quickproLink" title="Link">产品链接a>div>
<div class="pro-price">¥69.00div>
div>
li>
<li>
<div class="pro-img"><img title="Freature Product" alt="Freature Product" src="picture/default_img3.png" />div>
<div class="pro-hover-block">
<h4 class="pro-name">玫瑰h4>
<div class="link-block">
<a href="#quick-view-container" class="quickllook inline" title="快速浏览">快速浏览a>
<a href="index.html" class="quickproLink" title="Link">产品链接a>div>
<div class="pro-price">¥69.00div>
div>
li>
<li>
<div class="pro-img"><img title="Freature Product" alt="Freature Product" src="picture/default_img.png" />div>
<div class="pro-hover-block">
<h4 class="pro-name">玫瑰h4>
<div class="link-block">
<a href="#quick-view-container" class="quickllook inline" title="快速浏览">快速浏览a>
<a href="index.html" class="quickproLink" title="Link">产品链接a>div>
<div class="pro-price">¥69.00div>
div>
li>
<li>
<div class="pro-img"><img title="Freature Product" alt="Freature Product" src="picture/default_img4.png" />div>
<div class="pro-hover-block">
<h4 class="pro-name">玫瑰h4>
<div class="link-block">
<a href="#quick-view-container" class="quickllook inline" title="快速浏览">快速浏览a>
<a href="index.html" class="quickproLink" title="Link">产品链接a>div>
<div class="pro-price">¥69.00div>
div>
li>
<li>
<div class="pro-img"><img title="Freature Product" alt="Freature Product" src="picture/default_img5.png" />div>
<div class="pro-hover-block">
<h4 class="pro-name">玫瑰h4>
<div class="link-block">
<a href="#quick-view-container" class="quickllook inline" title="快速浏览">快速浏览a>
<a href="index.html" class="quickproLink" title="Link">产品链接a>div>
<div class="pro-price">¥69.00div>
div>
li>
<li>
<div class="pro-img"><img title="Freature Product" alt="Freature Product" src="picture/default_img.png" />div>
<div class="pro-hover-block">
<h4 class="pro-name">玫瑰h4>
<div class="link-block">
<a href="#quick-view-container" class="quickllook inline" title="快速浏览">快速浏览a>
<a href="index.html" class="quickproLink" title="Link">产品链接a>div>
<div class="pro-price">¥69.00div>
div>
li>
<li>
<div class="pro-img"><img title="Freature Product" alt="Freature Product" src="picture/default_img6.png" />div>
<div class="pro-hover-block">
<h4 class="pro-name">玫瑰h4>
<div class="link-block">
<a href="#quick-view-container" class="quickllook inline" title="快速浏览">快速浏览a>
<a href="index.html" class="quickproLink" title="Link">产品链接a>div>
<div class="pro-price">¥69.00div>
div>
li>
<li>
<div class="pro-img"><img title="Freature Product" alt="Freature Product" src="picture/default_img7.png" />div>
<div class="pro-hover-block">
<h4 class="pro-name">玫瑰h4>
<div class="link-block">
<a href="#quick-view-container" class="quickllook inline" title="快速浏览">快速浏览a>
<a href="index.html" class="quickproLink" title="Link">产品链接a>div>
<div class="pro-price">¥69.00div>
div>
li>
ul>
div>
<div class="heading-block">
<h1>新品上架h1>
div>
<div class="new-product-block">
<ul class="product-grid">
<li>
<div class="pro-img">
<img title="Freature Product" alt="Freature Product" src="picture/default_img8.png" />
div>
<div class="pro-content">
<p>百合花p>
div>
<div class="pro-price">¥69.00div>
<div class="pro-btn-block">
<a class="add-cart left" href="#">加入购物车a>
<a class="add-cart right quickCart inline" href="#quick-view-container" title="快速浏览">快速浏览a> div>
<div class="pro-link-block"> <a class="add-wishlist left" href="#" title="收藏">收藏a> <a class="add-compare right" href="#">找相似a>
<div class="clearfix">div>
div>
li>
<li>
<div class="pro-img">
<img title="Freature Product" alt="Freature Product" src="picture/default_img9.png" />
div>
<div class="pro-content">
<p>玫瑰花p>
div>
<div class="pro-price">¥69.00div>
<div class="pro-btn-block"> <a class="add-cart left" href="#" title="加入购物车">加入购物车a> <a class="add-cart right quickCart inline" href="#quick-view-container" title="快速浏览">快速浏览a> div>
<div class="pro-link-block"> <a class="add-wishlist left" href="#" title="收藏">收藏a> <a class="add-compare right" href="#" title="找相似">找相似a>
<div class="clearfix">div>
div>
li>
<li>
<div class="pro-img">
<img title="Freature Product" alt="Freature Product" src="picture/default_img10.png" />
div>
<div class="pro-content">
<p>玫瑰花p>
div>
<div class="pro-price">¥69.00div>
<div class="pro-btn-block"> <a class="add-cart left" href="#" title="加入购物车">加入购物车a> <a class="add-cart right quickCart inline" href="#quick-view-container" title="快速浏览">快速浏览a> div>
<div class="pro-link-block"> <a class="add-wishlist left" href="#" title="收藏">收藏a> <a class="add-compare right" href="#">找相似a>
<div class="clearfix">div>
div>
li>
<li>
<div class="pro-img">
<img title="Freature Product" alt="Freature Product" src="picture/default_img11.png" />
div>
<div class="pro-content">
<p>玫瑰花p>
div>
<div class="pro-price">¥69.00div>
<div class="pro-btn-block"> <a class="add-cart left" href="#" title="加入购物车">加入购物车a> <a class="add-cart right quickCart inline" href="#quick-view-container" title="快速浏览">快速浏览a> div>
<div class="pro-link-block"> <a class="add-wishlist left" href="#" title="收藏">收藏a> <a class="add-compare right" href="#" title="找相似">找相似a>
<div class="clearfix">div>
div>
li>
ul>
<ul class="product-grid">
<li>
<div class="pro-img">
<img title="Freature Product" alt="Freature Product" src="picture/default_img12.png" />
div>
<div class="pro-content">
<p>玫瑰花p>
div>
<div class="pro-price">$69.00div>
<div class="pro-btn-block"> <a class="add-cart left" href="#">加入购物车a> <a class="add-cart right quickCart inline" href="#quick-view-container" title="快速浏览">快速浏览a> div>
<div class="pro-link-block"> <a class="add-wishlist left" href="#">收藏a> <a class="add-compare right" href="#">找相似a>
<div class="clearfix">div>
div>
li>
<li>
<div class="pro-img">
<img title="Freature Product" alt="Freature Product" src="picture/default_img13.png" />
div>
<div class="pro-content">
<p>玫瑰花p>
div>
<div class="pro-price">¥69.00div>
<div class="pro-btn-block"> <a class="add-cart left" href="#">加入购物车a> <a class="add-cart right quickCart inline" href="#quick-view-container">快速浏览a> div>
<div class="pro-link-block"> <a class="add-wishlist left" href="#" title="收藏">收藏a> <a class="add-compare right" href="#">找相似a>
<div class="clearfix">div>
div>
li>
<li>
<div class="pro-img">
<img title="Freature Product" alt="Freature Product" src="picture/default_img14.png" />
div>
<div class="pro-content">
<p>玫瑰花p>
div>
<div class="pro-price">¥69.00div>
<div class="pro-btn-block"> <a class="add-cart left" href="#">加入购物车a> <a class="add-cart right quickCart inline" href="#quick-view-container" title="快速浏览">快速浏览a> div>
<div class="pro-link-block"> <a class="add-wishlist left" href="#" title="收藏">收藏a> <a class="add-compare right" href="#">找相似a>
<div class="clearfix">div>
div>
li>
<li>
<div class="pro-img">
<img title="Freature Product" alt="Freature Product" src="picture/default_img.png" />
div>
<div class="pro-content">
<p>玫瑰花p>
div>
<div class="pro-price">¥69.00div>
<div class="pro-btn-block"> <a class="add-cart left" href="#">加入购物车a> <a class="add-cart right quickCart inline" href="#quick-view-container">快速浏览a> div>
<div class="pro-link-block"> <a class="add-wishlist left" href="#" title="收藏">收藏a> <a class="add-compare right" href="#">找相似a>
<div class="clearfix">div>
div>
li>
ul>
div>
<div class="news-letter-container">
<div class="free-shipping-block">
<h1>享受免费送货服务h1>
<p>我们把所有的订单当做节日礼物送给你!p>
div>
<div class="news-letter-block">
<h2>免费送货电话h2>
<input type="text" value="手机号" />
<input type="submit" value="提交" />
div>
div>
div>
section>
div>
<script type="text/javascript">
jQuery (function(){
var tabContainers=jQuery('div.tabs > div');
tabContainers.hide().filter(':first').show();
jQuery('div.tabs ul.tabNavigation a').click(function(){
tabContainers.hide();
tabContainers.filter(this.hash).show();
jQuery('div.tabs ul.tabNavigation a').removeClass('selected');
jQuery(this).addClass('selected');
return false;
}).filter(':first').click();
});
script>
<article style="display:none;">
<section id="quick-view-container" class="quick-view-wrapper">
<div class="quick-view-container">
<div class="quick-view-left">
<h2>百合花束 鲜花花束h2>
<div class="product-img-box">
<p class="product-image">
<img src="picture/sale_icon_img.png" title="Sale" alt="Sale" class="sale-img" />
<a href="index.html"><img src="picture/quick_view_img1.png" title="Image" alt="Image" />a> p>
<ul class="thum-img">
<li><img src="picture/quick_thum_img1.png" title="小图" alt="image" />li>
<li><img src="picture/quick_thum_img2.png" title="小图" alt="image" />li>
ul>
div>
div>
<div class="quick-view-right tabs">
<ul class="tab-block tabNavigation">
<li><a class="selected" href="#tabDetail">概览a>li>
<li><a href="#tabDes">鲜花详情a>li>
ul>
<div id="tabDetail" class="tabDetail">
<div class="first-review">此商品为鲜活易腐类,不支持7天无理由退货div>
<div class="price-box">
<span class="price">¥69.00span>div>
<div class="availability">有库存div>
<div class="color-size-block">
<div class="label-row">
<label><em>*em> 颜色label>
<span class="required">* 必填项span>
div>
<div class="select-row">
<select><option> 红色 option>
<option> 蓝色 option>
<option> 粉色 option>
<option> 紫色 option>
select>
div>
<div class="label-row">
<label><em>*em>支付方式label>
div>
<div class="select-row">
<select>
<option>快捷支付option>
<option>余额宝支付option>
<option>集分宝option>
select>
div>
div>
<div class="add-to-cart-box">
<span class="qty-box">
<label for="qty">数量:label>
<a class="prev" href="#"><img alt="" title="" src="picture/qty_prev.png">a>
<input type="text" name="qty" class="input-text qty" id="qty" maxlength="12" value="1">
<a class="next" href="#"><img alt="" title="" src="picture/qty_next.png">a> span>
<button title="加入购物车" class="form-button"><span>加入购物车span>button>
div>
div>
<div id="tabDes" class="tabDes">
<div> XXX花店适用场景: 爱意表达 生日 祝福 婚礼 探望 其他 求婚 友情 周年纪念div>
<div>鲜花主花材: 百合适用对象: 爱人 老师 客户 领导/长辈 朋友/同事 病人鲜花朵数: 11朵div>
<div>适用节日: 情人节 圣诞节 春节 3.8妇女节 母亲节 感恩节 教师节 中秋节 七夕 白色情人节div>
<div>鲜花绿植工艺: 鲜花(鲜切花)鲜花规格(直径X高): 35*55花束辅材: 黄莺/满天星/勿忘我div>
div>
div>
<div class="clearfix">div>
div>
section>
article>
<section class="footer-wrapper">
<footer class="container">
<div class="link-block">
<ul>
<li class="link-title"><a href="#">关于我们a>li>
<li><a href="#">售后政策a>li>
<li><a href="#">售后服务a>li>
<li><a href="#">隐私权政策a>li>
ul>
<ul>
<li class="link-title"><a href="#">客户服务a>li>
<li><a href="#">退换货a>li>
<li><a href="#">购物保障a>li>
<li><a href="contact_us.html">留言板a>li>
ul>
<ul>
<li class="link-title"><a href="#">服务条款a>li>
<li><a href="#">新闻中心a>li>
<li><a href="#">帮助a>li>
<li><a href="#">服务条款a>li>
ul>
<ul>
<li class="link-title"><a href="#">我们的实力a>li>
<li class="aboutus-block">本店商品已向全国2603个区县提供自营配送服务,支持货到付款、POS机刷卡和售后上门服务,让您购物无忧! <a href="#">更多a> li>
ul>
div>
<div class="footer-bottom-block">
<ul class="bottom-links">
<li><a href="index.html">首页a>li>
<li><a href="contact_us.html">留言板a>li>
ul>
<p class="copyright-block">Copyright © 2020.XXX花店 All rights reserved.p>
div>
footer>
section>
body>
html>
body {
line-height: 1;
border-top:5px solid;
}
ol, ul {
list-style: none;
}
blockquote, q {
quotes: none;
}
blockquote:before, blockquote:after, q:before, q:after {
content: '';
content: none;
}
table {
border-collapse: collapse;
border-spacing: 0;
}
.left, .columns.left {
float: left;/*columns:栏,纵队*/
}
.right, .columns.right {
float: right;
}
.hide {
display: none;
}
.highlight {
background: #ff0;
}
.ie9, .ie9 * {
font-family: Arial, "Definitely Not Helvetica", sans-serif !important;
}
body {
background: #fff;
font-family: "Droid Sans", "HelveticaNeue", Helvetica, Arial, "Lucida Grande", sans-serif;
font-size: 16px;
font-size:12px;
line-height: 1.6;
color: #555;
position: relative;
-webkit-font-smoothing: antialiased;
}
/*给字体做初始化*/
h1, h2, h3, h4, h5, h6 {
color: #1b1b1b;
font-weight: bold;
line-height: 1.6;
}
21年程序员总结给编程菜鸟的16条忠告
1.如果我的博客对你有帮助、如果你喜欢我的博客内容,请 “点赞” “✍️评论” “收藏”
一键三连哦!
2.【关注我| 获取更多源码 | 优质文章】
带您学习各种前端插件、3D炫酷效果、图片展示、文字效果、以及整站模板 、大学生毕业HTML模板 、期末大作业模板 、等! 「在这里有好多 前端 开发者,一起探讨 前端 Node 知识,互相学习」!
3.