/** * @description: 页面meta 标签配置 */ export default [ { hid: 'description', name: 'description', content: 'webRTC' }, // 告诉 IE 浏览器使用最新的渲染引擎(Edge 模式)来渲染页面,而不是使用旧的兼容模式。这可以确保页面在 IE 浏览器中以最佳方式显示。 { hid: 'X-UA-Compatible', httpEquiv: 'X-UA-Compatible', content: 'IE=edge' }, // 强制页面在移动设备上以竖屏模式显示 { hid: 'x5-orientation', name: 'x5-orientation', content: 'portrait' }, // 与 x5-orientation 类似,用于指定页面的方向 { hid: 'screen-orientation', name: 'screen-orientation', content: 'portrait' }, // 控制页面在移动设备上的视口(viewport)行为 { hid: 'viewport', name: 'viewport', content: 'width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no,shrink-to-fit=no,viewport-fit=cover' }, // 允许网页应用以全屏模式运行 当用户将网页添加到主屏幕后,点击图标打开时,页面会以全屏模式显示,隐藏浏览器的地址栏和导航栏。适用于将网页应用伪装成原生应用的场景 { hid: 'apple-mobile-web-app-capable', name: 'apple-mobile-web-app-capable', content: 'yes' }, // 控制页面在 iOS 设备上的全屏模式和状态栏颜色 { hid: 'apple-mobile-web-app-status-bar-style', name: 'apple-mobile-web-app-status-bar-style', content: 'black' }, // 禁止自动识别电话号码和邮箱地址 { hid: 'format-detection', name: 'format-detection', content: 'telphone=no, email=no' }, // 启用360浏览器的极速模式 { hid: 'renderer', name: 'renderer', content: 'webkit' }, // 针对手持设备优化 { hid: 'HandheldFriendly', name: 'HandheldFriendly', content: 'true' }, // 微软的老式浏览器优化 { hid: 'MobileOptimized', name: 'MobileOptimized', content: '320' }, // UC强制全屏 { hid: 'full-screen', name: 'full-screen', content: 'yes' }, // QQ强制全屏 { hid: 'x5-fullscreen', name: 'x5-fullscreen', content: 'true' }, // UC应用模式 { hid: 'browsermode', name: 'browsermode', content: 'application' }, // QQ应用模式 { hid: 'x5-page-mode', name: 'x5-page-mode', content: 'app' }, // 禁用 Windows Phone 8 及更高版本中的灰色点击高亮 { hid: 'msapplication-tap-highlight', name: 'msapplication-tap-highlight', content: 'no' }, ]