G22恒峰-官方网站G22恒峰

handlogo
中国图标
  • 2025
  • 2024
  • 2023
  • 2022
  • 2021
  • 2020
  • 2019
  • 2018
  • 2017
© Copyright Hand China Co.,Ltd. All Rights Reserved 上海G22恒峰信息技术股份有限公司

业务咨询

完善信息后我们会第一时间跟您联系
*
*
*
*
*请输入正确的验证码
captcha
发送失败
微信扫码 在线咨询 微信咨询二维码
联系我们
400-168-4263
业务咨询
完善信息后我们会第一时间跟您联系
'; // $("#goTop").append(gotoTop_html); $("#goTop").click( //定义返回顶部点击向上滚动的动画 function () { $('html,body').animate({ scrollTop: 0 }, 700); }); min_height ? min_height = min_height : min_height = 50; $(window).scroll(function () { var s = $(window).scrollTop(); if (s > min_height) { // $('.online-feedback').fadeIn(100); // $('.feedback-img').fadeIn(100); } else { // $("#gotoTop").fadeOut(200); // $('.online-feedback').fadeOut(200); // $('.feedback-img').fadeOut(200); } }); }; gotoTop(); var _hmt = _hmt || []; (function () { var hm = document.createElement("script"); hm.src = "https://hm.baidu.com/hm.js?2c7ecded0d11a367405ad6df566b1da0z6'; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })(); //底部导航图片 $(".codeInfo li").mouseover(function () { var index = $(this).index() console.log(index); $(`.codeInfo li:eq(${index}) a`).css('opacity', '1') $(`.codeInfo li:gt(${index}) a`).css('opacity', '0.8') $(`.codeInfo li:lt(${index}) a`).css('opacity', '0.8') $(`.codeInfo .codeimg:gt(${index})`).hide(); $(`.codeInfo .codeimg:lt(${index})`).hide(); $(`.codeInfo .codeimg:eq(${index})`).show(); }).mouseleave(function () { $(`.codeInfo li:eq(${index}) a`).css('opacity', '0.8') }) //切换国家 // $(".lang ul").hide(); $(".lang").mouseover(function () { $(this).find($("ul")).slideDown("200"); }) $(".lang").mouseleave(function () { $(this).find($("ul")).slideUp("200"); }) //查看更多 $('.more-white-see,.more-black-see') .on('mouseenter', function (e) { var parentOffset = $(this).offset(), relX = e.pageX - parentOffset.left, relY = e.pageY - parentOffset.top; $(this).find('.more-see-bg').css({ top: relY, left: relX }) }) .on('mouseout', function (e) { var parentOffset = $(this).offset(), relX = e.pageX - parentOffset.left, relY = e.pageY - parentOffset.top; $(this).find('.more-see-bg').css({ top: relY, left: relX }) }); //自适应方案 // var metaNode = document.querySelector('meta[name=viewport]'); // var designWidth = 1366; // var scale = document.documentElement.clientWidth / designWidth; // scale = scale.toFixed(2) // metaNode.content += `, initial-scale=${scale}`; //顶部导航栏 背景色适配banner $('.nav-wrap > ul > li').mouseenter(function () { $(this).find('.nav-li-active').css('width', '3.5rem') $(this).siblings().find('.nav-li-active').css('width', '0') $(`.hd-nav:eq(${$(this).index()})`).stop().slideDown({ start: function () { $(this).css({ display: "flex" }) } }) }) .mouseleave(function () { $(this).find('.nav-li-active').css('width', '0') $(`.hd-nav:eq(${$(this).index()})`).stop() .slideUp() }) // //白底菜单栏 添加logo-new // window.onload = function () { // var color = $('.header').css('background-color') // if (color === 'rgb(255, 255, 255)' || color === '#ffffff') { // $('.logo').addClass('logo-new') // } else { // $('.logo').removeClass('logo-new') // } // }