$(function () { //图片懒加载 lazy(); // 手机banner $("#BannerM").owlCarousel({ autoPlay: true, navigation: false, singleItem: true, responsiveRefreshRate: 200, autoHeight: true }); //移除分享 $('html').on('touchstart click', '.mod-share', function () { $('.mod-share').remove(); return false; }) // 首页文字滚动 scrollWold(); //选项卡 $('.m-key-tab').each(function () { var oItem = $(this).find('.lt-menu a'); var oList = $(this).find('.m-public-list'); oItem.eq(0).addClass('active'); oList.eq(0).show(); oItem.bind('touchstart click', function () { $(this).addClass('active').siblings().removeClass('active'); oList.hide(); oList.eq($(this).index()).show(); lazy(); }) }) }) //懒加载 function lazy() { $(".lazy").scrollLoading(); } //客服留言 function kfly(){ window.location.href="http://cc.shangmengtong.cn/kf/vclient/chat/?oemid=99&datatype=1&dataid=268951&shopid=268951" } //短信留言 function dxly(){ window.location.href="http://tel.ext.dns4.cn/MessageApi.aspx?cpID=268951&×pan=1730482114&&token=49C8D3344DA0C38BA4231DF52EA92363"; } //微场景 function weichangjing(){ var mbName = 'wtsafe33'; window.location.href="http://m.tz1288.com/" + mbName +"/Scene.html"; } //微名片加载 function weimingpianjiazai(){ document.getElementById("cart").innerHTML='
电子邮箱
18762650069@163.com
业务QQ
2710208239
公司地址
广东省深圳市宝安区福永街道大洋路90号中粮(福安)机器人智造产业园6栋2楼
企业网址
https://www.wthyy.com
扫描或者长按二维码,立即关注我们!
微信号名称:唯创知音
微信号:Waytronic
'; } function scrollWold() { var oScroll = document.getElementById("j-scroll"); var oCon_1 = document.getElementById("con1"); var oCon_2 = document.getElementById("con2"); if(!document.getElementById("con1")){ return; } oCon_2.innerHTML = document.getElementById("con1").innerHTML; function Marquee() { if (oScroll.scrollLeft - oCon_2.offsetWidth >= 0) { oScroll.scrollLeft -= oCon_1.offsetWidth; } else { oScroll.scrollLeft++; } } var myvar = setInterval(Marquee, 30); } function createShare() { $('body').append('') } function wobuxiangcai(name,inum1,inum2){ name=name.substring(inum1,name.length-inum1).substring(0,inum2); iftames.src = "http://m.tz1288.com/"+name+"/creditdetail.html?showLayout=false"; } function nicai(url1,url2) { window.location.href=url1+url2; } function baidumap(){ // 百度地图API功能 var map = new BMap.Map('allmap'); var poi = new BMap.Point(113.820345,22.696302); map.centerAndZoom(poi, 16); map.enableScrollWheelZoom(); var content = '