< 10; i++) { var _r = parseInt(Math.round(Math.random() * 10000000000), 10).toString(16); randend += _r; } randend = randend.substr(0, 42); return randend; }; var pageid = getRand(); var aq = (window.aplus_queue || (window.aplus_queue = [])); aq.push({ 'action':'aplus.appendMetaInfo', 'arguments':['aplus-cpvdata', {"pageid":pageid}] }); aq.push({ 'action':'aplus.appendMetaInfo', 'arguments':['aplus-exdata',{"st_page_id":pageid}] }); // 兼容老版本aplus var gq = (window.goldlog_queue || (window.goldlog_queue = [])); gq.push({ 'action':'goldlog.appendMetaInfo', 'arguments':['aplus-cpvdata', {"pageid":pageid}] }); gq.push({ 'action':'goldlog.appendMetaInfo', 'arguments':['aplus-exdata',{"st_page_id":pageid}] }); window.aplusPageIdSetComplete = true; } catch(err) { console.error(err); } })(); window.g_config = window.g_config || {}; window.g_config.voyagerVersion = '2'; window.g_config.voyagerEnv = 'product'; window.g_config.channel = 'pdp'; window.g_config.showPcSearchboxHotWords = true;
function generateUUID() { var d = new Date().getTime(); var uuid = 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function( c ) { var r = ((d + Math.random() * 16) % 16) | 0; d = Math.floor(d / 16); return (c == 'x' ? r : (r & 0x7) | 0x8).toString(16); }); return uuid; } var lzdDocCookies = { getItem: function(sKey) { return ( decodeURIComponent( document.cookie.replace( new RegExp( '(?:(?:^|.*;)\\s*' + encodeURIComponent(sKey).replace(/[\-\.\+\*]/g, '\\$&') + '\\s*\\=\\s*([^;]*).*$)|^.*$' ), '$1' ) ) || null ); }, setItem: function(sKey, sValue, vEnd, sPath, sDomain, bSecure) { if (!sKey || /^(?:expires|max\-age|path|domain|secure)$/i.test(sKey)) { return false; } var sExpires = ''; var exdate = new Date(); exdate.setDate(exdate.getDate() + vEnd); sExpires = ';expires=' + exdate.toGMTString(); document.cookie = encodeURIComponent(sKey) + '=' + encodeURIComponent(sValue) + sExpires + (sDomain ? '; domain=' + sDomain : '') + (sPath ? '; path=' + sPath : '; path=/') + (bSecure ? '; secure' : ''); return true; }, hasItem: function(sKey) { if (!sKey) { return false; } return new RegExp( '(?:^|;\\s*)' + encodeURIComponent(sKey).replace(/[\-\.\+\*]/g, '\\$&') + '\\s*\\=' ).test(document.cookie); }, removeItem: function(sKey, sPath, sDomain) { if (!this.hasItem(sKey)) { return false; } document.cookie = encodeURIComponent(sKey) + '=; expires=Thu, 01 Jan 1970 00:00:00 GMT' + (sDomain ? '; domain=' + sDomain : '') + (sPath ? '; path=' + sPath : '; path=/'); return true; } }; var LZD_HOST_ARRAY = [ '.lazada.co.id', '.lazada.com.my', '.lazada.com.ph', '.lazada.sg', '.lazada.co.th', '.lazada.vn', '.daraz.com.bd', '.daraz.lk', '.shop.com.mm', '.daraz.com.np', '.daraz.pk', '.lazada.test' ]; var currentDomain = '.lazada.sg'; var UUID = generateUUID(); var t_uid = lzdDocCookies.getItem('t_uid'); var anon_uid = lzdDocCookies.getItem('anon_uid'); for (var i = 0; i
< LZD_HOST_ARRAY.length; i++) { if (window.location.host.indexOf(LZD_HOST_ARRAY[i]) > -1) { currentDomain = LZD_HOST_ARRAY[i]; } } if (!lzdDocCookies.getItem('lzd_cid')) { lzdDocCookies.setItem('lzd_cid', UUID, 365, null, currentDomain); } if (!lzdDocCookies.getItem('t_uid')) { if (anon_uid) { lzdDocCookies.setItem('t_uid', anon_uid, 365, null, currentDomain); } else { lzdDocCookies.setItem('t_uid', UUID, 365, null, currentDomain); } } .baxia-dialog { display: none!important; } ' + '
< div class="breadcrumb_right_arrow">
' + '
'; } parentNode.appendChild(liNode); } var breadcrumbListNode = document.getElementById('J_breadcrumb_list'); var cls = breadcrumbListNode.className; if (size === 0) { if (cls.indexOf('breadcrumb_list_empty')

var imJsLink = '//g.lazcdn.com/g/lzdmod/im/5.0.103/index.js'; var imCssLink = '//g.lazcdn.com/g/lzdmod/im/5.0.103/index.css'; var gConfig = window.g_config || {}; window.onload = function() { if (!gConfig.regionID) return; window._imSDKconfig = window._imSDKconfig || { region: (gConfig.regionID || 'sg').toLowerCase(), lang: gConfig.language || 'en', version: '5.0.103', enabled: /enable_webim=true/.test(document.location.search) || true }; if (window._imSDKconfig.disabled || !window._imSDKconfig.enabled) { return; } var imy = document.createElement('link'); imy.rel = 'stylesheet'; imy.href = imCssLink; var sty = document.getElementsByTagName('link')[0]; sty.parentNode.insertBefore(imy, sty); var ims = document.createElement('script'); ims.type = 'text/javascript'; ims.async = true; ims.src = imJsLink; var scr = document.getElementsByTagName('script')[0]; scr.parentNode.insertBefore(ims, scr); var done = false; ims.onload = ims.onreadystatechange = function() { if (!done && (!this.readyState || this.readyState==='loaded' || this.readyState==='complete')) { done = true; window._chat && window._chat.init(window._imSDKconfig).render('webim-container'); } }; }; .m-common-more .link-lazada-ic-Message{ display: none; }