加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
index.html 11.19 KB
一键复制 编辑 原始数据 按行查看 历史
tanke 提交于 2022-07-11 08:19 . index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>黑马面面</title>
<!-- 引入初始化样式表 -->
<link rel="stylesheet" href="css/normalize.css">
<!-- 引入轮播图样式 -->
<link rel="stylesheet" href="css/swiper.min.css">
<!-- 引入首页样式表 -->
<link rel="stylesheet" href="css/index.css">
</head>
<body>
<!-- 头部 -->
<header class="header">黑马面面</header>
<!-- 导航栏 -->
<nav>
<a href="#" class="item">
<img src="icons/icon1.png" alt="">
<span>HR面试</span>
</a>
<a href="#" class="item">
<img src="icons/icon2.png" alt="">
<span>笔试</span>
</a>
<a href="#" class="item">
<img src="icons/icon3.png" alt="">
<span>技术面试</span>
</a>
<a href="#" class="item">
<img src="icons/icon4.png" alt="">
<span>模拟面试</span>
</a>
<a href="#" class="item">
<img src="icons/icon5.png" alt="">
<span>面试技巧</span>
</a>
<a href="#" class="item">
<img src="icons/icon6.png" alt="">
<span>薪资查询</span>
</a>
</nav>
<!-- go图片 -->
<section class="go">
<img src="images/go.png" alt="">
</section>
<!-- 就业指导模块 -->
<section class="content">
<div class="content-hd">
<h4>
<span class="icon2">
<img src="icons/i2.png" alt="">
</span>
就业指导
</h4>
<a href="#" class="more">更多&gt;&gt;</a>
</div>
<!-- 轮播图 -->
<div class="bd-focus">
<!-- swiper复制 -->
<div class="swiper-container">
<div class="swiper-wrapper">
<div class="swiper-slide">
<a href="#" class="swiper-img">
<img src="images/pic.png" alt="">
</a>
<p class="swiper-p">老师教你应对面试技巧</p>
</div>
<div class="swiper-slide">
<a href="#" class="swiper-img">
<img src="images/2.jpg" alt="">
</a>
<p class="swiper-p">老师教你应对面试技巧</p>
</div>
<div class="swiper-slide">
<a href="#" class="swiper-img">
<img src="images/3.jpg" alt="">
</a>
<p class="swiper-p">老师教你应对面试技巧</p>
</div>
<div class="swiper-slide">
<a href="#" class="swiper-img">
<img src="images/ldh.jpg" alt="">
</a>
<p class="swiper-p">老师教你应对面试技巧</p>
</div>
<div class="swiper-slide">
<a href="#" class="swiper-img">
<img src="images/pic.png" alt="">
</a>
<p class="swiper-p">老师教你应对面试技巧</p>
</div>
<div class="swiper-slide">
<a href="#" class="swiper-img">
<img src="images/2.jpg" alt="">
</a>
<p class="swiper-p">老师教你应对面试技巧</p>
</div>
<div class="swiper-slide">
<a href="#" class="swiper-img">
<img src="images/3.jpg" alt="">
</a>
<p class="swiper-p">老师教你应对面试技巧</p>
</div>
<div class="swiper-slide">
<a href="#" class="swiper-img">
<img src="images/ldh.jpg" alt="">
</a>
<p class="swiper-p">老师教你应对面试技巧</p>
</div>
<div class="swiper-slide">
<a href="#" class="swiper-img">
<img src="images/pic.png" alt="">
</a>
<p class="swiper-p">老师教你应对面试技巧</p>
</div>
<div class="swiper-slide">
<a href="#" class="swiper-img">
<img src="images/2.jpg" alt="">
</a>
<p class="swiper-p">老师教你应对面试技巧</p>
</div>
</div>
</div>
<!-- 左右按钮 -->
<div class="swiper-button-next"></div>
<div class="swiper-button-prev"></div>
</div>
</section>
<!-- 充电学习模块 -->
<section class="content">
<div class="content-hd">
<h4>
<span class="icon2">
<img src="icons/i1.png" alt="">
</span>
充电学习
</h4>
<a href="#" class="more">更多&gt;&gt;</a>
</div>
<!-- 轮播图 -->
<div class="study-focus">
<!-- swiper复制 -->
<div class="swiper mySwiper">
<div class="swiper-wrapper">
<div class="swiper-slide">
<span class="study-img">
<img src="images/pic1.png" alt="">
</span>
<p class="study-p">说地道英语,告别中式英语</p>
<span class="study-people"><em>156</em>人学习</span>
</div>
<div class="swiper-slide">
<span class="study-img">
<img src="images/pic2.png" alt="">
</span>
<p class="study-p">说地道英语,告别中式英语</p>
<span class="study-people"><em>156</em>人学习</span>
</div>
<div class="swiper-slide">
<span class="study-img">
<img src="images/pic1.png" alt="">
</span>
<p class="study-p">说地道英语,告别中式英语</p>
<span class="study-people"><em>156</em>人学习</span>
</div>
<div class="swiper-slide">
<span class="study-img">
<img src="images/pic2.png" alt="">
</span>
<p class="study-p">说地道英语,告别中式英语</p>
<span class="study-people"><em>156</em>人学习</span>
</div>
<div class="swiper-slide">
<span class="study-img">
<img src="images/pic1.png" alt="">
</span>
<p class="study-p">说地道英语,告别中式英语</p>
<span class="study-people"><em>156</em>人学习</span>
</div>
<div class="swiper-slide">
<span class="study-img">
<img src="images/pic2.png" alt="">
</span>
<p class="study-p">说地道英语,告别中式英语</p>
<span class="study-people"><em>156</em>人学习</span>
</div>
<div class="swiper-slide">
<span class="study-img">
<img src="images/pic1.png" alt="">
</span>
<p class="study-p">说地道英语,告别中式英语</p>
<span class="study-people"><em>156</em>人学习</span>
</div>
<div class="swiper-slide">
<span class="study-img">
<img src="images/pic2.png" alt="">
</span>
<p class="study-p">说地道英语,告别中式英语</p>
<span class="study-people"><em>156</em>人学习</span>
</div>
<div class="swiper-slide">
<span class="study-img">
<img src="images/pic1.png" alt="">
</span>
<p class="study-p">说地道英语,告别中式英语</p>
<span class="study-people"><em>156</em>人学习</span>
</div>
</div>
</div>
</div>
</section>
<!-- 底部模块 -->
<footer>
<a href="#" class="footer-itmes">
<span class="footer-img">
<img src="icons/home.png" alt="">
</span>
<span class="footer-message color">首页</span>
</a>
<a href="#" class="footer-itmes">
<span class="footer-img">
<img src="icons/net.png" alt="">
</span>
<span class="footer-message">技术面试</span>
</a> <a href="#" class="footer-itmes">
<span class="footer-img">
<img src="icons/ms.png" alt="">
</span>
<span class="footer-message">模拟面试</span>
</a> <a href="#" class="footer-itmes">
<span class="footer-img">
<img src="icons/user.png" alt="">
</span>
<span class="footer-message">我的主页</span>
</a>
</footer>
<!-- 引入flexible.js文件 -->
<script src="js/flexible.js"></script>
<!-- 引入轮播图js -->
<script src="js/swiper.min.js"></script>
<!-- Initialize Swiper -->
<script>
(function () {
var swiper = new Swiper('.swiper-container', {
slidesPerView: 3,
spaceBetween: 30,
centeredSlides: true,
loop: true,
// 添加左右按钮
navigation: {
nextEl: ".swiper-button-next",
prevEl: ".swiper-button-prev",
}
});
}());
// 充电学习模块
(function () {
var swiper = new Swiper(".mySwiper", {
slidesPerView: 2.3,
spaceBetween: 20,
pagination: {
el: ".swiper-pagination",
clickable: true,
},
});
}())
</script>
</body>
</html>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化