1 Star 0 Fork 0

落枫/pp

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
index.html 17.80 KB
一键复制 编辑 原始数据 按行查看 历史
落枫 提交于 2023-09-11 13:34 . o
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>响应式餐饮类网页完整版</title>
<!--引入Bootstrap-->
<link href="bootstrap/css/bootstrap.min.css" rel="stylesheet">
<!--引入CSS-->
<link href="spiceFood.css" rel="stylesheet" type="text/css" media="all">
</head>
<body>
<!--header-->
<header>
<div class="head-top"></div>
<nav class="navbar navbar-default">
<div class="container-fluid">
<div class="container">
<div class="navbar-header">
<!--<div class="log"-->
<a href="#" class="navbar-brand"><img src="images/logo.png" alt=""></a>
<!--</div>-->
<!--当进入最小设备时,导航条将隐藏,显示汉堡按钮,单击时可以切换显示导航条隐藏的信息*data-target:用于确认需要显示的div-->
<button type="button" class="navbar-toggle collapsed"
data-toggle="collapse" data-target="#navbar-collapse"
aria-expanded="false">
<span class="sr-only">汉堡按钮</span>
<sapn class="icon-bar"></sapn>
<sapn class="icon-bar"></sapn>
<sapn class="icon-bar"></sapn>
</button>
</div>
<!--导航链接、表单和其他内容切换-->
<div class="collapse navbar-collapse" id="navbar-collapse">
<ul class="nav navbar-nav">
<li><a href="#">主页</a></li>
<li><a href="#">餐厅</a></li>
<li><a href="#">健康</a></li>
<li><a href="#">话题</a></li>
<li><a href="#">联系我们</a></li>
</ul>
<div class="navbar-right">
<a href="#"><h3><span>¥0.00<img src="images/bag.png" alt=""></span></h3></a>
</div>
</div>
</div><!-- /.navbar-collapse -->
</div><!-- /.container-fluid -->
</div>
</nav>
</header>
<!--header-->
<!--搜索区域-->
<div class="search">
<div class="container">
<div class="reservation">
<form class="form-horizontal" role="form">
<div class="form-group">
<div class="col-sm-12 col-md-12 col-lg-12">
<input type="text" class="form-control input-lg"
id="name" placeholder="请输入餐厅名称">
</div>
</div>
<div class="form-group">
<div class="col-sm-12 col-md-12 col-lg-12">
<select id="country" class="form-control input-lg">
<option value="null">请选择城市</option>
<option value="bj">北京</option>
<option value="sh">上海</option>
<option value="sz">深圳</option>
</select>
</div>
</div>
<div class="form-group">
<div class="searchbtn">
<button type="submit" class="btn btn-success btn-lg">
<img src="images/search-icon.png">&nbsp;搜索
</button>
</div>
</div>
</form>
</div>
</div>
</div>
<!--搜索区域结束-->
<!--热卖商品-->
<div class="hot">
<div class="container">
<div class="col-md-4">
<h3>米西奈斯煎饼</h3>
<img src="images/4.jpg" class="img-responsive" alt="">
<div>
<p class="glyphicon glyphicon-thumbs-up">两种口味可供选择</p>
<div class="cur">
<span><a class="morebtn" href="#">添加到购物车</a></span>
<span><h6>一口价:¥45.00</h6></span>
</div>
</div>
</div>
<div class="col-md-4"><h3>蒙特斯大虾</h3>
<img src="images/1.jpg" class="img-responsive" alt="蒙特斯大虾">
<div>
<p class="glyphicon glyphicon-thumbs-up">两种口味可供选择</p>
<div class="cur">
<span><a class="morebtn" href="#">添加到购物车</a></span>
<span><h6>一口价:¥55.00</h6></span>
</div>
</div>
</div>
<div class="col-md-4">
<h3>香酥鸡排</h3>
<img src="images/3.jpg" class="img-responsive" alt="香酥鸡排">
<div>
<p class="glyphicon glyphicon-thumbs-up">两种口味可供选择</p>
<div class="cur">
<span><a class="morebtn" href="#">添加到购物车</a></span>
<span><h6>一口价:¥65.00</h6></span>
</div>
</div>
</div>
</div>
</div>
<!--热卖商品结束-->
<!--特色推荐-->
<div class="container">
<div class="choose">
<div class="row">
<div class="col-md-12">
<div class="navbar-header hidden-xs">
<a class="navbar-brand" href="#"><img src="images/title.jpg" sizes="100px"/></a>
</div>
<!--选项卡菜单-->
<ul class="nav nav-pills navbar-right" role="tablist" style="margin-right: 0px;">
<li role="presentation" class="active"><a href="#dishes" role="tab" data-toggle="tab">菜品</a></li>
<li role="presentation" ><a href="#drink" role="tab" data-toggle="tab">饮品</a></li>
<li role="presentation" ><a href="#staple" role="tab" data-toggle="tab">主食</a></li>
</ul>
</div>
</div>
<div class="row">
<div class="col-md-12">
<div class="tab-content">
<!--菜品-->
<div role="tabpanel" class="tab-pane active" id="dishes">
<div class="col-md-2 col-sm-4 col-xs-6">
<img src="images/products/small01.jpg"/>
<p>菜品</p>
<p>¥:145.0</p>
</div>
<div class="product-item col-md-2 col-sm-4 col-xs-6">
<img src="images/products/small02.jpg"/>
<p>菜品</p>
<p>¥:165.0</p>
</div>
<div class="product-item col-md-2 col-sm-4 col-xs-6">
<img src="images/products/small04.jpg"/>
<p>菜品</p>
<p>¥:165.0</p>
</div>
<div class="product-item col-md-2 col-sm-4 col-xs-6">
<img src="images/products/small02.jpg"/>
<p>菜品</p>
<p>¥:165.0</p>
</div>
<div class="product-item col-md-2 col-sm-4 col-xs-6">
<img src="images/products/small07.jpg"/>
<p>菜品</p>
<p>¥:145.0</p>
</div>
<div class="product-item col-md-2 col-sm-4 col-xs-6">
<img src="images/products/small08.jpg"/>
<p>菜品</p>
<p>¥:165.0</p>
</div>
</div>
<!--饮品-->
<div role="tabpanel" class="tab-pane" id="drink">
<div class="product-item col-md-2 col-sm-4 col-xs-6">
<img src="images/products/small03.jpg"/>
<p>饮品</p>
<p>¥:98.0</p>
</div>
<div class="product-item col-md-2 col-sm-4 col-xs-6">
<img src="images/products/small03.jpg"/>
<p>饮品</p>
<p>¥:98.0</p>
</div>
</div>
<!--主食-->
<div role="tabpanel" class="tab-pane" id="staple">
<div class="product-item col-md-2 col-sm-4 col-xs-6">
<img src="images/products/small05.jpg"/>
<p>主食</p>
<p>¥:98.0</p>
</div>
<div class="product-item col-md-2 col-sm-4 col-xs-6">
<img src="images/products/small06.jpg"/>
<p>主食</p>
<p>¥:98.0</p>
</div>
<div class="product-item col-md-2 col-sm-4 col-xs-6">
<img src="images/products/small09.jpg"/>
<p>主食</p>
<p>¥:98.0</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!--特色推荐结束-->
<!--轮播广告-->
<div class="container hidden-xs">
<div id="myCarousel" class="carousel slide" data-ride="carousel">
<!--轮播Carousel项目-->
<div class="carousel-inner">
<div class="item active">
<div class="pic">
<img src="images/1p.jpg" alt="">
<img src="images/2p.jpg" alt="">
<img src="images/3p.png" alt="">
<img src="images/4p.jpg" alt="">
<img src="images/5p.jpg" alt="">
<img src="images/6p.jpg" alt="">
</div>
</div>
<div class="item">
<div class="pic">
<img src="images/2p.jpg" alt="">
<img src="images/3p.png" alt="">
<img src="images/4p.jpg" alt="">
<img src="images/5p.jpg" alt="">
<img src="images/6p.jpg" alt="">
<img src="images/7p.jpg" alt="">
</div>
</div>
<div class="item">
<div class="pic">
<img src="images/3p.png" alt="">
<img src="images/4p.jpg" alt="">
<img src="images/5p.jpg" alt="">
<img src="images/6p.jpg" alt="">
<img src="images/7p.jpg" alt="">
<img src="images/8p.jpg" alt="">
</div>
</div>
<div class="item">
<div class="pic">
<img src="images/4p.jpg" alt="">
<img src="images/5p.jpg" alt="">
<img src="images/6p.jpg" alt="">
<img src="images/7p.jpg" alt="">
<img src="images/8p.jpg" alt="">
<img src="images/1p.jpg" alt="">
</div>
</div>
<div class="item">
<div class="pic">
<img src="images/5p.jpg" alt="">
<img src="images/6p.jpg" alt="">
<img src="images/7p.jpg" alt="">
<img src="images/8p.jpg" alt="">
<img src="images/1p.jpg" alt="">
<img src="images/2p.jpg" alt="">
</div>
</div>
<div class="item">
<div class="pic">
<img src="images/6p.jpg" alt="">
<img src="images/7p.jpg" alt="">
<img src="images/8p.jpg" alt="">
<img src="images/1p.jpg" alt="">
<img src="images/2p.jpg" alt="">
<img src="images/3p.png" alt="">
</div>
</div>
<div class="item">
<div class="pic">
<img src="images/7p.jpg" alt="">
<img src="images/8p.jpg" alt="">
<img src="images/1p.jpg" alt="">
<img src="images/2p.jpg" alt="">
<img src="images/3p.png" alt="">
<img src="images/4p.jpg" alt="">
</div>
</div>
<div class="item">
<div class="pic">
<img src="images/8p.jpg" alt="">
<img src="images/1p.jpg" alt="">
<img src="images/2p.jpg" alt="">
<img src="images/3p.png" alt="">
<img src="images/4p.jpg" alt="">
<img src="images/5p.jpg" alt="">
</div>
</div>
</div>
<!--轮播导航-->
<a class="carousel-control left" href="#myCarousel" role="button" data-slide="prev">&lsaquo;</a>
<a class="carousel-control right" href="#myCarousel" role="button" data-slide="next">&rsaquo;</a>
</div>
</div>
<!--轮播广告结束-->
<!--footer-->
<footer class="footer">
<div class="container">
<div class="footer-left">
<p>YING@ 2019 BootStrap 响应式餐饮网站 | 版权所有<a href="#"></a></p>
</div>
<div class="footer-right">
<ul>
<li><a href="#"><i class="glyphicon glyphicon-phone-alt">&nbsp;联系我们</i></a></li>
<li><a href="#"><i class="glyphicon glyphicon-map-marker">&nbsp;公司地址</i></a></li>
<li><a href="#"><i class="glyphicon glyphicon-question-sign">&nbsp;服务声明</i></a></li>
</ul>
</div>
</div>
</footer>
<!--jQuery(Bootstrap的JavaScript插件需要引入jQuery)-->
</body>
</html>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
HTML
1
https://gitee.com/hegaoming/pp.git
git@gitee.com:hegaoming/pp.git
hegaoming
pp
pp
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385