代码拉取完成,页面将自动刷新
<!DOCTYPE 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 Swiper's CSS -->
<link rel="stylesheet" href="./css/swiper.min.css">
<link rel="stylesheet" href="./css/animate.min.css">
<link rel="stylesheet" href="./css/index.css">
</head>
<body>
<div id="audio_btn" class="rotate">
<audio loop src="./images/bgm.mp3" id="media" autoplay></audio><!--autoplay-->
</div>
<!-- Swiper -->
<div class="swiper-container">
<div class="swiper-wrapper">
<div class="swiper-slide bg1">
<div class="con">
<h1
class="ani"
swiper-animate-effect="fadeInUp"
swiper-animate-duration=".5s"
swiper-animate-delay="1s">相遇2012</h1>
<div class="imgBox">
<div class="img">
<img
class="ani"
swiper-animate-effect="zoomInDown"
swiper-animate-duration="1s"
swiper-animate-delay="2s"
src="./images/dx.jpg"
alt="">
</div>
<div class="img2">
<img
class="ani"
swiper-animate-effect="zoomInRight"
swiper-animate-duration="1s"
swiper-animate-delay="3s"
src="./images/xy.jpg"
alt="">
<img
class="ani"
swiper-animate-effect="zoomInLeft"
swiper-animate-duration="1s"
swiper-animate-delay="4s"
src="./images/xy1.jpg"
alt="">
</div>
<div class="img1">
<img
class="ani"
swiper-animate-effect="zoomInUp"
swiper-animate-duration="1s"
swiper-animate-delay="5s"
src="./images/xyd.jpg"
alt="">
<img
class="ani"
swiper-animate-effect="zoomInDown"
swiper-animate-duration="1s"
swiper-animate-delay="6s"
src="./images/xyj.jpg"
alt="">
<img
class="ani"
swiper-animate-effect="zoomInRight"
swiper-animate-duration="1s"
swiper-animate-delay="7s"
src="./images/xyg.jpg"
alt="">
<img
class="ani"
swiper-animate-effect="zoomInLeft"
swiper-animate-duration="1s"
swiper-animate-delay="8s"
src="./images/xyw.jpg"
alt="">
<img
class="ani"
swiper-animate-effect="zoomInUp"
swiper-animate-duration="1s"
swiper-animate-delay="9s"
src="./images/xym.jpg"
alt="">
</div>
</div>
</div>
<div class="downBtn"></div>
</div>
<div class="swiper-slide bg1">
<div class="con">
<h1
class="ani"
swiper-animate-effect="lightSpeedIn"
swiper-animate-duration="1s"
swiper-animate-delay="1s">四年相伴,各种浪</h1>
<div class="imgBox">
<div class="img">
<img
class="ani"
swiper-animate-effect="zoomInDown"
swiper-animate-duration="1s"
swiper-animate-delay="2s"
src="./images/cql6.jpg"
alt="">
</div>
<div class="img1">
<img
class="ani"
swiper-animate-effect="zoomInRight"
swiper-animate-duration="1s"
swiper-animate-delay="4s"
src="./images/cql8.jpg"
alt="">
<img
class="ani"
swiper-animate-effect="zoomInLeft"
swiper-animate-duration="1s"
swiper-animate-delay="5s"
src="./images/cql5.jpg"
alt="">
<img
class="ani"
swiper-animate-effect="zoomInUp"
swiper-animate-duration="1s"
swiper-animate-delay="10s"
src="./images/cql1.jpg"
alt="">
</div>
<div class="img">
<img
class="ani"
swiper-animate-effect="zoomInLeft"
swiper-animate-duration="1s"
swiper-animate-delay="9s"
src="./images/cql7.jpg"
alt="">
</div>
<div class="img1">
<img
class="ani"
swiper-animate-effect="zoomInUp"
swiper-animate-duration="1s"
swiper-animate-delay="6s"
src="./images/cql2.jpg"
alt="">
<img
class="ani"
swiper-animate-effect="zoomInDown"
swiper-animate-duration="1s"
swiper-animate-delay="7s"
src="./images/cql3.jpg"
alt="">
<img
class="ani"
swiper-animate-effect="zoomInRight"
swiper-animate-duration="1s"
swiper-animate-delay="8s"
src="./images/cql4.jpg"
alt="">
</div>
</div>
</div>
<div class="downBtn"></div>
</div>
<div class="swiper-slide bg1">
<div class="con">
<h1
class="ani"
swiper-animate-effect="rollIn"
swiper-animate-duration="1s"
swiper-animate-delay="1s">艳遇丽江</h1>
<div class="imgBox">
<div class="img1">
<img
class="ani"
swiper-animate-effect="zoomInUp"
swiper-animate-duration="1s"
swiper-animate-delay="6s"
src="./images/ljl3.jpg"
alt="">
<img
class="ani"
swiper-animate-effect="zoomInRight"
swiper-animate-duration="1s"
swiper-animate-delay="4s"
src="./images/ljl4.jpg"
alt="">
<img
class="ani"
swiper-animate-effect="zoomInRight"
swiper-animate-duration="1s"
swiper-animate-delay="8s"
src="./images/ljl5.jpg"
alt="">
</div>
<div class="img1">
<img
class="ani"
swiper-animate-effect="zoomInUp"
swiper-animate-duration="1s"
swiper-animate-delay="10s"
src="./images/ljl6.jpg"
alt="">
<img
class="ani"
swiper-animate-effect="zoomInDown"
swiper-animate-duration="1s"
swiper-animate-delay="7s"
src="./images/ljl.jpg"
alt="">
<img
class="ani"
swiper-animate-effect="zoomInLeft"
swiper-animate-duration="1s"
swiper-animate-delay="5s"
src="./images/ljl1.jpg"
alt="">
</div>
<div class="img">
<img
class="ani"
swiper-animate-effect="zoomInLeft"
swiper-animate-duration="1s"
swiper-animate-delay="9s"
src="./images/ljl7.jpg"
alt="">
</div>
<div class="img">
<img
class="ani"
swiper-animate-effect="rollIn"
swiper-animate-duration=".5s"
swiper-animate-delay="1.5s"
src="./images/ljl2.jpg" alt="">
<span
class="ani"
swiper-animate-effect="rollIn"
swiper-animate-duration=".5s"
swiper-animate-delay="2s">=></span>
<em
class="ani"
swiper-animate-effect="rollIn"
swiper-animate-duration=".5s"
swiper-animate-delay="2.5s">四方街二傻</em>
</div>
</div>
</div>
<div class="downBtn"></div>
</div>
<div class="swiper-slide bg1">
<div class="con">
<h1
class="ani"
swiper-animate-effect="zoomInDown"
swiper-animate-duration="1s"
swiper-animate-delay=".5s">黄鼠狼给鸡拜年</h1>
<div class="imgBox">
<div class="img2">
<img
class="ani"
swiper-animate-effect="zoomInDown"
swiper-animate-duration="1s"
swiper-animate-delay="1.5s"
src="./images/xpy2.jpg"
alt="">
<img
class="ani"
swiper-animate-effect="zoomInLeft"
swiper-animate-duration="1s"
swiper-animate-delay="3.5s"
src="./images/xpy4.jpg"
alt="">
</div>
<div class="img1">
<img
class="ani"
swiper-animate-effect="zoomInRight"
swiper-animate-duration="1s"
swiper-animate-delay="2.5s"
src="./images/xpy.jpg"
alt="">
<img
class="ani"
swiper-animate-effect="zoomInLeft"
swiper-animate-duration="1s"
swiper-animate-delay="4.5s"
src="./images/xpy1.jpg"
alt="">
<img
class="ani"
swiper-animate-effect="zoomInUp"
swiper-animate-duration="1s"
swiper-animate-delay="7.5s"
src="./images/xpy3.jpg"
alt="">
</div>
<div class="img">
<img
class="ani"
swiper-animate-effect="zoomInRight"
swiper-animate-duration="1s"
swiper-animate-delay="5.5s"
src="./images/xpy5.jpg" alt="">
</div>
<div class="img1">
<img
class="ani"
swiper-animate-effect="zoomInUp"
swiper-animate-duration="1s"
swiper-animate-delay="8.5s"
src="./images/xpy6.jpg"
alt="">
<img
class="ani"
swiper-animate-effect="zoomInDown"
swiper-animate-duration="1s"
swiper-animate-delay="6.5s"
src="./images/xpy7.jpg"
alt="">
<img
class="ani"
swiper-animate-effect="zoomInRight"
swiper-animate-duration="1s"
swiper-animate-delay="9.5s"
src="./images/xpy8.jpg"
alt="">
</div>
</div>
</div>
<div class="downBtn"></div>
</div>
<div class="swiper-slide bg1">
<div class="con">
<h1
class="ani"
swiper-animate-effect="fadeInUp"
swiper-animate-duration=".5s"
swiper-animate-delay="1s">毕业快乐</h1>
<div class="imgBox">
<div class="img2">
<img
class="ani"
swiper-animate-effect="zoomInDown"
swiper-animate-duration="1s"
swiper-animate-delay="2s"
src="./images/by1.jpg"
alt="">
<img
class="ani"
swiper-animate-effect="zoomInLeft"
swiper-animate-duration="1s"
swiper-animate-delay="5s"
src="./images/by2.jpg"
alt="">
</div>
<div>
<img
style="width:80%;"
class="ani"
swiper-animate-effect="zoomInRight"
swiper-animate-duration="1s"
swiper-animate-delay="3s"
src="./images/by5.jpg" alt="">
</div>
<div class="img2">
<img
class="ani"
swiper-animate-effect="zoomInRight"
swiper-animate-duration="1s"
swiper-animate-delay="4s"
src="./images/by3.jpg"
alt="">
<img
class="ani"
swiper-animate-effect="zoomInLeft"
swiper-animate-duration="1s"
swiper-animate-delay="6s"
src="./images/by4.jpg"
alt="">
</div>
</div>
</div>
<div class="downBtn"></div>
</div>
<div class="swiper-slide bg1">
<div class="con">
<h1
class="ani"
swiper-animate-effect="fadeInLeft"
swiper-animate-duration=".5s"
swiper-animate-delay="1s">美居美家</h1>
<div class="imgBox">
<div class="img2">
<img
class="ani"
swiper-animate-effect="zoomInLeft"
swiper-animate-duration="1s"
swiper-animate-delay="5s"
src="./images/mjmj1.jpg"
alt="">
<img
class="ani"
swiper-animate-effect="zoomInDown"
swiper-animate-duration="1s"
swiper-animate-delay="2s"
src="./images/mjmj.jpg"
alt="">
</div>
<div class="img2">
<img
class="ani"
swiper-animate-effect="zoomInRight"
swiper-animate-duration="1s"
swiper-animate-delay="4s"
src="./images/mjmj2.jpg"
alt="">
<img
class="ani"
swiper-animate-effect="zoomInLeft"
swiper-animate-duration="1s"
swiper-animate-delay="3s"
src="./images/mjmj3.jpg"
alt="">
</div>
</div>
</div>
<div class="downBtn"></div>
</div>
<div class="swiper-slide bg1">
<div class="con">
<h1
class="ani"
swiper-animate-effect="fadeInRight"
swiper-animate-duration=".5s"
swiper-animate-delay=".5s">华龙苑</h1>
<p
class="hly ani"
swiper-animate-effect="fadeInRight"
swiper-animate-duration=".5s"
swiper-animate-delay="1s">我竟然没有什么美照!但是,脑袋里有,老夏、老李、老柯、大头、大壮和麻将</p>
<div class="imgBox">
<div class="img1">
<img
class="ani"
swiper-animate-effect="zoomInLeft"
swiper-animate-duration="1s"
swiper-animate-delay="4s"
src="./images/hly.jpg"
alt="">
<img
class="ani"
swiper-animate-effect="zoomInDown"
swiper-animate-duration="1s"
swiper-animate-delay="2s"
src="./images/hly1.jpg"
alt="">
<img
class="ani"
swiper-animate-effect="zoomInRight"
swiper-animate-duration="1s"
swiper-animate-delay="3s"
src="./images/hly2.jpg"
alt="">
</div>
<p
class="ani"
swiper-animate-effect="zoomInUp"
swiper-animate-duration="1s"
swiper-animate-delay="5s">还有半夜的《昆池岩》、《厉鬼将映》、以及吓尿的《招魂》</p>
</div>
</div>
<div class="downBtn"></div>
</div>
<div class="swiper-slide bg1">
<div class="con">
<h1
class="ani"
swiper-animate-effect="zoomInUp"
swiper-animate-duration="1s"
swiper-animate-delay=".5s">北漂VS南飞</h1>
<p class="nCon ani"
swiper-animate-effect="zoomInLeft"
swiper-animate-duration="1s"
swiper-animate-delay="1s">你们在中国 <em>6</em> 环内,</p>
<p class="nCon ani"
swiper-animate-effect="zoomInRight"
swiper-animate-duration="1s"
swiper-animate-delay="1.5s">我们在中国 <em>27</em> 环外!</p>
<p class="nCon ani"
swiper-animate-effect="zoomInDown"
swiper-animate-duration="1s"
swiper-animate-delay="2s">还行,都还在!</p>
<!-- <p>散伙是人间常态,孤独是人生百态</p> -->
</div>
<div class="downBtn"></div>
</div>
<div class="swiper-slide bg1">
<div class="con">
<!-- <h1
class="ani"
swiper-animate-effect="zoomInUp"
swiper-animate-duration="1s"
swiper-animate-delay=".5s">还没完!</h1> -->
<p
class="comeOn ani"
swiper-animate-effect="lightSpeedIn"
swiper-animate-duration="1s"
swiper-animate-delay=".5s">故</pclass>
<p
class="comeOn ani"
swiper-animate-effect="lightSpeedIn"
swiper-animate-duration="1s"
swiper-animate-delay="1s">事</p>
<p
class="comeOn ani"
swiper-animate-effect="lightSpeedIn"
swiper-animate-duration="1s"
swiper-animate-delay="1.5s">还</p>
<p
class="comeOn ani"
swiper-animate-effect="lightSpeedIn"
swiper-animate-duration="1s"
swiper-animate-delay="2s">在</p>
<p
class="comeOn ani"
swiper-animate-effect="lightSpeedIn"
swiper-animate-duration="1s"
swiper-animate-delay="2.5s">继</p>
<p
class="comeOn ani"
swiper-animate-effect="lightSpeedIn"
swiper-animate-duration="1s"
swiper-animate-delay="3.5s">续</p>
</div>
<div class="downBtn"></div>
</div>
<div class="swiper-slide bg2">
<div class="con">
<h1
class="ani title"
swiper-animate-effect="zoomInLeft"
swiper-animate-duration="1s"
swiper-animate-delay=".5s">那年的黄鼠狼,修成正果</h1>
<div class="jh-img">
<img
class="ani"
swiper-animate-effect="zoomInUp"
swiper-animate-duration="1s"
swiper-animate-delay="1.5s"
src="./images/jh1.jpg" alt="">
<img
class="ani"
swiper-animate-effect="zoomInDown"
swiper-animate-duration="1s"
swiper-animate-delay="2.5s"
src="./images/jh2.jpg" alt="">
</div>
<p
class="ani jh-con"
swiper-animate-effect="zoomInRight"
swiper-animate-duration="1s"
swiper-animate-delay="3.5s">小伙伴们,大年初六(2020.1.30),云南大理,我请你们喝喜酒呀!</p>
</div>
</div>
</div>
<!-- Add Pagination -->
<div class="swiper-pagination"></div>
</div>
<!-- Swiper JS -->
<script src="./js/jquery-1.11.3.min.js"></script>
<script src="./js/swiper.min.js"></script>
<script src="./js/swiper.animate1.0.3.min.js"></script>
<!-- Initialize Swiper -->
<script>
var swiper = new Swiper('.swiper-container', {
direction: 'vertical',
on: {
init: function () {
swiperAnimateCache(this); //隐藏动画元素
swiperAnimate(this); //初始化完成开始动画
},
slideChangeTransitionEnd: function () {
swiperAnimate(this); //每个slide切换结束时也运行当前slide动画
//this.slides.eq(this.activeIndex).find('.ani').removeClass('ani'); 动画只展现一次,去除ani类名
}
}
});
var audio = document.getElementById('media');
$(function(){
$("#audio_btn").click(function(){
$(this).toggleClass("rotate"); //控制音乐图标 自转或暂停
//控制背景音乐 播放或暂停
if($(this).hasClass("rotate")){
audio.play();
}else{
audio.pause();
}
})
});
</script>
</body>
</html>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。