当前位置: 首页 > news >正文

Web大学生网页作业成品——仿腾讯游戏官网网站设计与实现(html css javascript)


📂文章目录

  • 👨‍🎓网页题目
  • ✍️网页描述
  • 🌐网站效果
  • 🔧 代码实现
    • 🧱HTML结构代码
  • 🎁更多干货


👨‍🎓网页题目

🎮游戏官网、⛹️游戏网站、🕹️电竞游戏、🎴游戏介绍、等网站的设计与制作。


✍️网页描述

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


🌐网站效果

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


🔧 代码实现

🧱HTML结构代码



 
<html lang="en">
<head>
  <meta charset="utf-8">
  <title> 仿腾讯游戏官网</title>
  <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1">
  <link rel="icon" type="image/x-icon" href="./img/未标题-1.png" />
  
</head>
<body>
  
  <div class="container1" style="z-index: 999999999; position: fixed; display: flex; justify-content: space-between;">
    <a href="./index.html" style="z-index: 99;">
        <img  src="./img/logo.png" alt="">
    </a>
<div class="f1_1" style="z-index: 99; display: flex; justify-content: space-around; width: 25%; position: absolute; right: 0;">
    <div style="color: whitesmoke; line-height: 80px;">
        <a href="./about.html">关于腾讯游戏</a>
        </div>
    <div style="color: whitesmoke; line-height: 80px;">
        <a href="./Introduction.html">游戏介绍</a>
        </div>
    <div style="color: whitesmoke; line-height: 80px;">
        <a href="./Brands.html">品牌活动</a>
        </div>
</div>
<div class="fa fa-bars fa-3x dis_bottom" style="line-height: 80px; color: white;  z-index: 99999999;">&nbsp;&nbsp;&nbsp;</div>
<div class="fa fa-bars fa-3x dis_phone" style="line-height: 80px; color: white; display: none;">&nbsp;&nbsp;&nbsp;</div>
<div class="fa fa-window-close fa-3x dis_phone_1" style="line-height: 80px; color: white; display: none;">&nbsp;&nbsp;&nbsp;</div>
</div>
<div  class="fix_phone" style="display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: black; z-index: 9999999;  padding: 100px 40px ;">
    <a href="./index.html">
        <div style="color: white; font-size: 25px; margin-top: 20px;"> 首页</div>
    </a>
    <a href="./about.html">
        <div style="color: white; opacity: 0.5;  margin-top: 20px;font-size: 25px;"> 关于腾讯游戏</div>
    </a>
    <a href="./Introduction.html">
        <div style="color: white; opacity: 0.5; margin-top: 20px; font-size: 25px;"> 游戏介绍</div>
    </a>
    <a href="./Brands.html">
        <div style="color: white; opacity: 0.5; margin-top: 20px; font-size: 25px;"> 品牌活动</div>
    </a>
</div>
  <div class="swiper-container">
    <div class="swiper-wrapper">
      <div class="swiper-slide">
        <div class="f1">
        
            
            <video width="100%" height="100%" src="./img/1022_18cd57db826a4884a650045a2786ed7e.f0.mp4" muted="true" loop="true" autoplay="true"  class="video">
            </video>
            <img class="tit_1" src="./img/title_1.png" style="z-index: 99; position: absolute; top: 30%;  width:40% ; left: 50%; transform: translateX(-50%); margin: 0 auto;" alt="">
            <i class="fa fa-play-circle-o fa-5x" style="color: white; cursor: pointer; position: absolute; z-index: 99; top: 60%; cursor: pointer; left: 50%; transform: translateX(-50%);">
    
            </i>
            <div class="geng_x" style="display: none; color: white; width: 100%; background: #0f0f1e; text-align: right; height: 60px; position: absolute; left: 0; top: 80px;">
            <i class="fa fa-window-close fa-2x" style="cursor: pointer; margin-right: 4%;"></i>
            </div>
            <iframe style="display: none; z-index: 999; position: relative; margin-top: 115px; width: 100%;  height: 100%;" src="" frameborder="0">
            
            </iframe>
        </div>
        
      </div>
      <div class="swiper-slide">
        <div class="f2" >
            <img src="./img/transition_2.png" alt="" style="width: 100%; height: 100%;" >
            <img src="./img/picture_2.png" style="position: absolute; top: 0; right: 0; height: 100%; opacity: 0.4;" alt="">
            <img src="./img/figure_2.png" alt="" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;">
            <img class="f2_1" src="./img/title_2.png" style="width: 30%; margin-top: 8%; margin-left: 8%; position: absolute; top: 0; left: 0;" alt="">
            <div class="f2_2" style="z-index: 99; position: absolute; top: 0; left: 0; font-size: 20px; opacity: 0.7; margin-left: 8%; color: white;">
                
                腾讯游戏致力于为玩家提供丰富优质的游戏体验,让玩家不只在游戏里收获快乐<br>
                也能体验多重身份、广交好友、感受多元文化腾讯游戏不断提升游戏品质、拓宽品类<br>
                打造极致的游戏体验,陪伴玩家一起发现游戏乐趣的无限可能
            </div>
            <div  class="f2_3" style="color: white; font-weight: bold; font-size: 30px; z-index: 99; position: absolute; margin-left: 8%;">
                <a href="">游戏介绍 &nbsp;<i class="fa fa-chevron-right"></i></a>
                
            </div>
        </div>
      </div>
      <div class="swiper-slide">
        <div class="f2" >
            <img src="./img/transition_3.png" alt="" style="width: 100%; height: 100%;" >
            <img src="./img/picture_3.png" style="position: absolute; top: 0; right: 0; height: 100%; opacity: 0.4;" alt="">
            <img src="./img/figure_3.png" alt="" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;">
            <img class="f2_1" src="./img/title_3.png" style="width: 30%; margin-top: 8%; margin-left: 8%; position: absolute; top: 0; left: 0;" alt="">
            <div class="f2_2" style="z-index: 99; position: absolute; top: 0; left: 0; font-size: 20px; opacity: 0.7; margin-left: 8%; color: white;">
                
                
                
                腾讯游戏将不断探索创新,拓宽游戏的边界,发现更多创新玩法,通过游戏<br>
                与前沿科技的融合,为玩家提供更新奇的游戏体验和乐趣,同时推动游戏<br>
                行业的发展,发现游戏的更多可能
            </div>
            <div  class="f2_3" style=" color: white; width: 100%; font-weight: bold; font-size: 30px; z-index: 99; position: absolute; padding-left: 8%;">
                <a href="" style="margin-right: 4%; ">NExT Studios &nbsp;<i class="fa fa-chevron-right"></i></a>
                <br>
                <a href="">
                    腾讯极光计划 &nbsp;<i class="fa fa-chevron-right"></i>
                </a>
            </div>
        </div> 
      </div>
      <div class="swiper-slide">
        <div class="f2" >
            <img src="./img/transition_4.png" alt="" style="width: 100%; height: 100%;" >
            <img src="./img/picture_4.png" style="position: absolute; top: 0; right: 0; height: 100%; opacity: 0.4;" alt="">
            <img src="./img/figure_4.png" alt="" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;">
            <img class="f2_1" src="./img/title_4.png" style="width: 30%; margin-top: 8%; margin-left: 8%; position: absolute; top: 0; left: 0;" alt="">
            <div class="f2_2" style="z-index: 99; position: absolute; top: 0; left: 0; font-size: 20px; opacity: 0.7; margin-left: 8%; color: white;">
                
                从游戏出发,腾讯游戏用数字的方式架起了文化与生活之间的桥梁<br>
    助力各类传统文化发出现代的表达,走进玩家以及更多年轻人的生活里<br>
    打造xx文化符号
            </div>
            <div  class="f2_3" style="color: white; font-weight: bold; font-size: 30px; z-index: 99; position: absolute; margin-left: 8%;">
                <a href="" class="f2_3_1">TGC腾讯数字文创节 &nbsp;<i class="fa fa-chevron-right"></i></a>
                
            </div>
        </div>
      </div>
      <div class="swiper-slide">
        <div class="f2" >
            <img src="./img/transition_5.png" alt="" style="width: 100%; height: 100%;" >
            <img src="./img/picture_5.png" style="position: absolute; top: 0; right: 0; height: 100%; opacity: 0.4;" alt="">
            <img src="./img/figure_5.png" alt="" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;">
            <img class="f2_1" src="./img/title_5.png" style="width: 30%; margin-top: 8%; margin-left: 8%; position: absolute; top: 0; left: 0;" alt="">
            <div class="f2_2" style="z-index: 99; position: absolute; top: 0; left: 0; font-size: 20px; opacity: 0.7; margin-left: 8%; color: white;">
                
              
    
    腾讯游戏不仅致力于为玩家提供更多元的游戏体验,更希望通 过游戏作为载体和平台<br>
    守护正向价值,传播人文关怀,激发更多社会正向能量。腾讯游戏不断探索游戏在社会中<br>
    扮演的角色积极主动承担社会责任,践行社会使命
            </div>
                <div  class="f2_3" style=" color: white; width: 100%; font-weight: bold; font-size: 30px; z-index: 99; position: absolute; padding-left: 8%;">
                    <a href="" style="margin-right: 4%; font-size: 17px; ">腾讯游戏成长守护平台 &nbsp;<i class="fa fa-chevron-right"></i></a>
                    <br>
                    <a href="" style="font-size: 17px;">
                        腾讯游戏追梦计划 &nbsp;<i class="fa fa-chevron-right"></i>
                    </a>
                    <br>
                    <a href="" style="font-size: 17px;">
                        腾讯游戏学院 &nbsp;<i class="fa fa-chevron-right"></i>
                    </a>
                </div>
                
        </div>
      </div>
      <div class="swiper-slide last">
        <div class="f2 last_f2" style="padding-top: 10%; box-sizing: border-box;" >
            <img src="./img/transition_5.jpg" alt="" style="position: absolute; top: 0; left: 0; z-index: 9; width: 100%; height: 100%;" >
            <img src="./img/figure_6.png" alt="" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%;">
            <div class="container2">
                <div>
                    <img src="./img/news1.jpg" alt="">
                    <div >
                        <p>
                            今天腾讯游戏品牌全新升级
                        </p>
                        
                        <p>
                            2019.11.21
                        </p>
                    </div>
                </div>
                <div class="new_more" style="text-align: center; color: white; margin-top: 132px; display: none;">
                    <a href="" style="text-decoration: white;"><u>查看更多,就用腾讯新闻</u></a>
                </div>
                <div class="new_2">
                    <img src="./img/news2.png" alt="">
                    <div>
                        <p>
                            腾讯马晓花:推动数字文化高质量发展,共同…
                        </p>
                        
                        <p>
                            2019.8.1
                        </p>
                    </div>
                </div>
                <div class="new_3">
                    <img src="./img/news3.jpg" alt="">
                    <div>
                        <p>
                            腾讯程武:新文创是一场面向未来的文化生…
                        </p>
                        
                        <p>
                            2019.3.24
                        </p>
                    </div>
                </div>
            </div>
            <div class="geng_last" style="padding-top: 2%; position: absolute; bottom: 0px; left: 0px; height: 30%; background: #28234c; width: 100%; z-index: 99;">
                <div class="container3">
                    <div style="width: 40%; display: flex; justify-content: space-between;">
                    <div class="geng_love" style="color: white; font-size: 17px; font-weight: bold;">关注我们<i class="fa fa-sort-desc" style="display: none;"></i>
                    <a href="" >
                        <div class="last_item" style="margin-top: 10px; color: white; opacity: 0.5; font-size: 14px;">微信</div>
                       
                    </a>
                    <a href="">
                        <div class="last_item" style="margin-top: 10px; color: white; opacity: 0.5; font-size: 14px;">新浪微博</div>
                       
                    </a>
                    </div>
                    <div class="geng_love" style="color: white; font-size: 17px; font-weight: bold;">加入我们<i class="fa fa-sort-desc" style="display: none;"></i>
                        <a href="" >
                            <div class="last_item" style="margin-top: 10px; color: white; opacity: 0.5; font-size: 14px;">社会招聘</div>
                           
                        </a>
                        <a href="">
                            <div class="last_item" style="margin-top: 10px; color: white; opacity: 0.5; font-size: 14px;">校园招聘</div>
                           
                        </a>
                        <a href="" >
                            <div class="last_item" style="margin-top: 10px; color: white; opacity: 0.5; font-size: 14px;">国际招聘</div>
                           
                        </a>
                        
                    </div>
                    <div class="geng_love" style="color: white; font-size: 17px; font-weight: bold;">xx我们<i class="fa fa-sort-desc" style="display: none;"></i>
                        <a href="" >
                            <div class="last_item" style="margin-top: 10px; color: white; opacity: 0.5; font-size: 14px;">客户服务</div>
                           
                        </a>
                        <a href="">
                            <div class="last_item" style="margin-top: 10px; color: white; opacity: 0.5; font-size: 14px;">合作洽谈</div>
                           
                        </a>
                        <a href="" >
                            <div class="last_item" style="margin-top: 10px; color: white; opacity: 0.5; font-size: 14px;">服务采购</div>
                           
                        </a>
                    </div>
                    <div class="geng_love" style="color: white; font-size: 17px; font-weight: bold;">法律信息<i class="fa fa-sort-desc" style="display: none;"></i>
                        <a href="" >
                            <div class="last_item" style="margin-top: 10px; color: white; opacity: 0.5; font-size: 14px;">服务协议</div>
                           
                        </a>
                        <a href="">
                            <div class="last_item" style="margin-top: 10px; color: white; opacity: 0.5; font-size: 14px;">隐私政策</div>
                           
                        </a>
                        <a href="" >
                            <div class="last_item" style="margin-top: 10px; color: white; opacity: 0.5; font-size: 14px;">知识产权</div>
                           
                        </a>
                    </div>
                    </div>
                    
                    <div><img style="width: 197px; height: 27px;" src="./img/logo_tencent.png" alt=""></div>
                </div>
            </div>
        </div>
      </div>
    </div>
    
    <div class="swiper-pagination"></div>
  </div>
  
  

  
  
</body>
</html>




🎁更多干货

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

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

3.

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

相关文章:

  • 9.2 提高组模拟赛总结
  • web前端设计与开发期末作品 用DIV CSS技术设计的网上书城网页与实现制作(大一Web课程设计)
  • 数据结构与算法之美02
  • Java如何使用反射创建动态代理(JDK原生)呢?
  • 基于Springboot2.x+vue3.x整合实现微信扫码登录
  • Qt入门 【ui设计】
  • Java Reflection获取变量信息的简介说明
  • 欧美风商务简约通用PPT模板
  • 令人担忧的5G网络可被黑客入侵
  • JAVA泛型实现原理
  • 「Java数据结构和算法」手撕快速、归并、基数排序,图解解析 + 代码实现。
  • 初次使用servlet写HelloWorld
  • Linux nload显示当前的网络使用情况
  • 如何将一个引脚服用为GPIO模式
  • 数据结构与算法之美笔记06(栈)
  • 分享的文章《人生如棋》
  • [译]CSS 居中(Center)方法大合集
  • JS笔记四:作用域、变量(函数)提升
  • 对话 CTO〡听神策数据 CTO 曹犟描绘数据分析行业的无限可能
  • 翻译:Hystrix - How To Use
  • 微信如何实现自动跳转到用其他浏览器打开指定页面下载APP
  • 温故知新之javascript面向对象
  • 想写好前端,先练好内功
  • 源码安装memcached和php memcache扩展
  • 选择阿里云数据库HBase版十大理由
  • ​​快速排序(四)——挖坑法,前后指针法与非递归
  • ​2020 年大前端技术趋势解读
  • ​力扣解法汇总1802. 有界数组中指定下标处的最大值
  • ​虚拟化系列介绍(十)
  • #【QT 5 调试软件后,发布相关:软件生成exe文件 + 文件打包】
  • #pragma once
  • #鸿蒙生态创新中心#揭幕仪式在深圳湾科技生态园举行
  • $L^p$ 调和函数恒为零
  • (1)(1.11) SiK Radio v2(一)
  • (C语言)输入自定义个数的整数,打印出最大值和最小值
  • (c语言版)滑动窗口 给定一个字符串,只包含字母和数字,按要求找出字符串中的最长(连续)子串的长度
  • (day6) 319. 灯泡开关
  • (LeetCode C++)盛最多水的容器
  • (笔试题)合法字符串
  • (二)基于wpr_simulation 的Ros机器人运动控制,gazebo仿真
  • (附源码)springboot 房产中介系统 毕业设计 312341
  • (力扣)1314.矩阵区域和
  • (论文阅读22/100)Learning a Deep Compact Image Representation for Visual Tracking
  • (已解决)Bootstrap精美弹出框模态框modal,实现js向modal传递数据
  • (转载)跟我一起学习VIM - The Life Changing Editor
  • **PHP分步表单提交思路(分页表单提交)
  • .mysql secret在哪_MYSQL基本操作(上)
  • .net core 调用c dll_用C++生成一个简单的DLL文件VS2008
  • .NET Core 通过 Ef Core 操作 Mysql
  • .NET Core实战项目之CMS 第十二章 开发篇-Dapper封装CURD及仓储代码生成器实现
  • .Net 访问电子邮箱-LumiSoft.Net,好用
  • .NET学习教程二——.net基础定义+VS常用设置
  • /ThinkPHP/Library/Think/Storage/Driver/File.class.php  LINE: 48
  • /usr/lib/mysql/plugin权限_给数据库增加密码策略遇到的权限问题
  • @Bean, @Component, @Configuration简析