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ủ
/
Cotto
Bộ lọc
Hãng sản xuất
Cotto
Bỏ chọn
Xem
kết quả
Loại
Vòi lavabo
Chậu lavabo
Sen tắm
Bồn tiểu nam
Bồn tắm
Bồn cầu thông minh
Bồn cầu hai khối
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ả
Cotto
-25%
Bàn cầu treo tường nắp đóng êm Cotto SC19777(F)
18,750,000₫
25,000,000₫
-25%
Ưu đãi
-25%
Bàn cầu treo tường nắp đóng êm Cotto SC19847(F)
14,250,000₫
19,000,000₫
-25%
Ưu đãi
-25%
Bàn cầu treo tường nắp đóng êm Cotto SC198517(F)
13,500,000₫
18,000,000₫
-25%
Ưu đãi
-25%
Bàn cầu treo tường nắp đóng êm Cotto SC198517(T)
13,500,000₫
18,000,000₫
-25%
Ưu đãi
-25%
Bàn cầu treo tường nắp đóng êm Cotto SC198717(F)
16,500,000₫
22,000,000₫
-25%
Ưu đãi
-25%
Bàn cầu treo tường nắp đóng êm Cotto SC199(F)
10,125,000₫
13,500,000₫
-25%
Ưu đãi
-25%
Bàn cầu treo tường nắp đóng êm SC19517(F) Oval
13,500,000₫
18,000,000₫
-25%
Ưu đãi
-25%
Bàn cầu treo tường nắp đóng êm SC1986(T) Charisma
14,625,000₫
19,500,000₫
-25%
Ưu đãi
-23%
Bồn Cầu Cotto C15017 KW Googai Hai Khối Trẻ Em Nắp Xanh Lá
7,315,000₫
9,500,000₫
-23%
Ưu đãi
-23%
Bồn cầu Cotto C15017 WH Googai hai khối trẻ em nắp trắng
7,315,000₫
9,500,000₫
-23%
Ưu đãi
-23%
Bồn cầu Cotto C15037 LM Googai hai khối trẻ em nắp vàng
7,315,000₫
9,500,000₫
-23%
Ưu đãi
-23%
Bồn cầu Cotto C15037 RA Googai hai khối trẻ em nắp hồng
7,315,000₫
9,500,000₫
-23%
Ưu đãi
-25%
Bồn cầu Cotto SC198817(F) treo tường thoát ngang
14,625,000₫
19,500,000₫
-25%
Ưu đãi
-25%
Bồn cầu Cotto SC198817(T) treo tường thoát ngang
14,625,000₫
19,500,000₫
-25%
Ưu đãi
-23%
Bồn tắm Cotto BWA434PP(H)
107,800,000₫
140,000,000₫
-23%
Ưu đãi
-23%
Bồn tiểu Cotto C13217 treo tường Riviera
3,234,000₫
4,200,000₫
-23%
Ưu đãi
-30%
Bồn tiểu Cotto C30207 treo tường Chloe
3,150,000₫
4,500,000₫
-30%
Ưu đãi
-23%
Bồn tiểu Cotto C30207BI treo tường Chloe
3,465,000₫
4,500,000₫
-23%
Ưu đãi
-23%
Chậu lavabo Cotto C00027 đặt trên bàn Neo
1,155,000₫
1,500,000₫
-23%
Ưu đãi
-25%
Chậu lavabo Cotto C00080 đặt trên bàn Oval
2,250,000₫
3,000,000₫
-25%
Ưu đãi
-30%
Chậu lavabo Cotto C001017 đặt trên bàn Simply Modish
1,260,000₫
1,800,000₫
-30%
Ưu đãi
-23%
Chậu lavabo Cotto C001027 đặt trên bàn Simply Modish
3,003,000₫
3,900,000₫
-23%
Ưu đãi
-30%
Chậu lavabo Cotto C001057 đặt trên bàn Simply Modish
1,260,000₫
1,800,000₫
-30%
Ưu đãi
-23%
Chậu lavabo Cotto C002517 đặt trên bàn Olix
3,773,000₫
4,900,000₫
-23%
Ưu đãi
-25%
Chậu lavabo Cotto C00257 đặt trên bàn Olix
1,575,000₫
2,100,000₫
-25%
Ưu đãi
-35%
Chậu lavabo Cotto C00341 MBK đặt trên bàn Sensation
2,340,000₫
3,600,000₫
-35%
Ưu đãi
-40%
Chậu lavabo Cotto C00341 MIR đặt trên bàn Sensation
2,010,000₫
3,350,000₫
-40%
Ưu đãi
-40%
Chậu lavabo Cotto C00341 MSL đặt trên bàn Sensation
2,010,000₫
3,350,000₫
-40%
Ưu đãi
1
2
3
4
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