self.onmessage = function(e) { let result = Bigpensearch(e.data[0],e.data[1] ) self.postMessage([result]); } function FriendLyURL(str) { str = str.toLowerCase().replace(/×/g,'x'); // xóa dấu str = str .normalize('NFD') // chuyển chuỗi sang unicode tổ hợp .replace(/[\u0300-\u036f]/g, ''); // xóa các ký tự dấu sau khi tách tổ hợp // Thay ký tự đĐ str = str.replace(/[đĐ]/g, 'd'); // Xóa ký tự đặc biệt str = str.replace(/([^0-9a-z-\s])/g, '\-'); // Xóa khoảng trắng thay bằng ký tự - str = str.replace(/(\s+)/g, '\-'); // Xóa ký tự - liên tiếp str = str.replace(/-+/g, '\-'); // xóa phần dư - ở đầu & cuối str = str.replace(/^-+|-+$/g, ''); // return return str; } let randommurl=""; const now = new Date(); const day = String(now.getDate()).padStart(2, '0'); // Day of the month (1-31) const month = String(now.getMonth() + 1).padStart(2, '0'); // Month (0-11, so add 1) const year = now.getFullYear(); // Full year (e.g., 2024) const hours = String(now.getHours()).padStart(2, '0'); // Hours (0-23) const minutes = String(now.getMinutes()).padStart(2, '0'); // Minutes (0-59) const seconds = String(now.getSeconds()).padStart(2, '0'); // Seconds (0-59) randommurl =`${day}${month}${year}${hours}`; var getcdnsearch = function(filename){ var url="https://theme.hstatic.net/1000233137/1001096610/14/"; return url+filename+"?v="+randommurl; } const url = FriendLyURL('https://khanhvyhome.com').split('-').join(''); const scriptUrl = getcdnsearch(`${url}-bigpensearch.js`); function matchPeople(input) { if (!input.length) { return []; } input = FriendLyURL(input); const regs = input.split('-'); return searchkeyobj.filter(person => { return person.split('#')[0].includes(input); }); } function Bigpensearch(val,shopid) { console.log('trigger bigpensearch'); if(typeof(searchkeyobj)=='undefined' || searchkeyobj === null) { importScripts(scriptUrl); } var autoCompleteResult = matchPeople(val); let htmlresult="" for (let i = 0, limit = 20, len = autoCompleteResult.length; i < len && i < limit; i++) { let autoCompleteResultitem=autoCompleteResult[i].split('#')[0] htmlresult+=`
${searchdataobj[autoCompleteResultitem].title}
`; } return htmlresult; }
Gọi mua hàng
1800646410
Hệ thống
cửa hàng
Khuyến
mãi
Trung tâm
sửa chữa
Giỏ hàng
0
Danh mục sản phẩm
Trang chủ
/
Thiết bị vệ sinh Cotto
Bộ lọc
Hãng sản xuất
Cotto
Bỏ chọn
Xem
kết quả
Loại
Vòi rửa chén đồng mạ Chrome
Vòi lavabo
Chậu lavabo
Bàn cầu
Vòi xịt vệ sinh
Bồn tiểu nam
Sen tắm
Vòi sen tay
Thanh treo khăn tắm
Combo phòng tắm
Khác
Phụ kiện bồn tiểu
Bộ trộn bồn tắm
Phụ kiện chậu rửa
Phụ kiện bồn tắm
Phụ kiện phòng tắm khác
Kệ kính
Hộp giấy vệ sinh
Bồn tắm
Bỏ mẫu
Bỏ chọn
Xem
kết quả
Mức giá
Dưới 2 triệu
Từ 2 - 4 triệu
Từ 4 - 7 triệu
Từ 7 - 13 triệu
Từ 13 - 20 triệu
Trên 20 triệu
Bỏ chọn
Xem
kết quả
Sắp xếp theo
Giá thấp đến cao
Giá cao đến thấp
Bỏ chọn
Xem
kết quả
Thiết bị vệ sinh Cotto
-23%
Vòi lavabo Cotto CT1262C51N(HM)
1,039,500₫
1,350,000₫
-23%
Ưu đãi
-35%
Bát sen cầm tay Cotto ZH020(HM) 1 chức năng
650,000₫
1,000,000₫
-35%
Ưu đãi
-23%
Vòi lavabo Cotto CT1198A1N-BL(HM)
1,463,000₫
1,900,000₫
-23%
Ưu đãi
-23%
Vòi lavabo Cotto CT1265C53(HM)
577,500₫
750,000₫
-23%
Ưu đãi
-23%
Vòi lavabo Cotto CT1266C54-SA(HM)
500,500₫
650,000₫
-23%
Ưu đãi
-23%
Vòi lavabo Cotto CT1202A
2,040,500₫
2,650,000₫
-23%
Ưu đãi
-23%
Vòi lavabo Cotto CT302A
2,310,000₫
3,000,000₫
-23%
Ưu đãi
-23%
Vòi lavabo Cotto CT1218(LED)
2,926,000₫
3,800,000₫
-23%
Ưu đãi
-23%
Vòi lavabo Cotto CT1211(LED)
2,156,000₫
2,800,000₫
-23%
Ưu đãi
-23%
Vòi lavabo Cotto CT1139A
1,771,000₫
2,300,000₫
-23%
Ưu đãi
-23%
Vòi lavabo Cotto CT1061
1,463,000₫
1,900,000₫
-23%
Ưu đãi
-23%
Vòi lavabo Cotto CT1215A(HM)
1,386,000₫
1,800,000₫
-23%
Ưu đãi
-23%
Vòi lavabo Cotto CT1052
1,232,000₫
1,600,000₫
-23%
Ưu đãi
-23%
Vòi lavabo Cotto CT1166AE(HM)
1,039,500₫
1,350,000₫
-23%
Ưu đãi
-23%
Tay sen Cotto ZH019#BL(HM) cầm tay 3 chức năng, màu đen
1,540,000₫
2,000,000₫
-23%
Ưu đãi
-23%
Vòi lavabo Cotto CT1164AE(HM)
1,039,500₫
1,350,000₫
-23%
Ưu đãi
-23%
Vòi lavabo Cotto CT1203A
731,500₫
950,000₫
-23%
Ưu đãi
-23%
Vòi lavabo Cotto CT160C10(HM)
677,600₫
880,000₫
-23%
Ưu đãi
-23%
Tay sen Cotto ZH019#BN2(HM) 3 chức năng, màu đen bóng
1,309,000₫
1,700,000₫
-23%
Ưu đãi
-23%
Vòi lavabo Cotto CT1207(HM)
577,500₫
750,000₫
-23%
Ưu đãi
-30%
Vòi lavabo Cotto CT1206(HM)
420,000₫
600,000₫
-30%
Ưu đãi
-23%
Vòi lavabo Cotto CT1128A bán tự động
2,464,000₫
3,200,000₫
-23%
Ưu đãi
-23%
Vòi lavabo Cotto CT1066 bán tự động
1,771,000₫
2,300,000₫
-23%
Ưu đãi
-23%
Vòi lavabo Cotto CT161(HM) bán tự động
1,540,000₫
2,000,000₫
-23%
Ưu đãi
-23%
Vòi lavabo Cotto CT169(HM) bán tự động
962,500₫
1,250,000₫
-23%
Ưu đãi
-23%
Tay sen Cotto ZH019#GR2(HM) cầm tay 3 chức năng, màu vàng nhạt
1,309,000₫
1,700,000₫
-23%
Ưu đãi
-35%
Vòi lavabo Cotto CT532NXDC cảm ứng dùng pin
6,435,000₫
9,900,000₫
-35%
Ưu đãi
-23%
Vòi lavabo Cotto CT532NXAC cảm ứng dùng điện
7,700,000₫
10,000,000₫
-23%
Ưu đãi
1
2
3
4
…
21
SẢN PHẨM ĐÃ XEM
Chính sách linh hoạt
7 ngày đổi trả dễ dàng
Vận chuyển siêu tốc
Giao trong ngày
Thanh toán thuận lợi
Nhận hàng và thanh toán
Cam kết chất lượng
Sản phẩm chính hãng
Giỏ hàng của bạn có
sản phẩm
Tổng tiền thanh toán:
Tiếp tục mua hàng
Thực hiện thanh toán
Chat với chúng tôi qua zalo
Chat với chúng tôi qua zalo
So sánh
(0)
Thu gọn
So sánh ngay
Xóa tất cả sản phẩm
self.onmessage = function(e) { let result = Bigpensearch2(e.data[0],e.data[1] ) self.postMessage([result]); } function FriendLyURL(str) { str = str.toLowerCase().replace(/×/g,'x'); // xóa dấu str = str .normalize('NFD') // chuyển chuỗi sang unicode tổ hợp .replace(/[\u0300-\u036f]/g, ''); // xóa các ký tự dấu sau khi tách tổ hợp // Thay ký tự đĐ str = str.replace(/[đĐ]/g, 'd'); // Xóa ký tự đặc biệt str = str.replace(/([^0-9a-z-\s])/g, '\-'); // Xóa khoảng trắng thay bằng ký tự - str = str.replace(/(\s+)/g, '\-'); // Xóa ký tự - liên tiếp str = str.replace(/-+/g, '\-'); // xóa phần dư - ở đầu & cuối str = str.replace(/^-+|-+$/g, ''); // return return str; } let randommurl2=""; const now = new Date(); const day = String(now.getDate()).padStart(2, '0'); // Day of the month (1-31) const month = String(now.getMonth() + 1).padStart(2, '0'); // Month (0-11, so add 1) const year = now.getFullYear(); // Full year (e.g., 2024) const hours = String(now.getHours()).padStart(2, '0'); // Hours (0-23) const minutes = String(now.getMinutes()).padStart(2, '0'); // Minutes (0-59) const seconds = String(now.getSeconds()).padStart(2, '0'); // Seconds (0-59) randommurl2 =`${day}${month}${year}${hours}`; var getcdnsearch = function(filename){ var url="https://theme.hstatic.net/1000233137/1001096610/14/"; return url+filename+"?v="+randommurl2; } const url = FriendLyURL('https://khanhvyhome.com').split('-').join(''); const scriptUrl = getcdnsearch(`${url}-bigpensearch.js`); function matchPeople(input) { if (!input.length) { return []; } input = FriendLyURL(input); const regs = input.split('-'); return searchkeyobj.filter(person => { return person.split('#')[0].includes(input); }); } function Bigpensearch2(val,shopid) { if(typeof(searchkeyobj)=='undefined' || searchkeyobj === null) { importScripts(scriptUrl); } var autoCompleteResult = matchPeople(val); let htmlresult="" for (let i = 0, limit = 20, len = autoCompleteResult.length; i < len && i < limit; i++) { let autoCompleteResultitem=autoCompleteResult[i].split('#')[0] htmlresult+=`
${searchdataobj[autoCompleteResultitem].title}
`; } return htmlresult; }
So sánh sản phẩm
×
Đóng
Đóng