微软面向IT专业人士和开发者的Ignite展会第二部分于3月2日开幕。从会话列表来看,公司的混合现实策略将成为虚拟活动的一个重点。(即使是首席执行官萨蒂亚·纳德拉(Satya Nadella)和混合现实首席执行官亚历克斯·基普曼(Alex Kipman)的主要Ignite主题演讲也将通过AltspaceVR进入混合现实。)
几年前,微软将其混合现实硬件和服务的重点重新放在了业务市场上。微软最近推出了一个https://azure.microsoft.com/en-us/blog/hololens-2-industrial-edition-brings-mixed-reality-to-regulated-environments/“target=”\u blank“rel=”noopener noreferrer“data component=”externalLink“>“industrial”版HoloLens混合真人护目镜,专为受监管行业定制。和”介绍混合现实的未来“计划在活动的第一天进行。其他课程将重点介绍微软在医疗、汽车和其他行业的混合现实产品和服务的使用案例。
“混合现实正在改变我们的工作、生活和娱乐方式。各行各业的公司都在利用混合现实推动转型,并看到了强劲的投资回报。加入我们,了解更多关于混合现实未来愿景的信息,”第一天主题演讲的宣传语写道。
基于其他Ignite会话描述,在混合现实中,业务仍将是Microsoft的重点关注点。另一个Ignite session blurb:
“混合现实在改变世界方面的力量和潜力是巨大的,当我们在分布式、远程劳动力的新常态中导航时,我们只是冰山一角。加入本次会议,听听我们的演讲者如何利用混合现实解决复杂问题,创造积极的社会影响,并赋予所有人权力。”
微软已经隐藏或删除了上周泄露的混合现实会议列表(多亏了推特上的走猫)。那次会议的题目是https://twitter.com/\u h0x0d\ux/status/1362026596127830016/photo/1“target=”\u blank“rel=”noopener noreferrer“data component=”externalLink“>“开发人员对Microsoft Mesh的介绍,”描述了一个用于混合现实应用程序的新Mesh开发平台。
“Microsoft Mesh通过混合现实应用程序,在任何地方——在任何设备上——实现了存在感和共享体验,”根据缺失的会话描述。
我不知道“Microsoft Mesh”是否与现有的a服务网格。服务网格是一种体系结构,用于动态地将服务器端应用程序块(最明显的是,微服务)相互链接,这些应用程序块共同构成一个应用程序。这些组件可以是有意组成同一应用程序的一部分的组件,也可以是来自不同来源的组件,这些组件可以从共享工作负载中获益。
我认为微软Mesh可能与2019年推出的Azure空间锚定概念有更多关系。
在微软推出Azure空间锚之前,全息应用程序已经可以共享https://docs.microsoft.com/en-us/windows/mixed-reality/spatial-anchors“target=”\u blank“rel=”noopener noreferrer“data component=”externalLink“>它们之间的空间锚定,使用户能够在现实世界中的同一地点跨多个设备渲染全息图。但使用Azure Spatial Anchors、HoloLens、iPhone和Android手机用户可以使用全息图,通过使用共享坐标系,全息图可以跨平台持久存在。该服务提供对映射到Wi-Fi SSID的地点数据库的访问。手机用户需要下载一个应用程序才能成为共享的物理和数字混合环境的一部分。
Ignite part 2是2021年3月2日至3月4日。其他课程包括Azure、团队、Power Platform、Dynamics 365、AI、IoT和其他典型的IT专业主题。microsoft准备使用power fx,一种新的Power平台低代码语言
Microsoft的下一个非云办公版本:whe's coming when
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);
}
});
}
});