feiyang-web/public/index.html

36 lines
1.1 KiB
HTML
Raw Normal View History

2024-04-01 17:10:30 +08:00
<!DOCTYPE html>
<html lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
<link rel="icon" href="<%= BASE_URL %>favicon.ico">
2024-06-25 14:49:52 +08:00
<link href="https://cdn.staticfile.org/quill/1.3.6/quill.snow.css" rel="stylesheet">
2024-05-07 17:53:40 +08:00
<title>飞阳建设工程有限公司</title>
2024-04-12 10:30:56 +08:00
2024-07-09 18:07:42 +08:00
<script type="text/JavaScript">
function isMobile() {
const userAgent = navigator.userAgent || navigator.vendor || window.opera;
return /Mobi|Android/i.test(userAgent);
}
if (isMobile()) {
// 处理移动端逻辑
window.location.href='https://www.fygroup.cn/mobile/'
console.log(111)
} else {
// 处理PC端逻辑
console.log("当前环境是PC端");
}
</script>
2024-04-01 17:10:30 +08:00
</head>
<body>
<noscript>
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
</noscript>
<div id="app"></div>
<!-- built files will be auto injected -->
</body>
</html>