al.saveClickConut = 0; // 记录触发大保存的次数 _Global._useTemplateBackground = true; // 是否使用模版 var carousel3D = {}; var _newUserGuide = false; //是否需要新手指引,false代表不需要 if( false ){ //本地环境,到时候测试完可以去掉 if(_aid > 9855603 && !false){ _newUserGuide = true; } }else{ if(_aid > 15971536 && !false){ // undefined and false _newUserGuide = true; //传到全局,当前 } } // 互动跳转领取优惠券逻辑 var hdCoupon = $.cookie("hdCoupon"); if (hdCoupon) { var memberId = 0; if (!! memberId) { $.cookie("hdCoupon", null); $.ajax({ type: 'post', url:"ajax/mallCoupon_h.jsp", data:"cmd=receiveCoupon&fromHd=true&bgId=0&cid="+$.cookie("hdCouponId"),//针对IE6缓存 dataType:'json', success:function(result){ $.cookie("hdCouponId", null); if(result.success){ var coupon = result.coupon; Fai.ing(LS.successGet); window.setTimeout(function(){Fai.top.location.href = '/'}, 1500); } else { var rt = result.rt; if(rt == -23){//WEB_NO_LOGIN Fai.top.location.href = 'login.jsp'; $.cookie("hdCoupon", true); } else if(rt == -4){ //COUNT_LIMIT Fai.ing(LS.overGet); } else { Fai.ing(LS.isNoneCoupon); } } }, error:function(){ Fai.ing(LS.systemError); } }); } } var receiveCouponFromHd = false; var couponId = 0; var savePrice = 0.0; if (receiveCouponFromHd) { var windowWidth = Fai.top.document.body.clientWidth; var windowHeight = Fai.top.document.body.clientHeight; var html = []; html.push("
"); html.push("
"); html.push("" + savePrice + ""); html.push("") html.push("
"); html.push("
") html.push("
"); html.push("
"); html.push("
"); var options = {'content':html.join(""), 'callback': function() { $.ajax({ type: 'post', url:"ajax/mallCoupon_h.jsp", data:"cmd=receiveCoupon&fromHd=true&bgId=0&cid="+couponId,//针对IE6缓存 dataType:'json', success:function(result){ if(result.success){ var coupon = result.coupon; Fai.ing(LS.successGet); window.setTimeout(function(){Fai.top.location.href = '/'}, 1500); } else { var rt = result.rt; if(rt == -23){//WEB_NO_LOGIN Fai.top.location.href = 'login.jsp'; $.cookie("hdCoupon", true); $.cookie("hdCouponId", couponId); } else if(rt == -4){ //COUNT_LIMIT Fai.ing(LS.overGet); } else { Fai.ing(LS.isNoneCoupon); } } }, error:function(){ Fai.ing(LS.systemError); } }); } }; Site.customPopup(options); } var _executedCountForUserGuide = 1; //用于新手指引 var jzOpenTime = 1490441792000; _Global._siteAdvancedSetting = true; 乐彩是国家认可的吗?|景江化工-官网