DIV布局——仿英雄联盟LOL首页(11页) 大学生简单个人静态HTML网页设计作品 DIV布局个人介绍网页模板代码 DW学生个人网站制作成品下载

HTML5期末大作业:仿英雄联盟网站设计——仿英雄联盟LOL首页(11页) 大学生简单个人静态HTML网页设计作品 DIV布局个人介绍网页模板代码

文章目录

  • HTML5期末大作业:仿英雄联盟网站设计——仿英雄联盟LOL首页(11页) 大学生简单个人静态HTML网页设计作品 DIV布局个人介绍网页模板代码
  • 一、作品展示
  • 二、文件目录
  • 三、代码实现
  • 四、获取更多源码

一、作品展示



DIV布局——仿英雄联盟LOL首页(11页) 大学生简单个人静态HTML网页设计作品 DIV布局个人介绍网页模板代码 DW学生个人网站制作成品下载_第1张图片
DIV布局——仿英雄联盟LOL首页(11页) 大学生简单个人静态HTML网页设计作品 DIV布局个人介绍网页模板代码 DW学生个人网站制作成品下载_第2张图片

二、文件目录

DIV布局——仿英雄联盟LOL首页(11页) 大学生简单个人静态HTML网页设计作品 DIV布局个人介绍网页模板代码 DW学生个人网站制作成品下载_第3张图片

三、代码实现



DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="stylesheet" href="css/reset.css">
<link rel="stylesheet" href="css/index.css">
<title>仙剑奇缘title>
<meta name="author" content="order by www.adminbuy.cn" />
<script src="js/jquery-3.1.1.min.js">script>
head>
<body>
<div class="app"> 
  
  <div class="cover1">
    <div class="c_content1">
      <div class="c_del1">div>
      <div class="c_cont1_main"> <img class="c_con1_title" src="picture/con1_title.png"/>
        <div class="c_con1_box"> <img class="c_con_b_pic" src="picture/con_ewm.jpg"/>
          <div class="c_con_b_font">
            <div class="c_con_b_f_title">剑舞奇缘div>
            <div class="c_con_b_f_title2">微信搜索公众号:div>
            <div class="c_con_b_f_title3">jwqysydiv>
            <div class="c_con_b_f_title4"> <img src="picture/circle_arrow.png"/> <span>扫描立刻关注span> div>
          div>
        div>
      div>
    div>
  div>
  
  <div class="cover2">
    <div class="c_content2">
      <div class="c_del2">div>
      <div class="c_cont2_main"> <img class="c_con2_title" src="picture/con2_title.png"/>
        <div class="c_con2_tab">
          <div class="c_con_t_t1">
            <ul class="phonetab">
              <li class="con_tab_active">Androidli>
              <li>iosli>
            ul>
            <input class="c_con_input1" value="" type="text" placeholder="请输入您的手机号"/>
            <div class="con2_yan">
              <input class="c_con_input2" value="" type="text" placeholder="请输入您的验证码"/>
              <input class="c_con_input3" type="submit" value="获取验证码"/>
            div>
          div>
        div>
        <img class="con2_btn" src="picture/con2_btn.png"/>
        <div class="con2_list">
          <ul>
            <li><img src="picture/conlist1.png"/><br>
              铭文寻宝卷li>
            <li><img src="picture/conlist2.png"/><br>
              御灵水晶li>
            <li><img src="picture/conlist3.png"/><br>
              银鼠坐骑li>
            <li><img src="picture/conlist4.png"/><br>
              高级美酒li>
            <li><img src="picture/conlist5.png"/><br>
              御灵水晶li>
          ul>
        div>
      div>
    div>
  div>
  
  <div class="cover3">
    <div class="c_content3">
      <div class="c_del3">div>
      <img class="c_con3_title" src="picture/con3_title.png">
      <div class="c_con3_font1"> 恭喜您预约成功,测试开始后我们将第一时间通过短信通<br/>
        知您,并发送预约礼包兑换码,敬请期待! div>
      <div class="c_con3_font2"> <span>关注微信公众号获取更多礼包信息:span> <img src="picture/con_ewm.jpg"/> div>
    div>
  div>
  
  <div class="right_box">
    <div class="right_btn">
      <div class="right_font">展开div>
      <div class="left_arrow"> <img src="picture/leftarrow.png"/> div>
    div>
    <div class="right_con">
      <div class="right_line1">div>
      <div class="right_line2">div>
      <img class="rightbtn_ewm" src="picture/xuan_ewm.png"> <span>扫一扫关注官方微信span>
      <div class="right_qq"> <a href="https://jq.qq.com/?_wv=1027&k=5XbrZuQ" target="_blank"><img src="picture/rqq.png"/>a> 官方交流群 div>
      <div class="r_qq_hao">888888div>
      <div class="right_phone"> <img src="picture/rphone.png"/> 客服热线  div>
      <div class="r_qq_hao">010-88888888div>
    div>
  div>
  
  <div class="navtop">
    <div class="nav_con"> <img src="picture/logotop.jpg"/>
      <div class="nav_font"> <span class="n_f_f1">剑舞奇缘span><br/>
        <span class="n_f_f2">3D玄幻情缘手游span> div>
      <ul class="navul">
        <li> <a href="index.html">官网首页a> <span class="hoverd1">span>
          <div class="diamond">div>
          <span class="hoverd2">span> li>
        <li> <a href="news.html">新闻资讯a> <span class="hoverd1">span>
          <div class="diamond">div>
          <span class="hoverd2">span> li>
        <li> <a href="strategy">玩法攻略a> <span class="hoverd1">span>
          <div class="diamond">div>
          <span class="hoverd2">span> li>
        <li> <a href="javascript:void(alert('敬请期待!'));">资料大全a> <span class="hoverd1">span>
          <div class="diamond">div>
          <span class="hoverd2">span> li>
      ul>
    div>
  div>
  
  <div class="bgbanner"> <img src="picture/bgbanner.png" width="100%"> div>
  
  <div class="gift">
    <div class="gift_list"> <img src="picture/ewmbg.png"/> <img class="absoulte_ewm" src="picture/9096d7171f944ae38b242948e6449701.gif"/>
      <div class="g_store"> <a href=""><img class="an_pic_one" src="picture/appstore.png"/>a> <a href=""><img class="an_pic" src="picture/android.png"/>a> div>
      <img class="gf_gif" src="picture/gfgift.jpg"/> <img class="g_yuyue" src="picture/yuyue.png"/> div>
    <div class="gift_main">
      <div class="g_main_left">
        <div class="lunbo">
          <div class="lun_show"> <img src="picture/lunbo1.jpg"/> <img src="picture/lunbo1.jpg"/> <img src="picture/lunbo1.jpg"/> <img src="picture/lunbo1.jpg"/> div>
          <div class="lun_nav">
            <ul>
              <li class="liactive">li>
              <li class="liactive">li>
              <li class="liactive">li>
              <li class="liactive">li>
            ul>
          div>
        div>
      div>
      <div class="g_main_right">
        <div class="tab">
          <div class="tab_line">div>
          <div class="tab_line2">div>
          <div class="tab_more"> <a href="news.html"><img src="picture/tabmore.png" alt="more">a> div>
          <div class="tab_red"> <img src="picture/red.png"/> div>
          <ul class="nav_ul">
            <li class="lidom" style="color: #A53248"> 最新 <img class="lidom_icon" src="picture/arrowup.png" style="display:block" /> li>
            <li class="lidom"> 新闻 <img class="lidom_icon" src="picture/arrowup.png"/> li>
            <li class="lidom"> 公告 <img class="lidom_icon" src="picture/arrowup.png"/> li>
            <li class="lidom"> 活动 <img class="lidom_icon" src="picture/arrowup.png"/> li>
            <li class="lidom"> 攻略 <img class="lidom_icon" src="picture/arrowup.png"/> li>
          ul>
          
          <div class="t_con t_con_active">
            <ul>
              <li> <a href="">【新闻】1点石成金!《XXXX》拜年祭今日开启...a> <span>01-16span> li>
              <li> <a href="">【新闻】1点石成金!《XXXX》拜年祭今日开启...a> <span>01-16span> li>
              <li> <a href="">【新闻】点石成金!《XXXX》拜年祭今日开启...a> <span>01-16span> li>
              <li> <a href="">【新闻】点石成金!《XXXX》拜年祭今日开启...a> <span>01-16span> li>
              <li> <a href="">【新闻】点石成金!《XXXX》拜年祭今日开启...a> <span>01-16span> li>
            ul>
          div>
          <div class="t_con">
            <ul>
              <li> <a href="">【新闻】2点石成金!《XXXX》拜年祭今日开启...a> <span>01-16span> li>
              <li> <a href="">【新闻】2点石成金!《XXXX》拜年祭今日开启...a> <span>01-16span> li>
              <li> <a href="">【新闻】点石成金!《XXXX》拜年祭今日开启...a> <span>01-16span> li>
              <li> <a href="">【新闻】点石成金!《XXXX》拜年祭今日开启...a> <span>01-16span> li>
              <li> <a href="">【新闻】点石成金!《XXXX》拜年祭今日开启...a> <span>01-16span> li>
            ul>
          div>
          <div class="t_con">
            <ul>
              <li> <a href="">【新闻】3点石成金!《XXXX》拜年祭今日开启...a> <span>01-16span> li>
              <li> <a href="">【新闻】3点石成金!《XXXX》拜年祭今日开启...a> <span>01-16span> li>
              <li> <a href="">【新闻】点石成金!《XXXX》拜年祭今日开启...a> <span>01-16span> li>
              <li> <a href="">【新闻】点石成金!《XXXX》拜年祭今日开启...a> <span>01-16span> li>
              <li> <a href="">【新闻】点石成金!《XXXX》拜年祭今日开启...a> <span>01-16span> li>
            ul>
          div>
          <div class="t_con">
            <ul>
              <li> <a href="">【新闻】4点石成金!《XXXX》拜年祭今日开启...a> <span>01-16span> li>
              <li> <a href="">【新闻】4点石成金!《XXXX》拜年祭今日开启...a> <span>01-16span> li>
              <li> <a href="">【新闻】点石成金!《XXXX》拜年祭今日开启...a> <span>01-16span> li>
              <li> <a href="">【新闻】点石成金!《XXXX》拜年祭今日开启...a> <span>01-16span> li>
              <li> <a href="">【新闻】点石成金!《XXXX》拜年祭今日开启...a> <span>01-16span> li>
            ul>
          div>
          <div class="t_con">
            <ul>
              <li> <a href="">【新闻】5点石成金!《XXXX》拜年祭今日开启...a> <span>01-16span> li>
              <li> <a href="">【新闻】5点石成金!《XXXX》拜年祭今日开启...a> <span>01-16span> li>
              <li> <a href="">【新闻】点石成金!《XXXX》拜年祭今日开启...a> <span>01-16span> li>
              <li> <a href="">【新闻】点石成金!《XXXX》拜年祭今日开启...a> <span>01-16span> li>
              <li> <a href="">【新闻】点石成金!《XXXX》拜年祭今日开启...a> <span>01-16span> li>
            ul>
          div>
        div>
      div>
    div>
  div>
  
  <div class="game">
    <div class="game_con"> <img src="picture/gamebg.png"/> div>
  div>
  
  <div class="game_after"> 
    
    <div class="game_after_main">
      <div class="lunbo2">
        <div class="lun_show2"> <img src="picture/afterlun1.png"/> <img src="picture/afterlun2.png"/> <img src="picture/afterlun3.png"/> <img src="picture/afterlun4.png"/> div>
        <div class="lun_nav2">
          <ul>
            <li class="liactive2">li>
            <li class="liactive2">li>
            <li class="liactive2">li>
            <li class="liactive2">li>
          ul>
        div>
      div>
    div>
  div>
  
  <div class="footer">
    <div class="footer_main"> <img src="picture/companylogo.png" alt="logo">
      <div class="footer_font">
        <ul>
          <li>广州某某信息科技有限公司版权所有li>
          <li>Copyright © 2013-2016 baidu.com All Rights Reservedli>
          <li>广州信息科技有限公司 苏ICP12345678  粤网文【2016】0788-888号li>
          <li>地址:南京市玄武区玄武湖 <a href="http://www.adminbuy.cn" target="_blank">网站模板a>li>
        ul>
      div>
    div>
  div>
div>
body>
html>
<script>
	$(function() {
		
		
		function r_box() {
			var turn = 1;
			$(".right_btn").click(function() {
				if(turn == 1) {
					$(".right_box").css("right","0px");
					$(".right_font").text("收回");
					$(".left_arrow").css("transform","rotate(0deg)");
					turn = 0;
				}else {
					$(".right_box").css("right","-118px");
					$(".right_font").text("展开");
					$(".left_arrow").css("transform","rotate(180deg)");
					turn = 1;
				}
				
			});
		}
		r_box();

		// 轮播1
		function lun(name,name2,name3) {
			this.i = -1;
			this.inter;
			this.name = name;
			this.name2 = name2;
			this.name3 = name3;
		}
		lun.prototype = {
			// 公共函数
			keyi: function () {
		        this.i++
		        if (this.i == 4) {
		          this.i = 0
		        }
		        $(this.name).removeClass("active");
		        $(this.name).eq(this.i).addClass("active");
		        $(this.name2).css("marginLeft",(-this.i) * 100 + "%");
		    },
			liClick:function() {
				var that = this;
				$(this.name).click(function() {
					that.i = $(this).index()-1;
					that.keyi();
				});
			},
			Interval:function() {
				this.inter = setInterval(this.keyi.bind(this),2500);
			},
			Hover:function() {
				var that = this;
				$(this.name3).hover(function() {
					clearInterval(that.inter);
				},function() {
					that.Interval();
				});
			},
			start:function() {
				this.keyi();
				this.Interval();
				this.liClick();
				this.Hover();
			}
		}
		var Lunbo = new lun(".lun_nav ul li",".lun_show",".lunbo");
		Lunbo.start();
		var Lunbo2 = new lun(".lun_nav2 ul li",".lun_show2",".lunbo2");
		Lunbo2.start();

		// tab 
		function tabs() {
			$(".nav_ul li").click(function() {
				// $(this).index()
				$(".t_con").hide();
				$(".t_con").eq($(this).index()).fadeIn(200);
				$(".nav_ul li img").hide();
				$(".nav_ul li img").eq($(this).index()).show();
				$(".nav_ul li").css("color","");
				$(".nav_ul li").eq($(this).index()).css("color",'#A53248');
			});
		}
		tabs();

		// cover
		function Coverhide(name1,name2,n) {
			$(name1).click(function() {
				$(this).parent().parent().fadeOut(200);
				console.log($(this).parent().parent());
			});
			$(name2).click(function() {
				$(".cover"+n).fadeIn(200);
			});
		}
		Coverhide(".c_del1",".gf_gif",1);
		Coverhide(".c_del2",".g_yuyue",2);
		Coverhide(".c_del3","",3);
		// ios && 安卓
		function phonetb() {
			
			$(".phonetab li").click(function() {
				$(".phonetab li").removeClass("con_tab_active");
				$(this).addClass("con_tab_active");
			});
			$(".c_con_input3").click(function() {
				var now = 60;
				console.log($(".c_con_input3").val());
				var Stt = setInterval(function () {
		        $(".c_con_input3").attr("disabled",true);
		        $(".c_con_input3").css({"background":"gray","color":"#A9A9A9"});
		        $(".c_con_input3").val(now+'s后重新发送');
		        now--
		        if(now < 0) {
		          clearInterval(Stt)
		          $(".c_con_input3").val('获取验证码');
		          $(".c_con_input3").css({"background":"#DDDDDD","color":"black"});
		          $(".c_con_input3").attr("disabled",false);
		        }
		      },1000)
			});
		}
		phonetb();
		
	})
script>

四、获取更多源码

~ 关注我,点赞博文~ 每天带你涨知识!
相关问题可以相互学习,可关注↓公Z号 获取更多源码

你可能感兴趣的:(web大学生个人网站作业模,HTML5期末大作业,html,前端,css,css3,javascript)