我最近测试了很多多功能机器人吸尘器,它们可以同时清扫和拖地,比如古怪的D形流浪汉乐高积木688,the强大的360 S9,或者Ecovacs T8机器人及配件。我很少看到一个功能单一的清扫机器人。
https://www.amazon.com/stores/page/D0296B07-BC25-4816-A5C3-91B4A8171510“target=”noopener noreferrer nofollow“data component=”externalLink“>10月9日发布的Roborock S4 Max robot vacuum,结合了我真正喜欢的Roborock系列的所有功能(激光雷达导航、多级映射、禁行区、,简化连接和应用程序)。
s4max有一个很好的2000Pa电机,当遇到地毯和地毯时,它会自动调整其在硬地板上的吸力,并将其吸力增加到最大。
它将在您的空间中记住多达四个不同的地图,以识别多级区域,或者您可以配置机器人在一天中的特定时间清理特定区域。
S4 Max将识别任何禁止区域,并且不会越过该区域。我的房子里有一个超高的门槛,几乎所有我审查过的机器人吸尘器都会被挡住。我发现最好设置一个禁区,这样我就不需要在机器人扫地的时候去救它。
与其他机器人吸尘器应用程序不同,这款应用程序可以方便地连接到我的移动设备上,让你命名每个房间,并配置你希望在什么时候打扫特定的房间。
狗碗周围的脏物可以在每餐后进行清理,可以在狗水盘等物品周围设置特定区域,以确保在清洁过程中不会被打翻。
https://us.roborock.com/pages/roborok-s4-max“target=”noopener noreferrer nofollow“data component=”externalLink“>S4 Max有一个5200毫安时的电池,可清洁长达3小时–比360 S5一次性机器人,或者Onson J10C。罗博洛克说,这将清理300平方米。
这个清洁范围将在我的房子的整个底层清洁三次以上,然后再回到充电台。
如果电池电量低,S4 Max将返回充电站为电池充电,返回最后一个清洁地点,并完成对该区域的清扫。
像大多数机器人吸尘器一样,它有一个防跌落传感器,可以阻止机器人从楼梯上滚下来。它似乎也被困在家具下面的次数比我以前尝试过的版本要少。
它有一个相当大的460ml垃圾箱,一个刷子清洁剂有效地存放在s4max的盖子下,因此您不会丢失清洁工具。
Roborock产品系列中唯一缺少的是自动清空扩展底座。
自从我看到 a, .nav-item > a, .dropdown-menu a');
allLinks.forEach(link => {
let href = link.getAttribute('href');
if (!href || href === '#' || href === 'javascript:;') return;
// 4. 提取菜单中的核心路径
// 例如 /articles.html -> articles
let cleanHref = href.replace(/^\/|\/$/g, '').replace(/\.(html|php)$/, '').toLowerCase();
let isMatch = false;
// 5. 精确匹配逻辑
if (cleanHref === 'index') {
// 只有当前是首页时,才高亮首页
if (cleanPath === 'index') isMatch = true;
} else {
// 如果当前路径完全等于菜单路径 (如 /articles 匹配 /articles)
// 或者当前路径以 "菜单路径/" 开头 (如 /articles/154 匹配 /articles)
// 或者当前路径包含 "菜单路径." (防某些带点号的特殊情况)
if (cleanPath === cleanHref || cleanPath.startsWith(cleanHref + '/')) {
isMatch = true;
}
}
// 6. 如果匹配成功,加上高亮
if (isMatch) {
link.classList.add('active');
// 如果匹配的是下拉菜单里的子项,顺便把它的父级分类也高亮
const parentNavItem = link.closest('.nav-item');
if (parentNavItem && !parentNavItem.classList.contains('active')) {
const parentLink = parentNavItem.querySelector('a');
if (parentLink) parentLink.classList.add('active');
}
}
});
})();
// ================= 移动端菜单逻辑 =================
const toggle = document.getElementById("menuToggle");
const nav = document.getElementById("navLinks");
// 1. 汉堡按钮:切换主菜单显示/隐藏
if (toggle && nav) {
toggle.addEventListener("click", function (e) {
e.stopPropagation();
const expanded = this.getAttribute("aria-expanded") === "true";
this.setAttribute("aria-expanded", String(!expanded));
nav.classList.toggle("active");
});
}
// 2. 处理下拉子菜单的展开/折叠
if (window.innerWidth <= 768) {
const navItems = document.querySelectorAll(".nav-item");
navItems.forEach((item) => {
const titleLink = item.querySelector("a");
const dropdownMenu = item.querySelector(".dropdown-menu");
const arrowIcon = item.querySelector(".arrow-icon");
if (titleLink && dropdownMenu) {
titleLink.addEventListener("click", function (e) {
e.preventDefault(); // 阻止链接跳转
e.stopPropagation();
// 手风琴效果:收起其他已展开的菜单
navItems.forEach((otherItem) => {
if (otherItem !== item) {
const otherMenu = otherItem.querySelector(".dropdown-menu");
const otherArrow = otherItem.querySelector(".arrow-icon");
if (otherMenu) otherMenu.classList.remove("active");
if (otherArrow) otherArrow.style.transform = "rotate(0)";
}
});
// 切换当前菜单
dropdownMenu.classList.toggle("active");
if (arrowIcon) {
arrowIcon.style.transform = dropdownMenu.classList.contains(
"active",
)
? "rotate(180deg)"
: "rotate(0)";
}
});
}
});
}
// 3. 点击普通菜单项后,自动关闭整个主菜单
if (nav) {
nav.querySelectorAll("a").forEach(function (link) {
if (!link.querySelector(".arrow-icon")) {
link.addEventListener("click", function () {
nav.classList.remove("active");
if (toggle) toggle.setAttribute("aria-expanded", "false");
});
}
});
}
// ================= 返回顶部逻辑 =================
(function () {
const backToTop = document.getElementById("backToTop");
window.addEventListener("scroll", function () {
if (window.scrollY > 300) {
backToTop.classList.add("show");
} else {
backToTop.classList.remove("show");
}
});
backToTop.addEventListener("click", function () {
window.scrollTo({ top: 0, behavior: "smooth" });
});
})();
// 多语言
document.addEventListener("DOMContentLoaded", function() {
let path = window.location.pathname;
let isEn = path.startsWith('/en/');
if (isEn) {
document.cookie = "my_lang=en; path=/; max-age=" + (30 * 24 * 3600);
} else {
document.cookie = "my_lang=zh; path=/; max-age=" + (30 * 24 * 3600);
}
// 【2. 首页记忆】如果访问的是首页(没带 en),但记忆是英文,前端自动跳去英文首页
if (!isEn && (path === '/' || path === '/index.html')) {
if (document.cookie.includes('my_lang=en')) {
window.location.replace('/en' + path);
return;
}
}
// 【3. 菜单不掉线】如果是英文页面,自动给菜单链接加上 /en/
if (isEn) {
document.querySelectorAll('a').forEach(function(link) {
let href = link.getAttribute('href');
// 站内链接,且没带 /en/
if (href && href.startsWith('/') && !href.startsWith('/en/') && !href.startsWith('http')) {
link.setAttribute('href', '/en' + href);
}
});
}
});