150-2021-7966 在线客服 人才招聘 返回顶部

$(document).ready(function (e) { /////////////banner效果////////////// var curshuxns = 0; var BnersetInterval; var mousemove = true; /////////向前滚动/////// function Aforward() { clearInterval(setinxsd); $(".bannerItm img").stop().css("margin-left", "150%"); var baneItmleng = $(".bannerItm img").length; $(".bannerItm img").eq(baneItmleng - 1).stop().css({ marginLeft: 0, marginTop: "-100%" }); var asjishi = 0; var setinxsd = setInterval(function () { $(".bannerItm img").each(function (index, element) { if (index < baneItmleng - 1) { $(this).animate({ marginLeft: 0 }, 300 + 200 * index, "easeInOutCubic"); } }); asjishi++; if (asjishi == 2) { $(".bannerItm img").eq(baneItmleng - 1).animate({ marginTop: 0 }, 1000, "easeOutExpo", function () { mousemove = true; }); clearInterval(setinxsd); } }, 500) } $(".SybannerL").click(function(){ var zhisucs=curshuxns; if(zhisucs>0){ zhisucs--; }else{ zhisucs=$(".Sybannerli").length-1; } bannerAnimatGD(zhisucs, false); }) $(".SybannerR").click(function(){ var zhisucs=curshuxns; if(zhisucs<$(".Sybannerli").length-1){ zhisucs++; }else{ zhisucs=0; } bannerAnimatGD(zhisucs, false); }) //////////banner手势/////////// //$(".Sybanner") $touchEvent(".Sybanner",function(){ $(".SybannerR").trigger("click"); },function(){ $(".SybannerL").trigger("click"); },"","") //////////banner手势***/////////// /////////向后滚动/////// function Abackwards() { clearInterval(setinxsd); $(".bannerItm img").stop().css("margin-left", "-150%"); var baneItmleng = $(".bannerItm img").length; $(".bannerItm img").eq(baneItmleng - 1).stop().css({ marginLeft: 0, marginTop: "-100%" }); var asjishi = 0; var setinxsd = setInterval(function () { $(".bannerItm img").each(function (index, element) { if (index < baneItmleng - 1) { $(this).animate({ marginLeft: 0 }, 300 + 200 * index, "easeInOutCubic"); } }); asjishi++; if (asjishi == 2) { $(".bannerItm img").eq(baneItmleng - 1).animate({ marginTop: 0 }, 1000, "easeOutExpo", function () { mousemove = true; }); clearInterval(setinxsd); } }, 500) } windorezise(); $(".Sybanner p span").removeClass("curschsx").eq(curshuxns).addClass("curschsx"); $(".Sybanner p span").click(function () { var indexcurem = $(".Sybanner p span").index(this); if (indexcurem != curshuxns) { bannerAnimatGD(indexcurem, false); } }) BnersetInterval = setInterval(BnersetInterHs, 10000); function BnersetInterHs() { if (curshuxns < $(".Sybanner p span").length - 1) { bannerAnimatGD(curshuxns + 1, true); } else { bannerAnimatGD(0, true); } } $(".Sybannerli").eq(0).hover(function () { clearInterval(BnersetInterval); $(".Sybannerli").eq(0).mousemove(function (y) { var xzhi = y.pageX - $(window).width() / 2; var yzhi = y.pageY - $(".Sybanner").height() / 2 - $(".Sybanner").offset().top; $(".bannerItm2").css({ marginLeft: -xzhi * 0.04, marginTop: -yzhi * 0.02 }) $(".bannerItm6").css({ marginLeft: -xzhi * 0.1, marginTop: -yzhi * 0.05 }) $(".bannerItm4").css({ marginLeft: -xzhi * 0.1, marginTop: -yzhi * 0.1 }) $(".bannerItm3").css({ marginLeft: -xzhi * 0.05, marginTop: -yzhi * 0.05 }) $(".bannerItm5").css({ marginLeft: -xzhi * 0.04, marginTop: -yzhi * 0.04 }) $(".bannerItm5A").css({ marginLeft: -xzhi * 0.03, marginTop: -yzhi * 0.03 }) $(".bannerItm5B").css({ marginLeft: -xzhi * 0.03, marginTop: -yzhi * 0.03 }) $(".bannerItm5C").css({ marginLeft: -xzhi * 0.03, marginTop: -yzhi * 0.03 }) }) }, function () { BnersetInterval = setInterval(BnersetInterHs, 10000); $(".Sybannerli").eq(0).unbind("mousemove"); $(".bannerItm2,.bannerItm6,.bannerItm4,.bannerItm3,.bannerItm5,.bannerItm5A,.bannerItm5B,.bannerItm5C").css({ marginLeft: 0, marginTop: 0 }) }) function windorezise() { $(".Sybannerli").stop().css({ left: $(window).width() }); $(".Sybannerli").stop().eq(curshuxns).css({ left: 0 }); //$(".ScrollSCS_NR3_PC").css("top",($(window).height()-$(".ScrollSCS_NR3_PC").height())/2+50); } function bannerAnimatGD(curnext, bo0l) { mousemove = false; var windowWdth = $(window).width(); if (curnext > curshuxns || bo0l) { $(".Sybannerli").eq(curshuxns).stop().css({ left: 0 }).animate({ left: -windowWdth }, 500, "easeInOutCubic"); $(".Sybannerli").eq(curnext).stop().css({ left: windowWdth }).animate({ left: 0 }, 500, "easeInOutCubic"); if (curnext == 0) { Aforward(); } } else { $(".Sybannerli").eq(curshuxns).stop().css({ left: 0 }).animate({ left: windowWdth }, 500, "easeInOutCubic"); $(".Sybannerli").eq(curnext).stop().css({ left: -windowWdth }).animate({ left: 0 }, 500, "easeInOutCubic"); if (curnext == 0) { Abackwards(); } } curshuxns = curnext; $(".Sybanner p span").removeClass("curschsx").eq(curshuxns).addClass("curschsx"); clearInterval(BnersetInterval); BnersetInterval = setInterval(BnersetInterHs, 10000); } $(window).resize(function () { windorezise(); }) /////////////banner效果***////////////// var scrllTopz = $(window).scrollTop(); /////获取scrollTop/////////// var scrllTopz_prev = 0; var marinposti = []; var setInterTime; var setInterTime2; $(window).scroll(function () { scrllTopz = $(window).scrollTop(); /////获取scrollTop/////////// scrolBackmarin2(); /////版块2/////// scrolBackmarin3(); /////版块3/////// Index_liaoJie(); /////深入了解/////// }); init(); function init() { Index_liaoJie(); /////深入了解/////// } /////2///////// function scrolBackmarin2() { $(".MterbottomMtl2img").css({ left: scrllTopz * 0.2 - 5000 }); $(".ImgbottomMterl2A").css({ left: -scrllTopz * 3 }); $(".ImgbottomMterl2B").css({ left: -scrllTopz * 5 }); } /////2***///////// /////3///////// function scrolBackmarin3() { $(".serveAppBk3_Title .mask").css("right", -scrllTopz); } /////3***///////// });
马上在线咨询
var serveAppBk5Html = []; var UlAppUlHtml = []; $(document).ready(function (e) { for (var i = 0; i < $(".serveAppBk5").length; i++) { var newArry = []; $(".serveAppBk5").eq(i).find("li").each(function (index, element) { newArry.push($(this).html()); }); serveAppBk5Html.push(newArry); UlAppUlHtml.push($(".serveAppBk5").eq(i).html()); } quehuanIntUl(0); $(".DtiasNv a").click(function () { var intsx = $(".DtiasNv a").index(this); quehuanIntUl(intsx); }) function quehuanIntUl(ins) { $(".serveAppBk5").html("").hide(); $(".serveAppBk5").eq(ins).html(UlAppUlHtml[ins]).show(); serveAppBk5Angus($(".serveAppBk5").eq(ins), ins); $(".DtiasNv a").removeClass("curensQhs").eq(ins).addClass("curensQhs"); } }); function serveAppBk5Angus(obj, curInary) { var curenTiNT = 0; var curAry = curInary; resizeBank4(); $(window).resize(function () { resizeBank4(); }) $(obj).find(".AppBk5dianNUm span").removeClass("curnsdscss").eq(curenTiNT).addClass("curnsdscss"); $(".serveAppBk5 li").html(""); $(".serveAppBk5").eq(curAry).find("li").eq(0).html(serveAppBk5Html[curAry][0]); /*$(".serveAppBk5_ul li a").hover(function () { $(this).find(".img").stop().animate({ width: "110%", height: "110%" }, 700, "linear") }, function () { $(this).find(".img").stop().animate({ width: "100%", height: "100%" }, 200, "linear") })*/ /*$(obj).find(".serveAppBk5_ul li a").hover(function () { $(this).find("span").stop().animate({ bottom: 0 }, 300, "easeInOutCubic"); }, function () { $(this).find("span").stop().animate({ bottom: -30 }, 300, "easeInOutCubic"); })*/ $(obj).find(".AppBk5dianNUm span").click(function () { var curssax = $(obj).find(".AppBk5dianNUm span").index(this); animatdds(curssax); }) /////////////手势滑动/////////// var setInjisdsa; var bolltsAsTime = true; $(obj).find(".serveAppBk5_ul").bind("swipeleft swipeleftdown swipeleftup", function () { if (bolltsAsTime) { var curssax = curenTiNT + 1; animatdds(curssax); bolltsAsTime = false; clearTimeout(setInjisdsa); setInjisdsa = setTimeout(bolltsAsTimehs, 300); } }); $(obj).find(".serveAppBk5_ul").bind("swiperight swiperightup swiperightdown", function () { if (bolltsAsTime) { var curssax = curenTiNT - 1; animatdds(curssax); bolltsAsTime = false; clearTimeout(setInjisdsa); setInjisdsa = setTimeout(bolltsAsTimehs, 300); } }); function bolltsAsTimehs() { bolltsAsTime = true; } function animatdds(curssax) { $(".serveAppBk5").eq(curAry).find("li").eq(curssax).html(serveAppBk5Html[curAry][curssax]); $(".serveAppBk5_ul li a").hover(function () { $(this).find(".img").stop().animate({ width: "110%", height: "110%" }, 700, "linear") }, function () { $(this).find(".img").stop().animate({ width: "100%", height: "100%" }, 200, "linear") }) $(obj).find(".serveAppBk5_ul li a").hover(function () { $(this).find("span").stop().animate({ bottom: 0 }, 300, "easeInOutCubic"); }, function () { $(this).find("span").stop().animate({ bottom: -30 }, 300, "easeInOutCubic"); }) if (curssax > curenTiNT) { $(obj).find(".serveAppBk5_ul li").eq(curssax).stop().css({ left: $(window).width() }).animate({ left: 0 }, 500, "easeInOutCubic"); $(obj).find(".serveAppBk5_ul li").eq(curenTiNT).stop().css({ left: 0 }).animate({ left: -$(window).width() }, 500, "easeInOutCubic"); curenTiNT = curssax; } if (curssax < curenTiNT) { $(obj).find(".serveAppBk5_ul li").eq(curssax).stop().css({ left: -$(window).width() }).animate({ left: 0 }, 500, "easeInOutCubic"); $(obj).find(".serveAppBk5_ul li").eq(curenTiNT).stop().css({ left: 0 }).animate({ left: $(window).width() }, 500, "easeInOutCubic"); curenTiNT = curssax; } $(obj).find(".AppBk5dianNUm span").removeClass("curnsdscss").eq(curenTiNT).addClass("curnsdscss"); } function resizeBank4() { // $(obj).find(".serveAppBk5_ul").height($(obj).find(".serveAppBk5_ul li").eq(0).height()); $(obj).find(".serveAppBk5_ul li").each(function (index, element) { if (index != curenTiNT) { $(this).css("left", $(window).width()); } else { $(this).css("left", 0); } }); } }
更深入的了解我们 马上在线咨询
  • 11年互联网技术的革新

  • 150名有激情和思想的队友

  • 4大业务体系整合开发

  • 876个知名客户的选择

function Index_liaoJie() { scrllTopz = $(window).scrollTop(); var ofssstTop = $(".Index_liaoJie").offset().top; if (scrllTopz > ofssstTop) { var MaxTop = $(".liaoJie_back").height() - $(".Index_liaoJie").height(); var MaxscTop = $(document).height() - $(window).height(); $(".liaoJie_back").css("top", -Math.max((scrllTopz - ofssstTop) / MaxscTop * MaxTop * 3, -MaxTop)); } }
马上在线咨询
马上在线咨询
背景地区联系方式
扫一扫,微信二维码
办公地址 山东滕州市碧水云天中央城
联系电话 +86-00-000000
售后电话 +86-10-0000000
投诉电话 +86-10-00000000
咨询电话 100 0000 00000
业务邮箱 hai@dedecms51.com
姓名NAME
电话PHONE
邮箱E-MAIL
公司名称COMPANY NAME
留言MESSAGE
 
$(document).ready(function (e) { initA(); }); var canvas, stage, exportRoot; function initA() { canvas = document.getElementById("canvas"); exportRoot = new lib.无标题1(); stage = new createjs.Stage(canvas); stage.addChild(exportRoot); stage.update(); createjs.Ticker.setFPS(lib.properties.fps); createjs.Ticker.addEventListener("tick", stage); }
Copyright © 2002-2011 dedecms51.COM 织梦模板 版权所有 鲁CIP12345678号  技术支持:织梦无忧