web网页设计期末课程大作业 HTML+CSS+JavaScript 美食餐饮文化主题网站设计 学生DW静态网页设计

🎀 精彩专栏推荐👇🏻👇🏻👇🏻

✍️ 作者简介: 一个热爱把逻辑思维转变为代码的技术博主
💂 作者主页: 【主页——🚀获取更多优质源码】
🎓 web前端期末大作业: 【📚毕设项目精品实战案例 (1000套) 】
🧡 程序员有趣的告白方式:【💌HTML七夕情人节表白网页制作 (110套) 】
🌎超炫酷的Echarts大屏可视化源码:【🦄 echarts大屏展示大数据平台可视化(150套) 】
🎁 免费且实用的WEB前端学习指南: 【📂web前端零基础到高级学习视频教程 120G干货分享】
🥇 关于作者: 历任研发工程师,技术组长,教学总监;曾于2016年、2020年两度荣获CSDN年度十大博客之星。 十载寒冰,难凉热血;多年过去,历经变迁,物是人非。 然而,对于技术的探索和追求从未停歇。 💪坚持原创,热衷分享,初心未改,继往开来!



一、👨‍🎓网站题目

🥧 美食网页介绍、🍰甜品蛋糕、🦐地方美食小吃文化、🍺餐饮文化、等网站的设计与制作。


二、✍️网站描述

🍧美食主题网站 主要对各种美食进行展示,让浏览者清晰地了解到各种美食的详细信息,便于浏览者进行选择。该模块的左侧有个美食分类,用户可以选择自己喜欢的种类,当点击种类后,就会在右侧出现该分类下的各种美食,用户可以点击自己感兴趣的食品,从而看到它的具体信息。它的具体信息包括配料、产地及它的一些功能,使用户对该食品有着全面的认识。

👨‍🎓静态网站的编写主要是用HTML DIV+CSS JS等来完成页面的排版设计👩‍🎓,常用的网页设计软件有Dreamweaver、EditPlus、HBuilderX、VScode 、Webstorm、Animate等等,用的最多的还是DW,当然不同软件写出的前端Html5代码都是一致的,本网页适合修改成为各种类型的产品展示网页,比如美食、旅游、摄影、电影、音乐等等多种主题,希望对大家有所帮助。


三、📚网站介绍

📔网站布局方面:计划采用目前主流的、能兼容各大主流浏览器、显示效果稳定的浮动网页布局结构。

📓网站程序方面:计划采用最新的网页编程语言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代码)。


四、🌐网站效果

在这里插入图片描述
在这里插入图片描述
在这里插入图片描述
在这里插入图片描述


五、🪓 代码实现

🧱HTML结构代码


<!DOCTYPE html>
<html lang="zh">
	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<meta name="renderer" content="webkit"/>
		<meta name="force-rendering" content="webkit"/>
		<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1"/>
		<meta name="renderer" content="webkit|ie-comp|ie-stand">
		<title>日式料理餐饮公司网站html模板首页 - 模板之家 http://www.cssmoban.com</title>
		<link rel="stylesheet" href="css/swiper.min.css" />	
		<link rel="stylesheet" type="text/css" href="css/style.css"/>
	</head>
	<body>
		<div class="bgwrap">
			<div class="w1200">
				<div class="header clearfix">
					<ul class="ul1 fl">
						<li><a href="index">网站首页</a></li>
						<li><a href="">关于我们</a></li>
						<li><a href="">美味菜肴</a></li>
						<li><a href="case.html">店面展示</a></li>
					</ul>
					<a href="" class="logo"><img src="picture/logo.png"/></a>
					<ul class="ul2 fr">
						<li><a href="">招商合作</a></li>
						<li><a href="">合作商风采</a></li>
						<li><a href="news.html">新闻资讯</a></li>
						<li><a href="details.html">新闻内容</a></li>
					</ul>
				</div>
			</div>		                                                                                                                                      
			<div class="box">
				<div class="banner">
					<ul class="bannerfix slides clearfix">
			        	<li><img class="bimg" src="picture/banner.jpg" /></li>
			        	<li><img class="bimg" src="picture/banner.jpg" /></li>
			        	<li><img class="bimg" src="picture/banner.jpg" /></li>
					</ul>	
					<div class="bamnline"><span></span></div>	
				</div>
				<div class="index-sec1 clearfix">
					<div class="sec1-left fl">
						<div class="title clearfix">
							<p class="p2">品牌介绍</p>
							<p class="p1">ブランド紹介</p>
						</div>
						<div class="video-kuai ">
							<div class="video-tu">
								<img src="picture/tu3.jpg"/>
							</div>
							<div class="video-cont">
								<video  src="http://www.w3school.com.cn/example/html5/mov_bbb.mp4" controls="controls"> 
								</video>
								<i class="close">×</i>
							</div>
						</div>	
					</div>
					<div class="sec1-right fr">
						<ul class="clearfix">
							<li>
								<a href="">
									<p class="p1">XX餐饮集团创立于<b></b></p>
									<p class="p2"><strong class="strong1" >2010</strong><i></i></p>
								</a>
							</li>
							<li>
								<a href="">
									<p class="p1">拥有直营店运营经验<b></b></p>
									<p class="p2"><strong class="strong2" >12</strong><i></i></p>
								</a>
							</li>
							<li>
								<a href="">
									<p class="p1">集团旗下品牌项目<b></b></p>
									<p class="p2"><strong class="strong3" >7</strong><i></i></p>
								</a>
							</li>
							<li>
								<a href="">
									<p class="p1">集团合作加盟商<b></b></p>
									<p class="p2"><strong class="strong4" >1000</strong><i>+</i></p>
								</a>
							</li>							
						</ul>
						<div class="div1">
							<p class="p3">XX日式料理 <span>about us</span></p>
							<p class="p4">								
								XX日式料理创立于2010年,拥有三十年直营店运营经验,始终贯彻营
								养健康的环保理念。为顾客准备的特色菜品有一百二十余款,分为生鱼刺
								身、餐前小菜、寿司(手工握寿司、卷物花寿司/手卷物、炙寿司)、日式
								寿喜锅、烧烤、炸煎、沙拉、饭、面、酒水饮料等十大种类。XX日式料理将
								正统日式餐饮与文化相结合,形成独特的餐饮模式,满足不同消费群体的不同需求。
							</p>
							<div class="clearfix">
								<a href="" class="more">view more +</a>
							</div>
							<p class="p5">400-1234-566</p>
							<p class="p6">需要我们帮忙吗? 给我们一个电话或安排一个电话</p>
						</div>
						
					</div>
				</div>
				<div class="index-sec2">
					<div class="w1200">
						<div class="title title2">
							<p class="p2">菜品展示</p>
							<p class="p1">メニュー展示</p>
						</div>
						<div class="sec2gun">
							<div class="bd">
								<ul class="picList clearfix">
										<li>
											<a href="">
												<figure><img src="picture/tu2.jpg"/></figure>
												<figcaption></figcaption>
												<p class="p1">より多くのシリーズ</p>
												<p class="p2">更多系列</p>
											</a>
										</li>
										<li>
											<a href="">
												<figure><img src="picture/tu2.jpg"/></figure>
												<figcaption></figcaption>
												<p class="p1">より多くのシリーズ</p>
												<p class="p2">更多系列</p>
											</a>
										</li>
										<li>
											<a href="">
												<figure><img src="picture/tu2.jpg"/></figure>
												<figcaption></figcaption>
												<p class="p1">より多くのシリーズ</p>
												<p class="p2">更多系列</p>
											</a>
										</li>
										<li>
											<a href="">
												<figure><img src="picture/tu2.jpg"/></figure>
												<figcaption></figcaption>
												<p class="p1">より多くのシリーズ</p>
												<p class="p2">更多系列</p>
											</a>
										</li>
										
										<li>
											<a href="">
												<figure><img src="picture/tu2.jpg"/></figure>
												<figcaption></figcaption>
												<p class="p1">より多くのシリーズ</p>
												<p class="p2">更多系列</p>
											</a>
										</li>							
										<li>
											<a href="">
												<figure><img src="picture/tu2.jpg"/></figure>
												<figcaption></figcaption>
												<p class="p1">より多くのシリーズ</p>
												<p class="p2">更多系列</p>
											</a>
										</li>
										<li>
											<a href="">
												<figure><img src="picture/tu2.jpg"/></figure>
												<figcaption></figcaption>
												<p class="p1">より多くのシリーズ</p>
												<p class="p2">更多系列</p>
											</a>
										</li>
									
									</ul>
							</div>
							<div class="hd">
>view more</span>
											<i></i>
										</div>
									</figcaption>
								</a>
							</li>
							<li>
								<a href="">
									<figure><img src="picture/tu4.png"/></figure>
									<figcaption>
										<p class="p1">定心亦称禅心,指清静寂定的心境</p>
										<div class="clearfix">
											<span>view more</span>
											<i></i>
										</div>
									</figcaption>
								</a>
							</li>
							<li>
								<a href="">
									<figure><img src="picture/tu4.png"/></figure>
									<figcaption>
										<p class="p1">定心亦称禅心,指清静寂定的心境</p>
										<div class="clearfix">
											<span>view more</span>
											<i></i>
										</div>
									</figcaption>
								</a>
							</li>
							<li>
								<a href="">
									<figure><img src="picture/tu4.png"/></figure>
									<figcaption>
										<p class="p1">定心亦称禅心,指清静寂定的心境</p>
										<div class="clearfix">
											<span>view more</span>
											<i></i>
										</div>
									</figcaption>
								</a>
							</li>
						</ul>
					</div>
					<a href="" class="more">view more   +</a>
				</div>
				<div class="index-sec4">
					<div class="w1200">
						<div class="title title2">
							<p class="p2">合作商风采</p>
							<p class="p1">合作商の風采</p>
						</div>
						<div class="sec4gun">
							<div class="bd">
								<ul class="picList clearfix">
									<li>
										<a href="">
											<figure><img src="picture/tu5.png"/></figure>
											<p>加盟商风采</p>
										</a>
									</li>
									<li>

										<td>
											<input type="text" name="" id="" value="qq" />
										</td>
									</tr>
									<tr>
										<td colspan="2">
											<p class="p3">详情</p>
											<textarea name="" rows="" cols=""></textarea>
										</td>
									</tr>
									<tr>
										<td colspan="2">
											<input type="submit" name="" id="" value="立即提交"  class="sub"/>
										</td>
									</tr>
						
								</table>
							</div>
							<div class="sec6-right fr">
								<ul>
									<li>
										<p class="p1">全国服务热线</p>
										<p class="p2">4006-333-566</p>
									</li>
									<li>
										<p class="p1">联系电话</p>
										<p class="p2">13825073768</p>
									</li>
									<li>
										<p class="p1">地址</p>
										<p class="p3">合肥市庐阳区濉溪路国金大厦12楼</p>
									</li>
									<li>
										<p class="p4">隐藏于繁华都市中的心灵港湾<br />XX日式料理/温暖人心的门店</p>
									</li>
								</ul>
							</div>
						</div>
					</div>
					<p class="copyright">
						版权所有:安徽XX日料有限公司 <a href="http://www.cssmoban.com/" target="_blank">模板之家</a>
					</p>
				</div>
			</div>	
		</div>
		<script src="js/jquery-3.3.1.min.js"></script>			
		<script src="js/superslide.2.1.3.js"></script>		
		<script src="js/plugin.js"></script>
		<script src="js/animationcounter.js"></script>
		<script src="js/banner.js"></script>
		<script src="js/index.js"></script>		
		<script src="js/swiper.min.js"></script>
		<script src="js/more.js"></script>		
	</body>	

</html>



💒CSS样式代码

.bgwrap{ background: url(../images/kuai.png) repeat; padding: 0 5.2% 50px 5.2%;}
.header{ position: relative; }
.header ul li{ float: left;}
.header li a{ display: block; color: #000; font-size: 16px; font-family: "siyuan"; height: 100px; line-height: 100px; margin-right: 45px; transition: all 0.6s;}
.header .ul2 li a{ margin-left: 45px; margin-right: 0;}
.header .logo{ position: absolute; top: 0; right: 50%; margin-right: -94px; z-index: 333;}


.banner { position:relative; overflow:hidden;}
.banner .bannerfix >li { height: 100%; line-height: 0; opacity:0; transition:opacity 1000ms linear; -webkit-transition:opacity 1000ms linear; float:left;}
.banner .bannerfix >li .bimg { line-height: 0; width: 100%; position: relative; transition: transform 5s ease; -webkit-transition: transform 5s ease; transform: scale(1.1); -webkit-transform: scale(1.1); -moz-transform: scale(1.1);}
.banner .bannerfix >li.imgIn{ opacity:1; z-index:10; display:block;}
.banner .bannerfix >li.imgIn .bimg { transform: matrix(1, 0, 0, 1, 0, 0); -webkit-transform: matrix(1, 0, 0, 1, 0, 0); }

.banner .flex-control-nav{ width:100%; height:20px; position:absolute; left:0; bottom:30px; text-align:center; z-index:20;}
.banner .flex-control-nav li{ display:inline-block; position:relative; margin-right:14px; width:5px; height:20px;}
.banner .flex-control-nav li:last-child{ margin-right:0;}
.banner .flex-control-nav li span{ display:block; text-indent:999px; overflow:hidden; width:5px; height:8px; position:absolute; background:#fff; transition:320ms; left:0; top:6px;}
.banner .flex-control-nav li a.flex-active span{ height:20px; top:0; background:#C0A16B;}

.title { position: relative; padding: 55px 0 110px 10px;}
.title .p2{ color: #222; font-size: 40px; font-family: "siyuan";  line-height: 0;}
.title .p1{ line-height: 0; float: left; font-size: 85px; color: #e4e4e4; font-family: "siyuan"; }
.title2 .p1{ float: none; text-align: center;}
.title2 .p2{ float: none; text-align: center; position: relative; z-index: 3; font-weight: bold;}



.index-sec1{ background: #fff; padding-top: 50px;}
.sec1-left{ width: 50%;  position: relative;  } 
.video-kuai{  position: relative;}
.video-tu{ cursor: pointer; width: 100%;}
.video-tu img{ display: block; width: 100%;}
.video-cont{ position: fixed; top: 0; left: 0; bottom: 0; right: 0;  z-index: 33333; 
width: 100%; height: 100%; transform: translate(0, -105%);	opacity: 0;	transition: transform .3s ease-out; filter:alpha(opacity=0);	visibility: hidden; }
.close{ font-size: 50px; color: #fff; position: fixed; left: 70%; top: 15%; font-weight: bold; cursor: pointer;}
.video-cont video{ height: 500px; width: 700px; background: #fff; left: 50%; top: 50%; position: fixed; transform: translate(-50%,-50%);
border:10px solid #fff; border-radius: 10px;}
.video-cont.in{transform: translate(0, 0); 	opacity: 1; filter:alpha(opacity=100); transition:all 0.7s; visibility: visible;  display: block;}
.video-cont video{ object-fit: fill;}
.sec1-right{ width: 47%;}
.sec1-right ul{ box-shadow: 0 0 10px 3px rgba(0,0,0,0.2); position: relative; z-index: 33; margin-top: -30%; background: #fff;}
.sec1-right li{ width: 44.8%; float: left; border-bottom: 1px solid #ececec; border-right: 1px solid #ececec; 
padding-left: 5%; padding-top: 3%; padding-bottom: 5%;}
.sec1-right li:nth-child(1){  background: url(../images/01.png) no-repeat 90% 50%; }
.sec1-right li:nth-child(2){border-right: none;  background: url(../images/02.png) no-repeat 90% 50%;}
.sec1-right li:nth-child(3){ background: url(../images/03.png) no-repeat 90% 50%; }
.sec1-right li:nth-child(4){ border-right: none;  background: url(../images/04.png) no-repeat 90% 50%;}
.sec1-right li .p1{ font-size: 16px; color: #000;}
.sec1-right .p1 b{ display: block; width: 28px; height: 2px; margin: 20px 0 40px 0; background: #000;}
.sec1-right li strong{ font-family: "siyuan"; font-size: 46px; font-weight: bold; color: #000; display: inline-block;
 margin-right: 10px;}



六、🥇 如何让学习不再盲目

很多刚入门编程的小白学习了基础语法,却不知道语法的用途,不知道如何加深映像,不知道如何提升自己,这个时候每天刷自主刷一些题就非常重要(百炼成神),可以去牛客网上的编程初学者入门训练。该专题为编程入门级别,适合刚学完语法的小白练习,题目涉及编程基础语法,基本结构等,每道题带有练习模式和考试模式,可还原考试模式进行模拟,也可通过练习模式进行练习。


七、🎁更多干货

1.如果我的博客对你有帮助、如果你喜欢我的博客内容,请 “👍点赞” “✍️评论” “💙收藏” 一键三连哦!

2.💗【👇🏻👇🏻👇🏻关注我| 获取更多源码 | 优质文章】 带您学习各种前端插件、3D炫酷效果、图片展示、文字效果、以及整站模板 、大学生毕业HTML模板 、期末大作业模板 、等! 「在这里有好多 前端 开发者,一起探讨 前端 Node 知识,互相学习」!

3.

以上内容技术相关问题💌欢迎一起交流学习👇🏻👇🏻👇🏻🔥

在这里插入图片描述

  • 5
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值