$(function () { //图片懒加载 lazy(); // 手机banner $("#BannerM").owlCarousel({ autoPlay: true, navigation: false, singleItem: true, responsiveRefreshRate: 200, autoHeight: true }); /*导航*/ $('#j-menu').click(function(){ $('.fixed-nav').stop().slideToggle(500); }) //移除分享 $('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=73853&shopid=73853" } //短信留言 function dxly(){ window.location.href="http://tel.ext.dns4.cn/MessageApi.aspx?cpID=73853&×pan=1718558318&&token=51300DB124838822B971E4822B9AC14F"; } //微场景 function weichangjing(){ var mbName = 'wfruidesheng'; window.location.href="http://m.tz1288.com/" + mbName +"/Scene.html"; } //微名片加载 function weimingpianjiazai(){ document.getElementById("cart").innerHTML='
电子邮箱
wfruidesheng@163.com
业务QQ
2331872544
公司地址
山东潍坊滨海经济技术开发区
企业网址
http://www.ruidesheng.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 = '