浏览内容!
纷泽唇膏
丰润雾感 唇膏 239
产品详情
25种浓郁色彩 丝绒质地 妆效持久
document.addEventListener("DOMContentLoaded", function (event) {
const element = document.getElementsByClassName('oap_hairdiagStart_divbtn');
if (element.length > 0) {
let urlParams = new URLSearchParams(window.location.search);
if (urlParams != "" || urlParams != null) {
var keyValuepairs = urlParams.toString().split('&');
var qrUtmfound = 0;
keyValuepairs.forEach(function (item, index) {
if (item === "utm_source=pos" || item === "utm_medium=qrcode") {
qrUtmfound++;
}
});
if (qrUtmfound == 2) {
let relocHref = document.getElementById("hair_color_start_btn").getAttribute("href");
let relocUpdatedurl = relocHref + window.location.search;
document.getElementById("hair_color_start_btn").setAttribute("href", relocUpdatedurl);
}
}
}
});
成分及功效
document.addEventListener("DOMContentLoaded", function (event) {
const element = document.getElementsByClassName('oap_hairdiagStart_divbtn');
if (element.length > 0) {
let urlParams = new URLSearchParams(window.location.search);
if (urlParams != "" || urlParams != null) {
var keyValuepairs = urlParams.toString().split('&');
var qrUtmfound = 0;
keyValuepairs.forEach(function (item, index) {
if (item === "utm_source=pos" || item === "utm_medium=qrcode") {
qrUtmfound++;
}
});
if (qrUtmfound == 2) {
let relocHref = document.getElementById("hair_color_start_btn").getAttribute("href");
let relocUpdatedurl = relocHref + window.location.search;
document.getElementById("hair_color_start_btn").setAttribute("href", relocUpdatedurl);
}
}
}
});
如何使用
document.addEventListener("DOMContentLoaded", function (event) {
const element = document.getElementsByClassName('oap_hairdiagStart_divbtn');
if (element.length > 0) {
let urlParams = new URLSearchParams(window.location.search);
if (urlParams != "" || urlParams != null) {
var keyValuepairs = urlParams.toString().split('&');
var qrUtmfound = 0;
keyValuepairs.forEach(function (item, index) {
if (item === "utm_source=pos" || item === "utm_medium=qrcode") {
qrUtmfound++;
}
});
if (qrUtmfound == 2) {
let relocHref = document.getElementById("hair_color_start_btn").getAttribute("href");
let relocUpdatedurl = relocHref + window.location.search;
document.getElementById("hair_color_start_btn").setAttribute("href", relocUpdatedurl);
}
}
}
});
{
"@context": "http://schema.org",
"@type": "BreadcrumbList",
"itemListElement": [
{
"@type":"ListItem",
"position": 1,
"item": {
"@id": "/",
"name": "Home"
}
}
,
{
"@type":"ListItem",
"position": 2,
"item": {
"@id": "https://www.lorealparis.com.cn/makeup",
"name": "彩妆"
}
}
,
{
"@type":"ListItem",
"position": 3,
"item": {
"@id": "https://www.lorealparis.com.cn/makeup/lip-makeup",
"name": "唇部彩妆"
}
}
,
{
"@type":"ListItem",
"position": 4,
"item": {
"@id": "https://www.lorealparis.com.cn/lip-makeup/color-riche",
"name": "纷泽唇膏"
}
}
,
{
"@type":"ListItem",
"position": 5,
"item": {
"@id": "https://www.lorealparis.com.cn/lip-makeup/color-riche/matte",
"name": "丰润雾感"
}
}
,
{
"@type":"ListItem",
"position": 6,
"item": {
"@id": "https://www.lorealparis.com.cn/color-riche/matte/lipstick-239",
"name": "lipstick 239"
}
}
]
}