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




    👨‍🎓网页题目

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


    ✍️网页描述

    ⭐ 网页中包含: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;">   div>
    <div class="fa fa-bars fa-3x dis_phone" style="line-height: 80px; color: white; display: none;">   div>
    <div class="fa fa-window-close fa-3x dis_phone_1" style="line-height: 80px; color: white; display: none;">   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="">游戏介绍  <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  <i class="fa fa-chevron-right">i>a>
                    <br>
                    <a href="">
                        腾讯极光计划  <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腾讯数字文创节  <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; ">腾讯游戏成长守护平台  <i class="fa fa-chevron-right">i>a>
                        <br>
                        <a href="" style="font-size: 17px;">
                            腾讯游戏追梦计划  <i class="fa fa-chevron-right">i>
                        a>
                        <br>
                        <a href="" style="font-size: 17px;">
                            腾讯游戏学院  <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
    • 3
    • 4
    • 5
    • 6
    • 7
    • 8
    • 9
    • 10
    • 11
    • 12
    • 13
    • 14
    • 15
    • 16
    • 17
    • 18
    • 19
    • 20
    • 21
    • 22
    • 23
    • 24
    • 25
    • 26
    • 27
    • 28
    • 29
    • 30
    • 31
    • 32
    • 33
    • 34
    • 35
    • 36
    • 37
    • 38
    • 39
    • 40
    • 41
    • 42
    • 43
    • 44
    • 45
    • 46
    • 47
    • 48
    • 49
    • 50
    • 51
    • 52
    • 53
    • 54
    • 55
    • 56
    • 57
    • 58
    • 59
    • 60
    • 61
    • 62
    • 63
    • 64
    • 65
    • 66
    • 67
    • 68
    • 69
    • 70
    • 71
    • 72
    • 73
    • 74
    • 75
    • 76
    • 77
    • 78
    • 79
    • 80
    • 81
    • 82
    • 83
    • 84
    • 85
    • 86
    • 87
    • 88
    • 89
    • 90
    • 91
    • 92
    • 93
    • 94
    • 95
    • 96
    • 97
    • 98
    • 99
    • 100
    • 101
    • 102
    • 103
    • 104
    • 105
    • 106
    • 107
    • 108
    • 109
    • 110
    • 111
    • 112
    • 113
    • 114
    • 115
    • 116
    • 117
    • 118
    • 119
    • 120
    • 121
    • 122
    • 123
    • 124
    • 125
    • 126
    • 127
    • 128
    • 129
    • 130
    • 131
    • 132
    • 133
    • 134
    • 135
    • 136
    • 137
    • 138
    • 139
    • 140
    • 141
    • 142
    • 143
    • 144
    • 145
    • 146
    • 147
    • 148
    • 149
    • 150
    • 151
    • 152
    • 153
    • 154
    • 155
    • 156
    • 157
    • 158
    • 159
    • 160
    • 161
    • 162
    • 163
    • 164
    • 165
    • 166
    • 167
    • 168
    • 169
    • 170
    • 171
    • 172
    • 173
    • 174
    • 175
    • 176
    • 177
    • 178
    • 179
    • 180
    • 181
    • 182
    • 183
    • 184
    • 185
    • 186
    • 187
    • 188
    • 189
    • 190
    • 191
    • 192
    • 193
    • 194
    • 195
    • 196
    • 197
    • 198
    • 199
    • 200
    • 201
    • 202
    • 203
    • 204
    • 205
    • 206
    • 207
    • 208
    • 209
    • 210
    • 211
    • 212
    • 213
    • 214
    • 215
    • 216
    • 217
    • 218
    • 219
    • 220
    • 221
    • 222
    • 223
    • 224
    • 225
    • 226
    • 227
    • 228
    • 229
    • 230
    • 231
    • 232
    • 233
    • 234
    • 235
    • 236
    • 237
    • 238
    • 239
    • 240
    • 241
    • 242
    • 243
    • 244
    • 245
    • 246
    • 247
    • 248
    • 249
    • 250
    • 251
    • 252
    • 253
    • 254
    • 255
    • 256
    • 257
    • 258
    • 259
    • 260
    • 261
    • 262
    • 263
    • 264
    • 265
    • 266
    • 267
    • 268
    • 269
    • 270
    • 271
    • 272
    • 273
    • 274
    • 275
    • 276

    🎁更多干货

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

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

    3.

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

  • 相关阅读:
    python之正则表达式【简化版】
    GSEA -- 学习记录
    vue3 solt
    牛视源码开发,抖音矩阵系统。。。。
    基于JavaSwing开发扫雷小游戏(不同版本) 课程设计 大作业
    怎么把两个pdf合并成一个?
    [源码解析] TensorFlow 分布式环境(3)--- Worker 静态逻辑
    5、网络配置
    [‘1‘, ‘2‘, ‘3‘].map(parseInt) - js篇
    【毕业设计】医学大数据分析 - 心血管疾病分析
  • 原文地址:https://blog.csdn.net/p305114466/article/details/126673004