代码拉取完成,页面将自动刷新
<!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/swiper.min.css">
<link rel="stylesheet" href="./css/normalize.css">
<link rel="stylesheet" href="./css/index.css">
</head>
<body>
<!-- 整个顶部模块包装 -->
<section class="wrap">
<!-- 头部区域 -->
<header class="header">黑马面面</header>
<!-- nav导航区域 -->
<nav class="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">
<a href="#">
<img src="./images/go.png" alt="">
</a>
</section>
</section>
<!-- 就业指导模块 -->
<section class="content">
<!-- 头部区域 -->
<div class="con-hd">
<h4>就业指导</h4>
<a href="#" class="more">更多>></a>
</div>
<!-- 旋转木马轮播图模块 -->
<div class="get_job_focus">
<!-- Swiper -->
<div class="swiper-container get_job_fo">
<div class="swiper-wrapper">
<div class="swiper-slide">
<a href="#"><img src="./images/pic.png" alt=""></a>
<p>老师教你应对面试技巧</p>
</div>
<div class="swiper-slide">
<a href="#"><img src="./images/ldh.jpg" alt=""></a>
<p>老师教你应对面试技巧</p>
</div>
<div class="swiper-slide">
<a href="#"><img src="./images/3.jpg" alt=""></a>
<p>老师教你应对面试技巧</p>
</div>
</div>
</div>
<!-- 添加左右箭头 根据需求这个箭头必须拿到container的外面 -->
<div class="swiper-button-next"></div>
<div class="swiper-button-prev"></div>
</div>
</section>
<!-- 充电学习模块 -->
<section class="content">
<!-- 头部区域 -->
<div class="con-hd">
<h4 class="study_icon">充电学习</h4>
<a href="#" class="more">更多>></a>
</div>
<!-- 学习模块轮播图模块 -->
<div class="study">
<!-- Swiper -->
<div class="swiper mySwiper stydy_fo">
<div class="swiper-wrapper">
<div class="swiper-slide">
<a href="#">
<img src="./images/pic1.png" alt="">
<p>说地道英语,告别中式英语</p>
<span><i>156</i>人学习</span>
</a>
</div>
<div class="swiper-slide">
<a href="#">
<img src="./images/pic2.png" alt="">
<p>思维攻略金字塔思维提升写作能力</p>
<span><i>125</i>人学习</span>
</a>
</div>
<div class="swiper-slide">
<a href="#">
<img src="./images/pic1.png" alt="">
<p>说地道英语,告别中式英语</p>
<span><i>156</i>人学习</span>
</a>
</div>
<div class="swiper-slide">
<a href="#">
<img src="./images/pic2.png" alt="">
<p>思维攻略金字塔思维提升写作能力</p>
<span><i>125</i>人学习</span>
</a>
</div>
</div>
</div>
</div>
</section>
<!-- footer底部模块 -->
<footer class="footer_hight"></footer>
<footer class="footer">
<a href="#">
<img src="./icons/home.png" alt="">
<h4>首页</h4>
</a>
<a href="#">
<img src="./icons/ms.png" alt="">
<h4>技术面试</h4>
</a><a href="#">
<img src="./icons/net.png" alt="">
<h4>模拟面试</h4>
</a><a href="#">
<img src="./icons/user.png" alt="">
<h4>我的主页</h4>
</a>
</footer>
<script src="./js/flexible.js"></script>
<script src="./js/swiper.min.js"></script>
<script>
// 第一个函数里面是 就业指导轮播图
(function () {
var swiper = new Swiper('.get_job_fo', {
// 能够显示slide的个数
slidesPerView: 2,
// 每一个slide之间的距离
spaceBetween: 30,
centeredSlides: true,
loop: true,
navigation: {
nextEl: ".swiper-button-next",
prevEl: ".swiper-button-prev",
},
});
})();
// 第二个函数的轮播图
(function () {
var swiper = new Swiper(".stydy_fo", {
slidesPerView: 2.3,
spaceBetween: 20,
});
})();
</script>
</body>
</html>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。