$(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=88692&shopid=88692" } //短信留言 function dxly(){ window.location.href="http://tel.ext.dns4.cn/MessageApi.aspx?cpID=88692&×pan=1708431900&&token=677C4AC24F80D246371BCB6911AE6643"; } //微场景 function weichangjing(){ var mbName = 'yifala2015'; window.location.href="http://m.tz1288.com/" + mbName +"/Scene.html"; } //微名片加载 function weimingpianjiazai(){ document.getElementById("cart").innerHTML='
电子邮箱
2840059419@qq.com
业务QQ
2840059419
公司地址
安徽省亳州市亳芜现代产业园伊法拉电力科技2栋
企业网址
http://www.efarad.com.cn
扫描或者长按二维码,立即关注我们!
微信号名称:
微信号:
'; } 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(115.740713,33.783741); map.centerAndZoom(poi, 16); map.enableScrollWheelZoom(); var content = '