【GIGO智高】極速先鋒組 #7127 美妝 部落客
推薦 、品牌、介紹、規格、圖片、評測、討論、比價、
開箱 文
最近因為我自己想要買 【GIGO智高】極速先鋒組 #7127 這
商品 ,
對於【GIGO智高】極速先鋒組 #7127,相信許多人都有很深刻的印象!
上
購物 網看 【GIGO智高】極速先鋒組 #7127
相關的
推薦 、
開箱 文、價格,
評價 、報價、規格,
非常的吸引我的關注。走過路過這裡,
千萬不要錯過!一定會造成相當的搶購熱潮,
到貨的速度算滿快的,價格也很實在,重點是買的讓人很安心,
一拿到產品,心情上有種說不出的激動和感動,
CP值超高,讓我雀躍不已!
【GIGO智高】極速先鋒組 #7127 的產品介紹在下面,
如果也跟我一樣喜歡,不妨可以看看喔!
【GIGO智高】極速先鋒組 #7127
↓↓↓限量
特價 的優惠按鈕↓↓↓
【GIGO智高】極速先鋒組 #7127
商品訊息功能 :
【GIGO智高】極速先鋒組 #7127 早就是
暢銷 的明星
商品 ,還沒有用過的這邊介紹一下
【GIGO智高】極速先鋒組 #7127 吸引我的最大因素,除了好用之外,我覺得它的CP值高到破錶了呀!
【GIGO智高】極速先鋒組 #7127 更多詳細的資訊這邊請:
可刷卡 商品訊息描述 :
【GIGO智高】極速先鋒組 #7127
?
?
可組裝各式各樣的汽車與飛機,
與#7126熱帶雨林組購買 ,
還可以組合更多的變化喔!
?
?
?
活動 ?
非逛不可 ?
?
?
?
?
{
try {
const response = await fetch('https://nerdpoc.pixnet.cc/fastapi/api/get_nerd_article_recommend_boost_by_text', {
method: 'POST',
headers: {
'Accept': 'application/json',
'Content-Type': 'application/json'
},
body: JSON.stringify({
text: article_title,
page_size: 20,
total_num: 9,
spam_score: 0.8
})
});
const articleJson = await response.json();
return articleJson.data.hits || [];
} catch (error) {
console.error("Error fetching nerd articles recommended:", error);
return [];
}
};
const initGoogleAdManager = async () => {
const head = document.getElementsByTagName('head')[0];
const script1 = document.createElement('script');
script1.async = true;
script1.src = "https://securepubads.g.doubleclick.net/tag/js/gpt.js";
head.appendChild(script1);
const script2 = document.createElement('script');
script2.innerText = `
window.googletag = window.googletag || {cmd: []};
var adSlots = [];
googletag.cmd.push(function() {
adSlots[0] = googletag.defineSlot('${gam_ad_path_list[0]}', ['fluid', [1, 1], [${gam_ad_size_list}]], '${gam_ad_id_list[0]}',).addService(googletag.pubads());
adSlots[1] = googletag.defineSlot('${gam_ad_path_list[1]}', [[${gam_ad_size_list}], [1, 1], 'fluid'], '${gam_ad_id_list[1]}').addService(googletag.pubads());
adSlots[2] = googletag.defineSlot('${gam_ad_path_list[2]}', [[${gam_ad_size_list}], [1, 1], 'fluid'], '${gam_ad_id_list[2]}').addService(googletag.pubads());
adSlots[3] = googletag.defineSlot('${gam_ad_path_list[3]}', [[${gam_ad_size_list}], [1, 1], 'fluid'], '${gam_ad_id_list[3]}').addService(googletag.pubads());
googletag.pubads().enableSingleRequest();
googletag.pubads().collapseEmptyDivs(true);
googletag.enableServices();
});
`;
head.appendChild(script2);
};
const getGAMadBlock = (adId, mobile_mode, resultCounter) => {
const adScript = document.createElement('script');
adScript.innerText = `googletag.cmd.push(function() { googletag.display('${adId}'); });`;
const adDiv = document.createElement('div');
adDiv.setAttribute('id', adId);
adDiv.setAttribute('style', gam_ad_style_list);
adDiv.appendChild(adScript);
const listItem = document.createElement('div');
listItem.setAttribute('class', `gam-v3-ad-block-${resultCounter}`);
if (mobile_mode) {
listItem.setAttribute('style', 'max-width:100%;text-align: center;');
} else {
listItem.setAttribute('style', 'max-width:232px;max-height:218px;text-align: center;');
}
listItem.appendChild(adDiv);
return listItem;
};
initGoogleAdManager();
_piq.push(['trackEvent', `rs2022::文章頁::文末推薦/${deviceType}`, 'load::乎你看更多::all::nerd_article_recommand', '']);
getRecommendArticles().then(articleList => {
const cardContainer = document.getElementById('ca-article-relate-card-container-v3');
cardContainer.setAttribute('style', `width: 100%;align-items:center;${mobile_mode ? '' : 'display: flex;flex-flow: row wrap;'}`);
const observer = new IntersectionObserver(entries => {
entries.forEach(entry => {
if (entry.isIntersecting) {
observer.disconnect();
_piq.push(['trackEvent', `rs2022::文章頁::文末推薦/${deviceType}`, 'imps::乎你看更多::all::nerd_article_recommand', '']);
const firstLevelChildren = entry.target.children;
for (let i = 0; i < firstLevelChildren.length; i++) {
let class_name = firstLevelChildren[i].getAttribute("class");
let childDivs = firstLevelChildren[i].querySelectorAll('.nerd-card-link-v3');
let childDiv_url = "";
let e_action = "";
if (childDivs.length > 0) {
childDiv_url = (childDivs[0].getAttribute("href"));
} else {
childDiv_url = "";
}
childDiv_url = childDiv_url.split('?')[0];
if (class_name.includes("gam")) {
e_action = "imps::乎你看更多::GAM::nerd_article_recommand";
let pos_num = 1.0000 + ((i + 1) * 0.0001);
_piq.push(['trackEvent', `rs2022::文章頁::文末推薦/${deviceType}`, `${e_action}`, `乎你看更多::${childDiv_url}`, `${pos_num}`]);
}
}
}
});
});
let resultCounter = 0;
for (let i = 0; i < 10; i++) {
const articleData = articleList[i];
if (!articleData) continue;
const title = articleData.title;
const url = articleData.origin_url.replace('http://', 'https://');
if (article_title === title) continue;
resultCounter++;
if (no_ad === 1 && mobile_mode === false) {
//pass;
} else {
if (resultCounter === 2 || resultCounter === 4 || resultCounter === 6 || resultCounter === 8) {
const adId = gam_ad_id_list[(resultCounter / 2) - 1];
const adBlock = getGAMadBlock(adId, mobile_mode, (resultCounter / 2));
cardContainer.appendChild(adBlock);
resultCounter++;
}
}
if (resultCounter > 9) break;
const modifiedUrl = new URL(url);
modifiedUrl.searchParams.set('utm_source', 'PIXNET');
modifiedUrl.searchParams.set('utm_medium', 'nerd_article_recommend');
const finalUrl = modifiedUrl.toString();
const imageLink = articleData.article_thumb?.replace('width=90', 'width=300').replace('height=90', 'height=300') || "https://imageproxy.pimg.tw/zoomcrop?url=https%3A%2F%2Fs.pixfs.net%2Fcommon%2Fppage%2Fimage%2Fnotfound.png&width=300&height=220";
const articleContainerName = `ca-card card-${i + 1}`;
const listItem = document.createElement('div');
listItem.setAttribute('class', articleContainerName);
const styleAttribute = mobile_mode ? 'box-sizing: border-box;padding: 0px 0px 0px 0px;margin-bottom: 20px;position: relative;border-radius: 10px;border: 1px #cccccc solid;color: #555;line-height: 200%;' : 'box-sizing: border-box;align-self: flex-start;position: relative;width: 220px;min-width: 220px;margin: 6px 6px;background: white;';
listItem.setAttribute('style', styleAttribute);
const cardImgItem = document.createElement('div');
cardImgItem.setAttribute('class', 'card-img');
const imgStyleAttribute = mobile_mode ? `box-sizing: border-box;background-image:url(${imageLink});width: 100%;height: 180px;background-repeat: no-repeat;background-position: center center;background-size: cover;border-radius: 10px 10px 0px 0px;` : `box-sizing: border-box;background-image:url(${imageLink});width: 100%;height: 130px;background-repeat: no-repeat;background-position: center center;background-size: cover;`;
cardImgItem.setAttribute('style', imgStyleAttribute);
listItem.appendChild(cardImgItem);
const cardLinkItem = document.createElement('a');
cardLinkItem.setAttribute('class', 'nerd-card-link-v3');
cardLinkItem.setAttribute('href', finalUrl);
cardLinkItem.setAttribute('target', '_blank');
const cardLinkItemStyleAttribute = `z-index:1;top: 0;left: 0;right: 0;bottom: 0;box-sizing: border-box;position: absolute;background-color: transparent;`;
cardLinkItem.setAttribute('style', cardLinkItemStyleAttribute);
let pos_num = 1.0000;
pos_num = pos_num + (resultCounter * 0.0001);
cardLinkItem.addEventListener('click', function() {
_piq.push(['trackEvent', `rs2022::文章頁::文末推薦/${deviceType}`, 'click::乎你看更多::article::nerd_article_recommand', `乎你看更多::${finalUrl.split('?')[0]}`, `${pos_num}`]);
}, true);
listItem.appendChild(cardLinkItem);
const cardInfoItem = document.createElement('div');
cardInfoItem.setAttribute('class', 'card-info');
cardInfoItem.setAttribute('style', 'box-sizing: border-box;position: relative;padding: 12px 12px;');
const cardInfoTitleItem = document.createElement('span');
cardInfoTitleItem.setAttribute('class', 'card-title');
cardInfoTitleItem.setAttribute('style', 'font-size: 15px;overflow: hidden;display: -webkit-inline-box;-webkit-line-clamp: 2;-webkit-box-orient: vertical;');
cardInfoTitleItem.textContent = title;
cardInfoItem.appendChild(cardInfoTitleItem);
listItem.appendChild(cardInfoItem);
cardContainer.appendChild(listItem);
observer.observe(cardContainer);
}
});
let readmoreHtml = '
';
readmoreHtml = `${readmoreHtml}
`;
// $(readmoreHtml).insertBefore('#nerdReadMoreBoxV3');
$('#nerdReadMoreBoxV3').html(readmoreHtml);
}
});
})(jQuery);
jQuery.nerdReadMoreBoxV3();
khYJLTAxzy 發表在 痞客邦 留言 (0) 人氣( )