12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485 |
- $(function(){
-
- var swiper = new Swiper('.in_banner-swiper', {
- pagination: '.in_banner-pagination',
- autoplay: 3000,
- autoplayDisableOnInteraction: false,
- loop: true
- });
-
-
- $("#menu").on("click",function(){
- $("#menu_input").toggleClass("on");
- $("body").toggleClass("isMask");
- $("html").toggleClass("isMask");
- $("#mask").toggleClass("on");
- $('html,body').scrollTop(0);
- })
- $("#mask").on("click",function(){
- $("#mask").toggleClass("on");
- $("#menu_input").toggleClass("on");
- $("body").toggleClass("isMask");
- $("html").toggleClass("isMask");
- })
- $(window).scroll(function(){
- var scrollTop=0;
- scrollTop = $(document).scrollTop();
- var a = scrollTop/500;
- if(a<=0.9){
- $("header").css({"background":"rgba(0,0,0,"+a+")"});
- }if(a>0.9){
- $("header").css({"background":"rgba(0,0,0,0.9)"});
- }
- });
-
- var in_case_swiper = new Swiper('.in_case-swiper', {
- pagination: '.in_case-pagination',
- autoplayDisableOnInteraction: false
- });
-
- var angle = 0;
- setInterval(function() {
- angle += 10;
- $("#bj-loding .ball div").rotate(angle);
- }, 50);
-
- var web_flow_swiper = new Swiper ('.web_flow-swiper', {
- slidesPerView: 2,
- paginationClickable: true,
- spaceBetween: 10,
- pagination: '.web_flow-pagination',
- loop:true
- })
-
- var web_flow_swiper = new Swiper ('.wechat_function-swiper', {
- slidesPerView: 2,
- paginationClickable: true,
- spaceBetween: 20,
- pagination: '.wechat_function-pagination',
- loop:true
- })
-
- var web_flow_swiper = new Swiper ('.miniApps_advantage-swiper', {
- slidesPerView: 2,
- paginationClickable: true,
- spaceBetween: 10,
- pagination: '.miniApps_advantage-pagination',
- loop:true
- })
-
- var web_flow_swiper = new Swiper ('.app_advantage-swiper', {
- paginationClickable: true,
- pagination: '.app_advantage-pagination',
- loop:true
- })
-
- var miniAppsList_swiper = new Swiper ('.miniAppsList-swiper', {
- slidesPerView: 2,
- paginationClickable: true,
- pagination: '.miniAppsList-pagination',
- loop:true
- })
-
- })
|