Go to content
產品資訊
塑造淨白剔透的健康膚色
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": "Thing",
"subjectOf": {
"@type": "ItemList",
"itemListElement": [
{
"@type":"ListItem",
"position": 1,
"url" : "https://www.loreal-paris.com.hk/how-to-choose-the-best-face-mask",
"item":{
"@type": "Article",
"mainEntityOfPage":{
"@type":"WebPage"
},
"headline":"How to choose the best face mask",
"image":{
"@type":"ImageObject",
"url":"https://www.loreal-paris.com.hk/-/media/project/loreal/brand-sites/oap/apac/hk/articles/skin-care/beauty-gestures/how-to-choose-the-best-face-mask-hero.jpg",
"height":900,
"width":2000
},
"datePublished": "2023-06-22T07:51:36+00:00",
"dateModified": "2023-06-30T11:38:42+00:00",
"author": {
"@type": "Brand",
"name": "L'Oréal Paris"
},
"publisher":{
"@type":"Organization",
"name":"L'Oréal Paris",
"logo":{
"@type":"ImageObject",
"url":"https://www.loreal-paris.com.hk/-/media/project/loreal/brand-sites/oap/shared/baseline/navigationext/loreal-paris-black-logo.svg",
"width":189,
"height":60
}
},
"description":"誰不喜歡面膜呢? 自製或買的面膜,都能為肌膚提供充足的養分,賦活肌膚。但是如何挑選適合的面膜又是另一回事…… 誰不喜歡面膜呢? 自製或買的面膜,都能為肌膚提供充足的養分,賦活肌膚。但是如何挑選適合的面膜又是另一回事……"
}
},
{
"@type":"ListItem",
"position": 2,
"url" : "https://www.loreal-paris.com.hk/superhero-skincare-ingredients-to-calm-your-skin",
"item":{
"@type": "Article",
"mainEntityOfPage":{
"@type":"WebPage"
},
"headline":"Superhero skincare ingredients to calm your skin",
"image":{
"@type":"ImageObject",
"url":"https://www.loreal-paris.com.hk/-/media/project/loreal/brand-sites/oap/apac/hk/articles/skin-care/still-life/skincare-and-chronobiology-what-is-the-deal-hero.jpg",
"height":900,
"width":2000
},
"datePublished": "2023-06-22T14:34:06+00:00",
"dateModified": "2023-06-30T13:26:04+00:00",
"author": {
"@type": "Brand",
"name": "L'Oréal Paris"
},
"publisher":{
"@type":"Organization",
"name":"L'Oréal Paris",
"logo":{
"@type":"ImageObject",
"url":"https://www.loreal-paris.com.hk/-/media/project/loreal/brand-sites/oap/shared/baseline/navigationext/loreal-paris-black-logo.svg",
"width":189,
"height":60
}
},
"description":"臉部肌膚緊繃發癢? 臉頰灼熱? 您需要正視肌膚的求救訊號。試試這些可以舒緩和柔軟肌膚的星級活性成分。"
}
} ]
}
}
改善日常護理
全力打造最新造型:
檢視所有產品
{
"@context": "http://schema.org",
"@type": "BreadcrumbList",
"itemListElement": [
{
"@type":"ListItem",
"position": 1,
"item": {
"@id": "/",
"name": "Home"
}
}
,
{
"@type":"ListItem",
"position": 2,
"item": {
"@id": "https://www.loreal-paris.com.hk/zh-hk/skin-care",
"name": "巴黎歐萊雅皮膚護理"
}
}
,
{
"@type":"ListItem",
"position": 3,
"item": {
"@id": "https://www.loreal-paris.com.hk/zh-hk/skin-care/face-care",
"name": "皮膚護理"
}
}
,
{
"@type":"ListItem",
"position": 4,
"item": {
"@id": "https://www.loreal-paris.com.hk/zh-hk/face-care/aura-perfect",
"name": "完美淨白系列"
}
}
,
{
"@type":"ListItem",
"position": 5,
"item": {
"@id": "https://www.loreal-paris.com.hk/zh-hk/aura-perfect/aura-perfect-foam-100ml",
"name": "foam-100-ml"
}
}
]
}