feiyang-web/public/index.html

38 lines
1.1 KiB
HTML
Raw Normal View History

2024-04-01 17:10:30 +08:00
<!DOCTYPE html>
2024-07-11 11:32:28 +08:00
<html lang="en">
2024-04-01 17:10:30 +08:00
<head>
2024-07-11 11:32:28 +08:00
<meta charset="UTF-8">
2024-04-01 17:10:30 +08:00
<meta http-equiv="X-UA-Compatible" content="IE=edge">
2024-07-11 11:32:28 +08:00
2024-04-12 10:30:56 +08:00
2024-07-11 11:32:28 +08:00
<title>飞阳建设工程有限公司</title>
<link rel="icon" href="./public/favicon.ico">
<link href="https://cdn.staticfile.org/quill/1.3.6/quill.snow.css" rel="stylesheet">
<meta name="viewport" content="width=device-width,initial-scale=1.0">
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>
2024-07-11 11:32:28 +08:00
<!-- <noscript>
2024-04-01 17:10:30 +08:00
<strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
2024-07-11 11:32:28 +08:00
</noscript> -->
2024-04-01 17:10:30 +08:00
<div id="app"></div>
<!-- built files will be auto injected -->
</body>
</html>