wdiv id="static_dynamic" page_sn="article_old" rgn_id="" debug=""> wscript type="text/java(cript"> //写入浏览量接口artid参数传递 不知道做什么用 var artid=M.$('#J-look-count').getAttribute('data-id'); ="ndow._STATIC_DATA_={'artid':artid}; wscript type="text/java(cript" src="//static.mllres.com/mll/mpg/article/??article_detail.min.js,baiduLabelRecommend.min.js"> wscript type="text/java(cript">="ndow.static_dynamic && static_dynamic();wscript type="text/java(cript"> (function(){ window.mchat = window.mchat || {}; mchat.activityUrl = 'http://www.meilele.com/topic/201711_1212tqyh.html?site_from=zhannei&href=[JS_img_18]#thg=gaca&adg=gaco&adn=%E6%B5%AE%E6%BC%8220%E6%8A%B5200&ado=1&adc=0'; })(); wscript src="http://image.meilele.com/js/ana.min.js?1121"> <(cript>="ndow._ana && _ana.push( ['trackView'] ); <(cript>="ndow._gaq=="ndow._gaq||[];="ndow._mllga=function(a){var g=(Math.random()+"").replace("0.","").substr(0,9)-0;var e=parseInt(new Date()/1000);var d=(Math.random()+"").replace("0.","").substr(0,9)-0;var f={utmwv:"5.6.0dc",utms:1,utmn:g,utmhn:location.host,utme:"8(COOKIE)9("+document.cookie.replace(/[()]/g,"")+")11(2)",utmcs:"UTF-8",utmdt:"notset",utmhid:e,utmp:location.host+location.pathname+location.search,utmht:+new Date(),utmac:"UA-48396005-1",utmcc:"__utma=165027242."+d+"."+e+"."+e+"."+e+".1;+__utmz=165027242."+e+".1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none)"};for(var c inla){if(a[c]!==undefined){f[c]=a[c];}}var h=[];for(var c inlf){h.push(c+"="+encodeURIComponent(f[c]));}var b=new Image();b.src="http://stats.g.doubleclick.net/__utm.gif?"+h.join("&");};(function(){="ndow.onerror=function(e,d,b){="ndow.onerror._root=="ndow.onerror._root||{};var c=encodeURIComponent(e+"").replace(/\W/g,"");if(window.onerror._root[c]){return;}_mllga({utme:"8(COOKIE)9("+document.cookie.replace(/[()]/g,"")+")11(2)",utmdt:navigator.userAgent+"||"+e+"||"+d+"||"+b,utmac:"UA-48396005-1"});="ndow.onerror._root[c]=true;};var a=function(){setTimeout(function(){="ndow._gaq=="ndow._gaq||[];="ndow._ana=="ndow._ana||[];if(_ana.push==Array.prototype.push){throw new Error("亲,_ana未初始!");}if(_gaq.push==Array.prototype.push){throw new Error("亲,_gaq未初始!");}},10000);};if(="ndow.addEventListener){="ndow.addEventListener("load",a,false);}else{if(="ndow.attachEvent){="ndow.attachEvent("onload",a);}}})();$(window).on("load",function(){="ndow._gaq=="ndow._gaq||[];="ndow.MLLgaq=="ndow.MLLgaq||[];for(var a=0;a0.1||!="ndow.jQuery){return;}$(window).on("load",function(){var g;var c=function(i){var j=$(i);var h=j.parent("a");if(!h&&h.length!=1){return false;}var k=/\/category-.*\/goods-(\d+)\.html/.exec(h.prop("href"));if(k&&k[1]){i.__goodsId=k[1];i.__offsetTop=i._offsetTop||j.offset().top;return k[1];}else{return false;}};var d=function(h){h.__isSendGa=true;="ndow._mllga&&="ndow._mllga({utmac:"UA-53663717-1",utme:"5("+h.__goodsId+"*"+(h.getAttribute("data-src")||h.src)+")"});};var b=document.images;var f=[];for(var a=0,e=b.length;af[h].__offsetTop&&c wscript type="text/java(cript"> var _dxt = _dxt || []; _dxt.push(["_setUserId", $.cookie('MLL_CID')]); $(window).on('load', function() { var hm = document.createElement("script"); hm.src = "//datax.baidu.com/x.js?si=&dm=meilele.com"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); }); //href跳转至页面固定位置 $(document).ready(function() { var achor = location.href.match(/href\=\[(.*)\]/); if ( achor && achor[1] ) { setTimeout(function(){ $('html, body').animate({scrollTop: $('#'+achor[1]).offset().top}, 0, 'linear'); }, 10); } }); wscript type="text/java(cript"> $(document).ready(function () { //从接口获取是否显示以及显示版本等信息 $.ajax({ url: '/NewFrameEntrance?r=ActiveUserHelper%2FGetActiveUserSetting&var_name=ad_xqyzygg', type: 'GET', dataType: 'JSON', data: {}, success: function (json) { if (json && json.msg) { if (json.msg.var_value.split('|').length < 2) { return false; } //var_value的3个数字分别为浏览深度事件深度的阀值以及延迟显示时间(这次不用这个参数) var dataList = json.msg.var_value.split('|'), minCountView = dataList[0], minCountEvent = dataList[1], countView = parseInt($.cookie('countView')), countEvent = parseInt($.cookie('countEvent')),//浏览深度和事件深度从cookie中获取 isDepthEnough = (countView >= minCountView || countEvent >= minCountEvent), //判断是否为转盘抽奖的版本 isVersionB = (json.data.current_version && json.data.current_version == '2'), // isVersionB = false, _eventType = isVersionB ? '活跃用户_流量转盘' : '活跃用户_流量红包'; // 如果成功抽取过流量就不再请求了 if (isVersionB && $.cookie('isSuccessGetFlux') === 'true') { return; } //判断是否登录过后台,如果是则不显示并且保存一个长效cookie if ($.cookie('ECSCP_ID')) { _ana.setCookie('isEcscp', 'true', 365); } //sendSmsPhone可以判断到用户是否通过其他渠道发送过短信,比如体验馆短信和抽奖,如果有则不显示 if (!$.cookie('sendSmsPhone') && !$.cookie('isEcscp') && isDepthEnough) { if (json.data && (json.data.can_pop == true)) { _gaq.push(['_trackEvent', _eventType, '引入JS前', 'llhb_beforejs']); //异步获取并执行相应的js文件 $.ajax({ url: 'http://image.meilele.com/js/plugin/hyyh_flux'+(isVersionB? '_b' : '')+'.min.js?1103', type: 'GET', dataType: 'script', success: function () { _gaq.push(['_trackEvent', _eventType, '引入JS后', 'llhb_afterjs']); var hyyhFlux = new HyyhFlux(); /** * leftCount:从后台获取的剩余数量 * bgImg:大背景图片的URL * bgColor:下方的背景颜色 * iconImg:小图标的背景图片URL * hintString:首屏提示语 * isAddCart:是否因为加入购物车动作触发 */ var config = { leftCount: json.data.left_count, bgImg: isVersionB ? 'images/201610/1477880982072795239.png' : 'images/201610/1477521228274725555.png', bgColor: 'bb131f', iconImg: isVersionB ? 'images/201610/1477881009454167840.gif' : 'images/201610/1477521388430383244.gif', countView: countView, countEvent: countEvent, hintString: json.data.text_string, isAddCart: isDepthEnough ? false : true } //isShowHyyhLL用于判断是否自动曝光,只自动曝光一次 if (!$.cookie('isShowHyyhLL')) { config.exposure = true; } else { config.exposure = false; } hyyhFlux.init(config); } }); } else { if (json.data.current_version && json.data.current_version == '2') { _gaq.push(['_trackEvent', '活跃用户_流量转盘', '流量转盘_不弹框', 'llzp_btc']); _ana.push(['trackEvent', '活跃用户_流量转盘', '流量转盘_不弹框', '', 'llzp_btc', '', '']); } else { _gaq.push(['_trackEvent', '活跃用户_流量红包', '流量红包_不弹框', 'llhb_btk']); _ana.push(['trackEvent', '活跃用户_流量红包', '流量红包_不弹框', '', 'llhb_btk', '', '']); } } } } } }); }) wscript type="text/java(cript"> var _gsq = _gsq || [];(function () {var s = document.createElement('script'); s.type = 'text/java(cript'; s.async = true; s.src = (location.protocol == 'https:' ? 'https://ssl.' : 'http://static.') + 'gridsumdissector.com/js/Clients/GWD-002893-46FD9D/gs.js'; var firstScript = document.getElementsByTagName('script')[0]; firstScript.parentNode.insertBefore(s, firstScript);})(); wscript type="text/java(cript"eid="bdshare_js"> w!-- jinzeze*258258:2017-09-07 18:23:08 -->