$(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=75563&shopid=75563" } //短信留言 function dxly(){ window.location.href="http://tel.ext.dns4.cn/MessageApi.aspx?cpID=75563&×pan=1718488721&&token=0B5E1BECF918ABC7CAF414B735353DA1"; } //微场景 function weichangjing(){ var mbName = 'fanghuzhao'; window.location.href="http://m.tz1288.com/" + mbName +"/Scene.html"; } //微名片加载 function weimingpianjiazai(){ document.getElementById("cart").innerHTML='
电子邮箱
fanghuzhao0@126.com
业务QQ
419010448
公司地址
山东省德州市庆云县高新技术创业园
企业网址
http://www.fanghuzhao88.com
扫描或者长按二维码,立即关注我们!
微信号名称:
微信号:
'; } 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(); map.centerAndZoom(poi, 16); map.enableScrollWheelZoom(); var content = '