上周五晚上,科尔斯全国超市遭遇了公司称之为“技术问题”的袭击。
由于超市巨头在结账时无法处理任何交易,这一不明故障迫使顾客放弃购物手推车。然而,科尔斯快递和科尔斯酒类商店仍然开放交易。
这家零售商后来在Twitter上确认故障已解决,其门店已重新开张。
“在技术问题导致我们今天下午暂时无法处理交易后,Coles全国超市重新开业。我们感谢客户的耐心等待https://twitter.com/Coles/status/1314502992876298241“target=”\u blank“rel=”noopener noreferrer“data component=”externalLink“>写入。ZDNet已经联系Coles了解故障背后的原因。
Coles已经向客户道歉,在周末为其超市和Liquirland客户提供购买食品、食品或白酒的三倍Flybuys积分,顾客在10月18日前消费50澳元或以上的所有网上订单均可免费送货。
上一次连锁超市遭遇故障早在2018年,全国多家超市关门歇业。
Coles当时证实,一些“小的IT问题”已经影响到一些超市,“这超出了我们团队成员的控制范围”。8月,这家零售商宣称https://www.zdnet.com/article/technology-adoption-saves-coles-more-than-au250m-during-fy20/“>在2020财年,通过采用更多技术提高效率,将其称为“更聪明的销售”战略的一部分,节省了超过2.5亿澳元。
根据这一战略,该公司在这一年中推出了店内以数据和技术为主导的解决方案,如熟食店easy order和烘焙生产工具;为预测和降价等领域开发人工智能工具;并将澳大利亚各地的3000多名支持团队成员转移到远程工作。
相关报道https://www.zdnet.com/article/coles-partners-with-flybuys-to-launch-flypay/“>Coles与Flybuys合作推出Flypay
一个支付平台,让在线购物者有机会同时支付和收取Flybuys积分。
Coles将数据管理改组到云中
它为公司的数据科学团队提供了使用机器学习和高级分析的能力。
Woolworths和Coles恢复了在线送货服务
上个月,网上订单只对老年人、残疾人和需要自我隔离的人开放。
高要求使Woolworths和Coles的在线送货陷入混乱。
Coles已经停止了所有在线订单,而Woolworths则暂停了在全国范围内的点击取件服务。
美国劳工部的问题微软超越多元化承诺
2020年预算:联邦政府后退作为r&;D税收优惠获得20亿澳元的奖励
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);
}
});
}
});