HTML期末学生大作业:基于html+css+javascript+jquery企业餐厅11页 企业网站制作

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



一、👨‍🎓网站题目

👒 公司官网网站 、企业官网、酒店官网、等网站的设计与制作。


二、✍️网站描述

🏷️ 网页中包含:Div+CSS、鼠标滑过特效、Table、导航栏效果、banner、表单、二级三级页面等,视频音频元素,同时设计了logo(源文件),基本期末作业所需的知识点全覆盖。

🏅 一套优质的💯网页设计应该包含 (具体可根据个人要求而定)

  1. 页面分为页头、菜单导航栏(最好可下拉)、中间内容板块、页脚四大部分。
  2. 所有页面相互超链接,可到三级页面,有5-10个页面组成。
  3. 页面样式风格统一布局显示正常,不错乱,使用Div+Css技术。
  4. 菜单美观、醒目,二级菜单可正常弹出与跳转。
  5. 要有JS特效,如定时切换和手动切换图片轮播。
  6. 页面中有多媒体元素,如gif、视频、音乐,表单技术的使用。
  7. 页面清爽、美观、大方,不雷同。 。
  8. 不仅要能够把用户要求的内容呈现出来,还要满足布局良好、界面美观、配色优雅、表现形式多样等要求。

三、📚网站介绍

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

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

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta name="keywords" content="">
    <meta name="description" content="XXX">
    <meta name="author" content="XXX">
    <link href="css/css.css" rel="stylesheet">
    <link href="css/slick.css" rel="stylesheet">

    <link href="http://www.ylcp.shop/files/files/1651633706937/favicon.ico" rel="SHORTCUT ICON">
    <title>XXX</title>
</head>

<body cur="0" style="background-image:url(picture/aboutbg1.jpg)">
    <div class="top">
        <div class="header">
            <div class="wrap clearfix pr">
                <a href="index.html" class="logo"><em></em><i></i><span></span></a>
                <ul class="nav fr">
                    <li>
                        <a href="about.html">餐厅介绍</a>
                        <ul class="slide-nav">
                            <li><a href="about.html">成长历程</a></li>
                            <li><a href="">创始人介绍</a></li>
                            <li><a href="about.html">团队介绍</a></li>
                        </ul>
                    </li>
                    <li>
                        <a href="food.html">我们的菜单</a>
                        <ul class="slide-nav">
                            <li><a href="food.html">主菜</a></li>
                            <li><a href="food.html">开胃菜</a></li>
                            <li><a href="food.html">甜点</a></li>
                        </ul>
                    </li>
                    <li><a href="Events.html">活动预告</a></li>
                    <li><a href="Book.html">预定中心</a></li>
                    <li>
                        <a href="news.html">新闻资讯</a>
                        <ul class="slide-nav">
                            <li><a href="news.html">企业快报</a></li>
                            <li><a href="news.html">最新资讯</a></li>
                            <li><a href="news.html">新店开张</a></li>
                        </ul>
                    </li>
                    <li><a href="Wedding.html">婚宴展示</a></li>
                    <li>
                        <a href="profile.html">XXX在中国</a>
                        <ul class="slide-nav">
                            <li><a href="profile.html">上海衡山路店</a></li>
                            <li><a href="profile.html">北京三里屯店</a></li>
                            <li><a href="profile.html">北京蓝色港湾店</a></li>
                        </ul>
                    </li>
                    <li>
                        <a href="contact.html">联系我们</a>
                        <ul class="slide-nav">
                            <li><a href="contact.html">上海衡山路店</a></li>
                            <li><a href="contact.html">北京三里屯店</a></li>
                            <li><a href="contact.html">北京蓝色港湾店</a></li>
                        </ul>
                    </li>
                </ul>
            </div>
        </div>
    </div>

    <div class="wrap">
        <div class="w-title tc">
            <p class="title">Founder</p>
            <div class="name">
                <span><em></em>创始人<i></i></span>
            </div>
        </div>

        <div class="conwrap">
            <div class="con-top bort">创始人姓名</div>
            <div class="con-bd">
                <div class="txt clearfix">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <td colspan="2" align="left">&nbsp;&nbsp;&nbsp;&nbsp;在远古,遥远的阿拉伯国度有XXX的美丽传说,在今天, 繁华的上海滩有个XXX餐厅, 远古的1001夜传说不但留给人们无 限的遐想和对未来生活的美好憧憬,还筑就了丝绸之路的文明,使人类文明不断繁衍,今天的XXX餐厅不仅延续了丝绸之路的文明而且带来了 阿拉伯美食文化及风土人情.XXX餐厅无论从整体,还是从局部来看,都完全是阿拉伯文明的再现.源自中东的悠远文化和创意灵感,一系列叹 为观止的杰作,大到装璜设计,小到物品的摆放:古朴的石雕,壮观的壁画,角落里的阿拉伯神灯,每一处都独具匠心,使你不知不觉中就进入了阿拉伯的神话世界。宏伟的19世
                                纪古阿建筑不经意的显示出气派,透过宽敞明亮的玻璃窗,品着浓浓的阿拉伯咖啡,细细回味着人生,欣赏着林荫 小道上街景,惬意之情不必言明,有谁会说这不是人间一道亮丽的风景线呢?优美,舒适的环境中享受着阿拉伯名厨的手艺,又是一番什么景象?论你有多么过人的毅力也禁不住美食的诱惑.&nbsp;</td>
                        </tr>
                        <tr>
                            <td width="52%" align="center" valign="bottom"><img src="picture/img11.png"></td>
                            <td width="48%" align="left">&nbsp;&nbsp;&nbsp;&nbsp;在远古,遥远的阿拉伯国度有XXX的美丽传说,在今天, 繁华的上海滩有个XXX餐厅, 远古的1001夜传说不但留给人们无 限的遐想和对未来生活的美好憧憬,还筑就了丝绸之路的文明,使人类文明不断繁衍,今天的XXX餐厅不仅延续了丝绸之路的文明而且带来了 阿拉伯美食文化及风土人情.XXX餐厅无论从整体,还是从局部来看,都完全是阿拉伯文明的再现.源自中东的悠远文化和创意灵感,一系列叹 为观止的杰作,大到装璜设计,小到物品的摆放:古朴的石雕,壮观的壁画,角落里的阿拉伯神灯,每一处都独具匠心,使你不知不觉中就进入了阿拉伯的神话世界。宏伟的19世
                                纪古阿建筑不经意的显示出气派,透过宽敞明亮的玻璃窗,品着浓浓的阿拉伯咖啡,细细回味着人生,欣赏着林荫 小道上街景,惬意之情不必言明,有谁会说这不是人间一道亮丽的风景线呢?优美,舒适的环境中享受着阿拉伯名厨的手艺,又是一番什么景象?论你有多么过人的毅力也禁不住美食的诱惑.&nbsp;细回味着人生,欣赏着林荫 小道上街景,惬意之情不必言明,有谁会说这不是人间一道亮丽的风景线呢?优美,舒适的环境中享受着阿拉伯名厨的手艺,又是一番什么景象?论你有多么过人的毅力也禁不住美食的诱惑.&nbsp;细回味着人生,欣赏着林荫
                                小道上街景,惬意之情不必言明,有谁会说这不是人间一道亮丽的风景线呢?优美,舒适的环境中享受着阿拉伯名厨的手艺,又是一番什么景象?论你有多么过人的毅力也禁不住美食的诱惑.&nbsp;
                            </td>
                        </tr>
                    </table>
                </div>
            </div>
            <div class="con-bottom"></div>
        </div>

        <div class="foot">Copyright © 2020 All Rights Reserved 版权所有·XXX餐厅 </div>

    </div>


    <a href="#" class="link-prev"></a>
    <a href="#" class="link-next"></a>
</body>
<script src="js/jquery.js"></script>
<script src="js/Action.js"></script>
<script src="js/slick.js"></script>
<script>
    $(function() {
        $('.slide-show').slick({
            dots: true,
            slidesToShow: 1,
            slidesToScroll: 1,
            autoplay: true,
            autoplaySpeed: 3000,
        });
    })
</script>

</html>


💒CSS样式代码

@import url(public.css);
.ico{ background:url(http://www.ylcp.shop/files/files/1651633706937/images/ico.png) no-repeat; display:inline-block;}

.bgbox{ width:100%; height:1000px; overflow:hidden; }
.index{ height:1050px; overflow:hidden; position:relative;}

.side-nav{ width:160px; padding:35px 0 27px; background:url(../image/blk70.png); border-bottom-left-radius:5px; -moz-border-bottom-left-radius:5px; -ms-border-bottom-left-radius:5px; -o-border-bottom-left-radius:5px; -webkit-border-bottom-left-radius:5px; border-bottom-right-radius:5px; -moz-border-bottom-right-radius:5px; -ms-border-bottom-right-radius:5px; -o-border-bottom-right-radius:5px; -webkit-border-bottom-right-radius:5px; position:absolute; left:-80px; top:0;}
.side-nav .logo{ display:block; width:128px; height:165px; background:url(../image/logo.png) no-repeat center; margin:0 auto;}

/*首页导航*/
.navbar li{ height:23px; line-height:23px; line-height:23px; padding:7px 0;}
.navbar li em,.navbar li i,.navbar li span{ display:inline-block; height:23px; width:14px; line-height:23px; vertical-align:middle;}
.navbar li:hover em{ background:url(../image/l.png) no-repeat right center;}
.navbar li:hover i{ background:url(../image/r.png) no-repeat left center;}
.navbar li span{width:auto; padding:0 5px; }
.navbar li:hover span{ background:#fdd100;}
.navbar li a span{ color:#FFF;}
.navbar li:hover a span{ color:#252525}

.y101{ padding-top:130px;}
.menuwrap{ margin:156px auto 0; width:311px; height:64px; padding:3px; border-radius:3px; -moz-border-radius:3px; -ms-border-radius:3px; -o-border-radius:3px; -webkit-border-radius:3px; background:#FFF; overflow:hidden; }
.menuwrap .bd{ width:309px; height:62px; border:1px solid #dfdfdf; border-radius:3px; -moz-border-radius:3px; -ms-border-radius:3px; -o-border-radius:3px; -webkit-border-radius:3px; }
.menuwrap a{ display:block; float:left; width:102px; height:46px; padding:14px 0 0; border-right:1px dotted #dfdfdf; text-decoration:none; font-size:20px;}
.menuwrap a i{ display:block; font-size:12px; height:14px; line-height:14px;}
.menuwrap a:hover{ color:#1b9108; }

.indexfoot{ background:#1c1c1c; padding:13px 0; color:#666;}
.indexfoot a{ color:#666}
.foot{ padding:13px 0; color:#fff; text-align:center;}
.foot a{ color:#fff}

.indexNews{ width:100%; height:490px; background: #fff; position: absolute; bottom:-500px; left: 0; z-index: 999;}
.indexNews .btn-slide-open{ display:block; width:56px; height:50px; background:url(../image/btn-slide-open.png) no-repeat center; position: absolute; top: -148px; left: 50%; margin-left: -28px; -webkit-transition: all 0.18s ease-out; -moz-transition: all 0.18s ease-out; -ms-transition: all 0.18s ease-out; -o-transition: all 0.18s ease-out; transition: all 0.18s ease-out;}
.indexNews .btn-slide-open:hover{ top:-153px;}
.indexNews .btn-slide-close{ display:block; width:30px; height:50px; background:url(../image/btn-slide-close.png) no-repeat center; position: absolute; top: 0; left: 50%; margin-left: -15px;}
.indexNews .item{ width:397px; height: 450px; float: left; border-right: 1px solid #f2f2f2; padding-top:40px}
.indexNews .item:hover{ background:#f2f2f2;}

.indexNews .item dl,.indexNews .in-news-list{ width:290px; margin:0 auto}
.indexNews .item h1{ display:block; height:63px; line-height:63px; font-size:14px; text-align:center;}
.indexNews .item dt{ height:170px; text-align:center; vertical-align:middle;}
.indexNews .item dd{ padding-top:15px; color:#666; font-size:12px;}
.indexNews .item .title{ padding:9px 0; font-weight:bold; font-size:14px;}
.indexNews .in-news-list li{ line-height:34px; height:34px;}
.indexNews .in-news-list a .time{ color:#ccc;}

.top{ padding-top:30px;}
.header{ height:50px; background:url(../image/blk70.png);}
.header .logo{ display:block; width:134px; height:134px; position:absolute; left:0; top:-20px; }
.header .logo em{ display:block; height:20px; width:100%; background:url(../image/l-top.png) no-repeat center;}
.header .logo i{ display:block; height:64px; width:100%; background:url(../image/l-bottom.png) no-repeat center bottom; padding-top:50px;}
.header .logo span{ display:block; width:100%; height:100%; background:url(../image/logo2.png) no-repeat center; position:absolute; left:0; top:0;}

.nav{ height:50px; width:816px;}
.nav>li{ height:50px; line-height:50px; position:relative; float:left; }
.nav>li>a{ display:block; padding:0 20px; color:#FFF; font-size:13px;}
.nav>li:hover>a,.nav>li.current>a{ background:#fdd100; color:#FFF; text-decoration:none;}
.nav>li .slide-nav{ display:none;}
.nav>li:hover .slide-nav{ display:block; position:absolute; top:100%; min-width:100%; line-height:30px; text-align:center; background:url(../image/blk70.png); padding:5px 0 10px;}
.nav>li .slide-nav>li{ height:30px; line-height:30px;}
.nav>li .slide-nav>li a{ font-size:13px; color:#FFF;}
.nav>li .slide-nav>li a:hover{ color:#fdd100;}


/*内页*/
.container{ width:100%; min-width: 1120px; /*min-height:1320px; */ background-position:center top; background-repeat:no-repeat; background-size: cover; margin: 0 auto; position: relative; zoom: 1;}

.w-title{ padding-top:170px;}
.w-title .title{ font-size:36px; height:36px; line-height:36px; color:#FFF; font-family: "David",Arial, Helvetica, sans-serif;}
.w-title .name{ height:1px; width:869px; margin:50px auto 60px; background:url(../image/name.png); position:relative;}
.w-title .name span{ display:inline-block; position:relative; height:30px; line-height:30px; padding:0 30px; top:-15px; background:#f4eddd; font-size:16px; color:#504001;}
.w-title .name em{ display:block; width: 0; height: 0; border-top: 6px solid transparent; border-right: 6px solid #f4eddd; border-bottom: 6px solid transparent; position:absolute; left:-6px; top:50%; margin-top:-6px;}
.w-title .name i{ display:block; width: 0; height: 0; border-top: 6px solid transparent; border-left: 6px solid #f4eddd; border-bottom: 6px solid transparent; position:absolute; right:-6px; top:50%; margin-top:-6px; }

.conwrap{ width:880px; margin:0 auto; min-height:646px;}
.conwrap .con-top{ height:60px; padding-top:10px; line-height:60px; background:url(../image/con-top.png) no-repeat center; font-size:24px; text-align:center; color:#333;}
.conwrap .con-top img{ display:inline-block; margin-left:10px; vertical-align:middle;}
.conwrap .con-top.bort{ border-bottom:1px solid #828282;}
.conwrap .con-bd{ background:url(../image/con-bd.png) repeat-y;}
.conwrap .con-bd .txt{ padding:15px 35px;}
.conwrap .con-bottom{ height:30px;background:url(../image/con-bottom.png) no-repeat center;}

.link-prev,.link-next{ display:block; width:60px; height:119px; background:url(../image/link-btn.png) no-repeat 0 0; position:fixed; top:50%; margin-top:-59px; left:0;}
.link-next{ background-position:-63px 0; left:auto; right:0;}

.newslist li{ padding:7px 0; height:24px; font-size:14px;}
.newslist li .time{ display:inline-block; width:72px; font-style:italic; color:#999; font-size:12px;}

.back{ display:block; width:69px; height:32px; background:url(../image/back.png) no-repeat center; margin:20px auto 0;}

.control-group{ margin:7px 0; float:left; width:348px; height:38px; line-height:38px; padding:0 15px; border:1px solid #ececec; border-radius:3px; -moz-border-radius:3px; -ms-border-radius:3px; -o-border-radius:3px; -webkit-border-radius:3px; background:#FFF; overflow:hidden;}
.control-group .tt{ display:inline-block; width:38px; height:14px; line-height:14px; font-size:14px; float:left; border-right:1px solid #ccc; margin-top:12px;}
.control-group label{ display:inline-block; width:300px; height:100%; float:right; position:relative}
.control-group label input{ border:0; height:100%; width:100%; outline:none;}
.control-group label .myfont{ display:block; width:15px; height:100%; line-height:38px; text-align:center; position:absolute; right:0; top:0; font-size:18px; color:#a9a9a9;}

.btn-book{ width:91px; height:32px; line-height:32px; text-indent:999px; overflow:hidden; background:url(../image/book.png) no-repeat center;}

.menu-wrap{ padding:5px; background:#f4eddd; border-radius:5px; -moz-border-radius:5px; -ms-border-radius:5px; -o-border-radius:5px; -webkit-border-radius:5px; width:1180px;}
.menu-wrap .menubox{ min-height:400px; border:1px solid #828282; border-radius:5px; -moz-border-radius:5px; -ms-border-radius:5px; -o-border-radius:5px; -webkit-border-radius:5px; overflow:hidden; padding:22px 21px;}
.menubox .price{ color:#780a06;}
.menubox dl{ float:left; width:240px; margin:22px; }
.menubox dl dt{ height:200px;}
.menubox dl dt img{ max-height:100%; max-width:100%; }
.menubox dl dd{ padding-top:10px;}
.menubox .txt{ height:48px; overflow:hidden;}

.widding-wrap{ min-width:1432px; width:1432px; height:238px; margin:125px auto 255px;}
.widding-wrap .item{ float:left; height:228px; width:308px; padding:5px; border-radius:5px; -moz-border-radius:5px; -ms-border-radius:5px; -o-border-radius:5px; -webkit-border-radius:5px; margin:0 20px; background:#FFF; overflow:hidden;}
.widding-wrap .item .img{ height:162px; border-top-left-radius:5px; -moz-border-top-left-radius:5px; -ms-border-top-left-radius:5px; -o-border-top-left-radius:5px; -webkit-border-top-left-radius:5px; border-top-right-radius:5px; -moz-border-top-right-radius:5px; -ms-border-top-right-radius:5px; -o-border-top-right-radius:5px; -webkit-border-top-right-radius:5px;}
.widding-wrap .item .txt{ padding:10px 10px 0; position:relative;}
.widding-wrap .item .time{ font-size:12px;}
.widding-wrap .item .more{ display:block; width:21px; height:21px; text-align: center; line-height:21px; border:1px solid #949494; font-size:26px; font-family:"宋体";  position:absolute; right:15px; top:25px; color:#949494;-moz-border-radius:5px; -ms-border-radius:5px; -o-border-radius:5px; -webkit-border-radius:5px; text-decoration:none;}

.slick-prev,.slick-next{ display:none !important}
.slide-show { width:880px;}
.slide-show .img{ height:300px;}
.slide-show .slick-dots{ bottom:20px;}
	
/*========== page ==========*/
.page{height:30px; padding:30px 0 20px;}
.page span,.page a{ display:inline-block; border:1px solid #e4e4e4; height:28px; line-height:28px; padding:0 10px;-webkit-border-radius: 3px;-moz-border-radius: 3px;border-radius: 3px; margin:0 4px; text-decoration:none; background:#FFF;}
.page span,.page a.active,.page a:hover{ color:#FFF; background:#f9ac43; border-color:#f9ac43;}
.page a em{ display:inline-block; width: 0; height: 0; border-top: 4px solid transparent; border-bottom: 4px solid transparent;}
.page a.prev em{border-right: 8px solid #999; margin-right:5px;}
.page a.next em{border-left: 8px solid #999; margin-left:5px;}
.page a.prev:hover em{ border-right-color:#FFF;}
.page a.next:hover em{ border-left-color:#FFF;}




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

第一、带着目标去学习,无论看书报课还是各种线下活动。
首先要明确自己的学习目标是什么,是想解决什么问题,实现怎样的目标。

第二、学习要建立个人知识体系
知识是学不完的,书籍是浩如烟海的。我们尽情徜徉其中的时候,千万不要被海水淹死,没有自我了。在学习过程中,我们会发现每一个知识点都是有她的边界和背景的,我们要善于归纳整理知识

第三、学到了就要用到

有时,我们一天下来感觉学到了很多干货,那么我们一定要将这些知识点和实际工作和生活联系起来。知识和实践相互联系靠拢。爱学习是一件好事,但只有会学习的人,才有价值。


七、🎁更多干货

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

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

3.

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

在这里插入图片描述

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

web学生网页设计

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

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

余额充值