Skip to content

Commit

Permalink
h5宣传页
Browse files Browse the repository at this point in the history
h5宣传页备份
  • Loading branch information
qq459114173 committed Dec 17, 2018
1 parent ef0c1e5 commit c133578
Show file tree
Hide file tree
Showing 67 changed files with 463 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# h5宣传页

公司h5宣传页,纯手打,备份参考!
1 change: 1 addition & 0 deletions css/banner.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions css/base.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions css/index.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions css/jquery.fullpage.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added images/background.mp3
Binary file not shown.
Binary file added images/logo.ico
Binary file not shown.
Binary file added images/music.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/page1/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/page1/头图.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/page1/滑动条.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/page1/背景.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/page10/图片.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/page10/椭圆.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/page11/2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/page11/红包墙.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/page12/ditu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/page12/扫一扫.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/page12/扫一扫线.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/page12/拨打按钮.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/page13/1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/page13/提交按钮.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/page2/图片.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/page2/头部.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/page2/底部.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/page2/滑动.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/page2/滑动.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/page2/滑动效果.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/page3/1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/page3/2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/page3/3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/page3/bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/page3/icon.png
Binary file added images/page4/1.png
Binary file added images/page4/1/1.png
Binary file added images/page4/1/2.png
Binary file added images/page4/1/3.png
Binary file added images/page4/2.png
Binary file added images/page4/2011.png
Binary file added images/page4/3.png
Binary file added images/page4/4.png
Binary file added images/page4/形状 642.png
Binary file added images/page4/条.png
Binary file added images/page4/线.png
Binary file added images/page5/图片1.png
Binary file added images/page5/图片2.png
Binary file added images/page5/图片3.png
Binary file added images/page6/圆底.png
Binary file added images/page6/大数据.png
Binary file added images/page6/技术.png
Binary file added images/page6/推广.png
Binary file added images/page6/策划.png
Binary file added images/page6/资源.png
Binary file added images/page6/运营.png
Binary file added images/page7/字.png
Binary file added images/page7/组 4.png
Binary file added images/page8/中间.png
Binary file added images/page8/形状 .png
Binary file added images/page8/椭圆 .png
Binary file added images/下滑按钮.png
4 changes: 4 additions & 0 deletions index.html

Large diffs are not rendered by default.

223 changes: 223 additions & 0 deletions js/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,223 @@
$(function () {
var time;
$('#demon').fullpage({
navigation: false,
scrollOverflow: true,
scrollOverflowOptions: {
scrollY: true
},
afterLoad: function (a, index) {
if (index == 13) {
$('.up-arrow').css('display', 'none')
} else {
$('.up-arrow').css('display', 'block')
}
if (index == 1) {
$('.section1 .banner>li').addClass('active');
$('.section1 .logo').addClass('zoomIn');
$('.section1 .nav').addClass('fadeInLeft');
$('.section1 .sub-title').addClass('fadeInRight');
$('.section1 .content').addClass('fadeInUpBig')
} else if (index == 2) {
$('.section2 .banner>li').addClass('active');
$('.section2 .sub-title').addClass('zoomIn');
$('.section2 .content p').addClass('fadeInDown');
$('.section2 .imgs').addClass('fadeInDown')
} else if (index == 3) {
$('.section3 .banner>li').addClass('active');
$('.section3 .sub-title').addClass('zoomIn');
$('.section3 .content .tite').addClass('fadeInLeft');
$('.section3 .content ul li img').addClass('fadeInLeft');
$('.section3 .content ul li span').addClass('fadeInDown');
$('.section3 .imgs img').addClass('rollIn');
$('.section3 .content .bg').addClass('fadeInLeft');
} else if (index == 4) {
$('.section4 .banner>li').addClass('active');
$('.section4 .sub-title').addClass('zoomIn');
$('.section4 .content>ul>li').addClass('zoomIn');
$('.section4 .content>ul>li .box>img').addClass('fadeInLeft');
$('.section4 .content>ul>li .box2').addClass('rotateIn');
$('.section4 .content .wire li').addClass('fadeInDown');
$('.section4 .resource').addClass('rotateIn')
} else if (index == 5) {
$('.section5 .banner>li').addClass('active');
$('.section5 .sub-title').addClass('zoomIn');
$('.section5 .content .left').addClass('fadeInDown');
$('.section5 .content .right').addClass('fadeInUp');
$('.section5 .imgs img').addClass('rollIn')
} else if (index == 6) {
$('.section6 .banner>li').addClass('active');
$('.section6 .sub-title').addClass('zoomIn');
$('.section6 .content .title1').addClass('fadeInLeft');
$('.section6 .content .content1').addClass('fadeInRight');
$('.section6 .imgs img').addClass('rollIn');
$('.section6 .resource').addClass('fadeInUp')
} else if (index == 7) {
$('.section7 .banner>li').addClass('active');
$('.section7 .sub-title').addClass('zoomIn');
$('.section7 .box2>div').addClass('fadeInLeft');
$('.section7 .imgs').addClass('rotateIn');
$('.section7 .imgs img').addClass('fadeInRight');
$('.section7 .imgs p').addClass('fadeInLeft');
$('.section7 .imgs .box>div').addClass('zoomIn')
} else if (index == 8) {
$('.section8 .banner>li').addClass('active');
$('.section8 .content>img.bg').addClass('rotateIn');
$('.section8 .content>img.word').addClass('zoomIn');
$('.section8 .content>.sub-title').addClass('fadeInLeft')
} else if (index == 9) {
$('.section9 .banner>li').addClass('active');
$('.section9 .sub-title').addClass('zoomIn');
$('.section9 .content li').eq(0).addClass('fadeInDown');
$('.section9 .content li').eq(1).addClass('fadeInRight');
$('.section9 .content li').eq(2).addClass('fadeInRight');
$('.section9 .content li').eq(3).addClass('fadeInUp');
$('.section9 .content li').eq(4).addClass('fadeInLeft');
$('.section9 .content li').eq(5).addClass('fadeInLeft');
$('.section9 .imgs>p').addClass('rotateIn')
} else if (index == 10) {
$('.section10 .banner>li').addClass('active');
$('.section10 .sub-title').addClass('zoomIn');
$('.section10 .content .title2').addClass('fadeInLeft');
$('.section10 .content .title3').addClass('fadeInRight');
$('.section10 .content ul>li').addClass('fadeInDown');
$('.section10 .content .bg').addClass('fadeInUp')
} else if (index == 11) {
$('.section11 .banner>li').addClass('active');
banner();

function banner() {
var num = 0;
$("#j_silder_outer .img-item").each(function (index, el) {
$(this).css({
"left": $(this).width() * index + "px",
"transitionDelay": index * 0.1 + "s",
});
$(this).find(".img").css({
"backgroundPosition": -$(this).width() * index + "px",
})
});
$(".prev").on("click", function () {
$("#j_silder_outer .img-item").css("transform", "rotateX(" + (++num * 90) + "deg)")
});
$(".next").on("click", function () {
$("#j_silder_outer .img-item").css("transform", "rotateX(" + (--num * 90) + "deg)")
});
var timejg = 4000;
time = setInterval(move, timejg);

function move() {
$("#j_silder_outer .img-item").css("transform", "rotateX(" + (--num * 90) + "deg)")
}
$('.slider-outer').hover(function () {
clearInterval(time)
}, function () {
time = setInterval(move, timejg)
})
}
} else if (index == 12) {
$('.section12 .banner>li').addClass('active');
$('.section12 .sub-title').addClass('zoomIn');
$('.section12 .content .map').addClass('zoomIn');
$('.section12 .content li').addClass('fadeInLeft');
$('.section12 .content li>span').addClass('fadeInLeft');
$('.section12 .content>a').addClass('rollIn');
$('.section12 .erweima').addClass('fadeInRight')
} else {
$('.section13 .banner>li').addClass('active');
$('.section13 .sub-title').addClass('zoomIn');
$('.section13 .content input').addClass('fadeInDown');
$('.section13 .content>a').addClass('fadeInDown')
}
},
onLeave: function (index, durection) {
if (index == 1) {
$('.section1 .logo').removeClass('zoomIn');
$('.section1 .nav').removeClass('fadeInLeft');
$('.section1 .sub-title').removeClass('fadeInRight');
$('.section1 .content').removeClass('fadeInUpBig');
$('.section1 .banner>li').removeClass('active')
} else if (index == 2) {
$('.section2 .sub-title').removeClass('zoomIn');
$('.section2 .content p').removeClass('fadeInDown');
$('.section2 .imgs').removeClass('fadeInDown');
$('.section2 .banner>li').removeClass('active')
} else if (index == 3) {
$('.section3 .sub-title').removeClass('zoomIn');
$('.section3 .content .tite').removeClass('fadeInLeft');
$('.section3 .content ul li img').removeClass('fadeInLeft');
$('.section3 .content ul li span').removeClass('fadeInDown');
$('.section3 .imgs img').removeClass('rollIn');
$('.section3 .banner>li').removeClass('active');
$('.section3 .content .bg').removeClass('fadeInLeft');
} else if (index == 4) {
$('.section4 .sub-title').removeClass('zoomIn');
$('.section4 .content>ul>li').removeClass('zoomIn');
$('.section4 .content>ul>li .box>img').removeClass('fadeInLeft');
$('.section4 .content>ul>li .box2').removeClass('rotateIn');
$('.section4 .content .wire li').removeClass('fadeInDown');
$('.section4 .resource').removeClass('rotateIn');
$('.section4 .banner>li').removeClass('active')
} else if (index == 5) {
$('.section5 .sub-title').removeClass('zoomIn');
$('.section5 .content .left').removeClass('fadeInDown');
$('.section5 .content .right').removeClass('fadeInUp');
$('.section5 .imgs img').removeClass('rollIn');
$('.section5 .banner>li').removeClass('active')
} else if (index == 6) {
$('.section6 .sub-title').removeClass('zoomIn');
$('.section6 .content .title1').removeClass('fadeInLeft');
$('.section6 .content .content1').removeClass('fadeInRight');
$('.section6 .imgs img').removeClass('rollIn');
$('.section6 .resource').removeClass('fadeInUp');
$('.section6 .banner>li').removeClass('active')
} else if (index == 7) {
$('.section7 .sub-title').removeClass('zoomIn');
$('.section7 .box2>div').removeClass('fadeInLeft');
$('.section7 .imgs').removeClass('rotateIn');
$('.section7 .imgs img').removeClass('fadeInRight');
$('.section7 .imgs p').removeClass('fadeInLeft');
$('.section7 .imgs .box>div').removeClass('zoomIn');
$('.section7 .banner>li').removeClass('active')
} else if (index == 8) {
$('.section8 .content>img.bg').removeClass('rotateIn');
$('.section8 .content>img.word').removeClass('zoomIn');
$('.section8 .content>.sub-title').removeClass('fadeInLeft');
$('.section8 .banner>li').removeClass('active')
} else if (index == 9) {
$('.section9 .sub-title').removeClass('zoomIn');
$('.section9 .content li').eq(0).removeClass('fadeInDown');
$('.section9 .content li').eq(1).removeClass('fadeInRight');
$('.section9 .content li').eq(2).removeClass('fadeInRight');
$('.section9 .content li').eq(3).removeClass('fadeInUp');
$('.section9 .content li').eq(4).removeClass('fadeInLeft');
$('.section9 .content li').eq(5).removeClass('fadeInLeft');
$('.section9 .imgs>p').removeClass('rotateIn');
$('.section9 .banner>li').removeClass('active')
} else if (index == 10) {
$('.section10 .sub-title').removeClass('zoomIn');
$('.section10 .content .title2').removeClass('fadeInLeft');
$('.section10 .content .title3').removeClass('fadeInRight');
$('.section10 .content ul>li').removeClass('fadeInDown');
$('.section10 .content .bg').removeClass('fadeInUp');
$('.section10 .banner>li').removeClass('active')
} else if (index == 11) {
window.clearTimeout(time);
$('.section11 .banner>li').removeClass('active')
} else if (index == 12) {
$('.section12 .sub-title').removeClass('zoomIn');
$('.section12 .content .map').removeClass('zoomIn');
$('.section12 .content li').removeClass('fadeInLeft');
$('.section12 .content>a').removeClass('rollIn');
$('.section12 .erweima').removeClass('fadeInRight');
$('.section12 .banner>li').removeClass('active');
$('.section12 .content li>span').removeClass('fadeInLeft');
} else {
$('.section13 .sub-title').removeClass('zoomIn');
$('.section13 .content input').removeClass('fadeInDown');
$('.section13 .content>a').removeClass('fadeInDown');
$('.section13 .banner>li').removeClass('active')
}
}
})
});
2 changes: 2 additions & 0 deletions js/jquery-1.8.3.min.js

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions js/jquery-ui.min.js

Large diffs are not rendered by default.

Loading

0 comments on commit c133578

Please sign in to comment.