0


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

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


📂文章目录


一、👨‍🎓网站题目

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


二、✍️网站描述

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

👨‍🎓静态网站的编写主要是用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结构代码

<!DOCTYPEhtml><htmllang="zh"><head><metacharset="UTF-8"><metaname="viewport"content="width=device-width, initial-scale=1.0"/><metaname="renderer"content="webkit"/><metaname="force-rendering"content="webkit"/><metahttp-equiv="X-UA-Compatible"content="IE=Edge,chrome=1"/><metaname="renderer"content="webkit|ie-comp|ie-stand"><title>日式料理餐饮公司网站html模板首页 - 模板之家 http://www.cssmoban.com</title><linkrel="stylesheet"href="css/swiper.min.css"/><linkrel="stylesheet"type="text/css"href="css/style.css"/></head><body><divclass="bgwrap"><divclass="w1200"><divclass="header clearfix"><ulclass="ul1 fl"><li><ahref="index">网站首页</a></li><li><ahref="">关于我们</a></li><li><ahref="">美味菜肴</a></li><li><ahref="case.html">店面展示</a></li></ul><ahref=""class="logo"><imgsrc="picture/logo.png"/></a><ulclass="ul2 fr"><li><ahref="">招商合作</a></li><li><ahref="">合作商风采</a></li><li><ahref="news.html">新闻资讯</a></li><li><ahref="details.html">新闻内容</a></li></ul></div></div><divclass="box"><divclass="banner"><ulclass="bannerfix slides clearfix"><li><imgclass="bimg"src="picture/banner.jpg"/></li><li><imgclass="bimg"src="picture/banner.jpg"/></li><li><imgclass="bimg"src="picture/banner.jpg"/></li></ul><divclass="bamnline"><span></span></div></div><divclass="index-sec1 clearfix"><divclass="sec1-left fl"><divclass="title clearfix"><pclass="p2">品牌介绍</p><pclass="p1">ブランド紹介</p></div><divclass="video-kuai "><divclass="video-tu"><imgsrc="picture/tu3.jpg"/></div><divclass="video-cont"><videosrc="http://www.w3school.com.cn/example/html5/mov_bbb.mp4"controls="controls"></video><iclass="close">×</i></div></div></div><divclass="sec1-right fr"><ulclass="clearfix"><li><ahref=""><pclass="p1">XX餐饮集团创立于<b></b></p><pclass="p2"><strongclass="strong1">2010</strong><i>年</i></p></a></li><li><ahref=""><pclass="p1">拥有直营店运营经验<b></b></p><pclass="p2"><strongclass="strong2">12</strong><i>年</i></p></a></li><li><ahref=""><pclass="p1">集团旗下品牌项目<b></b></p><pclass="p2"><strongclass="strong3">7</strong><i>个</i></p></a></li><li><ahref=""><pclass="p1">集团合作加盟商<b></b></p><pclass="p2"><strongclass="strong4">1000</strong><i>+</i></p></a></li></ul><divclass="div1"><pclass="p3">XX日式料理 <span>about us</span></p><pclass="p4">                                
                                XX日式料理创立于2010年,拥有三十年直营店运营经验,始终贯彻营
                                养健康的环保理念。为顾客准备的特色菜品有一百二十余款,分为生鱼刺
                                身、餐前小菜、寿司(手工握寿司、卷物花寿司/手卷物、炙寿司)、日式
                                寿喜锅、烧烤、炸煎、沙拉、饭、面、酒水饮料等十大种类。XX日式料理将
                                正统日式餐饮与文化相结合,形成独特的餐饮模式,满足不同消费群体的不同需求。
                            </p><divclass="clearfix"><ahref=""class="more">view more +</a></div><pclass="p5">400-1234-566</p><pclass="p6">需要我们帮忙吗? 给我们一个电话或安排一个电话</p></div></div></div><divclass="index-sec2"><divclass="w1200"><divclass="title title2"><pclass="p2">菜品展示</p><pclass="p1">メニュー展示</p></div><divclass="sec2gun"><divclass="bd"><ulclass="picList clearfix"><li><ahref=""><figure><imgsrc="picture/tu2.jpg"/></figure><figcaption></figcaption><pclass="p1">より多くのシリーズ</p><pclass="p2">更多系列</p></a></li><li><ahref=""><figure><imgsrc="picture/tu2.jpg"/></figure><figcaption></figcaption><pclass="p1">より多くのシリーズ</p><pclass="p2">更多系列</p></a></li><li><ahref=""><figure><imgsrc="picture/tu2.jpg"/></figure><figcaption></figcaption><pclass="p1">より多くのシリーズ</p><pclass="p2">更多系列</p></a></li><li><ahref=""><figure><imgsrc="picture/tu2.jpg"/></figure><figcaption></figcaption><pclass="p1">より多くのシリーズ</p><pclass="p2">更多系列</p></a></li><li><ahref=""><figure><imgsrc="picture/tu2.jpg"/></figure><figcaption></figcaption><pclass="p1">より多くのシリーズ</p><pclass="p2">更多系列</p></a></li><li><ahref=""><figure><imgsrc="picture/tu2.jpg"/></figure><figcaption></figcaption><pclass="p1">より多くのシリーズ</p><pclass="p2">更多系列</p></a></li><li><ahref=""><figure><imgsrc="picture/tu2.jpg"/></figure><figcaption></figcaption><pclass="p1">より多くのシリーズ</p><pclass="p2">更多系列</p></a></li></ul></div><divclass="hd">
>view more</span><i></i></div></figcaption></a></li><li><ahref=""><figure><imgsrc="picture/tu4.png"/></figure><figcaption><pclass="p1">定心亦称禅心,指清静寂定的心境</p><divclass="clearfix"><span>view more</span><i></i></div></figcaption></a></li><li><ahref=""><figure><imgsrc="picture/tu4.png"/></figure><figcaption><pclass="p1">定心亦称禅心,指清静寂定的心境</p><divclass="clearfix"><span>view more</span><i></i></div></figcaption></a></li><li><ahref=""><figure><imgsrc="picture/tu4.png"/></figure><figcaption><pclass="p1">定心亦称禅心,指清静寂定的心境</p><divclass="clearfix"><span>view more</span><i></i></div></figcaption></a></li></ul></div><ahref=""class="more">view more   +</a></div><divclass="index-sec4"><divclass="w1200"><divclass="title title2"><pclass="p2">合作商风采</p><pclass="p1">合作商の風采</p></div><divclass="sec4gun"><divclass="bd"><ulclass="picList clearfix"><li><ahref=""><figure><imgsrc="picture/tu5.png"/></figure><p>加盟商风采</p></a></li><li><td><inputtype="text"name=""id=""value="qq"/></td></tr><tr><tdcolspan="2"><pclass="p3">详情</p><textareaname=""rows=""cols=""></textarea></td></tr><tr><tdcolspan="2"><inputtype="submit"name=""id=""value="立即提交"class="sub"/></td></tr></table></div><divclass="sec6-right fr"><ul><li><pclass="p1">全国服务热线</p><pclass="p2">4006-333-566</p></li><li><pclass="p1">联系电话</p><pclass="p2">13825073768</p></li><li><pclass="p1">地址</p><pclass="p3">合肥市庐阳区濉溪路国金大厦12楼</p></li><li><pclass="p4">隐藏于繁华都市中的心灵港湾<br/>XX日式料理/温暖人心的门店</p></li></ul></div></div></div><pclass="copyright">
                        版权所有:安徽XX日料有限公司 <ahref="http://www.cssmoban.com/"target="_blank">模板之家</a></p></div></div></div><scriptsrc="js/jquery-3.3.1.min.js"></script><scriptsrc="js/superslide.2.1.3.js"></script><scriptsrc="js/plugin.js"></script><scriptsrc="js/animationcounter.js"></script><scriptsrc="js/banner.js"></script><scriptsrc="js/index.js"></script><scriptsrc="js/swiper.min.js"></script><scriptsrc="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.如果我的博客对你有帮助、如果你喜欢我的博客内容,

请 “👍点赞” “✍️评论” “💙收藏” 

一键三连哦!

  1. 💗【👇🏻👇🏻👇🏻关注我| 获取更多源码 | 优质文章】 
    

    带您学习各种前端插件、3D炫酷效果、图片展示、文字效果、以及整站模板 、大学生毕业HTML模板 、期末大作业模板 、等! 「在这里有好多 前端 开发者,一起探讨 前端 Node 知识,互相学习」!

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

在这里插入图片描述


本文转载自: https://blog.csdn.net/VX_WJ88950106/article/details/128658535
版权归原作者 IT芷君 所有, 如有侵权,请联系我们删除。

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

还没有评论